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:
2020-11-23 02:17:28 +01:00
parent 423a786192
commit 40617b11ff

View File

@@ -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 #################################################################