Character under cursor

2006-06-02 Thread Christoph Nodes
I'm looking for a way to get the character under the cursor inside a script. Any ideas? Thanks and best regards, - Christoph

Re: Replace Insert: Filling in whitespaces till position 15

2006-05-15 Thread Christoph Nodes
you could try something like :%s/^\s*\(\w\+\)\s*-\s*\(\w\+\)/\=submatch(1).strpart(' ', strlen(submatch(1))).' - '.submatch(2)/ (all in one line) :help sub-replace-special On 5/15/06, Popovic Dan [EMAIL PROTECTED] wrote: Hello dear list-members, I have a question on replacing