mirror of
https://github.com/nmasur/dotfiles
synced 2024-12-24 16:34:53 +00:00
icloud notes directory
This commit is contained in:
parent
16e4165d14
commit
e58763a168
@ -521,7 +521,7 @@ key("n", "<Leader>fu", ":lcd ..<CR>", {silent=true})
|
||||
key("n", "<Leader><Tab>", ":b#<CR>", {silent=true})
|
||||
key("n", "<Leader>gr", ":!gh repo view -w<CR><CR>", {silent=true})
|
||||
key("n", "<Leader>tt",
|
||||
[[<Cmd>exe 'edit ~/notes/journal/'.strftime("%Y-%m-%d_%a").'.md'<CR>]]
|
||||
[[<Cmd>exe 'edit $NOTES_PATH/journal/'.strftime("%Y-%m-%d_%a").'.md'<CR>]]
|
||||
)
|
||||
|
||||
-- Window commands
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user