AutoYADM commit: 2025-05-08 23:26:19

This commit is contained in:
Daniel Fichtinger 2025-05-08 23:26:19 -04:00
parent 2c174fe3cc
commit 0a5693d46f
6 changed files with 27 additions and 0 deletions

View file

@ -50,3 +50,13 @@ map -docstring "goto next buffer" global user i ": bn<ret>"
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"
def git_blame %{
info %sh{
git -C $(dirname $(realpath $kak_buffile)) blame -L $kak_cursor_line,$kak_cursor_line $(realpath $kak_buffile)
}
}
map -docstring "blame" global git b ": git_blame"