Ver Fonte

Add leap.nvim

Kevin Heinicke há 3 anos atrás
pai
commit
0a81306a18
2 ficheiros alterados com 7 adições e 2 exclusões
  1. 2 2
      coc-extensions.json
  2. 5 0
      nvimrc

+ 2 - 2
coc-extensions.json

@@ -9,5 +9,5 @@
   },
   "disabled": [],
   "locked": [],
-  "lastUpdate": 1665865538302
-}
+  "lastUpdate": 1665873311480
+}

+ 5 - 0
nvimrc

@@ -38,6 +38,7 @@ Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
 Plug 'junegunn/fzf.vim'
 Plug 'KabbAmine/vCoolor.vim'
 Plug 'leafOfTree/vim-vue-plugin'
+Plug 'ggandor/leap.nvim'
 
 " All of your Plugins must be added before the following line
 call plug#end()  " required
@@ -399,4 +400,8 @@ let g:go_version_warning = 0
 " easy align
 vmap <Enter> <Plug>(EasyAlign)
 
+" leap
+lua require('leap').add_default_mappings()
+lua require('leap').opts.highlight_unlabeled_phase_one_targets = true
+
 source $HOME/.config/nvim/local.vimrc