]> git.rmz.io Git - dotfiles.git/commitdiff
vim: promote/add plugins
authorSamir Benmendil <me@rmz.io>
Tue, 23 Aug 2016 07:58:29 +0000 (08:58 +0100)
committerSamir Benmendil <me@rmz.io>
Tue, 23 Aug 2016 08:00:50 +0000 (09:00 +0100)
vim/vimrc

index 2ef56898e3d60a6ba2795bbadef32cc436018a41..f05093a018ed143363f36d0308088f9f3a9429ea 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -14,6 +14,7 @@ call vundle#begin('$XDG_DATA_HOME/vim')
 
 Plugin 'gmarik/vundle'
 
+Plugin 'AndrewRadev/switch.vim'
 Plugin 'airblade/vim-gitgutter'
 Plugin 'bling/vim-airline'
 Plugin 'chrisbra/checkattach'
@@ -35,11 +36,14 @@ Plugin 'sjl/gundo.vim'
 Plugin 'tomtom/tcomment_vim'
 Plugin 'tpope/vim-abolish'
 Plugin 'tpope/vim-endwise'
+Plugin 'tpope/vim-eunuch'
 Plugin 'tpope/vim-fugitive'
 Plugin 'tpope/vim-repeat'
-Plugin 'tpope/vim-surround'
+Plugin 'tpope/vim-surround'  "investigate vim-sandwich
 Plugin 'tpope/vim-unimpaired'
+Plugin 'tweekmonster/spellrotate.vim'
 Plugin 'valloric/youcompleteme'
+Plugin 'vim-scripts/mediawiki.vim'
 Plugin 'vim-scripts/replacewithregister'
 Plugin 'vim-scripts/yankring.vim'
 
@@ -54,6 +58,7 @@ Plugin 'honza/vim-snippets'
 Plugin 'kana/vim-textobj-user'
 Plugin 'julian/vim-textobj-variable-segment'
 Plugin 'sgur/vim-textobj-parameter'
+Plugin 'kana/vim-operator-user'
 
 " ros
 Plugin 'ompugao/ros.vim'
@@ -62,9 +67,7 @@ Plugin 'ompugao/ctrlp-ros'
 " staging
 " find an alternative (latex-box? Automatic Latex Plugin?)
 Plugin 'vim-latex/vim-latex'
-Plugin 'nathanaelkane/vim-indent-guides'
 Plugin 'alx741/vinfo'
-Plugin 'vim-scripts/mediawiki.vim'
 Plugin 'derekwyatt/vim-protodef'
 " needs editing colorscheme
 " Plugin 'jeaye/color_coded'
@@ -562,6 +565,15 @@ let g:SignatureMap = {
   \ 'GotoPrevSpotAlpha'  :  "",
   \ }
 
+" switch
+let g:switch_mapping = "<Leader>s"
+
+" spellrotate
+nmap <silent> z] <Plug>(SpellRotateForward)
+nmap <silent> z[ <Plug>(SpellRotateBackward)
+vmap <silent> z] <Plug>(SpellRotateForwardV)
+vmap <silent> z[ <Plug>(SpellRotateBackwardV)
+
 " synastic {{{2
 let g:syntastic_enable_highlighting = 0
 let g:syntastic_error_symbol='E'