How do I edit the text in the Vim command-line effectively?
You can use the command-line window for editing Vim command-line text. To open the Vim command-line window use the “q:” command in normal mode. In command-line mode, use the CTRL-F key. In this window, the command line history will be displayed. You can use normal Vim keys/commands to edit any previous/new command line. To execute a command line, press the enter/return key. In a similar vain, the search history can be edited with “q/” and “q?” commands.
Let’s see you to :help viminfo-file-name (option -i) :set viminfofile=NONE