diff options
author | Max Christian Pohle | 2018-06-23 01:10:55 +0200 |
---|---|---|
committer | Max Christian Pohle | 2018-06-23 01:10:55 +0200 |
commit | 5d47f01f94ef508033a41ebcfc3de989755fd3ca (patch) | |
tree | bbfeac87bdaeb00304eb7dc492b3d1b060a759ce /bashrc | |
parent | 20f44bf13a43456f37245c9d4d76e9be193ecd60 (diff) | |
download | vim-5d47f01f94ef508033a41ebcfc3de989755fd3ca.tar.bz2 vim-5d47f01f94ef508033a41ebcfc3de989755fd3ca.zip |
Improved UI consistency
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 | ||