mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 01:38:11 +09:00
nixvim: fix j/k expr keymaps by wrapping in function
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
This commit is contained in:
@@ -26,13 +26,13 @@ in {
|
||||
{
|
||||
mode = "n";
|
||||
key = "j";
|
||||
action.__raw = "vim.v.count == 0 and 'gj' or 'j'";
|
||||
action.__raw = "function() return vim.v.count == 0 and 'gj' or 'j' end";
|
||||
options = { silent = true; expr = true; desc = "下へ移動(画面行優先)"; };
|
||||
}
|
||||
{
|
||||
mode = "n";
|
||||
key = "k";
|
||||
action.__raw = "vim.v.count == 0 and 'gk' or 'k'";
|
||||
action.__raw = "function() return vim.v.count == 0 and 'gk' or 'k' end";
|
||||
options = { silent = true; expr = true; desc = "上へ移動(画面行優先)"; };
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user