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, 2015 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, 2016 at 0:54

1 Answer 1


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

  • There is no indication that tmux had anything bound to those keys. And they're not bound these days. And by the way, doesn't unbind-key C-Home unbinds C-b C-Home, not C-Home?
    – x-yuri
    Jan 7, 2022 at 22:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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