search

Home  >  Q&A  >  body text

How are Vim's shortcut keys designed?

For example, why does 0 mean moving to the first character of a line, and why does G mean moving to the last line?

滿天的星座滿天的星座2773 days ago591

reply all(2)I'll reply

  • 仅有的幸福

    仅有的幸福2017-05-16 16:42:22

    Only Bill Joy knows about this kind of thing... Maybe he set these shortcut keys at the beginning due to personal reasons or historical reasons, and then people got used to them and continued to use them.

    reply
    0
  • 仅有的幸福

    仅有的幸福2017-05-16 16:42:22

    In

    emacs ctrl + a 是移到行首,M + > moves to the last line.
    why? Maybe only the RMS master himself knows.

    Compared with emacs, vim does not have to hold down ctrl all the time, which is an advantage.

    reply
    0
  • Cancelreply