Setting function for using Emacs as manpager.

This commit is contained in:
Derek Taylor
2024-04-17 13:29:27 -05:00
parent 13fa9033e3
commit c818dc7716
3 changed files with 11 additions and 2 deletions

View File

@@ -136,6 +136,13 @@ function org-search -d "send a search string to org-mode"
printf $output
end
# Function for using Emacs as our manpage reader.
# Use :q to quit out of Emacs and return to the shell.
function macsman
# emacsclient -nw -e "(man \"$argv\")"
emacsclient -nw -e "(let ((Man-notify-method 'bully)) (man \"$argv\"))"
end
### END OF FUNCTIONS ###