[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: underscore blocks full word completion
From: |
Benno Schulenberg |
Subject: |
Re: underscore blocks full word completion |
Date: |
Fri, 22 Nov 2019 19:14:07 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
[Please answer to the list only.]
Op 20-11-19 om 11:46 schreef "Fabien Hénon":
> I chosen and customized nano to fit my needs and it works great. Thanks a lot.
May I ask: which features of nano are you most pleased with?
> There is just one nag :
> In Python, I use a lot of underscore to name my variables.
> I use word completion, but [a Ctrl+]] does not find full name with underscore
As others have pointed out (or implied): an underscore is not considered
an alphanumeric/word-forming character by default. That is why nano has
the -X or 'set wordchars' option, so the user can add underscore and dash
and whatever else he/she likes.
Benno
signature.asc
Description: OpenPGP digital signature