aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Christian Pohle2018-04-05 22:08:56 +0200
committerMax Christian Pohle2018-04-05 22:08:56 +0200
commitb38069598176016a9e0c76fc30564253e3bb603c (patch)
treedc2a33462c5354a398d69fde87848ad31cbc018f
parent2986836b9c08f3eafafbddcf2640f4914d5740ef (diff)
downloadvim-karlmarks-b38069598176016a9e0c76fc30564253e3bb603c.tar.bz2
vim-karlmarks-b38069598176016a9e0c76fc30564253e3bb603c.zip
Fixed problems with git diff bash command
-rw-r--r--bashrc8
1 files changed, 4 insertions, 4 deletions
diff --git a/bashrc b/bashrc
index 30d1bf4..d0ac36c 100644
--- a/bashrc
+++ b/bashrc
@@ -1,6 +1,6 @@
1 1
2gvim () { /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) $@; }
3vim () { /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
12export MANPAGER='vim -c":%!col -b" -c":file man|:setlocal filetype=man buftype=nowrite readonly nonumber nolist signcolumn=no" -' 12export 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" -; }
14alias git='git -c color.ui=false' 14alias git='git -c color.ui=false'
15export GIT_PAGER='vim -c":set filetype=git buftype=nowrite readonly nolist nonumber signcolumn=no|:file git" -' 15export 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
..