rc man: Let mode commands fail

Commands in the `man` user mode shouldn't fail silently.
This commit is contained in:
Frank LENORMAND 2021-11-04 07:20:10 +03:00
parent 924ca6b43a
commit 4cee8917ab

View File

@ -138,6 +138,6 @@ man-jump %{
declare-user-mode man declare-user-mode man
map global man 'g' -docstring 'Jump to a man page using selected man page link' ': man-jump<ret>' map global man 'g' -docstring 'Jump to a man page using selected man page link' ': man-jump<ret>'
map global man 'j' -docstring 'Go to next man page link' ': try %{ man-link-next }<ret>' map global man 'j' -docstring 'Go to next man page link' ': man-link-next<ret>'
map global man 'k' -docstring 'Go to previous man page link' ': try %{ man-link-prev }<ret>' map global man 'k' -docstring 'Go to previous man page link' ': man-link-prev<ret>'
map global man 'm' -docstring 'Look up a man page' ': man<space>' map global man 'm' -docstring 'Look up a man page' ': man<space>'