How can I achieve below with vimperator (possibly some javascript)?
on windows 10
qmark d file:///E:/somedirectory
on linux
qmark d file:///home/username/somedirectory
what kind of code should be put into my .vimperatorrc?
How can I achieve below with vimperator (possibly some javascript)?
on windows 10
qmark d file:///E:/somedirectory
on linux
qmark d file:///home/username/somedirectory
what kind of code should be put into my .vimperatorrc?
Copyright © 2021 Jogjafile Inc.
Maybe you could try something like this
Explanation: If /bin/bash is your shell you're running linux. If you're running windows this will probably be cmd.exe (It is on windows 7, I can't test on windows 10 unfortunately). The vimperator internal function quickmarks.add is then used to add the desired quickmark. If there are problems, try
in the vimperator shell and then change the line accordingly.