vim as manpager
This commit is contained in:
parent
9c14748eb6
commit
9107cda2e6
2 changed files with 5 additions and 0 deletions
|
@ -29,6 +29,9 @@ export PS1='\n\[\e[34m\]\u@\[\e[34m\]\h \[\e[94m\]\w\[\e[33m\]$(__git_ps1) \[\e[
|
||||||
# https://unix.stackexchange.com/questions/332791/how-to-permanently-disable-ctrl-s-in-terminal
|
# https://unix.stackexchange.com/questions/332791/how-to-permanently-disable-ctrl-s-in-terminal
|
||||||
stty -ixon
|
stty -ixon
|
||||||
|
|
||||||
|
# vim als MANPAGER
|
||||||
|
export MANPAGER="vim -c ASMANPAGER -"
|
||||||
|
|
||||||
# farben fur manpages
|
# farben fur manpages
|
||||||
# https://opensource.com/article/18/5/bash-tricks
|
# https://opensource.com/article/18/5/bash-tricks
|
||||||
export LESS_TERMCAP_mb=$'\E[01;31m'
|
export LESS_TERMCAP_mb=$'\E[01;31m'
|
||||||
|
|
2
.vimrc
2
.vimrc
|
@ -36,6 +36,8 @@ Plugin 'ConradIrwin/vim-bracketed-paste'
|
||||||
Plugin 'wellle/targets.vim'
|
Plugin 'wellle/targets.vim'
|
||||||
" Undotree
|
" Undotree
|
||||||
Plugin 'mbbill/undotree'
|
Plugin 'mbbill/undotree'
|
||||||
|
" vim as MANPAGER
|
||||||
|
Plugin 'lambdalisue/vim-manpager'
|
||||||
call vundle#end()
|
call vundle#end()
|
||||||
|
|
||||||
let mapleader = ","
|
let mapleader = ","
|
||||||
|
|
Loading…
Reference in a new issue