Closed skanti closed 8 months ago
Hi! What is unclear about the snippet? This is all you have to do. <modes>
is e.g. {'n', 'x', 'o'}
, <key>
is the key you want to use, e.g. 's'
. :help vim.keymap.set
. Should I change it to something like vim.keymap.set({'n', 'x', 'o'}, 's', function () ... end
)?
vim.keymap.set(<modes>, <key>, function ()
require('leap').leap { target_windows = { vim.api.nvim_get_current_win() } }
end)
6362976
Hi, I'm struggling to understand how to activate bidirectional search because I believe the documentation is impartial or only vaguely explains how to do it. Could you please add a working example to the doc?