Welcome to Vifm Q&A, where you can ask questions about Vifm usage. Registration is optional, anonymous posts are moderated. GitHub or Google logins are enabled.

What does exclamation mark mean in user commands?

0 votes
asked Aug 10 in vifm by sotiwin

Hi!

What's the difference between command! name cmd and command name cmd?

Thanks,
sotiwin

1 Answer

0 votes
answered Aug 10 by xaizek
selected Aug 10 by sotiwin
 
Best answer

Hi,

as per documentation, adding ! allows you to overwrite previously defined command. Without it, you'll get an error if a command with specified name already exists.

If you would like to make a bug report or feature request consider using GitHub, SourceForge or e-mail. Posting such things here is acceptable, but this is not a perfect place for them.
...