-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.sh
48 lines (27 loc) · 1.25 KB
/
README.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
cat << EOF
Only $(npx cloc --quiet --json src/main | jq '.SUM.code') lines of code!!
$(cloc src/main)
# 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: $(jq -r '.contributes.configuration.properties."gotoCharTimer.timeout".default' package.json)ms
### charset
character set to use for jump labels
default: $(jq -r '.contributes.configuration.properties."gotoCharTimer.charset".default' package.json)
## 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
EOF