Easier way for man in neovim.

This commit is contained in:
Bartek Stalewski 2021-10-07 14:57:24 +02:00
parent d3494feb56
commit 7f4c446b8a
2 changed files with 1 additions and 3 deletions

View file

@ -1,2 +0,0 @@
#!/bin/sh
vim -R -c 'set ft=man nomod nonumber nomagic' "${*}"

View file

@ -8,7 +8,7 @@ setopt HIST_REDUCE_BLANKS
setopt SHARE_HISTORY
export PATH=~/.local/bin:$PATH
export MANPAGER="viman"
export MANPAGER='nvim +Man!'
export LESSHISTFILE='/dev/null'
[ ! -L ~/.cache ] && { rm -rf ~/.cache; ln -sf $XDG_CACHE_HOME ~/.cache ; }