summaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2018-02-01 14:42:36 +0100
committerFlorian Pritz <bluewind@xinu.at>2018-02-01 14:42:36 +0100
commitb03e115cd4101e0c29592f772c0f3fa27bb47c2c (patch)
tree38c8ef517703cbc15210739c3eeb8f1e1b3f6b2b /.vimrc
parent621ce8d773a2e3b6aef9d8d1b50e70c2c70db6c0 (diff)
downloaddotfiles-b03e115cd4101e0c29592f772c0f3fa27bb47c2c.tar.gz
dotfiles-b03e115cd4101e0c29592f772c0f3fa27bb47c2c.tar.xz
Add vim-workspace and vim-surround
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc9
1 files changed, 9 insertions, 0 deletions
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 <silent> <buffer> <tab> <plug>(unite_complete)
endfunction
+" vim-workspace
+"let g:workspace_autosave_always = 1
+let g:workspace_autosave_untrailspaces = 0
+let g:workspace_autosave_ignore = ['gitcommit']
+nnoremap <leader>ss :ToggleWorkspace<CR>
+
" Custom mappings for the unite buffer
autocmd FileType unite call s:unite_settings()