From 26cc7e3d8d6c010dea5772e54612bee833457123 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 21 Aug 2014 03:24:55 -0400 Subject: [PATCH] Tmux: remove unused keybinds --- tmux.conf | 3 --- zsh/functions | 8 -------- 2 files changed, 11 deletions(-) delete mode 100644 zsh/functions diff --git a/tmux.conf b/tmux.conf index a8a21342..06d34475 100644 --- a/tmux.conf +++ b/tmux.conf @@ -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" diff --git a/zsh/functions b/zsh/functions deleted file mode 100644 index 4db3828b..00000000 --- a/zsh/functions +++ /dev/null @@ -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: