vim: ctrlp: suche in zeilen und im undo buffer aktiviert + ctrl+l
This commit is contained in:
parent
d15f7619b5
commit
d17a3eabe7
1 changed files with 4 additions and 2 deletions
6
.vimrc
6
.vimrc
|
@ -77,8 +77,10 @@ if executable('rg')
|
||||||
else
|
else
|
||||||
let g:ctrlp_user_command = 'find %s -type f'
|
let g:ctrlp_user_command = 'find %s -type f'
|
||||||
endif
|
endif
|
||||||
" let g:ctrlp_map = '<c-f>' "aufruf mit strg+f
|
" strg+f sucht fuzzy nach dateien
|
||||||
nmap <C-f> :CtrlP<CR>
|
nmap <C-f> :CtrlP<CR>
|
||||||
|
" strg+l sucht fuzzy in zeilen des aktuellen buffers
|
||||||
|
nmap <C-l> :CtrlPLine<CR>
|
||||||
" ignore files
|
" ignore files
|
||||||
" https://github.com/ctrlpvim/ctrlp.vim
|
" https://github.com/ctrlpvim/ctrlp.vim
|
||||||
set wildignore+=*/tmp/*,*.so,*.swp,*.zip " MacOSX/Linux
|
set wildignore+=*/tmp/*,*.so,*.swp,*.zip " MacOSX/Linux
|
||||||
|
@ -86,7 +88,7 @@ set wildignore+=*\\tmp\\*,*.swp,*.zip,*.exe " Windows
|
||||||
let g:ctrlp_custom_ignore = '\v[\/]\.(git|hg|svn)$'
|
let g:ctrlp_custom_ignore = '\v[\/]\.(git|hg|svn)$'
|
||||||
" stelle standard keybinding um
|
" stelle standard keybinding um
|
||||||
let g:ctrlp_map = ''
|
let g:ctrlp_map = ''
|
||||||
|
let g:ctrlp_extensions = ['line', 'undo']
|
||||||
" ### Keybindings
|
" ### Keybindings
|
||||||
" deaktiviere Ex-Mode keybinding
|
" deaktiviere Ex-Mode keybinding
|
||||||
:nnoremap Q <Nop>
|
:nnoremap Q <Nop>
|
||||||
|
|
Loading…
Reference in a new issue