Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.
5 votes

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.6k
4 votes

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

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
  • 9,773
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,081

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