1
0
Fork 0
mirror of synced 2024-12-22 06:41:07 -05:00

added terminal-overrides directive to .tmux.conf.local to be used with iTerm2

This commit is contained in:
Gregory Pakosz 2014-11-02 19:02:01 +01:00
parent af7f3a382d
commit d5b90b2528

View file

@ -7,3 +7,10 @@
# or alternatively use an external tool, e.g. https://github.com/Goles/Battery # or alternatively use an external tool, e.g. https://github.com/Goles/Battery
#tmux_conf_battery='#(battery -t) ' #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"