Search code examples
vim

What's the <C-w> key in Vim?


I see a lot of talk about different keys (<C-R>, <C-j>, and <C-w>) in Vim and I'm wondering if there's a list somewhere (:help?) that tells what they are. I figured out <C-R> is Enter ("carriage return", I suppose) but often the others don't make immediate sense.


Solution

  • These are not keys, they are keys associated with the control key. <C-j> means "Press j while pressing control".

    <C-R> is not carriage return, it's the redo command. <CR> is carriage return. <C-F> is page up, <C-B> is page down, ...