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
modifier = config.xsession.windowManager.i3.config.modifier;
in lib.mkOptionDefault {
"${modifier}+h" = "move left";
"${modifier}+j" = "move down";
"${modifier}+k" = "move up";
"${modifier}+l" = "move right";
"${modifier}+h" = "focus left";
"${modifier}+j" = "focus down";
"${modifier}+k" = "focus up";
"${modifier}+l" = "focus right";
};
};
};

View file

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