vifm / vifm.vim

Vim plugin that allows use of vifm as a file picker
325 stars 18 forks source link

After replacing netrw with vifm, lose gx functionality #78

Closed dylanpjx closed 2 years ago

dylanpjx commented 2 years ago

Is there a way to still follow links in vim files via gx after replacing netrw with vifm?

xaizek commented 2 years ago

Judging from the documentation, this might do it:

nnoremap <silent> gx :!xdg-open <c-r>=shellescape(expand('<cfile>'))<cr><cr>