Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

automate editing

0 views
Skip to first unread message

fred

unread,
Dec 6, 2009, 2:12:11 AM12/6/09
to
I use to create a file with extension vim to automate editing text.
convert.vim
1,5s/old/new/g
10,14s/old/new/g
etc.

I use the command
vim -s convert.vim file.txt

My question I don't remember where to install my convert.vim.
Please tell me exactly where to install it

Thanks


Mikolaj Machowski

unread,
Dec 6, 2009, 4:47:18 AM12/6/09
to
fred scripsit:

If you use it with -s command line switch location doesn't matter, just
use path to file.

m.
--
LaTeX + Vim = http://vim-latex.sourceforge.net/
Vim Universal Templates: http://vim.sf.net/script.php?script_id=1078
CLEWN - http://clewn.sf.net

Peter Gordon

unread,
Dec 6, 2009, 6:45:58 AM12/6/09
to
fred <fred...@yahoo.com> wrote in news:50bb551b-4fbc-476f-9e89-
dbf99a...@x15g2000vbr.googlegroups.com:

:help vimruntime
should answer your question.

0 new messages