mirror of
https://github.com/aquatix/dotfiles.git
synced 2025-12-07 00:05:10 +01:00
Replaced ctrl+p by fzf
This commit is contained in:
27
.vimrc
27
.vimrc
@@ -74,17 +74,24 @@ autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTree
|
|||||||
|
|
||||||
" Full path fuzzy file, buffer, mru, tag, ... finder
|
" Full path fuzzy file, buffer, mru, tag, ... finder
|
||||||
" Quickly open files, fuzzy search on name
|
" Quickly open files, fuzzy search on name
|
||||||
Plugin 'ctrlpvim/ctrlp.vim'
|
"Plugin 'ctrlpvim/ctrlp.vim'
|
||||||
"let g:ctrlp_map = '<Leader>t'
|
"let g:ctrlp_map = '<c-p>'
|
||||||
let g:ctrlp_map = '<c-p>'
|
|
||||||
" Search in Files, Buffers and MRU files at the same time:
|
" Search in Files, Buffers and MRU files at the same time:
|
||||||
let g:ctrlp_cmd = 'CtrlPMixed'
|
"let g:ctrlp_cmd = 'CtrlPMixed'
|
||||||
let g:ctrlp_match_window_bottom = 1
|
"let g:ctrlp_match_window_bottom = 1
|
||||||
let g:ctrlp_match_window_reversed = 0
|
"let g:ctrlp_match_window_reversed = 0
|
||||||
let g:ctrlp_custom_ignore = '\v\~$|\.(o|swp|pyc|wav|mp3|ogg|blend)$|(^|[/\\])\.(hg|git|bzr)($|[/\\])|__init__\.py'
|
"let g:ctrlp_custom_ignore = '\v\~$|\.(o|swp|pyc|wav|mp3|ogg|blend)$|(^|[/\\])\.(hg|git|bzr)($|[/\\])|__init__\.py'
|
||||||
let g:ctrlp_working_path_mode = 0
|
"let g:ctrlp_working_path_mode = 0
|
||||||
let g:ctrlp_dotfiles = 0
|
"let g:ctrlp_dotfiles = 0
|
||||||
let g:ctrlp_switch_buffer = 0
|
"let g:ctrlp_switch_buffer = 0
|
||||||
|
|
||||||
|
|
||||||
|
" fzf integration for fast fuzzy finding, better and faster than ctrl-p
|
||||||
|
set rtp+=~/workspace/projects/others/fzf
|
||||||
|
Plugin 'junegunn/fzf.vim'
|
||||||
|
nmap ; :Buffers<CR>
|
||||||
|
nmap <Leader>t :Files<CR>
|
||||||
|
nmap <Leader>r :Tags<CR>
|
||||||
|
|
||||||
|
|
||||||
" Web Development/Filetype icons
|
" Web Development/Filetype icons
|
||||||
|
|||||||
Reference in New Issue
Block a user