Don't let the cursor slow you down
Go to file
2021-07-09 15:13:52 +01:00
.vscode Changes for 0.12.0 2021-06-21 17:52:44 +01:00
images Add some documentation of SVG calculations 2021-07-06 19:40:40 +01:00
src Change hat size adjustment setting 2021-07-09 15:13:52 +01:00
.eslintrc.json Fix timing; use editor instead of documentUri 2021-04-19 20:53:17 +01:00
.gitignore Skeleton 2021-02-14 15:23:21 +00:00
.vscodeignore web-tree-sitter; python; icon 2021-05-12 10:53:18 +01:00
.yarnrc Skeleton 2021-02-14 15:23:21 +00:00
CHANGELOG.md Rename to cursorless; add debug cursorless.command 2021-04-09 12:40:21 +01:00
LICENSE Add license 2021-05-04 12:07:25 +01:00
package.json Change hat size adjustment setting 2021-07-09 15:13:52 +01:00
README.md Svg Hats (#66) 2021-07-05 18:19:59 +01:00
tsconfig.json First working version 2021-02-16 16:45:00 +00:00
vsc-extension-quickstart.md Skeleton 2021-02-14 15:23:21 +00:00
yarn.lock Use esbuild for bundling 2021-04-22 13:45:07 +01:00

Cursorless

Allows cursorless editing and rapid navigation by decorating a single letter from each token.

Features

swap main-demo demo-2 demo-3

Many other marks / transformations / actions exist; documentation to follow.

Installation

Currently depends on Talon, though a keyboard version is planned.

See cursorless-talon for installation instructions.

Extension Settings

This extension contributes the following settings:

  • cursorless.showOnStart: Whether decorations should appear on workspace start
  • cursorless.hatScaleFactor: How much to scale the hats by
  • cursorless.hatVerticalOffset: How much to vertically shift the hats as a percentage of font size; positive is up

Known Issues

  • Cursorless calculates the position of the hats based on the characteristics of your font. If you find that the hats are off center you can try running this command: cursorless.recomputeDecorationStyles

Release Notes

0.15.0

  • Support "character" subtoken transformation (eg "take fine third character") (thanks @brxck!)

0.14.0

  • Support insertLineBefore and insertLineAfter actions ("drink" and "pour")

0.13.0

  • Support "file" selection type to refer to the entire file
  • Improve error messages

0.12.0

  • Add subword support
  • [python] Fix parameter transformation
  • Show exceptions to user
  • Properly support using "token" to select only token, eg "take funk gust and token fine" to prevent "fine" from being inferred to have the function transformation.
  • Support "bring" action to use another target from elsewhere in the document

0.11.0

  • Simplify token regex

0.10.0

  • Add Python support

0.9.0

  • Support "string" and "comment" scope types

0.8.0

  • Support "fold", "unfold", and "swap" actions

0.7.0

  • Support "cut" action (default term in vscode-talon is "carve")

0.6.0

  • Support "copy" action

0.5.0

  • Support "that" to refer to previous target
  • Support "extract" action to extract to constant

0.4.0

  • Support pair key and value nodes
  • Support selecting all siblings

0.3.0

  • Support wrap

0.2.0

  • Add support for arguments and pairs