Skip to content

Commit

Permalink
Merge pull request gotbletu#17 from sandersantema/patch-1
Browse files Browse the repository at this point in the history
Add instructions for the fish shell and an alternative way of setting…
  • Loading branch information
gotbletu authored Apr 20, 2018
2 parents 65c8867 + c27dc67 commit 15e96ef
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions vim_neovim_manpager.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/fish/config.fish
set MANPAGER "nvim -c 'set ft=man' -"

The following code snippet does seem to disable the default keybinding gO to toggle the TOC:
nvim ~/.config/nvim/init.vim
filetype plugin on
syntax on
Expand Down

0 comments on commit 15e96ef

Please sign in to comment.