diff options
author | Victor Toso <victortoso@redhat.com> | 2016-02-12 15:25:15 +0100 |
---|---|---|
committer | Victor Toso <victortoso@redhat.com> | 2016-02-12 15:35:42 +0100 |
commit | b2e0fb066f4c294fd24da09d4b5a8cd389e0a855 (patch) | |
tree | 21c42d99de1e512ed18722e8d9e0dc6014fd8a27 | |
parent | 313b8e9d6cce88117dada57315816d0f776d600b (diff) |
vim: use easymotion!
-rw-r--r-- | .gitmodules | 3 | ||||
m--------- | vim/bundle/vim-easymotion | 0 | ||||
-rw-r--r-- | vimrc | 8 |
3 files changed, 10 insertions, 1 deletions
diff --git a/.gitmodules b/.gitmodules index 65398b6..ac83adc 100644 --- a/.gitmodules +++ b/.gitmodules @@ -25,3 +25,6 @@ [submodule "vim/bundle/color_coded"] path = vim/bundle/color_coded url = https://github.com/jeaye/color_coded.git +[submodule "vim/bundle/vim-easymotion"] + path = vim/bundle/vim-easymotion + url = https://github.com/easymotion/vim-easymotion.git diff --git a/vim/bundle/vim-easymotion b/vim/bundle/vim-easymotion new file mode 160000 +Subproject 33f141c3c044b175d53cf161f31b90aebb0bda8 @@ -45,6 +45,7 @@ Plugin 'tmux-plugins/vim-tmux' Plugin 'rdnetto/YCM-Generator' Plugin 'Valloric/YouCompleteMe' Plugin 'jeaye/color_coded' +Plugin 'easymotion/vim-easymotion' call vundle#end() filetype plugin indent on @@ -79,7 +80,12 @@ imap <leader>2 <C-R>="Reviewed-by: Victor Toso <victortoso@redhat.com>"<CR> let g:lasttab = 1 nmap bt :exe "tabn ".g:lasttab<CR> au TabLeave * let g:lasttab = tabpagenr() - +" ---------------------------------------------------------------------------- +" ------------------ EasyMotion ---------------------------------------------- +" ---------------------------------------------------------------------------- +nmap <leader>f <Plug>(easymotion-overwin-f) +map <leader>j <Plug>(easymotion-j) +map <leader>k <Plug>(easymotion-k) " ---------------------------------------------------------------------------- " ------------------ CSCOPE -------------------------------------------------- " ---------------------------------------------------------------------------- |