8000 mini.nvim/lua/mini/jump.lua at main · henriqpsantos/mini.nvim · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
356 lines (303 loc) · 12 KB

jump.lua

File metadata and controls

356 lines (303 loc) · 12 KB
H.cache.n_times = n_times
end
end
function H.get_target()
local char = vim.fn.getchar()
-- Allow `<Esc>` to early exit
if char == 27 then
return
end
return vim.fn.nr2char(char)
end
function H.map(mode, key, rhs, opts)
if key == '' then
return
end
opts = vim.tbl_deep_extend('force', { noremap = true }, opts or {})
vim.api.nvim_set_keymap(mode, key, rhs, opts)
end
return MiniJump
0