hop
Hop doesn’t set any keybindings; you will have to define them by yourself. If you want to create a key binding from within nixvim:
keymaps = [
{
key = "f";
action.__raw = \'\'
function()
require'hop'.hint_char1({
direction = require'hop.hint'.HintDirection.AFTER_CURSOR,
current_line_only = true
})
end
\'\';
options.remap = true;
}
{
key = "F";
action.__raw = \'\'
function()
require'hop'.hint_char1({
direction = require'hop.hint'.HintDirection.BEFORE_CURSOR,
current_line_only = true
})
end
\'\';
options.remap = true;
}
{
key = "t";
action.__raw = \'\'
function()
require'hop'.hint_char1({
direction = require'hop.hint'.HintDirection.AFTER_CURSOR,
current_line_only = true,
hint_offset = -1
})
end
\'\';
options.remap = true;
}
{
key = "T";
action.__raw = \'\'
function()
require'hop'.hint_char1({
direction = require'hop.hint'.HintDirection.BEFORE_CURSOR,
current_line_only = true,
hint_offset = 1
})
end
\'\';
options.remap = true;
}
];
Url: https://github.com/smoka7/hop.nvim/
Maintainers: Gaetan Lepage
plugins.hop.enable
Whether to enable hop.nvim.
Type: boolean
Default:
false
Example:
true
Declared by:
plugins.hop.package
Which package to use for the hop.nvim plugin.
Type: package
Default:
<derivation vimplugin-hop.nvim-2024-04-25>
Declared by: