Bunch of tweaks
This commit is contained in:
parent
459aeca431
commit
c5a1ed1258
21
.gitconfig
21
.gitconfig
|
@ -3,6 +3,15 @@
|
|||
email = mikecampo@gmail.com
|
||||
[merge]
|
||||
summary = true
|
||||
tool = vimdiff
|
||||
[core]
|
||||
editor = /usr/bin/vim
|
||||
[push]
|
||||
default = tracking
|
||||
[github]
|
||||
user = mikecampo
|
||||
[diff]
|
||||
algorithm = patience
|
||||
[color]
|
||||
diff = auto
|
||||
status = auto
|
||||
|
@ -57,12 +66,6 @@
|
|||
pom = push origin master
|
||||
ds = diff --stat=160,120
|
||||
dh1 = diff HEAD~1
|
||||
|
||||
[merge]
|
||||
tool = vimdiff
|
||||
[core]
|
||||
editor = /usr/bin/vim
|
||||
[push]
|
||||
default = tracking
|
||||
[github]
|
||||
user = mikecampo
|
||||
snapshot = !git stash save "snapshot: $(date)" && git stash apply "stash@{0}"
|
||||
ours = "!f() { git checkout --ours $@ && git add $@; }; f"
|
||||
theirs = "!f() { git checkout --theirs $@ && git add $@; }; f"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# enable pbcopy and pbpaste
|
||||
# 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
|
||||
set -g default-terminal "screen-256color"
|
||||
|
@ -45,6 +45,8 @@ bind \ split-window -h
|
|||
unbind '"'
|
||||
bind - split-window -v
|
||||
|
||||
bind C-x kill-window
|
||||
|
||||
# resize panes
|
||||
bind -r H resize-pane -L 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
|
||||
" Show trailing whitespace
|
||||
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
|
||||
if &term =~ '256color'
|
||||
|
|
Loading…
Reference in New Issue
Block a user