aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorCody Hiar <cody@hiar.ca>2021-02-02 10:50:16 -0700
committerCody Hiar <cody@hiar.ca>2021-02-02 10:50:16 -0700
commitae0e591163c9e9e5244fe3141a770c98f762ffba (patch)
treee8e7e4041c4426a48608ab163e831deef9cc65eb /plugin
parent447af5f23af12fc06a70c682810e316df0d0237a (diff)
Add back deoplete options
Diffstat (limited to 'plugin')
-rw-r--r--plugin/vim-options.vim23
1 files changed, 23 insertions, 0 deletions
diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim
index 0c935d1..b9d9006 100644
--- a/plugin/vim-options.vim
+++ b/plugin/vim-options.vim
@@ -437,3 +437,26 @@ if !empty(glob($EditorDir.'plugged/vim-ripgrep/plugin/vim-ripgrep.vim'))
endif
endfunction
endif
+
+
+"-------------------------------------------------------------------------------------------------------->
+" Easymotion Plugin
+"-------------------------------------------------------------------------------------------------------->
+if !empty(glob($EditorDir.'plugged/vim-easymotion/plugin/EasyMotion.vim'))
+ hi link EasyMotionTarget ErrorMsg
+ hi link EasyMotionTarget2First ErrorMsg
+ hi link EasyMotionTarget2Second ErrorMsg
+ hi link EasyMotionShade Comment
+ hi EasyMotionTarget ctermbg=none ctermfg=1 cterm=bold
+ "let g:EasyMotion_do_shade = 0
+ nnoremap \ <NOP>
+ map <Leader> <Plug>(easymotion-prefix)
+ map <Leader>r <Plug>(easymotion-repeat)
+ nmap s <Plug>(easymotion-repeat)
+ let g:EasyMotion_startofline = 0 " keep cursor colum when JK motion
+ map / <Plug>(easymotion-sn)
+ omap / <Plug>(easymotion-tn)
+ map n <Plug>(easymotion-next)
+ map N <Plug>(easymotion-prev)
+endif
+"-------------------------------------------------------------------------------------------------------->