M plugs.vim => plugs.vim +4 -1
@@ 108,7 108,10 @@ Plug 'junegunn/fzf.vim'
" popdef
Plug 'teppey/popdef'
-"" filetypes
+" interesting words highligting
+Plug 'lfv89/vim-interestingwords'
+
+""" filetypes
" git
Plug 'tpope/vim-git', { 'for': 'git' }
M startup/mappings.vim => startup/mappings.vim +8 -0
@@ 117,6 117,14 @@ map <leader>g :Git<CR>
" popdef
nnoremap <silent> <Leader>d :PopDef<CR>
+" interesting words
+nnoremap <silent> gk :call InterestingWords('n')<cr>
+vnoremap <silent> gk :call InterestingWords('v')<cr>
+nnoremap <silent> gK :call UncolorAllWords()<cr>
+
+nnoremap <silent> n :call WordNavigation(1)<cr>
+nnoremap <silent> N :call WordNavigation(0)<cr>
+
if exists('$WAYLAND_DISPLAY')
if executable('wl-copy')
xnoremap <leader>y y:call system("wl-copy", @")<cr>
M startup/plugins.vim => startup/plugins.vim +3 -0
@@ 83,3 83,6 @@ let g:TerminusBracketedPaste=0
let g:vista#renderer#enable_icon = 0
let g:vista_icon_indent = ["▸ ", " "]
let g:vista_sidebar_width = 50
+
+" interesting words
+let g:interestingWordsRandomiseColors = 1