Bunch of tweaks
This commit is contained in:
parent
459aeca431
commit
c5a1ed1258
21
.gitconfig
21
.gitconfig
|
@ -3,6 +3,15 @@
|
||||||
email = mikecampo@gmail.com
|
email = mikecampo@gmail.com
|
||||||
[merge]
|
[merge]
|
||||||
summary = true
|
summary = true
|
||||||
|
tool = vimdiff
|
||||||
|
[core]
|
||||||
|
editor = /usr/bin/vim
|
||||||
|
[push]
|
||||||
|
default = tracking
|
||||||
|
[github]
|
||||||
|
user = mikecampo
|
||||||
|
[diff]
|
||||||
|
algorithm = patience
|
||||||
[color]
|
[color]
|
||||||
diff = auto
|
diff = auto
|
||||||
status = auto
|
status = auto
|
||||||
|
@ -57,12 +66,6 @@
|
||||||
pom = push origin master
|
pom = push origin master
|
||||||
ds = diff --stat=160,120
|
ds = diff --stat=160,120
|
||||||
dh1 = diff HEAD~1
|
dh1 = diff HEAD~1
|
||||||
|
snapshot = !git stash save "snapshot: $(date)" && git stash apply "stash@{0}"
|
||||||
[merge]
|
ours = "!f() { git checkout --ours $@ && git add $@; }; f"
|
||||||
tool = vimdiff
|
theirs = "!f() { git checkout --theirs $@ && git add $@; }; f"
|
||||||
[core]
|
|
||||||
editor = /usr/bin/vim
|
|
||||||
[push]
|
|
||||||
default = tracking
|
|
||||||
[github]
|
|
||||||
user = mikecampo
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# enable pbcopy and pbpaste
|
# enable pbcopy and pbpaste
|
||||||
# https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard/blob/master/README.md
|
# https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard/blob/master/README.md
|
||||||
#set-option -g default-command "reattach-to-user-namespace -l zsh"
|
set-option -g default-command "reattach-to-user-namespace -l zsh"
|
||||||
|
|
||||||
# enable pretty colors
|
# enable pretty colors
|
||||||
set -g default-terminal "screen-256color"
|
set -g default-terminal "screen-256color"
|
||||||
|
@ -45,6 +45,8 @@ bind \ split-window -h
|
||||||
unbind '"'
|
unbind '"'
|
||||||
bind - split-window -v
|
bind - split-window -v
|
||||||
|
|
||||||
|
bind C-x kill-window
|
||||||
|
|
||||||
# resize panes
|
# resize panes
|
||||||
bind -r H resize-pane -L 5
|
bind -r H resize-pane -L 5
|
||||||
bind -r J resize-pane -D 5
|
bind -r J resize-pane -D 5
|
||||||
|
|
2
.vimrc
2
.vimrc
|
@ -81,6 +81,8 @@ set wildignore+=*/tmp/*,*/log/*,*.so,*.swp,*.zip,*/rdoc/*
|
||||||
set colorcolumn=90
|
set colorcolumn=90
|
||||||
" Show trailing whitespace
|
" Show trailing whitespace
|
||||||
set list listchars=tab:»·,trail:·
|
set list listchars=tab:»·,trail:·
|
||||||
|
" Adding this since the esc remap on the 'i' key had a long delay when pressed
|
||||||
|
set timeoutlen=300 ttimeoutlen=0
|
||||||
|
|
||||||
" Fix vim's background colour erase - http://snk.tuxfamily.org/log/vim-256color-bce.html
|
" Fix vim's background colour erase - http://snk.tuxfamily.org/log/vim-256color-bce.html
|
||||||
if &term =~ '256color'
|
if &term =~ '256color'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user