Move vim scratch command to separate file
This commit is contained in:
parent
fb139cbe4a
commit
9d692bcff0
|
@ -0,0 +1,3 @@
|
|||
command! -nargs=? Scratch enew
|
||||
\ | set filetype=<args>
|
||||
\ | set buftype=nofile
|
|
@ -492,7 +492,6 @@ function! s:snapshot()
|
|||
endfun
|
||||
command! Snapshot call <sid>snapshot()
|
||||
|
||||
command! -nargs=? Scratch enew | call <sid>init_generic_file() | set filetype=<args> | set buftype=nofile
|
||||
command! Todo call matchadd('Todo', '^\s*\[ \?\].*$') |
|
||||
\ call matchadd('Comment', '^\s*\[x\].*$') |
|
||||
\ call matchadd('Comment', '^\s*\[-\].*$') |
|
||||
|
|
Loading…
Reference in New Issue