kakoune: change git open and fd open keys

This commit is contained in:
2026-05-31 22:31:05 +02:00
parent 6e5dc5decd
commit bc85f3cb09

View File

@@ -20,8 +20,7 @@ map global -docstring 'Buffer' user ' ' ': buffer '
declare-user-mode file-mode
map global -docstring 'Search/open' user 's' ': enter-user-mode file-mode<ret>'
map global -docstring 'Open (git)' file-mode 'a' ': file-open-git<ret>'
map global -docstring 'Open (fd)' file-mode 'f' ': file-open<ret>'
map global -docstring 'Open (fd)' file-mode 'a' ': file-open<ret>'
map global -docstring 'Open (fd -H)' file-mode 'h' ': file-open-with-hidden<ret>'
map global -docstring 'Open (recent)' file-mode 'r' ': file-open-recent<ret>'
map global -docstring 'Open (nnn)' file-mode 'd' ': nnn-open %val{buffile}<ret>'
@@ -39,6 +38,7 @@ map global -docstring 'Delete buffer' file-mode 'x' ': delete-buffer '
declare-user-mode git-mode
map global -docstring 'Git' user 'g' ': enter-user-mode git-mode<ret>'
map global -docstring 'Open file' git-mode 'a' ': file-open-git<ret>'
map global -docstring 'Blame' git-mode 'b' ': git blame<ret>'
map global -docstring 'Blame' git-mode 'B' ': git blame-jump<ret>'
map global -docstring 'Diff file' git-mode 'd' ': git diff %val{buffile}<ret>'