Make gf create the file if not existent
This commit is contained in:
@@ -143,6 +143,11 @@ nnoremap <silent> <C-l> <C-w>l
|
|||||||
nnoremap <silent> <C-k> <C-w>k
|
nnoremap <silent> <C-k> <C-w>k
|
||||||
nnoremap <silent> <C-j> <C-w>j
|
nnoremap <silent> <C-j> <C-w>j
|
||||||
|
|
||||||
|
" Make gf (go to file) create the file, if not existent
|
||||||
|
nnoremap gf :e<cfile><CR>
|
||||||
|
nnoremap <C-w>f :sp +e<cfile><CR>
|
||||||
|
nnoremap <C-w>gf :tabe<cfile><CR>
|
||||||
|
|
||||||
" Zoom in and out of current window with ,gz
|
" Zoom in and out of current window with ,gz
|
||||||
map <silent> ,gz <C-w>o
|
map <silent> ,gz <C-w>o
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user