switch to gfiles; add shortcut for visual search

This commit is contained in:
Jidbo 2019-10-04 23:34:42 +02:00
parent 290ac61b9c
commit 0125f4bd09

5
.vimrc
View file

@ -115,6 +115,9 @@ nnoremap <leader>t :tabnew<CR>
nnoremap <C-n> gT nnoremap <C-n> gT
nnoremap <C-p> gt nnoremap <C-p> gt
" search for visual selection
vnoremap // y/<C-R>"<CR>
" Enable folding " Enable folding
set foldmethod=indent set foldmethod=indent
set foldlevel=99 set foldlevel=99
@ -259,7 +262,7 @@ augroup END
" fzf setup " fzf setup
nmap <C-y> :Buffers<CR> nmap <C-y> :Buffers<CR>
nmap <Leader>f :Files<CR> nmap <Leader>f :GFiles<CR>
let g:fzf_buffers_jump = 1 let g:fzf_buffers_jump = 1
" vim-ale setup " vim-ale setup