summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Toso <victortoso@redhat.com>2016-02-12 15:34:07 +0100
committerVictor Toso <victortoso@redhat.com>2016-02-12 15:35:42 +0100
commit408f7e47c7531eb366dba4f26192d68c060797bf (patch)
treefbe2e5bfae78410dffe2f54b7dc43b2b93580dd2
parentb2e0fb066f4c294fd24da09d4b5a8cd389e0a855 (diff)
vim: enable online thesaurus
-rw-r--r--.gitmodules3
m---------vim/bundle/vim-online-thesaurus0
-rw-r--r--vimrc6
3 files changed, 9 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules
index ac83adc..a003c3b 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -28,3 +28,6 @@
[submodule "vim/bundle/vim-easymotion"]
path = vim/bundle/vim-easymotion
url = https://github.com/easymotion/vim-easymotion.git
+[submodule "vim/bundle/vim-online-thesaurus"]
+ path = vim/bundle/vim-online-thesaurus
+ url = https://github.com/beloglazov/vim-online-thesaurus.git
diff --git a/vim/bundle/vim-online-thesaurus b/vim/bundle/vim-online-thesaurus
new file mode 160000
+Subproject ac9f4ac64761eb0dcd80ea9560db22d71ec789b
diff --git a/vimrc b/vimrc
index c2ca13c..81a40a1 100644
--- a/vimrc
+++ b/vimrc
@@ -46,6 +46,7 @@ Plugin 'rdnetto/YCM-Generator'
Plugin 'Valloric/YouCompleteMe'
Plugin 'jeaye/color_coded'
Plugin 'easymotion/vim-easymotion'
+Plugin 'beloglazov/vim-online-thesaurus'
call vundle#end()
filetype plugin indent on
@@ -87,6 +88,11 @@ nmap <leader>f <Plug>(easymotion-overwin-f)
map <leader>j <Plug>(easymotion-j)
map <leader>k <Plug>(easymotion-k)
" ----------------------------------------------------------------------------
+" ------------------ Online Thesaurus ----------------------------------------
+" ----------------------------------------------------------------------------
+let g:online_thesaurus_map_keys = 0
+nnoremap <leader>w :OnlineThesaurusCurrentWord<CR>
+" ----------------------------------------------------------------------------
" ------------------ CSCOPE --------------------------------------------------
" ----------------------------------------------------------------------------
if has("cscope")