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