From 54c3062b11706d7e8413cffaf2c19a15f7bd257e Mon Sep 17 00:00:00 2001 From: Ian Ker-Seymer Date: Sun, 24 Aug 2014 19:54:49 -0600 Subject: [PATCH 1/2] Make tmux pane resizing more natural --- tmux/tmux.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tmux/tmux.conf b/tmux/tmux.conf index dd646cc..622a292 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -15,10 +15,10 @@ bind-key ^S split-window # Pane resize in all four directions using vi bindings. # Can use these raw but I map them to shift-ctrl- in iTerm. -bind-key J resize-pane -D -bind-key K resize-pane -U -bind-key H resize-pane -L -bind-key L resize-pane -R +bind -r H resize-pane -L 5 +bind -r J resize-pane -D 5 +bind -r K resize-pane -U 5 +bind -r L resize-pane -R 5 # Use vi keybindings for tmux commandline input. # Note that to get command mode you need to hit ESC twice... From f9c5c26b282760495511bffabf86a1045dfceab4 Mon Sep 17 00:00:00 2001 From: Ian Ker-Seymer Date: Sun, 21 Sep 2014 23:25:23 -0600 Subject: [PATCH 2/2] Add aliases ('cls' and 'brewU') --- zsh/aliases.zsh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zsh/aliases.zsh b/zsh/aliases.zsh index eb88f3b..b9fe0ba 100644 --- a/zsh/aliases.zsh +++ b/zsh/aliases.zsh @@ -17,6 +17,7 @@ alias psr='ps aux | grep ruby' # Moving around alias cdb='cd -' +alias cls='clear;ls' # Show human friendly numbers and colors alias df='df -h' @@ -168,3 +169,6 @@ alias dbm='spring rake db:migrate' alias dbmr='spring rake db:migrate:redo' alias dbmd='spring rake db:migrate:down' alias dbmu='spring rake db:migrate:up' + +# Homebrew +alias brewu='brew update && brew upgrade && brew cleanup && brew prune && brew doctor'