Skip to content

🏹 Aim with efficiency and precision—regardless the target.

Notifications You must be signed in to change notification settings

mizlan/longbow.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

longbow.nvim 🏹

the ultraprecise, uncompromising weapon in your motion arsenal

Screen.Recording.2022-08-02.at.5.04.16.PM.mov

Overview

Longbow is a visible-editor-area motion for Neovim that does not use any form of direct search in its targeting mechanism. Instead, it fills all text onscreen with character labels in such a way that all consecutive sequences of two labels are unique (→ how?). This way, all you need to do is type the character label at the location you'd like to jump to, and then the character immediately to the right of it, and you'll be transported right there.

Features

  • Jump with character-precision to emojis and other uneasily-typed characters
  • Type two characters, only and always, even in dense and repetitive passages

Caveats

  • Not a search-based movement, and therefore little pre-empting available for user to exploit
  • Labels may be source of visual noise, requiring nontrivial concentration and decent reaction/typing speed

Todo

  • option to only enable on alphanumeric(-esque) (or non-whitespace) characters (with highlight to help differentiate)
  • have a subroutine that alters highlight groups to fade non-alphanumeric characters
  • fix bugs with edge cases

About

🏹 Aim with efficiency and precision—regardless the target.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published