On Sun, Jul 09, 2006 at 04:12:49PM +, Yakov Lerner wrote:
On 7/9/06, Matthias-Christian Ott [EMAIL PROTECTED] wrote:
Yakov Lerner wrote:
This is wrong.
You want \n, not '\n'.
Ok, but the problem still exists.
vnoremap silent C-W :call FormatDeclarationSelection ()CR
let
On 7/8/06, Matthias-Christian Ott [EMAIL PROTECTED] wrote:
Hi,
if I e.g. replace a selection via s and want to split the removed text
into lines (split (@, '\n'), I get all lines multiplied with the line
count (e.g. I select 3 lines, I get these 3 lines 3 times).
How can I avoid this behaviour?
Yakov Lerner wrote:
This is wrong.
You want \n, not '\n'.
Ok, but the problem still exists.
--
Matthias-Christian Ott
On 7/9/06, Matthias-Christian Ott [EMAIL PROTECTED] wrote:
Yakov Lerner wrote:
This is wrong.
You want \n, not '\n'.
Ok, but the problem still exists.
vnoremap silent C-W :call FormatDeclarationSelection ()CR
function FormatDeclarationSelection ()
execute :silent! normal gvs
Hi,
if I e.g. replace a selection via s and want to split the removed text
into lines (split (@, '\n'), I get all lines multiplied with the line
count (e.g. I select 3 lines, I get these 3 lines 3 times).
How can I avoid this behaviour?
--
Matthias-Christian Ott