Fix nvim as manpager problems

This commit is contained in:
mequidis
2022-01-11 09:05:15 +02:00
parent 884b365088
commit b8a88efad7
2 changed files with 3 additions and 2 deletions

View File

@ -21,6 +21,7 @@ ncmpcpp
neovim-qt neovim-qt
nerd-fonts-mononoki nerd-fonts-mononoki
newsboat newsboat
nvimpager-git
openssh openssh
papirus-icon-theme papirus-icon-theme
picom-git picom-git

View File

@ -28,8 +28,8 @@ export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority
export QT_STYLE_OVERRIDE=kvantum export QT_STYLE_OVERRIDE=kvantum
# use nvim for stuff # use nvim for stuff
export EDITOR="nvim" export EDITOR=nvim
export MANPAGER="nvim -c 'set ft=man' -" export MANPAGER=nvimpager
[ ! -d "$XDG_CACHE_HOME/zsh/" ] && mkdir -p $XDG_CACHE_HOME/zsh [ ! -d "$XDG_CACHE_HOME/zsh/" ] && mkdir -p $XDG_CACHE_HOME/zsh
[ ! -d "$XDG_DATA_HOME/zsh/" ] && mkdir -p $XDG_DATA_HOME/zsh [ ! -d "$XDG_DATA_HOME/zsh/" ] && mkdir -p $XDG_DATA_HOME/zsh