I am trying to use the command line window in a vimscript.
Unfortunately, the experiment I have with is not good and I am not able to achieve the following:
normal! q:
This should open the command history buffer, but the normal
doc states:
{commands} should be a complete command. If
{commands} does not finish a command, the last one
will be aborted as if <Esc> or <C-C> was typed.
Do you know if there is a way around this limitation?
feedkeys()
to add the keysq:
in the typeahead buffer::call feedkeys('q:', 'in')
– user9433424 Jun 16 '16 at 10:50