mirror of
https://github.com/nmasur/dotfiles
synced 2025-09-20 14:53:15 +00:00
improve commandline git blame in helix
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user