Skip to content

Commit

Permalink
add new plugins and key mapping for ctrlP changed
Browse files Browse the repository at this point in the history
  • Loading branch information
ruanyl committed Nov 1, 2015
1 parent 260c942 commit e62c290
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ molokai主题
) 右括号,在changelist 顺序切换,文件内跳转非常有用
,sa 全选(select all)
ctrl + jkhl 进行上下左右窗口跳转,不需要ctrl+w+jkhl
f 开启文件搜索 ctrlp
ctrl+p 开启文件搜索 ctrlp
,/ 去除匹配高亮
' :b
qq 关闭当前Buffer
Expand Down Expand Up @@ -159,7 +159,7 @@ CtrlP插件,提供sublime类似的grep搜索
模糊查找的功能

```
,/ #然后输入要检索的内容
,,/ #然后输入要检索的内容
```

![ggVGc/vim-fuzzysearch](https://github.com/ggVGc/vim-fuzzysearch/raw/master/doc/example.gif)
Expand Down
9 changes: 5 additions & 4 deletions vimrc.bundles
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ let g:tagbar_width = 50
Plug 'ctrlpvim/ctrlp.vim'
nnoremap <leader>m :CtrlPMRU<CR>
nnoremap <leader>b :CtrlPBuffer<CR>
nnoremap f :CtrlP<CR>
let g:ctrlp_custom_ignore = {
\ 'dir': '\v[\/](node_modules|target|dist)|\.(git|hg|svn|rvm)$',
\ 'file': '\v\.(exe|so|dll|zip|tar|tar.gz)$',
Expand All @@ -61,7 +60,7 @@ nnoremap <Leader><Leader>a :Ag!<space>
let g:ag_working_path_mode='r'

Plug 'ggVGc/vim-fuzzysearch'
nnoremap <leader>/ :FuzzySearch<cr>
nnoremap <leader><leader>/ :FuzzySearch<cr>

"################### Display Enhancements ###################"
let g:netrw_liststyle=3
Expand Down Expand Up @@ -129,6 +128,8 @@ map / <Plug>(easymotion-sn)
omap / <Plug>(easymotion-tn)
let g:EasyMotion_smartcase = 1

Plug 'unblevable/quick-scope'

" extended % matching for HTML, LaTeX, and many other languages
Plug 'vim-scripts/matchit.zip'

Expand Down Expand Up @@ -205,8 +206,6 @@ Plug 'terryma/vim-multiple-cursors'

Plug 'mattn/emmet-vim'

Plug 'Ioannis-Kapoulas/vim-autoprefixer'

"################# syntax check ###############

Plug 'scrooloose/syntastic'
Expand Down Expand Up @@ -302,6 +301,8 @@ Plug 'mattn/webapi-vim'

Plug 'tpope/vim-fugitive'

Plug 'airblade/vim-gitgutter'

" delete current buffer
Plug 'moll/vim-bbye'
nnoremap qq :Bdelete<cr>
Expand Down

0 comments on commit e62c290

Please sign in to comment.