Home

Awesome

vim-fnr

Find-N-Replace in Vim with live preview (experimental)

Installation

Use your favorite plugin manager. vim-fnr requires vim-pseudocl.

With vim-plug:

Plug 'junegunn/vim-pseudocl'
Plug 'junegunn/vim-fnr'

Usage

The command is repeatable with . key if you have installed repeat.vim.

Special keys

Options

" Defaults
let g:fnr_flags   = 'gc'
let g:fnr_hl_from = 'Todo'
let g:fnr_hl_to   = 'IncSearch'

Custom mappings

nmap <Leader>r <Plug>(FNR)
xmap <Leader>r <Plug>(FNR)
nmap <Leader>R <Plug>(FNR%)
xmap <Leader>R <Plug>(FNR%)

License

MIT