Questions tagged [silent-mode]

Silent mode is only when started Vim as "ex" or when the "-e" option was given before the "-s" option.

Filter by
Sorted by
Tagged with
1
vote
1answer
128 views

How to run vim from command line and prevent press ENTER or type command to continue

I have a bind that invokes vim on a file with a search term: This is shell scripting. vim $FILE "+/$SEARCHTERM" The problem that happens is that only if $SEARCHTERM appears just once in a file, it ...
5
votes
1answer
953 views

redraw problem after returning from external command

When I'm executing an external command in silent mode in vim, when it returns the screen is blank and I need to redraw it. Here's how I solve it in the .vimrc nnoremap <F5> :silent :make<CR&...
3
votes
1answer
358 views

Why substitute doesn't work in silent mode?

I'm playing with ex and I've found that removing trailing spaces for multiple files in silent mode doesn't work as expected. The following examples doesn't work as expected (whatever I use argdo or ...