feat: move to nixvim

This commit is contained in:
Kat Inskip 2025-11-19 04:39:35 -08:00
parent ca97476a47
commit 779c3c4098
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
22 changed files with 772 additions and 57 deletions

View file

@ -0,0 +1,60 @@
_: {
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;
}
];
plugins = {
hop = {
enable = true;
autoLoad = true;
};
};
}