Selecting $var in Perl

Bert Wesarg bert.wesarg at googlemail.com
Sun Feb 10 23:53:52 CET 2008


On Feb 10, 2008 11:47 PM, Greg Edwards <gedwards2 at gmail.com> wrote:
> Folks,
> I know this isn't a basic help line etc ... but anyway ..
> I'm doing a lot of nediting Perl script, and double clicking on the text
> "$var" in buffer selects only the "var" (in a buffer prog.pl), but in a
> plain text file or script.sh file it selects all the "$var".
> Can I modify the .pl bindings to select all the $var ?
Sure:

Go to Preferences -> Default Settings -> Language Modes...

select Perl in the top left list and remove the '$' from the Word
delimiters input string

clock OK and than Preferences -> Save Defaults...

Bye
Bert
>
>
> Tks,
>
> Greg E


More information about the Discuss mailing list