You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
Just a heads up, this is going to mess up the background color of editors (vim/emacs), and potentially affect using ncurses applications that use 256 color.
You may want to avoid setting the default-terminal (or setting it screen-256color), and just dial the in the terminal-overrides for the key combinations you're looking for. You may also want to try this out on iTerm and xterm within Linux (different term encoding sequences). And also confirm that the bash.rc isn't conflicting with the term setting when in Tmux.
An example of the overrides for OS X and iTerm (for shift keys):
setw -g xterm-keys on
set -g terminal-overrides "xterm_:kLFT5=\eO5D,xterm_:kRIT5=\eO5C,xterm_:kUP5=\eO5A,xterm_:kDN5=\eO5B"
f2179c5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a heads up, this is going to mess up the background color of editors (vim/emacs), and potentially affect using ncurses applications that use 256 color.
You may want to avoid setting the default-terminal (or setting it screen-256color), and just dial the in the terminal-overrides for the key combinations you're looking for. You may also want to try this out on iTerm and xterm within Linux (different term encoding sequences). And also confirm that the bash.rc isn't conflicting with the term setting when in Tmux.
An example of the overrides for OS X and iTerm (for shift keys):
setw -g xterm-keys on
set -g terminal-overrides "xterm_:kLFT5=\eO5D,xterm_:kRIT5=\eO5C,xterm_:kUP5=\eO5A,xterm_:kDN5=\eO5B"
f2179c5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you have a known good configuration that works in those cases, please commit it! You'll save us all hours of futzing.