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 ...
user avatar
  • 16.9k
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 ...
user avatar
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>:...
user avatar
  • 10.4k
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 ...
user avatar
  • 2,091

Only top scored, non community-wiki answers of a minimum length are eligible