Add multicursor escape

This commit is contained in:
muon 2024-06-11 22:36:23 +00:00
parent 2c432a9441
commit 5f6f020888
2 changed files with 20 additions and 15 deletions

View file

@ -14,10 +14,10 @@
keybindings = let keybindings = let
modifier = config.xsession.windowManager.i3.config.modifier; modifier = config.xsession.windowManager.i3.config.modifier;
in lib.mkOptionDefault { in lib.mkOptionDefault {
"${modifier}+h" = "move left"; "${modifier}+h" = "focus left";
"${modifier}+j" = "move down"; "${modifier}+j" = "focus down";
"${modifier}+k" = "move up"; "${modifier}+k" = "focus up";
"${modifier}+l" = "move right"; "${modifier}+l" = "focus right";
}; };
}; };
}; };

View file

@ -7,17 +7,22 @@
programs.helix = { programs.helix = {
enable = true; enable = true;
settings.editor = { settings = {
line-number = "relative"; keys.normal = {
completion-replace = true; "esc" = ["collapse_selection" "keep_primary_selection"];
bufferline = "always"; };
rulers = [80]; editor = {
soft-wrap.enable = true; line-number = "relative";
indent-guides.render = true; completion-replace = true;
cursor-shape = { bufferline = "always";
normal = "block"; rulers = [80];
insert = "bar"; soft-wrap.enable = true;
select = "underline"; indent-guides.render = true;
cursor-shape = {
normal = "block";
insert = "bar";
select = "underline";
};
}; };
}; };
}; };