Default behavior of man <command>
(opens inside less
) when q
is pressed it is closed.
I am using following to open MANPAGER
with emacs
:
emacsclient -nw -e "(let ((Man-notify-method 'bully)) (man \"$1\"))"
Here pressing q
closes buffer but does not close the emacs
like Ctrl-x Ctrl-c
does. Is it possible to bind q
into the same action Ctrl-x Ctrl-c
to exit the emacs
and get back to shell.