NeoVintageous 1.7.0
NeoVintageous 1.7.0 has been released and includes configurable search highlighting, and an highlighted yank implementation inspired by vim-highlightedyank.
[!NOTE] This post has been updated to reflect changes to settings in v1.32.
Highlighted Yank
The duration in milliseconds of the highlighted yank is configurable.
Menu → Preferences → Settings
{
"vintageous_highlighted_yank_duration": 1000
}
Specify the style for highlighted yank indicator.
Available options:
- "fill"
- "outline"
- "underline"
- "squiggly_underline"
- "stippled_underline"
{
"vintageous_highlighted_yank_style": "fill"
}
You can customize the color.
Menu → Preferences → Customize Color Scheme
{
"variables": {},
"globals": {},
"rules": [
{
"scope": "highlightedyank",
"background": "#e6db74",
"foreground": "#272822"
}
]
}
It can be disabled.
{
"vintageous_highlighted_yank": false
}
Search Highlighting
Searches that support highlighting include /
, ?
, *
, and #
.
There are three search states: current, incremental (the match as you type the search), and occurrences. Each state can be configured individually. They can be set to fill, outline, underline, squiggly_underline, and stippled_underline.
{
"vintageous_search_cur_style": "fill",
"vintageous_search_inc_style": "fill",
"vintageous_search_occ_style": "outline"
}
To customise the colors of each state, create a color scheme override, for example:
Menu → Preferences → Customize Color Scheme
{
"rules":
[
{
"scope": "neovintageous_search_inc",
"background": "#a1efe4",
"foreground": "#272822"
},
{
"scope": "neovintageous_search_cur",
"background": "#a1efe4",
"foreground": "#272822"
},
{
"scope": "neovintageous_search_occ",
"background": "#e6db74",
"foreground": "#272822"
}
]
}
Update 2023-08-09
This post was updated to reflect changes in v1.32. The the following settings were renamed:
- Renamed
neovintageous_search_cur_style
tovintageous_search_cur_style
- Renamed
neovintageous_search_inc_style
tovintageous_search_inc_style
- Renamed
neovintageous_search_occ_style
tovintageous_search_occ_style
- Renamed
highlightedyank
tovintageous_highlighted_yank
- Renamed
highlightedyank_duration
tovintageous_highlighted_yank_duration
- Renamed
highlightedyank_style
tovintageous_highlighted_yank_style