diff options
author | Guangxiong Lin <[email protected]> | 2023-12-26 23:48:55 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2023-12-26 23:48:55 +0800 |
commit | 4d77b7e3165196342f7a6cc83eb549b63735ff5b (patch) | |
tree | 38993bbce621349b8bdc9857f176213d4d1513ad /.vim/after/plugin/hop.vim | |
parent | 1c6f6f0b0ecaad9b9266683377034252714e30fa (diff) | |
download | dotfiles-4d77b7e3165196342f7a6cc83eb549b63735ff5b.tar.gz dotfiles-4d77b7e3165196342f7a6cc83eb549b63735ff5b.tar.bz2 dotfiles-4d77b7e3165196342f7a6cc83eb549b63735ff5b.zip |
Add neovim config
Diffstat (limited to '.vim/after/plugin/hop.vim')
-rw-r--r-- | .vim/after/plugin/hop.vim | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.vim/after/plugin/hop.vim b/.vim/after/plugin/hop.vim new file mode 100644 index 0000000..03ea18e --- /dev/null +++ b/.vim/after/plugin/hop.vim @@ -0,0 +1,14 @@ +if !has('nvim') + finish +endif + +packadd hop.nvim + +noremap <space>f :HopChar1<CR> +noremap <space>s :HopChar2<CR> + +noremap <space>w :HopWord<CR> + +lua <<EOF + require('hop').setup() +EOF |