summaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
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()