From 3f8a22a9a569e1bda23e0c4cb6b566db18244a9a Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Thu, 30 Aug 2012 16:25:26 +0900 Subject: [PATCH] fix tmux.conf --- bashrc | 4 ++++ tmux.conf | 1 + 2 files changed, 5 insertions(+) diff --git a/bashrc b/bashrc index ceb302b..98c8b16 100755 --- a/bashrc +++ b/bashrc @@ -72,6 +72,10 @@ if iswindows; then export USER=$USERNAME fi +_tmux_prefs(){ + null type tmux || return 1 + tmux set -g mode-keys vi +} ####################### diff --git a/tmux.conf b/tmux.conf index 5d322fa..720a910 100644 --- a/tmux.conf +++ b/tmux.conf @@ -4,6 +4,7 @@ unbind C-b set -g prefix C-z bind-key C-z send-prefix bind-key C command-prompt "new-window '%%'" + setw -g mode-keys vi set -g default-command /bin/bash