switch to gfiles; add shortcut for visual search
This commit is contained in:
parent
290ac61b9c
commit
0125f4bd09
1 changed files with 4 additions and 1 deletions
5
.vimrc
5
.vimrc
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue