Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Open terminal > preferences > keyboard

I have control cursor right as \005. I like it! When inside Vim, it moves the page down 1 line while keeping my cursor unmoved.

Try it.

My question is: how do I do the same with control cursor left? I want vim to move the page 1 line up, but keep cursor unmoved.

What is the "action" for it? I tried \004 and nothing worked.

share|improve this question
up vote 4 down vote accepted

\005 or \x05 is the equivalent of CtrlE in ASCII (see C0 control codes, which represent both a control character and a keypress). The opposite, in Vim, would be CtrlY, which is \031 in octal or \x19 in hex.

See also :help ^E, :help ^Y and :help :map in Vim.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .