In magit status of a Git repository, you usually press f u
to fetch from upstream (these keybindings in Magit will call magit-fetch-from-upstream
).
With Magit keybindings I have noticed the letters hkjl
after prefix f
were not used yet. So I added the following:
(map! :map magit-mode-map
:n "fh" #'evil-window-left
:n "fl" #'evil-window-right)
This works well in Magit. Later it turns out this also disabled the prefix-related keybinding u
after prefix f
. So I'm wondering how I could add another keybinding after prefix f
while retaining the other Magit prefix-related keybindings?
map!
syntax means.