vimium
vimium copied to clipboard
config file
how about add default config file like:
~/.vimiumrc or kinda?
I've found this issue, but no any notifications about adding ~/.*rc file
As far as I know, there is no API for Chrome extensions (like Vimium) to access the native file system.
API for Chrome extensions (like Vimium) to access the native file system.
If we are granted the local URLs permission in chrome://extensions, then we should be able to access it with an XMLHttpRequest, as with any other file.
On a side note (if this ever gets implemented), it'd be great to use the xdg-config directory on Linux rather than cluttering up the home directory:
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
as of 2023, doesn't the api exist yet?
@azinsharaf Um, it keeps not existing.
Guys there are a few workarounds floating through my head.
- Store it in ~/.vimium/ and play pretend, basically letting it sync using git+stow and manually replacing it on other workstations
- Using syncthing to let it sync across multiple devices, this will allow you to just click import on the outdated pc's, avoiding having to git pull, or transfer files etc.
- Letting syncthing / git sync browser data so you have the same extensions data, this is dangerous for different OS types.
I'm probably going to end up making a syncthing folder named: "manual config" and drop vimium stuff in there, but at least here's some ideas.
ok i did the thing, lets go!
Is it still not possible to have vimiumrc?