mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-03 19:42:10 +02:00
remove usefull keymaps
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
@@ -17,11 +17,5 @@
|
|||||||
|
|
||||||
programs.nvf = {
|
programs.nvf = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.vim = {
|
|
||||||
startPlugins = [
|
|
||||||
# TODO: Change to ghostty
|
|
||||||
pkgs.vimPlugins.vim-kitty-navigator
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -32,33 +32,7 @@
|
|||||||
desc = "Next Buffer";
|
desc = "Next Buffer";
|
||||||
}
|
}
|
||||||
|
|
||||||
# Kitty navigator
|
# Disable Arrow Keys in Normal Mode and Middle click
|
||||||
{
|
|
||||||
key = "<C-h>";
|
|
||||||
mode = "n";
|
|
||||||
silent = true;
|
|
||||||
action = "<cmd>KittyNavigateLeft<cr>";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
key = "<C-j>";
|
|
||||||
mode = "n";
|
|
||||||
silent = true;
|
|
||||||
action = "<cmd>KittyNavigateDown<cr>";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
key = "<C-k>";
|
|
||||||
mode = "n";
|
|
||||||
silent = true;
|
|
||||||
action = "<cmd>KittyNavigateUp<cr>";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
key = "<C-l>";
|
|
||||||
mode = "n";
|
|
||||||
silent = true;
|
|
||||||
action = "<cmd>KittyNavigateRight<cr>";
|
|
||||||
}
|
|
||||||
|
|
||||||
# Disable Arrow Keys in Normal Mode
|
|
||||||
{
|
{
|
||||||
key = "<Up>";
|
key = "<Up>";
|
||||||
mode = "n";
|
mode = "n";
|
||||||
@@ -87,6 +61,24 @@
|
|||||||
action = "<Nop>";
|
action = "<Nop>";
|
||||||
desc = "Disable Right Arrow";
|
desc = "Disable Right Arrow";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
key = "<MiddleMouse>";
|
||||||
|
mode = ["n" "i" "v"]; # Normal, Insert, Visual
|
||||||
|
action = "<nop>"; # No Operation
|
||||||
|
silent = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
key = "<2-MiddleMouse>"; # Désactive aussi le double clic molette
|
||||||
|
mode = ["n" "i" "v"];
|
||||||
|
action = "<nop>";
|
||||||
|
silent = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
key = "<3-MiddleMouse>"; # Désactive aussi le double clic molette
|
||||||
|
mode = ["n" "i" "v"];
|
||||||
|
action = "<nop>";
|
||||||
|
silent = true;
|
||||||
|
}
|
||||||
|
|
||||||
# UI
|
# UI
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user