mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-06 21:20:13 +00:00
add lazygit to helix and tweak zellij with locked mode
This commit is contained in:
@ -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 = {
|
||||
|
Reference in New Issue
Block a user