I\'m currently using tmux with xterm-256color $TERM variable. When in bash under tmux, pressing home/end would insert tilde characters (~). Outside of tmux the home/end keys wor
In tmux 2.0, you can just add these 2 lines in your .tmux.conf:
.tmux.conf
bind -n End send-key C-e bind -n Home send-key C-a