commit 71c1c876c7157a1c082774c0fc30b4490b205422
parent 6cfbdcc8668bcd6167e86659d61886760ca1c5f0
Author: Anders Damsgaard <andersd@riseup.net>
Date: Mon, 4 Dec 2017 18:32:18 -0500
Add keybind to lookup current word
Diffstat:
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/links/.vim/plugin/keybinds.vim b/links/.vim/plugin/keybinds.vim
@@ -190,3 +190,5 @@ let g:startify_custom_header =
\ map(split(system('fortune -s | cowthink'), '\n'), '" ".v:val')
\ + ['','']
+" lookup word under cursor, dismiss results with q
+nnoremap <leader>J :OnlineThesaurusCurrentWord<CR>
diff --git a/links/.vim/plugins.vim b/links/.vim/plugins.vim
@@ -192,3 +192,5 @@ endfunction
" run vim-emoji on entire document
command! -range EmojiReplace <line1>,<line2>s/:\([^:]\+\):/\=emoji#for(submatch(1), submatch(0))/g
+
+let g:online_thesaurus_map_keys = 0