From d17a3eabe78769aae262a2b29f94a342288dc2ca Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 11 Nov 2021 09:38:56 +0100 Subject: [PATCH] vim: ctrlp: suche in zeilen und im undo buffer aktiviert + ctrl+l --- .vimrc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.vimrc b/.vimrc index 217f93b..cfa54d8 100644 --- a/.vimrc +++ b/.vimrc @@ -77,8 +77,10 @@ if executable('rg') else let g:ctrlp_user_command = 'find %s -type f' endif -" let g:ctrlp_map = '' "aufruf mit strg+f +" strg+f sucht fuzzy nach dateien nmap :CtrlP +" strg+l sucht fuzzy in zeilen des aktuellen buffers +nmap :CtrlPLine " ignore files " https://github.com/ctrlpvim/ctrlp.vim 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)$' " stelle standard keybinding um let g:ctrlp_map = '' - +let g:ctrlp_extensions = ['line', 'undo'] " ### Keybindings " deaktiviere Ex-Mode keybinding :nnoremap Q