2 Commits

Author SHA1 Message Date
Noah Masur
f9bf763f91 add shortcut to quit helix without saving 2025-07-29 21:48:29 -04:00
Noah Masur
ca20fa0732 improve commandline git blame in helix 2025-07-29 21:48:29 -04:00

View File

@@ -147,7 +147,9 @@ in
"keep_primary_selection"
];
space.q = ":quit";
# Quit shortcuts
space.q = ":quit-all";
space.x = ":quit-all!";
# Enable and disable inlay hints
space.H = ":toggle lsp.display-inlay-hints";
@@ -171,8 +173,8 @@ in
":set mouse true"
];
# Open git blame in github
space.B = ":sh git blame -L %{cursor_line},%{cursor_line} %{buffer_name}";
# Commandline git blame
space.B = ":echo %sh{git log -n1 --date=short --pretty=format:'%%h %%ad %%s' $(git blame -L %{cursor_line},+1 %{buffer_name} | cut -d' ' -f1)}";
# Open yazi
# https://github.com/sxyazi/yazi/pull/2461