Skip to content
This repository has been archived by the owner on Mar 24, 2021. It is now read-only.

Commit

Permalink
feat(replace): add incremental replace as you type, use leader sr.
Browse files Browse the repository at this point in the history
  • Loading branch information
LER0ever committed Aug 2, 2017
1 parent 4b54d92 commit bb2ea26
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions plugins/general/general.bundles
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Plug 'tmhedberg/matchit'
Plug 'jlanzarotta/bufexplorer'
Plug 'easymotion/vim-easymotion'
Plug 'haya14busa/incsearch.vim'
Plug 'osyo-manga/vim-over'
Plug 'kien/tabman.vim'
Plug 'MattesGroeger/vim-bookmarks'
Plug 'embear/vim-localvimrc'
Expand Down
4 changes: 4 additions & 0 deletions plugins/general/incsearch.vim
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@ if isdirectory(expand('~/.vim/bundle/incsearch.vim'))
map ? <Plug>(incsearch-backward)
map g/ <Plug>(incsearch-stay)
endif
if isdirectory(expand('~/.vim/bundle/vim-over'))
let g:over_command_line_prompt = "IncReplace > "
map <Leader>sr :OverCommandLine<CR>%s/
endif

0 comments on commit bb2ea26

Please sign in to comment.