From d5b90b2528338a534a61b010699bc26880fd2200 Mon Sep 17 00:00:00 2001 From: Gregory Pakosz Date: Sun, 2 Nov 2014 19:02:01 +0100 Subject: [PATCH] added terminal-overrides directive to .tmux.conf.local to be used with iTerm2 --- .tmux.conf.local | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.tmux.conf.local b/.tmux.conf.local index e48c0e6..0582f09 100644 --- a/.tmux.conf.local +++ b/.tmux.conf.local @@ -7,3 +7,10 @@ # or alternatively use an external tool, e.g. https://github.com/Goles/Battery #tmux_conf_battery='#(battery -t) ' + +# if you're running tmux within iTerm2 +# - and tmux is 1.9 or 1.9a +# - and iTerm2 is configured to let option key act as +Esc +# - and iTerm2 is configured to send [1;9A -> [1;9D for option + arrow keys +# then uncomment the following line to make Meta + arrow keys mapping work +#set -g terminal-overrides "*:kUP3=\e[1;9A,*:kDN3=\e[1;9B,*:kRIT3=\e[1;9C,*:kLFT3=\e[1;9D"