summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitmodules6
m---------.vim/bundle/vim-surround0
m---------.vim/bundle/vim-workspace0
-rw-r--r--.vimrc9
4 files changed, 15 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules
index 35844ed..ebe61f1 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -112,3 +112,9 @@
[submodule ".vim/bundle/vim-openscad"]
path = .vim/bundle/vim-openscad
url = https://github.com/sirtaj/vim-openscad.git
+[submodule ".vim/bundle/vim-surround"]
+ path = .vim/bundle/vim-surround
+ url = https://github.com/tpope/vim-surround.git
+[submodule ".vim/bundle/vim-workspace"]
+ path = .vim/bundle/vim-workspace
+ url = https://github.com/thaerkh/vim-workspace.git
diff --git a/.vim/bundle/vim-surround b/.vim/bundle/vim-surround
new file mode 160000
+Subproject e49d6c2459e0f5569ff2d533b4df995dd7f9831
diff --git a/.vim/bundle/vim-workspace b/.vim/bundle/vim-workspace
new file mode 160000
+Subproject 3e0f0b12dd36b37908ad7fe6f9e233393cd2713
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()