aboutsummaryrefslogtreecommitdiffstats
path: root/vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim')
-rw-r--r--vim/vimrc6
1 files changed, 3 insertions, 3 deletions
diff --git a/vim/vimrc b/vim/vimrc
index b5f002d..a695038 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -213,7 +213,7 @@ let test#go#runner = 'gotest'
autocmd FileType python let b:dispatch = 'mypy --ignore-missing-imports'
" notational-fzf-vim
-let g:nv_search_paths = ['~/Notes', '~/Notes/Archive']
+let g:nv_search_paths = [$NOTES_DIR, '$NOTES_DIR/Archive']
" jedo-vim
let g:jedi#goto_command = "<leader>d"
@@ -428,9 +428,9 @@ let g:fzf_colors =
" ghetto note system
" Go to index of notes
-nnoremap <leader>ni :e ~/Documents/Notes/index.md<CR>:cd ~/Documents/Notes<CR>
+nnoremap <leader>ni :e $NOTES_DIR/index.md<CR>:cd $NOTES_DIR<CR>
" Depends on grepprg being set to rg
-command! -nargs=1 Ngrep grep "<args>" -g "*.md" ~/Documents/Notes
+command! -nargs=1 Ngrep grep "<args>" -g "*.md" $NOTES_DIR
nnoremap <leader>nn :Ngrep
" open quicklist vertical