1
0
mirror of https://github.com/amix/vimrc synced 2025-06-17 02:15:01 +08:00

Replace mru.vim with CtrlPMRU

Removes mru.vim and remaps `<leader>f` to `CtrlPMRU`

Fixes https://github.com/amix/vimrc/issues/556

Thanks @dessalines
This commit is contained in:
Amir
2020-05-10 11:04:55 -04:00
parent 62bc6698cd
commit 708e4f0d48
5 changed files with 14 additions and 1242 deletions

View File

@ -46,9 +46,15 @@ nmap <C-n> <Plug>yankstack_substitute_newer_paste
""""""""""""""""""""""""""""""
let g:ctrlp_working_path_mode = 0
" Quickly find and open a file in the current working directory
let g:ctrlp_map = '<C-f>'
map <leader>j :CtrlP<cr>
map <C-b> :CtrlPBuffer<cr>
" Quickly find and open a buffer
map <leader>b :CtrlPBuffer<cr>
" Quickly find and open a recently opened file
map <leader>f :CtrlPMRU<CR>
let g:ctrlp_max_height = 20
let g:ctrlp_custom_ignore = 'node_modules\|^\.DS_Store\|^\.git\|^\.coffee'