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 --- .gitmodules | 6 ++++++ .vim/bundle/vim-surround | 1 + .vim/bundle/vim-workspace | 1 + .vimrc | 9 +++++++++ 4 files changed, 17 insertions(+) create mode 160000 .vim/bundle/vim-surround create mode 160000 .vim/bundle/vim-workspace 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 index 0000000..e49d6c2 --- /dev/null +++ b/.vim/bundle/vim-surround @@ -0,0 +1 @@ +Subproject commit e49d6c2459e0f5569ff2d533b4df995dd7f98313 diff --git a/.vim/bundle/vim-workspace b/.vim/bundle/vim-workspace new file mode 160000 index 0000000..3e0f0b1 --- /dev/null +++ b/.vim/bundle/vim-workspace @@ -0,0 +1 @@ +Subproject commit 3e0f0b12dd36b37908ad7fe6f9e233393cd27132 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