mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-02 19:12:11 +02:00
@@ -176,6 +176,54 @@
|
|||||||
action = "<gv";
|
action = "<gv";
|
||||||
desc = "Dedent and keep selection";
|
desc = "Dedent and keep selection";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Move
|
||||||
|
{
|
||||||
|
key = "<C-h>";
|
||||||
|
mode = "n";
|
||||||
|
silent = true;
|
||||||
|
action = "<C-w>h";
|
||||||
|
desc = "Move to left window";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
key = "<C-j>";
|
||||||
|
mode = "n";
|
||||||
|
silent = true;
|
||||||
|
action = "<C-w>j";
|
||||||
|
desc = "Move to bottom window";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
key = "<C-k>";
|
||||||
|
mode = "n";
|
||||||
|
silent = true;
|
||||||
|
action = "<C-w>k";
|
||||||
|
desc = "Move to top window";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
key = "<C-l>";
|
||||||
|
mode = "n";
|
||||||
|
silent = true;
|
||||||
|
action = "<C-w>l";
|
||||||
|
desc = "Move to right window";
|
||||||
|
}
|
||||||
|
|
||||||
|
# Save
|
||||||
|
{
|
||||||
|
key = "<C-s>";
|
||||||
|
mode = ["n" "i" "v"];
|
||||||
|
silent = true;
|
||||||
|
action = "<cmd>w<cr>";
|
||||||
|
desc = "Save file";
|
||||||
|
}
|
||||||
|
|
||||||
|
# Deactivate "esc"
|
||||||
|
{
|
||||||
|
key = "<Esc>";
|
||||||
|
mode = ["n" "i" "v"];
|
||||||
|
silent = true;
|
||||||
|
action = "<Nop>";
|
||||||
|
desc = "Disable Escape";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,11 @@
|
|||||||
{
|
{pkgs, ...}: {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
imagemagick
|
||||||
|
tree-sitter
|
||||||
|
ghostscript
|
||||||
|
tectonic
|
||||||
|
mermaid-cli
|
||||||
|
];
|
||||||
programs.nvf.settings.vim.utility.snacks-nvim = {
|
programs.nvf.settings.vim.utility.snacks-nvim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
setupOpts = {
|
setupOpts = {
|
||||||
|
|||||||
Reference in New Issue
Block a user