vim: Fix error on resourcing vimrc
Fixes error 'E174: Command already exists: add ! to replace it' that occured when saving vim files and the config was resourced.
This commit is contained in:
@@ -174,7 +174,7 @@ if (has('nvim'))
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
" Commands #####################################################################
|
" Commands #####################################################################
|
||||||
command DiffOrig vert new | set buftype=nofile | read ++edit # | 0d_ | diffthis
|
command! DiffOrig vert new | set buftype=nofile | read ++edit # | 0d_ | diffthis
|
||||||
\ | wincmd p | diffthis
|
\ | wincmd p | diffthis
|
||||||
|
|
||||||
" Autocommands #################################################################
|
" Autocommands #################################################################
|
||||||
|
|||||||
Reference in New Issue
Block a user