How can I move around in the Vim command line?

后端 未结 7 1544
逝去的感伤
逝去的感伤 2020-12-12 12:36

If you\'re typing a command in Vim (I mean you\'ve started with : and you\'re working in the bar at the bottom of the screen) is there a way to move the cursor

7条回答
  •  南方客
    南方客 (楼主)
    2020-12-12 13:07

    Tap Ctrl+F while in command-line mode (just after :). There you'll get command-line window which could be edited&navigated as a regular vim window (hjkl etc.).

    See :h cmdline-window for details.

提交回复
热议问题