Welcome to Vifm Q&A, where you can ask questions about using Vifm. Registration is optional, anonymous posts are moderated. E-mail and GitHub logins are enabled.
0 votes
in vifm.vim by

I wanted to disable vifminfo history only when the plugin is used. But keep the vifminfo history active if VIFM is called directly from shell.

1 Answer

+1 vote
by
selected by
 
Best answer

You can set g:vifm_exec_args to something like +'set vifm-=dhistory,...' to run one or more custom commands when Vifm is called from Vim.

More extensible approach could be adding +'source $VIFM/invim.vifm' and have a separate file for plugin-specific adjustments next to your vifmrc.

...