Skip to content

lydell/VimFx-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deprecated

VimFx 0.6.0–0.12.0 could optionally be configured by creating a separate add-on—a “Config file add-on.” It contained a “config file.” VimFx 0.13.0 replaced this with being able to load that config file directly instead.

Please move on to the config file documentation.

The original readme follows below.

VimFx Config template

VimFx can optionally be customized by a config file.

This is the boilerplate needed to set it up.

  • config.js is you actual config file.
  • frame.js is needed if you add custom commands that access web page content.
  • The rest of the files are there to get config.js and frame.js up and running. You don’t need to touch them (but advanced users can for maximum customizability).

Setup

  1. Download all files as a .zip and extract it. That should result in a directory called VimFx-config--vimfx.org containing seven files. Rename VimFx-config--vimfx.org to VimFx-config@vimfx.org. (Github don’t allow @ in their .zip names.)

  2. Find the extensions directory in your profile directory.

  3. Move the VimFx-config@vimfx.org directory into the extensions directory.

That’s it! To check if it works:

  1. Restart Firefox.

  2. Open the browser console. You should see the message “Hello, World! This is vimfx:” followed by an inspection of VimFx’s public API.

Note: Since Mozilla added extension signing things have gotten a bit more complicated.

Now check out the config file documentation to get started customizing!

Tips

If you’d like to put your config file somewhere else, you can! There are two ways to go:

  • Create a plain text file called VimFx-config@vimfx.org in the extensions directory (a proxy file). Put the absolute path to your config file directory inside it, such as /home/you/.vimfx/ or C:\users\you\vimfx\.

  • Use a symlink. For example:

    ln -s /home/you/.vimfx/ /home/you/.mozilla/firefox/dgof8r37.default/extensions/VimFx-config@vimfx.org
    

About

[DEPRECATED] VimFx Config template

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published