diff options
| author | Xe Iaso <me@xeiaso.net> | 2023-11-09 21:20:38 -0500 |
|---|---|---|
| committer | Xe Iaso <me@xeiaso.net> | 2023-11-09 21:20:38 -0500 |
| commit | 78edfd198f62f1f37f91101c9c3cc91a301e9ff2 (patch) | |
| tree | 934311f556370314c3ca3a34e11b796b35bded9c | |
| parent | f83f2eccc4969744edc707522d3106be1bc69560 (diff) | |
| download | xesite-78edfd198f62f1f37f91101c9c3cc91a301e9ff2.tar.xz xesite-78edfd198f62f1f37f91101c9c3cc91a301e9ff2.zip | |
fuck
Signed-off-by: Xe Iaso <me@xeiaso.net>
| -rw-r--r-- | lume/src/notes/cursorless-alien-magic.mdx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lume/src/notes/cursorless-alien-magic.mdx b/lume/src/notes/cursorless-alien-magic.mdx index d4dbc97..8bb80b9 100644 --- a/lume/src/notes/cursorless-alien-magic.mdx +++ b/lume/src/notes/cursorless-alien-magic.mdx @@ -54,7 +54,7 @@ Take a good look at that picture again: The hats are color coded above individual letters. The position tells you the name and the color tells you how to disambiguate it. For example, That word `function` would be referred to as `green urge` because the hat is green over the letter u. If I wanted to delete that word for some reason or if I wanted to move it somewhere else, I could use `green urge` as the target for that action. -By itself, this gives you some pretty powerful actions and effectively lets you do spoken vim motions. But, that is only thinking in terms of simple actions that you can do with your editor. The real power of cursorless comes in from not only the idea of paths (such as `green urge past green bat` to select the `function fetchBlog` in that screenshot), but the fact that cursorless knows what the AST of the language is doing. This means that you can do things across the entire function, like deleting it or moving it somewhere else. As an example, here or the lambdas of this function visualized separately (with the "visualize lambdas" command): +By itself, this gives you some pretty powerful actions and effectively lets you do spoken vim motions. But, that is only thinking in terms of simple actions that you can do with your editor. The real power of cursorless comes in from not only the idea of paths (such as `green urge past green bat` to select the `function fetchBlog` in that screenshot), but the fact that cursorless knows what the AST of the language is doing. This means that you can do things across the entire function, like deleting it or moving it somewhere else. As an example, here are the lambdas of this function visualized separately (with the "visualize lambdas" command): <XeblogPicture path="blog/2023/cl-note/cursorless-lambda" /> |
