Gerald Lai wrote:
On Thu, 15 Jun 2006, Sylvain wrote:
[snip]
I'm using setline() function to replace the line..so I will delete it
before I add mine, it's not very elegant so if anyone has a better
way, I will take it also :-)
[snip]
I modified Vimtip#329 some time ago to be able to swap
Thanks for the trick, I love it already :-)
- Original Message -
From: Eric Arnold [EMAIL PROTECTED]
To: Charles E Campbell Jr [EMAIL PROTECTED]
Cc: Sylvain [EMAIL PROTECTED]; vim@vim.org
Sent: Thursday, June 15, 2006 5:25 PM
Subject: Re: ***SPAM*** Problem with regexp in macro
let
PROTECTED]
Cc: vim@vim.org
Sent: Thursday, June 15, 2006 3:39 PM
Subject: Re: ***SPAM*** Problem with regexp in macro
On 6/15/06, Sylvain [EMAIL PROTECTED] wrote:
For example, consider this regexp :
s:\(\w\+\)\(\s\+\)\(\w\+\):\3\2\1:
It swap 2 first words on a line, if we test it, it's works
]
To: Sylvain [EMAIL PROTECTED]
Cc: vim@vim.org
Sent: Thursday, June 15, 2006 3:39 PM
Subject: Re: ***SPAM*** Problem with regexp in macro
On 6/15/06, Sylvain [EMAIL PROTECTED] wrote:
For example, consider this regexp :
s:\(\w\+\)\(\s\+\)\(\w\+\):\3\2\1:
It swap 2 first words on a line, if we
On Thu, 15 Jun 2006, Sylvain wrote:
[snip]
I'm using setline() function to replace the line..so I will delete it before
I add mine, it's not very elegant so if anyone has a better way, I will take
it also :-)
[snip]
I modified Vimtip#329 some time ago to be able to swap visual
highlighted