Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I can't use home and end keys in vim, when in Tmux. I've got this strange stuff:

sample text

my .tmux.conf:

set-option -g mode-mouse on
set-option -g mouse-select-pane on
set-option -g mouse-select-window on
set-option -g xterm-keys on # this one handles F keys in vim.
share|improve this question
Use ^ (or 0, depending on where you actually want to go) and $. – romainl Mar 1 '13 at 13:10
can you please explain how to use them? shift+6 doesn't work.. what those symbols means? – holms Mar 1 '13 at 14:56
These are Vim's basic keybindings for "start of the line" and "end of the line". They are much better than <home> and <end>. – romainl Mar 1 '13 at 16:18
well to call ^ it's shift+6 right? this doesn't work. – holms Mar 3 '13 at 13:52
There seems to be a bug somewhere. With certain values of TERM, it breaks. For me it breaks across all sessions in tmux even between different servers I'm SSH'd into. My errant line (from .bashrc): alias tmux="TERM=screen-256color-bce tmux" – flickerfly Oct 1 '13 at 19:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.