emacs-keybindings

This extension provides some useful emacs-like keybindings for programmers
Premium users can view and search full source code, and see the source code differences between two versions.
Upgrade to premium
manifest.json
{
  "manifest_version": 2,
  "name": "emacs-keybindings",
  "version": "0.0.1",
  "author": "Chris Yin <chrisyin.2vv@gmail.com",
  "description": "firefox emacs extension",
  "background": {
    "scripts": [
      "emacs-cntl.js"
    ]
  },
  "permissions": [
    "<all_urls>",
    "tabs"
  ],
  "commands": {
    "alt-1": {
      "description": "Switch to the first tab",
      "suggested_key": {
        "default": "Alt+1"
      }
    },
    "alt-2": {
      "description": "Switch to the second tab",
      "suggested_key": {
        "default": "Alt+2"
      }
    },
    "alt-3": {
      "description": "Switch to the third tab",
      "suggested_key": {
        "default": "Alt+3"
      }
    },
    "alt-4": {
      "description": "Switch to the fourth tab",
      "suggested_key": {
        "default": "Alt+4"
      }
    },
    "alt-5": {
      "description": "Switch to the fifth tab",
      "suggested_key": {
        "default": "Alt+5"
      }
    },
    "alt-6": {
      "description": "Switch to the sixth tab",
      "suggested_key": {
        "default": "Alt+6"
      }
    },
    "alt-7": {
      "description": "Switch to the seventh tab",
      "suggested_key": {
        "default": "Alt+7"
      }
    },
    "alt-8": {
      "description": "Switch to the eighth tab",
      "suggested_key": {
        "default": "Alt+8"
      }
    },
    "alt-9": {
      "description": "Switch to the last tab",
      "suggested_key": {
        "default": "Alt+9"
      }
    },
    "alt-n": {
      "description": "Scroll down half page",
      "suggested_key": {
        "default": "Alt+N"
      }
    },
    "alt-p": {
      "description": "Scroll up half page",
      "suggested_key": {
        "default": "Alt+P"
      }
    }
  }
}