Skip to content
Jumpy Extension for Visual Studio Code
TypeScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode prettier Jun 13, 2018
images icon and preview Oct 24, 2016
src VSCode doesn't like SVGs split across lines *shrug* Jun 16, 2018
test prettier Jun 13, 2018
.gitignore ready for alpha release Oct 5, 2016
.prettierrc prettier Jun 13, 2018
.vscodeignore icon generation Oct 3, 2016
LICENSE.md added MIT license Oct 6, 2016
README.md update readme Jun 13, 2018
package-lock.json VSCode doesn't like SVGs split across lines *shrug* Jun 16, 2018
package.json VSCode doesn't like SVGs split across lines *shrug* Jun 16, 2018
tsconfig.json

README.md

Jumpy Extension for Visual Studio Code

Feature Overview

Jumpy provides fast cursor movement, inspired by Atom's package of the same name.

jumpy-preview

Commands

When Jumpy is activated, decorations (two-letter codes) are created in the area around your cursor. Then simply type in a two letter code to jump to that position.

Where the decorations are created is dependent on the command you use:

  • extension.jumpy-word (Jumpy Word Mode): creates decorations for words in the area around your cursor
  • extension.jumpy-line (Jumpy Line Mode): creates decorations for non-empty lines in the area around your cursor

No default keybindings have been provided with this extension to avoid conflicts. Instructions for setting up your own keybindings are here

To exit Jumpy mode, press a non-a-z key such as space or enter.

To set up the keybindings like Atom (Shift+Enter), add the following to your keybindings.json (File/Code -> Preferences -> Keyboard Shortcuts):

    {
        "key": "shift+enter",
        "command": "extension.jumpy-word",
        "when": "editorTextFocus"
    }

You can also set up a special keybinding to exit Jumpy mode, for example ESC:

    {
        "key": "Escape",
        "command": "extension.jumpy-exit",
        "when": "editorTextFocus && jumpy.isJumpyMode"
    }

Settings

Jumpy settings can be configured by adding entries into your settings.json (File -> Preferences -> User Settings). The following settings are available:

"jumpy.wordRegexp": The Regexp to use to match words in Jumpy Word Mode. The default is "\\w{2,}" which matches a string of characters [A-Za-z0-9_], length two or more. To match individual words inside camel case, for example, override with "([A-Z]+([0-9a-z])*)|[a-z0-9]{2,}".

"jumpy.lineRegexp": The Regexp to use to match empty lines (Jumpy won't create decorations for empty lines). The default is "^\\s*$"

"jumpy.fontFamily": Font used in Jumpy decorations, defaults to font from settings

"jumpy.fontSize": Font size used in Jumpy decorations, defaults to font size from settings - 1

"jumpy.darkThemeBackground": Background of Jumpy decoration in dark themes

"jumpy.darkThemeForeground": Text color of Jumpy decoration in dark themes

"jumpy.lightThemeBackground": Background of Jumpy decoration in light themes

"jumpy.lightThemeForeground": Text color of Jumpy decoration in light themes

Support

Create an issue

You can’t perform that action at this time.