Change vimrc Scratch command to use enew
Scratch now changes the current window, instead of opening a new one.
This commit is contained in:
parent
64e4e304f8
commit
e7bdaf0e79
1 changed files with 1 additions and 1 deletions
2
vimrc
2
vimrc
|
@ -607,7 +607,7 @@ function! s:snapshot()
|
|||
endfun
|
||||
command! Snapshot call <sid>snapshot()
|
||||
|
||||
command! -nargs=? Scratch new | set buftype=nofile | set filetype=<args>
|
||||
command! -nargs=? Scratch enew | set buftype=nofile | set filetype=<args>
|
||||
command! -nargs=? Tempfile exec 'new '.tempname() | set filetype=<args> | au BufDelete <buffer> call delete(expand('%'))
|
||||
|
||||
" ┌──────────────────────────┐
|
||||
|
|
Loading…
Reference in a new issue