diff options
| author | jdhao <jdhao@hotmail.com> | 2021-10-18 22:53:22 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2021-10-18 22:53:22 +0800 |
| commit | 71040c76c686c1e993bae1f0c7a4d69c36d4d172 (patch) | |
| tree | 2ecf402554c15d110a1a6379d96dc60418a35620 /lua/config | |
| parent | 66be7b937999ea462207e5f48a9a27caaf0c740a (diff) | |
replace vim-sneak with hop.nvim
Diffstat (limited to 'lua/config')
| -rw-r--r-- | lua/config/nvim_hop.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lua/config/nvim_hop.lua b/lua/config/nvim_hop.lua new file mode 100644 index 0000000..1a29126 --- /dev/null +++ b/lua/config/nvim_hop.lua @@ -0,0 +1,3 @@ +require('hop').setup() + +vim.api.nvim_set_keymap('n', 'f', "<cmd>lua require'hop'.hint_char2()<cr>", {noremap = true}) |
