cnoremap <C-P> <Up>
cnoremap <C-N> <Down>
+" Use :tjump to lookup tags (instead of :tag) which lists all available tags
+" if there's more than one match. This is really helpful in larger projects
+" where tags may occur multiple times.
+nnoremap <C-]> g<C-]>
+
if has('eval')
" Don't move the cursor to the first column for certain scroll commands (<C-F,
" <C-B>, <C-D>, <C-U>). Thanks to jamessan in #vim on Freenode (2011-08-31
" Shell
let g:sh_noisk = 1 " don't add . to 'iskeyword'
let g:sh_is_posix = 1 " POSIX shell (e.g. dash) is compatible enough
+ let g:is_posix = 1 " POSIX shell (e.g. dash) is compatible enough
let g:sh_fold_enabled = 7 " functions (1), heredoc (2) and if/do/for (4)
" Vim
let g:vimsyn_embed = 0 " don't highlight embedded languages
\ 'sw', 'sts', 'noet']
endif
+" Settings for gnupg.
+ " Don't use temporary files for sensitive data.
+ let g:GPGUsePipes = 1
+
" Settings for the NERD commenter.
" Don't create any mappings I don't want to use.
let g:NERDCreateDefaultMappings = 0