add shortcuts and leap work foreward and backward with "s"
This commit is contained in:
parent
ae9fc10678
commit
81c3cd2ac0
5 changed files with 22 additions and 44 deletions
|
|
@ -2,5 +2,9 @@ return {
|
|||
"ggandor/leap.nvim",
|
||||
config = function()
|
||||
require('leap').add_default_mappings()
|
||||
vim.keymap.set('n', 's', function()
|
||||
local current_window = vim.fn.win_getid()
|
||||
require('leap').leap { target_windows = { current_window } }
|
||||
end)
|
||||
end
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue