From 403d0ced5fdbbff73b570d5b91393e579db0b8d1 Mon Sep 17 00:00:00 2001 From: sandersantema Date: Thu, 5 Apr 2018 20:42:56 +0200 Subject: [PATCH] Add instructions for the fish shell and an alternative way of setting the MANPAGER variable --- vim_neovim_manpager.md | 7 +++++++ 1 file changed, 7 insertions(+) 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