add lazygit to helix and tweak zellij with locked mode

This commit is contained in:
Noah Masur
2025-03-30 18:09:07 -04:00
parent 3852551ebe
commit d427ccc577
2 changed files with 42 additions and 38 deletions

View File

@ -123,6 +123,25 @@ in
keys.normal = {
# Enable and disable inlay hints
space.H = ":toggle lsp.display-inlay-hints";
space.l = [
":write-all"
":new"
":insert-output ${lib.getExe pkgs.lazygit}"
":buffer-close!"
# ":redraw"
# ":reload-all"
];
# Open yazi
# https://github.com/sxyazi/yazi/pull/2461
# Won't work until next Helix release
# C-y = [
# ":sh rm -f /tmp/unique-file"
# ":insert-output ${lib.getExe pkgs.yazi} %{buffer_name} --chooser-file=/tmp/unique-file"
# ":insert-output echo \\x1b[?1049h\\x1b[?2004h > /dev/tty"
# ":open %sh{cat /tmp/unique-file}"
# ":redraw"
# ];
# Extend selection above
X = "select_line_above";
@ -140,19 +159,6 @@ in
"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 = {