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


Reply via email to