AutoYADM commit: 2025-05-16 15:26:01

This commit is contained in:
Daniel Fichtinger 2025-05-16 15:26:01 -04:00
parent d1e5c10225
commit e297761a6c

View file

@ -123,7 +123,12 @@ map global normal <tab> _
map -docstring "commenct line" global normal <c-v> ":comment-line<ret>"
declare-user-mode git
map -docstring "git" global user g ": enter-user-mode git<ret>"
map -docstring "lazygit" global git g ": terminal lazygit<ret>"
map -docstring "lazygit kak cwd" global git g ": terminal lazygit<ret>"
map -docstring "lazygit buffer directory" global git G %{
evaluate-commands terminal "lazygit -w %sh{
dirname "$kak_buffile"
}"
}
def git_blame %{
info %sh{
git -C $(dirname $(realpath $kak_buffile)) blame -L $kak_cursor_line,$kak_cursor_line $(realpath $kak_buffile)