Coder Social home page Coder Social logo

vimfx-config's Introduction

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 [email protected]. (Github don’t allow @ in their .zip names.)

  2. Find the extensions directory in your profile directory.

  3. Move the [email protected] 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 [email protected] 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/[email protected]
    

vimfx-config's People

Contributors

lydell avatar edrex avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.