diff --git a/vim_neovim_manpager.md b/vim_neovim_manpager.md index 695a952..281df5f 100644 --- a/vim_neovim_manpager.md +++ b/vim_neovim_manpager.md @@ -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