Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 641 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 641 Bytes

🔎 modesearch.vim

Search with less backslash.

Installation

Follow the documentation of your favorite plugin manager.

Usage

Example:

nmap g/ <Plug>(modesearch-slash)
nmap g? <Plug>(modesearch-question)
cmap <C-x> <Plug>(modesearch-toggle-mode)

You can also start searching with a fixed mode with the following mappings:

" Always starts in 'rawstr' mode
nmap g/ <Plug>(modesearch-slash-rawstr)
" Always starts in 'regexp' mode
nmap g? <Plug>(modesearch-question-regexp)

Demo

demo-mode-search