Friday, October 14, 2016

How to omit the "3 substitions on 330 lines" from being displayed in Vim status bar after substition or global command is executed?

Hi,
I have a text file with a lot of Vim substitution and global commands like:
:%s/\(one\) \(two\)/\1\r\2/gie
:g/(something\c/normal v%2>
and several more commands in file named myfile.vim.

Then in the current buffer when I need to execute this kind of find/replace substitution I just execute:
:source myfile.vim
and changes are performed without a problem.

What I don't like is that Vim in status bar displays:
3 substitutions on 330 lines
4 lines >ed 2 times
<many more lines here>
Press ENTER or type command to continue

How to source vim file without this annoying information in status bar and without need to press and Enter?
Regards,
Igor

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: