Add instructions for the fish shell and an alternative way of setting the MANPAGER variable

pull/17/head
sandersantema 6 years ago committed by GitHub
parent 43111a20b2
commit 403d0ced5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -16,6 +16,13 @@ vim religion invades the manpages
nvim ~/.bashrc or ~/.zshrc
export MANPAGER="nvim +set\ filetype=man -"
if the above doesn't work try the following:
export MANPAGER="nvim -c 'set ft=man' -"
nvim ~/.config/config.fish
set MANPAGER "nvim -c 'set ft=man' -"
The following does seem to disable the default keybinding gO to toggle the TOC:
nvim ~/.config/nvim/init.vim
filetype plugin on
syntax on

Loading…
Cancel
Save