adjust some zellij and helix keybinds

This commit is contained in:
Noah Masur
2025-03-27 13:01:53 -04:00
parent 39d9cb7e5a
commit 6933083cda
2 changed files with 71 additions and 84 deletions

View File

@ -35,6 +35,8 @@ in
enable = true;
package = pkgs.helix; # pkgs.evil-helix
languages = {
language-server.nixd = {
@ -117,7 +119,44 @@ in
settings = {
theme = "base16";
keys.normal = {
# Enable and disable inlay hints
space.H = ":toggle lsp.display-inlay-hints";
# Extend selection above
X = "select_line_above";
# Move lines up or down
A-j = [
"extend_to_line_bounds"
"delete_selection"
"paste_after"
];
A-k = [
"extend_to_line_bounds"
"delete_selection"
"move_line_up"
"paste_before"
];
# Copy lines up or down
A-J = [
"extend_to_line_bounds"
"yank"
"paste_after"
];
A-K = [
"extend_to_line_bounds"
"yank"
"paste_before"
];
};
editor = {
# Change cursors depending on the mode
cursor-shape = {
insert = "bar";