nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 5a7cdacf467f2bfad1afb0ea45b5f1755d91af8b
parent d909291b0ced891bb5c3de248172d23665452856
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Mon, 25 May 2020 18:59:12 +0200

startup: allow presetting case-sensitive search also in the tiny version

If nanorc-file support is re-enabled (--enable-tiny --enable-nanorc),
then it ought to be possible to set case sensitivity at startup.

Diffstat:
Msrc/rcfile.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/rcfile.c b/src/rcfile.c @@ -46,6 +46,7 @@ static const rcoption rcopts[] = { #ifdef ENABLE_WRAPPING {"breaklonglines", BREAK_LONG_LINES}, #endif + {"casesensitive", CASE_SENSITIVE}, {"constantshow", CONSTANT_SHOW}, {"emptyline", EMPTY_LINE}, #ifdef ENABLED_WRAPORJUSTIFY @@ -102,7 +103,6 @@ static const rcoption rcopts[] = { {"autoindent", AUTOINDENT}, {"backup", MAKE_BACKUP}, {"backupdir", 0}, - {"casesensitive", CASE_SENSITIVE}, {"cutfromcursor", CUT_FROM_CURSOR}, {"guidestripe", 0}, {"locking", LOCKING},