Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/airblade/vim-current-search-match
Highlights the current search match.
https://github.com/airblade/vim-current-search-match
highlight vim-plugin vim-search
Last synced: about 1 month ago
JSON representation
Highlights the current search match.
- Host: GitHub
- URL: https://github.com/airblade/vim-current-search-match
- Owner: airblade
- License: mit
- Created: 2021-01-29T11:25:40.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-04-20T10:46:11.000Z (almost 3 years ago)
- Last Synced: 2024-10-24T13:42:22.629Z (3 months ago)
- Topics: highlight, vim-plugin, vim-search
- Language: Vim script
- Homepage:
- Size: 8.79 KB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
# current_search_match.vim
Update: Vim [8.2.4724](https://github.com/vim/vim/commit/a43993897aa372159f682df37562f159994dc85c) finally added this feature.
Highlights the current search match.
Uses the `PmenuSel` highlight group by default. To use a different highlight:
1. Type `:hi` and find one you like, e.g. `Visual`.
2. Put `let g:current_search_match = 'Visual'` in your vimrc/init.vim.## Installation
Install using your favourite package manager, or use Vim's built-in package
support:mkdir -p ~/.vim/pack/airblade/start
cd ~/.vim/pack/airblade/start
git clone https://github.com/airblade/vim-current-search-match.git
vim -u NONE -c "helptags vim-current-search-match/doc" -c q## Intellectual Property
Copyright 2021 Andrew Stewart. Released under the MIT licence.