* https://github.com/skwp/dotfiles: Add aliases ('cls' and 'brewU') Make tmux pane resizing more natural
This commit is contained in:
commit
471ddc8116
@ -15,10 +15,10 @@ bind-key ^S split-window -c "#{pane_current_path}"
|
|||||||
|
|
||||||
# Pane resize in all four directions using vi bindings.
|
# Pane resize in all four directions using vi bindings.
|
||||||
# Can use these raw but I map them to shift-ctrl-<h,j,k,l> in iTerm.
|
# Can use these raw but I map them to shift-ctrl-<h,j,k,l> in iTerm.
|
||||||
bind-key J resize-pane -D
|
bind -r H resize-pane -L 5
|
||||||
bind-key K resize-pane -U
|
bind -r J resize-pane -D 5
|
||||||
bind-key H resize-pane -L
|
bind -r K resize-pane -U 5
|
||||||
bind-key L resize-pane -R
|
bind -r L resize-pane -R 5
|
||||||
|
|
||||||
# Use vi keybindings for tmux commandline input.
|
# Use vi keybindings for tmux commandline input.
|
||||||
# Note that to get command mode you need to hit ESC twice...
|
# Note that to get command mode you need to hit ESC twice...
|
||||||
|
@ -17,6 +17,7 @@ alias psr='ps aux | grep ruby'
|
|||||||
|
|
||||||
# Moving around
|
# Moving around
|
||||||
alias cdb='cd -'
|
alias cdb='cd -'
|
||||||
|
alias cls='clear;ls'
|
||||||
|
|
||||||
# Show human friendly numbers and colors
|
# Show human friendly numbers and colors
|
||||||
alias df='df -h'
|
alias df='df -h'
|
||||||
@ -168,3 +169,6 @@ alias dbm='spring rake db:migrate'
|
|||||||
alias dbmr='spring rake db:migrate:redo'
|
alias dbmr='spring rake db:migrate:redo'
|
||||||
alias dbmd='spring rake db:migrate:down'
|
alias dbmd='spring rake db:migrate:down'
|
||||||
alias dbmu='spring rake db:migrate:up'
|
alias dbmu='spring rake db:migrate:up'
|
||||||
|
|
||||||
|
# Homebrew
|
||||||
|
alias brewu='brew update && brew upgrade && brew cleanup && brew prune && brew doctor'
|
||||||
|
Loading…
Reference in New Issue
Block a user