diff options
| author | jdhao <jdhao@hotmail.com> | 2021-11-17 23:19:36 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2021-11-17 23:19:36 +0800 |
| commit | af17364730f73f30442c33921b2e55f9a3147f24 (patch) | |
| tree | f5134f67c96acb93c7135de8bda05f42207ad55c /lua/config/nvim_hop.lua | |
| parent | 46a465508ab5f3ec69448726714125eb36587ed7 (diff) | |
update hop.nvim conf
Diffstat (limited to 'lua/config/nvim_hop.lua')
| -rw-r--r-- | lua/config/nvim_hop.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/config/nvim_hop.lua b/lua/config/nvim_hop.lua index 2211af7..c093a71 100644 --- a/lua/config/nvim_hop.lua +++ b/lua/config/nvim_hop.lua @@ -1,6 +1,7 @@ vim.cmd[[ hi HopNextKey cterm=bold ctermfg=176 gui=bold guibg=#ff00ff guifg=#ffffff ]] require('hop').setup({ case_insensitive = true, + char2_fallback_key = '<CR>', }) vim.api.nvim_set_keymap('n', 'f', "<cmd>lua require'hop'.hint_char2()<cr>", {noremap = true}) |
