Skip to content

Commit

Permalink
vim: Add incsearch, incsearch-fuzzy,vim-asterisk plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
achalddave committed Jun 16, 2016
1 parent fd28344 commit 3fed42c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions vim/vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ Plug 'honza/vim-snippets'
Plug 'Valloric/YouCompleteMe', {'do': './install.py'}
Plug 'achalddave/guifontpp.vim', { 'on': [] } " Only load if gui running
Plug 'scrooloose/syntastic'
Plug 'haya14busa/incsearch.vim'
Plug 'haya14busa/incsearch-fuzzy.vim'
Plug 'haya14busa/vim-asterisk'

" language specific
Plug 'pangloss/vim-javascript'
Expand Down Expand Up @@ -183,6 +186,23 @@ nnoremap <F7> :SyntasticCheck<CR> :lopen<CR>
" Pandoc
let g:pandoc#syntax#codeblocks#embeds#langs = ["bash=sh", "python"]

" incsearch.vim
map / <Plug>(incsearch-forward)
map ? <Plug>(incsearch-backward)
map g/ <Plug>(incsearch-stay)
" incsearch-fuzzy.vim
map z/ <Plug>(incsearch-fuzzy-/)
map z? <Plug>(incsearch-fuzzy-?)
map zg/ <Plug>(incsearch-fuzzy-stay)
" vim-asterisk
map * <Plug>(asterisk-z*)
map g* <Plug>(asterisk-gz*)
map # <Plug>(asterisk-z#)
map z# <Plug>(asterisk-gz#)
" }

" Indentation {
Expand Down

0 comments on commit 3fed42c

Please sign in to comment.