commit 385f08eaf8bdb71722dae0610d4fe7b8700b3aad
parent a965916ed40205715c12b4f4e9c8ea5ce2b147e3
Author: Janis Pagel <janis.pagel@ims.uni-stuttgart.de>
Date: Wed, 29 Jan 2020 14:58:16 +0100
Make notes searchable in vim
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/vim/vimrc b/vim/vimrc
@@ -70,6 +70,11 @@ command! -nargs=* RunSilent
" markdown preview with pandoc {{{
nmap <Leader>pc :RunSilent pandoc -f markdown -o /tmp/vim-pandoc-out.pdf % && pkill -1 mupdf<CR>
nmap <Leader>pp :RunSilent zathura /tmp/vim-pandoc-out.pdf &<CR>
+ " }}}
+
+" Search through vimwiki {{{
+command! -nargs=1 Wikigrep vimgrep "<args>" $HOME/vimwiki/**/*.wiki
+nnoremap <Leader>w :Wikigrep<space>
" }}}
" run make {{{