diff options
| author | Marc Vertes <mvertes@free.fr> | 2025-04-25 10:58:18 +0200 |
|---|---|---|
| committer | Marc Vertes <mvertes@free.fr> | 2025-04-25 10:58:18 +0200 |
| commit | 697dbbdfe606c03a36adee298c8e9081290e4d3b (patch) | |
| tree | 83a88b93b3211a5727a7acdd5a5b5aab94a3b44f | |
| parent | ba6dd3256c9508ed0c71c7f3346d910803d54a46 (diff) | |
use vim for manpages
| -rw-r--r-- | .bashrc | 1 | ||||
| -rw-r--r-- | .vimrc | 4 |
2 files changed, 5 insertions, 0 deletions
@@ -5,6 +5,7 @@ export PAGER=less export EDITOR=vim +export MANPAGER='vim +MANPAGER --not-a-term -' export HISTIGNORE='sudo id:uname:date:exit:df:ll:ls:ps:pwd:tc:top:history' export HISTCONTROL=ignoreboth:erasedups # no start space and duplicate entries export HISTSIZE=100000 # big big history @@ -34,6 +34,10 @@ augroup END set guifont=6x13:h13 set guicursor=a:block-Cursor/lCursor-blinkon0 +" Activate man pages display in vim with hyperlink navigation. +ru ftplugin/man.vim +set keywordprg=:Man + " fzf plugin set rtp+=/opt/homebrew/opt/fzf let g:fzf_preview = 'cat {}' |
