The code and data behind xeiaso.net
5
fork

Configure Feed

Select the types of activity you want to include in your feed.

fuck

Signed-off-by: Xe Iaso <me@xeiaso.net>

Xe Iaso 78edfd19 f83f2ecc

+1 -1
+1 -1
lume/src/notes/cursorless-alien-magic.mdx
··· 54 54 55 55 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. 56 56 57 - 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): 57 + 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): 58 58 59 59 <XeblogPicture path="blog/2023/cl-note/cursorless-lambda" /> 60 60