diff --git a/.vimrc b/.vimrc index 5e0a893..5d3f5a5 100644 --- a/.vimrc +++ b/.vimrc @@ -440,12 +440,14 @@ let g:vimwiki_markdown_link_ext = 1 nmap wb :VimwikiBacklinks -" notational velocity with fzf: quickly search and open notes -Plug 'https://github.com/alok/notational-fzf-vim' -let g:nv_search_paths = ['~/phren', '~/mydocs', '~/.dot/caplog'] -let g:nv_ignore_pattern = ['*.xml', '*.svg'] -" Quickly open the search with this shortcut -nmap n :NV +if $USER != 'root' + " notational velocity with fzf: quickly search and open notes + Plug 'https://github.com/alok/notational-fzf-vim' + let g:nv_search_paths = ['~/phren', '~/mydocs', '~/.dot/caplog'] + let g:nv_ignore_pattern = ['*.xml', '*.svg'] + " Quickly open the search with this shortcut + nmap n :NV +endif " The NERD Commenter: A plugin that allows for easy commenting of code for