From b03e115cd4101e0c29592f772c0f3fa27bb47c2c Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Thu, 1 Feb 2018 14:42:36 +0100 Subject: Add vim-workspace and vim-surround Signed-off-by: Florian Pritz --- .vimrc | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to '.vimrc') diff --git a/.vimrc b/.vimrc index 39ba2c4..d784fc6 100644 --- a/.vimrc +++ b/.vimrc @@ -85,6 +85,7 @@ Plugin 'Shougo/vimshell.vim' Plugin 'tpope/vim-unimpaired' Plugin 'tpope/vim-fugitive' Plugin 'tpope/vim-repeat' +Plugin 'tpope/vim-surround' Plugin 'SudoEdit' Plugin 'rking/ag.vim' @@ -107,6 +108,8 @@ Plugin 'jamessan/vim-gnupg' Plugin 'editorconfig/editorconfig-vim' +Plugin 'thaerkh/vim-workspace' + call vundle#end() syntax on filetype plugin indent on @@ -257,6 +260,12 @@ function! s:unite_settings() imap (unite_complete) endfunction +" vim-workspace +"let g:workspace_autosave_always = 1 +let g:workspace_autosave_untrailspaces = 0 +let g:workspace_autosave_ignore = ['gitcommit'] +nnoremap ss :ToggleWorkspace + " Custom mappings for the unite buffer autocmd FileType unite call s:unite_settings() -- cgit v1.2.3-24-g4f1b