improve commandline git blame in helix

This commit is contained in:
Noah Masur
2025-07-29 10:02:37 -04:00
parent 56d10c2765
commit ca20fa0732

View File

@@ -171,8 +171,8 @@ in
":set mouse true" ":set mouse true"
]; ];
# Open git blame in github # Commandline git blame
space.B = ":sh git blame -L %{cursor_line},%{cursor_line} %{buffer_name}"; 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 # Open yazi
# https://github.com/sxyazi/yazi/pull/2461 # https://github.com/sxyazi/yazi/pull/2461