Make gf create the file if not existent
This commit is contained in:
parent
59bac45dc9
commit
e3181339d2
@ -143,6 +143,11 @@ nnoremap <silent> <C-l> <C-w>l
|
||||
nnoremap <silent> <C-k> <C-w>k
|
||||
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
|
||||
map <silent> ,gz <C-w>o
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user