Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
This repository was archived by the owner on May 20, 2021. It is now read-only.
/vim-searchantPublic archive

searchant.vim is obsoleted by vim-searchhi

License

NotificationsYou must be signed in to change notification settings

timakro/vim-searchant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

You should usevim-searchhi instead of searchant.vim. It fixes a bunch of longstanding bugs of searchant.vim and is overall more polished.

searchant.vim

Vim plugin for improved search highlighting

Overview

When it comes to searching Vim is one of the editors which lacks the featureof highlighting the current search result. Searchant wraps the hacky way toachieve this in Vim into a plugin with a clean interface. Additionally itprovides a key mapping to stop the search highlighting.

View the documentation in Vim with:help searchant oron the web.

vim-searchant demo

Requirements

  • Vim 7.0+

Installation

It is recommended to install this plugin using a plugin manager likepathogen.vim,Vundle.vim orvim-plug.

Alternatively you can just drop theplugin anddoc folders into your~/.vim directory. Don't forget to run:helptags ~/.vim/doc to generate thehelp tags after a manual installation.

If you are usingincsearch.vimand you'd likevim-searchant to play-nicely, you can add the following snippetto hide the searchant highlight:

" Disable Searchant highlight when incsearch.vim highlights also disableautocmdCursorMoved*callSearchantStop()functionSearchantStop()  :execute"normal\<Plug>SearchantStop"endfunction

This assumes that you havelet g:incsearch#auto_nohlsearch = 1 in your config.


[8]ページ先頭

©2009-2025 Movatter.jp