Giter Club home page Giter Club logo

obsidian-jump-to-link's Introduction

Obsidian Plugin: Jump to link

Quickly navigate between links, or jump to any word on the page using hotkeys.

Jump To Link

Jump to Anywhere (RegEx based navigation)

Lightspeed

Settings

How to use (Link Navigation)

  • Open command palette (Ctrl+P), find and choose Jump to link command
  • You can use hotkey (Ctrl + ' by default)
  • If there are any links in opened file you should see letters over them which should be pressed to open the link
  • Hold Shift while pressing link letters should open note in a new pane

How to use Jump to Anywhere (Editor Navigation)

  • Use the command palette, or press the hotkey (Ctrl + ; by default) to instantly jump to any word on the page!
  • Jump to Anywhere is a RegEx based navigation feature, similar to vim-easymotion.
  • Jump to Anywhere works both in regular editor mode, and in VIM mode!
  • Custom RegEx can be configured to user preference
  • Default configuration adds a label on words 3 characters or greater: [Regex: \b\w{3,}\b]
  • Suggested Characters used for link hints setting for Jump to Anywhere: asdfghhjklqwertyuiopzxcvbnm
    • These settings ensure that all 26 letters are available for jumping in documents with large amounts of text.
    • If there are more matches than available letters, the label will show undefined and it will not be possible to jump there.

How to use Lightspeed

Lightspeed is originally a vim plugin similar to vim-sneak or easymotion. See this issue for videos.

You can either assign a hotkey, or use it in combination with the Obsidian vimrc plugin:

exmap jumpToLink obcommand mrj-jump-to-link:activate-lightspeed-jump
nmap gs :jumpToLink

The idea and original code is from @kohane27.

The look of it when invoked can be modified with CSS. By default, it is:

.theme-dark, .theme-light {
  --jump-to-link-lightspeed-color: var(--text-muted);
}

Lightspeed is only supported in the new Codemirror 6 editor.

How to install the plugin

Install plugin from the Community Plugins section.

Known issues

Support

obsidian-jump-to-link's People

Contributors

mrjackphil avatar kometenstaub avatar tadashi-aikawa avatar jsonmartin 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.