Last active
April 25, 2016 14:10
-
-
Save sirhopcount/ae8b3b7e1848e748bcf6d6b21f9ba695 to your computer and use it in GitHub Desktop.
Make vim and tmux place play nic
This file contains hidden or 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
# Needed for tmux and vim to play nice | |
if [ "$TERM" == "screen-256color" ]; then | |
bind '"\e[1;5C": forward-word' | |
bind '"\e[1;5D": backward-word' | |
fi |
This file contains hidden or 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
# Needed for tmux and vim to play nice | |
set-window-option -g xterm-keys on |
This file contains hidden or 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
" Needed for tmux and vim to play nice | |
map <esc>[1;5D <C-Left> | |
map <esc>[1;5C <C-Right> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment