Add gopass settings for vim

This commit is contained in:
Marty Oehme 2019-09-18 16:01:43 +02:00
parent 710e47758d
commit 76efabe67b

View file

@ -428,6 +428,10 @@ set noshowmode
highlight ColorColumn ctermbg=magenta highlight ColorColumn ctermbg=magenta
call matchadd('ColorColumn', '\%81v', 100) call matchadd('ColorColumn', '\%81v', 100)
" Special setting for editing gopass files - make sure nothing leaks outside
" the directories it is supposed to
au BufNewFile,BufRead /dev/shm/gopass.* setlocal noswapfile nobackup noundofile
" }}} " }}}
" KEYBINDINGS {{{ " KEYBINDINGS {{{
" ================================================================================ " ================================================================================
@ -606,7 +610,7 @@ iabbrev whit with
iabbrev whith with iabbrev whith with
" Text expansion " Text expansion
iabbrev @@ marty.oehme@gmail.com iabbrev @e@ marty.oehme@gmail.com
iabbrev ccopy Copyright 2019 Marty Oehme, all rights reserved. iabbrev ccopy Copyright 2019 Marty Oehme, all rights reserved.
" "