This mode allows you to enter text into your document. You can enter insert mode by pressing the i key.
I'm not sure how to do it globally though for one command:
:silent !<command>
Be sure to include a space after silent
Found out one workaround: Add an extra <CR>
to the map command.
map <F5> :wall!<CR>:!sbcl --load foo.cl<CR><CR>
:help hit-enter
Set the cmdheight
to 2, in my vimrc (:e $MYVIMRC
):
:set cmdheight=2
More info here.
This is how I dealt with the problem that running an external program through silent messes up the screen in text-mode vim (in my experience, gvim doesn't suffer from this problem):
command! -nargs=1 Silent
\ | execute ':silent !'.<q-args>
\ | execute ':redraw!'
Use it instead of the regular silent command:
:Silent top
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With