mirror of
https://github.com/zyedidia/micro.git
synced 2026-02-28 18:00:23 +09:00
* Support for highlighting all search matches (hlsearch) hlsearch is implemented efficiently using the buffer's line array, somewhat similarly to the syntax highlighting. Unlike the syntax highlighter which highlights the entire file, hlsearch searches for matches for the displayed lines only. Matches are searched when the given line is displayed first time or after it was modified. Otherwise the previously found matches are used. * Add UnhighlightSearch action and add it to the list of actions triggered by Esc key by default. * Add comment explaining the purpose of search map * Add hlsearch colors to colorschemes Mostly just copied from the corresponding original (mostly vim) colorschemes. * Highlight matches during/after replace as well As a side effect it also changes the last search value, i.e. affects FindNext and FindPrevious, but it's probably fine. In vim it works the same way. * Improve hlsearch option description
38 lines
1.2 KiB
Plaintext
38 lines
1.2 KiB
Plaintext
# Twilight color scheme
|
|
color-link default "#F8F8F8,#141414"
|
|
color-link color-column "#1B1B1B"
|
|
color-link comment "#5F5A60"
|
|
color-link constant "#CF6A4C"
|
|
#color-link constant.number "#CF6A4C"
|
|
color-link constant.specialChar "#DDF2A4"
|
|
color-link constant.string "#8F9D6A"
|
|
color-link current-line-number "#868686,#1B1B1B"
|
|
color-link cursor-line "#1B1B1B"
|
|
color-link divider "#1E1E1E"
|
|
color-link error "#D2A8A1"
|
|
color-link diff-added "#00AF00"
|
|
color-link diff-modified "#FFAF00"
|
|
color-link diff-deleted "#D70000"
|
|
color-link gutter-error "#9B859D"
|
|
color-link gutter-warning "#9B859D"
|
|
color-link hlsearch "#141414,#C0C000"
|
|
color-link identifier "#9B703F"
|
|
color-link identifier.class "#DAD085"
|
|
color-link identifier.var "#7587A6"
|
|
color-link indent-char "#515151"
|
|
color-link line-number "#868686,#1B1B1B"
|
|
color-link current-line-number "#868686,#141414"
|
|
color-link preproc "#E0C589"
|
|
color-link special "#E0C589"
|
|
color-link statement "#CDA869"
|
|
color-link statusline "#515151,#1E1E1E"
|
|
color-link symbol "#AC885B"
|
|
color-link symbol.brackets "#F8F8F8"
|
|
color-link symbol.operator "#CDA869"
|
|
color-link symbol.tag "#AC885B"
|
|
color-link tabbar "#F2F0EC,#2D2D2D"
|
|
color-link todo "#8B98AB"
|
|
color-link type "#F9EE98"
|
|
color-link type.keyword "#CDA869"
|
|
color-link underlined "#8996A8"
|