1
0
mirror of https://github.com/amix/vimrc synced 2025-07-04 06:44:59 +08:00

update vim install to use fzf instead of ctrl p/buf explorer

This commit is contained in:
Chris Morris
2019-06-12 23:40:55 -04:00
parent b0a80da9ac
commit 4904f22fd9
41 changed files with 11 additions and 10791 deletions

View File

@ -120,9 +120,6 @@ endif
" When you press gv you Ack after the selected text
vnoremap <silent> gv :call VisualSelection('gv', '')<CR>
" Open Ack and put the cursor in the right position
map <leader>g :Ack
" When you press <leader>r you can search and replace the selected text
vnoremap <silent> <leader>r :call VisualSelection('replace', '')<CR>

View File

@ -14,15 +14,6 @@ call pathogen#infect(s:vim_runtime.'/sources_non_forked/{}')
call pathogen#infect(s:vim_runtime.'/my_plugins/{}')
call pathogen#helptags()
""""""""""""""""""""""""""""""
" => bufExplorer plugin
""""""""""""""""""""""""""""""
let g:bufExplorerDefaultHelp=0
let g:bufExplorerShowRelativePath=1
let g:bufExplorerFindActive=1
let g:bufExplorerSortBy='name'
map <leader>o :BufExplorer<cr>
""""""""""""""""""""""""""""""
" => MRU plugin
@ -41,17 +32,13 @@ nmap <c-n> <Plug>yankstack_substitute_newer_paste
""""""""""""""""""""""""""""""
" => CTRL-P
" => FZF
""""""""""""""""""""""""""""""
let g:ctrlp_working_path_mode = 0
let g:ctrlp_map = '<c-f>'
map <leader>j :CtrlP<cr>
map <c-b> :CtrlPBuffer<cr>
let g:ctrlp_max_height = 20
let g:ctrlp_custom_ignore = 'node_modules\|^\.DS_Store\|^\.git\|^\.coffee'
set rtp+=~/.fzf
map <leader>j :Files<cr>
nnoremap <C-f> :Files<Cr>
map <leader>o :Buffers<cr>
map <leader>g :Ag<CR>
""""""""""""""""""""""""""""""
" => ZenCoding