logoalt Hacker News

nine_ktoday at 7:41 AM2 repliesview on HN

For vi-heads: ":" The key combo that puts you into command mode. M is "meta", which is Alt on PC or Cmd on Mac.


Replies

asQuirreLtoday at 8:01 AM

These are all conventions and you can change them, but I'm used to Meta = Opt and Super = Cmd on macOS.

show 1 reply
ButlerianJihadtoday at 7:46 AM

That is incorrect. In vi and vim, "ESC" is the key that puts you into command mode (from insert mode). Command mode is the full-screen visual mode where you enter commands by a sequence of keypresses.

":" is the key which issues "ex" commands. vi and ex are two different modes of the same editor. Any command which begins with a colon is an ex command, not a vi command, not done in "Command Mode".

show 1 reply