Skip to content

rgkirch/goto-char-timer

Repository files navigation

Only 251 lines of code!!

github.com/AlDanial/cloc v 2.02 T=0.01 s (90.2 files/s, 33285.3 lines/s)

Language files blank comment code

TypeScript 1 33 85 251

goto-char-timer

like emacs avy-goto-char-timer

you can jump the cursor to anywhere

activate the extension

quickly type the text where you want the cursor to go to

after a pause, the extension will add an overlay to all the matches

type the text in the overlay

then the cursor jumps to the begining of that match

Features

There are other similar extensions but I didn't find any that worked the way I wanted.

Requirements

Extension Settings

timeout

when typing the text to search for, if you pause for this many milliseconds, any text matching the string will be highlighted

default: 500ms

charset

character set to use for jump labels

default: abcdefghijklmnopqrstuvwxyz

Known Issues

lables are longer than they need to be

if there's enough matches to bump up the label length then all lables are longer even though you might have an unambiguous match at a shorter number of characters

Run Test

clear && npm run compile && npm run compile-tests && npx vscode-test

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published