This commit is contained in:
Daniel Flanagan 2022-07-19 11:21:25 -05:00
parent e181f411eb
commit 8fc42a9a64
Signed by: lytedev
GPG Key ID: 5B2020A0F9921EF4
1 changed files with 8 additions and 1 deletions

View File

@ -12,11 +12,18 @@ set --export --universal BROWSER firefox-developer-edition
set --export --universal PAGER less
set --export --universal LESS "-r"
set --export --universal MANPAGER 'env MANWIDTH="" nvim --cmd "let g:prosession_on_startup=0" +Man!'
set --export --universal MANPAGER 'env MANWIDTH="" "$EDITOR"'
if command --search --quiet nvim
set --export --universal MANPAGER 'env MANWIDTH="" nvim --cmd "let g:prosession_on_startup=0" +Man!'
set --export --universal EDITOR nvim
set --export --universal VISUAL nvim
else if command --search --quiet helix
set --export --universal EDITOR helix
set --export --universal VISUAL helix
else if command --search --quiet hx
set --export --universal EDITOR hx
set --export --universal VISUAL hx
else if command --search --quiet vim
set --export --universal EDITOR vim
set --export --universal VISUAL vim