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.
0 votes
in vifm by
edited by

Including <silent> will break this command:

nnoremap yn :!echo -n %c %i | xclip -in -selection clipboard<cr>

Is there any workaround for it? I tried system(), but can't get it to work.

Thank you

1 Answer

0 votes
by
selected by
 
Best answer

I don't think that adding <silent> will affect the command, don't see how. This similar command works fine:

nnoremap <silent> yn :!echo -n %c > ~/file %i<cr>
by

You are right. I am not sure what was wrong before that wasn't working. Sorry about this.

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.
...