Jussi
There is a good article on vimscript here:
http://www.ibm.com/developerworks/linux/library/l-vimscript-1/index.html)
Sent via BlackBerry by AT&T
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
Sorry there was a typo, the correct URL is:
http://www.ibm.com/developerworks/linux/library/l-vim-script-1/index.html
Sent via BlackBerry by AT&T
-Original Message-
From: flapecc...@gmail.com
Date: Fri, 10 Jun 2011 15:39:12
To: CentOS mailing list
Reply-To: flapecc...@gmail.com
Subject:
Jussi
I tried various ways but it seems the only way to insert a line from a
script is to use the append() function (do help append) specifying the line
number as a parameter.
I tried it on with an example script "moo.vim" as shown below
flapeccino@T4410 ~
$ cat moo.vim
:1,$s/
3 matches
Mail list logo