mbnuqw / jumpt

Simple vscode extension for fast navigation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JumpᏆ

Simple vscode extension for fast navigation.

Features

  • Support multi-columns layout
  • Jump back command
  • Auto-scroll

demo-1

Usage

  • Activate jumpt input (configure shortcut or find in command palette)
  • Enter target sub-string
  • Use one of configured triggering methods:
    • Enter separator sign, then target anchor sign
    • Enter target anchor sign after search query with static length

Commands

  • extension.jumpt - activate jump input
    {
      "key": "...",
      "command": "extension.jumpt"
    },
    {
      "key": "...",
      "command": "extension.jumpt",
      "args": { "select": true }
    },
    {
      "key": "...",
      "command": "extension.jumpt",
      "args": { "caseSensitive": true }
    },
  • extension.jumptback - jump back
    {
      "key": "...",
      "command": "extension.jumptback"
    },

Settings

Anchors
Available anchor signs.
jumpt.anchors: string
default: "fjdksla;vmbcghieorwnp/FJALKMVCER"

Trigger
Separator char between a search query and target anchor or static length of the search query followed by target anchor.
jumpt.trigger: string | number
default: " "

Auto-scroll
Auto-scroll to new position.
jumpt.scroll: boolean
default: false

Anchor mode
Anchor mode.
jumpt.anchorMode: AnchorMode
- "default" - Replaces the first char with anchor and highlights matched text
- "fullWidth" - Replaces the matched text with an anchor surrounded by placeholder chars
default: "default"

Anchor placeholder char
Placeholder char for 'fullWidth' anchor mode.
jumpt.anchorPlaceholderChar: string
default: "_"

Background color of anchor
Anchor background color.
jumpt.anchorBg: string
default: "#0C82F7"

Foreground color of anchor
Anchor foreground color.
jumpt.anchorFg: string
default: "#ffffff"

Background color of matched text
Anchor background color.
jumpt.queryBg: string
default: "#0C82F7"

Foreground color of matched text
Anchor foreground color.
jumpt.queryFg: string
default: "#ffffff"

Alternatives

  • Find-Jump
  • Find-Then-Jump
  • Xray-Jump
  • Jumpy
  • Code Ace Jumper

Licence

MIT

About

Simple vscode extension for fast navigation.


Languages

Language:TypeScript 100.0%