Environment: Mac (El Capitan)
In order to open the .doc
file in Word in Vimfiler, we set .vmrc
to link.
call vimfiler#set_execute_file('doc, docx', '/Applications/Microsoft Word.app')
On the other hand, if you press a
after selecting a file in Vimfiler, you will not find an option that corresponds to the action list.(For example, if you select open from the action list, Word will not start.)
Please let me know how I can open the .doc
file in Word.
I am the author of vimfiler.
vimfiler#set_execute_list()
, but as you can see from the vimfiler documentation, if you don't use the <Plug>(vimfiler_execute_vimfiler_associated)
mapping, the effect is
No, it does not appear in the action list if you press a because there is no special action.
This mapping has not been mapped anywhere due to historical reasons, so please map it to a key somewhere to use it.
<Plug>(vimfiler_execute_system_associated)
, but this is not vimfiler#set_execute_list()
but refers to system associations.
It works very differently.
In this case, the doc file happened to be associated with WORD, and the behavior is the same, so you must have misunderstood.
Resolved.
Press a
after selecting a file in Vimfiler to display the action list, but select x
among them to launch Word and display the file.
x<Plug>(vimfiler_execute_system_associated)
© 2024 OneMinuteCode. All rights reserved.