Tmux: remove unused keybinds

This commit is contained in:
Henrik Lissner 2014-08-21 03:24:55 -04:00
parent f12a9baf53
commit 26cc7e3d8d
2 changed files with 0 additions and 11 deletions

View file

@ -18,7 +18,6 @@ setw -g mouse-select-window on
setw -g mouse-select-pane on
set-option -g default-command "reattach-to-user-namespace -l zsh"
## Key bindings ###########
# Remap the key prefix
set -g prefix C-Space
@ -54,8 +53,6 @@ bind -n C-j run "(tmux display-message -p '#{pane_current_command}' | grep -iqE
bind -n C-k run "(tmux display-message -p '#{pane_current_command}' | grep -iqE '(^|\/)g?(view|vim?)(diff)?$' && tmux send-keys C-k) || tmux select-pane -U"
bind -n C-l run "(tmux display-message -p '#{pane_current_command}' | grep -iqE '(^|\/)g?(view|vim?)(diff)?$' && tmux send-keys C-l) || tmux select-pane -R"
bind -n C-\ run "(tmux display-message -p '#{pane_current_command}' | grep -iqE '(^|\/)g?(view|vim?)(diff)?$' && tmux send-keys 'C-\\') || tmux select-pane -l"
# bind-key -r C-h select-window -t :-
# bind-key -r C-l select-window -t :+
# after copying to a tmux buffer, hit y again to copy to clipboard
bind y run "tmux save-buffer - | reattach-to-user-namespace pbcopy"

View file

@ -1,8 +0,0 @@
#!/bin/zsh
# Check to see if a command exists
function command_exists {
command -v "$1" &> /dev/null
}
# vim:set ft=zsh: