diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2022-07-28 15:26:11 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2022-07-28 15:26:11 +0300 |
commit | a69f5cb1ba2647fd6354d00541084a5c3a427888 (patch) | |
tree | 64afa75bdfb2a53cf280bd30ab697df952a92ee0 /dotfiles | |
parent | 5470e3de5fb3d3c6575989d004fca912107304d6 (diff) | |
download | swayrice-a69f5cb1ba2647fd6354d00541084a5c3a427888.tar.gz swayrice-a69f5cb1ba2647fd6354d00541084a5c3a427888.zip |
Nvim as man pager
Diffstat (limited to 'dotfiles')
-rw-r--r-- | dotfiles/.config/mimeapps.list | 1 | ||||
-rwxr-xr-x | dotfiles/.local/bin/menuman | 2 | ||||
-rw-r--r-- | dotfiles/.profile | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/dotfiles/.config/mimeapps.list b/dotfiles/.config/mimeapps.list index 3708ec0..149052f 100644 --- a/dotfiles/.config/mimeapps.list +++ b/dotfiles/.config/mimeapps.list @@ -4,6 +4,7 @@ application/epub+zip=org.pwmt.zathura-pdf-mupdf.desktop; application/rdf+xml=org.qutebrowser.qutebrowser.desktop; application/xhtml+xml=org.qutebrowser.qutebrowser.desktop; application/xml=org.qutebrowser.qutebrowser.desktop; +application/x-mimearchive=org.qutebrowser.qutebrowser.desktop; audio/mpeg=mpv.desktop; audio/x-xm=mpv.desktop; audio/x-mod=mpv.desktop; diff --git a/dotfiles/.local/bin/menuman b/dotfiles/.local/bin/menuman index 6c41415..d7aaa1f 100755 --- a/dotfiles/.local/bin/menuman +++ b/dotfiles/.local/bin/menuman @@ -61,4 +61,4 @@ if [ ! -z "$isterminal" ]; then man "$chosen" && exit fi -$TERMINAL -T "man $chosen" man $chosen +$TERMINAL -T "Manual pages - $chosen" man $chosen diff --git a/dotfiles/.profile b/dotfiles/.profile index 0ad601e..e1844df 100644 --- a/dotfiles/.profile +++ b/dotfiles/.profile @@ -17,6 +17,7 @@ export LANG=en_US.UTF-8 export TERMINAL=foot export EDITOR="nvim" export PAGER="less -R -j.5" +export MANPAGER='nvim +Man!' export BROWSER=qutebrowser # Sanely export XDG Base dir variables |