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: Character under cursor

2006-06-02 Thread Lonely Rolling Star
I don't know anything about writing scripts, so this may be useless, but... Maybe you can incorporate the 'ga' or 'g8' commands. They give encoding information about the character under the cursor. -- View this message in context: http://www.nabble.com/Character-under-cursor-t1721837.html

Re: Character under cursor

2006-06-02 Thread Charles E Campbell Jr
Christoph Nodes wrote: I'm looking for a way to get the character under the cursor inside a script. grab a copy of the character under the cursor into curchr let curchr= getline(.)[col(.)-1] Regards, Chip Campbell