summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bashrc1
-rw-r--r--.vimrc4
2 files changed, 5 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
index 9870d56..bd723cc 100644
--- a/.bashrc
+++ b/.bashrc
@@ -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
diff --git a/.vimrc b/.vimrc
index 158c3ec..640cd09 100644
--- a/.vimrc
+++ b/.vimrc
@@ -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 {}'