Micro: Searching only finds exact matches. Is it possible to make it ignore upper/lower case?

Created on 16 Oct 2018  路  3Comments  路  Source: zyedidia/micro

Searching only finds exact matches. Is it possible to make it ignore upper/lower case?

For example ctrl+F and search phrase: el will not find anything which says El.

Is there a way to change default behaviour?

Most helpful comment

open ~/.config/micro/settings.json. and set ignorecase to true. Though I do agree with you, I rather it default to ignore case

All 3 comments

me too, i don't want the case-sensitive matching most of the times.

@zyedidia should it be case-insensitive by default?

You should be able to use go's case insensitive flag, (?i), at the beginning of the regex.

https://tip.golang.org/pkg/regexp/syntax/

open ~/.config/micro/settings.json. and set ignorecase to true. Though I do agree with you, I rather it default to ignore case

Was this page helpful?
0 / 5 - 0 ratings

Related issues

GeigerCounter picture GeigerCounter  路  3Comments

nabeelomer picture nabeelomer  路  4Comments

Mohamed3on picture Mohamed3on  路  3Comments

AndreyTheHacker picture AndreyTheHacker  路  3Comments

handicraftsman picture handicraftsman  路  4Comments