Skip to content

Instantly share code, notes, and snippets.

@xcoderzach
Created January 26, 2013 22:35
Show Gist options
  • Save xcoderzach/4645108 to your computer and use it in GitHub Desktop.
Save xcoderzach/4645108 to your computer and use it in GitHub Desktop.
select-left () {
tmux select-pane -L
}
select-right () {
tmux select-pane -R
}
select-up () {
tmux select-pane -U
}
select-down () {
tmux select-pane -D
}
zle -N select-down
zle -N select-up
zle -N select-left
zle -N select-right
bindkey '^H' select-left
bindkey '^J' select-down
bindkey '^K' select-up
bindkey '^L' select-right
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment