Customized command error handling?
- I know we can use `try..catch` structure to customize error handling in scripts,
but is there any way to catch an error of user executed command not scripts?
E.g. if the last file in the argulist has not been edited, then executing `quit` command would fail with error "E173: * more file to edit", is it possible to catch such an error and do something with it int the script?
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php