aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2021-02-07 16:36:12 +0100
committerDavid Runge <dave@sleepmap.de>2021-02-07 16:36:12 +0100
commit73b83d94e1c472485b746d6fcc78c68236010a9d (patch)
tree60eba963260ae98808c0c7226c1807fd2fa0b8a8
parentb65223f7ff7e76c3cf83f9fe912a266a414d810a (diff)
downloaddotfiles-73b83d94e1c472485b746d6fcc78c68236010a9d.tar.gz
dotfiles-73b83d94e1c472485b746d6fcc78c68236010a9d.tar.bz2
dotfiles-73b83d94e1c472485b746d6fcc78c68236010a9d.tar.xz
dotfiles-73b83d94e1c472485b746d6fcc78c68236010a9d.zip
.vimrc: Add settings for gopass, scnvim and ultisnips
.vimrc: Add settings to not create tmp and history files when editing secrets for gopass. Add settings for scnvim. Add settings for ultisnips.
-rw-r--r--.vimrc19
1 files changed, 19 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index 9326670..c675698 100644
--- a/.vimrc
+++ b/.vimrc
@@ -113,3 +113,22 @@ endif
" colors
colorscheme pablo
+" scnvim
+let g:scnvim_assets_dir = "~/.local/share/scnvim/"
+let g:scnvim_scdoc = 1
+let g:scnvim_postwin_orientation = 'h'
+
+" gopass
+au BufNewFile,BufRead /dev/shm/gopass.* setlocal noswapfile nobackup noundofile
+
+" ultisnips
+"
+" Trigger configuration. Do not use <tab> if you use
+" https://github.com/Valloric/YouCompleteMe.
+let g:UltiSnipsExpandTrigger='<tab>'
+
+" shortcut to go to next position
+let g:UltiSnipsJumpForwardTrigger='<c-j>'
+
+" shortcut to go to previous position
+let g:UltiSnipsJumpBackwardTrigger='<c-k>'