Outside of tmux they work well. These key combinations should move the cursor to the beginning of the document and, respectively, to the end of the document.

How do I make them work?

Thank you very much! :-)

  • 3
    Not an answer, but: why not just use G and gg? Oct 26 '15 at 22:08
  • 1
    @silviubogan If they work well outside of tmux it probably means tmux is intercepting your keystrokes, you could look at ~/.tmux.conf and see if maybe you have defined some mappings for <C-Home> and <C-End> there.
    – saginaw
    Jan 28 '16 at 0:54

The reason why Ctrl-Home and Ctrl-End don't work for Vim inside of Tmux is because Tmux eats those inputs.

To fix this you need to unbind the affected keys in your Tmux config wich is located at ~/.tmux.conf

To unbind a key
unbind-key -[key]

So for your example:
unbind-key C-Home
unbind-key C-End

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.