diff options
Diffstat (limited to 'bashrc')
-rw-r--r-- | bashrc | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -11,8 +11,14 @@ | |||
11 | 11 | ||
12 | export MANPAGER='vim -c":set noswapfile|%!col -b" -c":file man|:setlocal filetype=man buftype=nowrite readonly nonumber nolist signcolumn=no" -' | 12 | export MANPAGER='vim -c":set noswapfile|%!col -b" -c":file man|:setlocal filetype=man buftype=nowrite readonly nonumber nolist signcolumn=no" -' |
13 | # man() { /bin/vim ":enew<CR>:0read !groffer --pager='cat' --tty $1 <bar> col -bx<CR> :set filetype=man buftype=nowrite readonly<CR>gg" -; } | 13 | # man() { /bin/vim ":enew<CR>:0read !groffer --pager='cat' --tty $1 <bar> col -bx<CR> :set filetype=man buftype=nowrite readonly<CR>gg" -; } |
14 | alias git='git -c color.ui=false' | 14 | # alias git='git -c color.ui=false' |
15 | export GIT_PAGER='vim -c":set noswapfile filetype=git buftype=nowrite readonly nolist nonumber signcolumn=no|:file git" -' | 15 | # export GIT_DIFF_OPTS="--no-color" |
16 | |||
17 | |||
18 | |||
19 | git config --global --replace-all color.pager 0 | ||
20 | git config --global --replace-all core.pager 'vim -c":set noswapfile filetype=git buftype=nowrite readonly nolist nonumber signcolumn=no|:file git" -' | ||
21 | # export GIT_PAGER='' | ||
16 | 22 | ||
17 | # alias git="TERM=dumb git" | 23 | # alias git="TERM=dumb git" |
18 | 24 | ||