diff options
author | Max Christian Pohle | 2018-04-05 22:08:56 +0200 |
---|---|---|
committer | Max Christian Pohle | 2018-04-05 22:08:56 +0200 |
commit | b38069598176016a9e0c76fc30564253e3bb603c (patch) | |
tree | dc2a33462c5354a398d69fde87848ad31cbc018f | |
parent | 2986836b9c08f3eafafbddcf2640f4914d5740ef (diff) | |
download | vim-b38069598176016a9e0c76fc30564253e3bb603c.tar.bz2 vim-b38069598176016a9e0c76fc30564253e3bb603c.zip |
Fixed problems with git diff bash command
-rw-r--r-- | bashrc | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,6 +1,6 @@ | |||
1 | 1 | ||
2 | gvim () { /bin/gvim $(if [[ "$#" > 0 && `/bin/gvim --serverlist | wc -l` ]]; then echo --remote; fi) $@; } | 2 | # gvim () { /bin/gvim $(if [[ "$#" > 0 && `/bin/gvim --serverlist | wc -l` ]]; then echo --remote; fi) $@; } |
3 | vim () { /bin/vim $(if [[ "$#" > 0 && `/bin/vim --serverlist | wc -l` ]]; then echo --remote; fi) $@; } | 3 | # vim () { /bin/vim $(if [[ "$#" > 0 && `/bin/vim --serverlist | wc -l` ]]; then echo --remote; fi) $@; } |
4 | 4 | ||
5 | # man() | 5 | # man() |
6 | # { | 6 | # { |
@@ -9,10 +9,10 @@ vim () { /bin/vim $(if [[ "$#" > 0 && `/bin/vim --serverlist | wc -l` ]]; the | |||
9 | # ":enew<CR>:0read !groffer --pager='cat' --tty $1 <bar> col -bx<CR> :set filetype=man buftype=nowrite readonly<CR>gg"; | 9 | # ":enew<CR>:0read !groffer --pager='cat' --tty $1 <bar> col -bx<CR> :set filetype=man buftype=nowrite readonly<CR>gg"; |
10 | # } | 10 | # } |
11 | 11 | ||
12 | export MANPAGER='vim -c":%!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 filetype=git buftype=nowrite readonly nolist nonumber signcolumn=no|:file git" -' | 15 | export GIT_PAGER='vim -c":set noswapfile filetype=git buftype=nowrite readonly nolist nonumber signcolumn=no|:file git" -' |
16 | 16 | ||
17 | # alias git="TERM=dumb git" | 17 | # alias git="TERM=dumb git" |
18 | 18 | ||