diff --git a/nvim.configlink/init.lua b/nvim.configlink/init.lua index d84a554..874340f 100644 --- a/nvim.configlink/init.lua +++ b/nvim.configlink/init.lua @@ -521,7 +521,7 @@ key("n", "fu", ":lcd ..", {silent=true}) key("n", "", ":b#", {silent=true}) key("n", "gr", ":!gh repo view -w", {silent=true}) key("n", "tt", - [[exe 'edit ~/notes/journal/'.strftime("%Y-%m-%d_%a").'.md']] + [[exe 'edit $NOTES_PATH/journal/'.strftime("%Y-%m-%d_%a").'.md']] ) -- Window commands diff --git a/scripts/setup_fish b/scripts/setup_fish index 35b1035..0074ed3 100755 --- a/scripts/setup_fish +++ b/scripts/setup_fish @@ -1,13 +1,13 @@ #!/usr/bin/env fish -set -U FISH_DIR (readlink ~/.config/fish) # Used for getting to this repo -set -Ux DOTS (dirname $FISH_DIR) # Directory of this config repo -set -U CDPATH . $HOME # Directories available for immediate cd -set -Ux EDITOR nvim # Preferred text editor -set -U PROJ $HOME/dev/work # Projects directory -set -Ux NOTES_PATH $HOME/notes # Notes directory -set -Ux MANPAGER "nvim +Man!" # Used for reading man pages -set -Ux DIRENV_LOG_FORMAT "" # Disable direnv output +set -U FISH_DIR (readlink ~/.config/fish) # Used for getting to this repo +set -Ux DOTS (dirname $FISH_DIR) # Directory of this config repo +set -U CDPATH . $HOME # Directories available for immediate cd +set -Ux EDITOR nvim # Preferred text editor +set -U PROJ $HOME/dev/work # Projects directory +set -Ux NOTES_PATH "$HOME/Library/Mobile Documents/iCloud~md~obsidian/Documents/notes" # Notes directory +set -Ux MANPAGER "nvim +Man!" # Used for reading man pages +set -Ux DIRENV_LOG_FORMAT "" # Disable direnv output # Load abbreviations abbrs