5
votes
Accepted
redraw problem after returning from external command
This is by design. The :help :! (a closely related command) offers this:
Vim redraws the screen after the command is finished,
because it may have printed any text. This requires a
...
4
votes
Accepted
Why substitute doesn't work in silent mode?
What happens here is, that the bufdo and argdo command iterate over all buffers themselves. However without writing your changes, vim will refuse to load the next buffer, unless the 'hidden' option is ...
2
votes
Accepted
Silently run two commands mapped by nnoremap in vim
I don't know if your end goal is to be able to chain any shell commands or not...
nnoremap <silent> sp :silent r! date "+\%T"<CR>:silent !echo $PWD/'%' > /dev/null<CR>:...
1
vote
How to run vim from command line and prevent press ENTER or type command to continue
Providing the argument "+silent /${SEARCHTERM}" to vim was my solution. This should be equivalent to running the :/ search using :silent / which does the trick. No need to change how vim normally ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
silent-mode × 5vimrc × 1
key-bindings × 1
search × 1
substitute × 1
microsoft-windows × 1
ex-mode × 1
invocation × 1
ex-command × 1
redraw × 1