evil-textobj-tree-sitter
avy
evil-textobj-tree-sitter | avy | |
---|---|---|
12 | 30 | |
184 | 1,667 | |
- | - | |
6.2 | 1.8 | |
15 days ago | 5 months ago | |
Scheme | Emacs Lisp | |
Apache License 2.0 | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
evil-textobj-tree-sitter
-
Let's write an Emacs treesitter major mode
You may be aware but the author of TFA also has a tree-sitter based minor mode called Combobulate for exactly that:
https://www.masteringemacs.org/article/combobulate-structure...
There is also evil-textobj-tree-sitter for tree-sitter based text objects for Evil mode:
https://github.com/meain/evil-textobj-tree-sitter
-
How to Get Started with Tree-Sitter
here are the structural editing tools, and they're great - https://github.com/meain/evil-textobj-tree-sitter
- evil-textobj-tree-sitter: Tree-sitter powered textobjects for evil mode in Emacs
-
Tree-sitter starter guide
evil-mode users already have options, and there seems to be a new package with general applicability too.
-
Best packages to use with evil mode .
evil-textobj-tree-sitter: provides new textobjects to evil-mode, thanks to treesitter
-
Are we living in the golden age of Emacs?
I have a package which lets you target language level constructs like functions, classes, conditionals etc for text objects using tree-sitter. This is specific to evil mode as of now, though making it work outside evil would not be that big an effort. https://github.com/meain/evil-textobj-tree-sitter
-
Tree Sitter and the Complications of Parsing Languages
Other than combobulate, these packages also use tree-sitter for changing code (not just highlighting): * https://codeberg.org/FelipeLema/tree-sitter-indent.el * https://github.com/meain/evil-textobj-tree-sitter
-
Using tree-sitter to create better snippets
this might interest you: https://github.com/meain/evil-textobj-tree-sitter
-
The State of Structural Editing in Emacs?
not lsp, treesitter is the way to go. lsp does not provide AST ATM. There is already https://github.com/meain/evil-textobj-tree-sitter . As a side note, smartparens work on non-lispy code. I am very happy with using in combination with evil-cleverparens.
avy
-
Is there an Obsidian plugin similar to AceJump for IntelliJ IDEs or avy for Emacs?
What I'm looking for is something like AceJump for IntelliJ IDEs or avy for Emacs. These tools let you navigate to some part of the visible text with just a few keystrokes. Here's the behavior I would like in Obsidian, copied from AceJump's page:
-
Vim-like “jump” cursor for Mac OS Window Management
For my emacs friends, here's a wonderful package that provides the same functionality: https://github.com/abo-abo/avy
And, if you're interested in some historical context for this "type characters and jump to point" functionality, the Canon Cat: https://youtu.be/o_TlE_U_X3c
-
Kill until next char preceding space | Uppercase | underscore
Personally I've learned to do things the "Emacs way" and got used to its killing behavior. For multi-line stuff I would mark the region and then use navigation commands to get the point where I want it. For more complex scenarios I use either C-s/C-r or just use avy to get the point where it needs to be. For single line stuff I think M-z works well. Maybe this package could be useful to you as well? Just some ideas, I think there are actually many options here (including going over to evil ;) and it depends on your preferences and needs.
-
Today Is International Mouse Arm Day. Do you use the mouse in Emacs?
I make extensive use of avy for these kinds of situations.
-
org-metadown in regular text!
Avy (avy-move-line) can do it very nicely and interactively for you, see this video.
-
[Spacemacs] Is bidirectional easy motion possible in spacemacs?
It sounds like avy is what you're looking for?
-
Navigate to positions within long words
Perhaps avy. I would use the commandavy-goto-char-2 then type N a and the corresponding jump key (if it appears). avy-goto-subword-1 is a bit more niche but might also work well.
-
Leap.nvim: Neovim’s Answer to the Mouse
I'm jumping around on the screen using -> https://github.com/abo-abo/avy#avy-goto-char
This UX does not break my flow (it doesn't require focus/conscious thought):
1. Press + while looking at the place I want to jump to
- Nested/conditional keybindings to navigate in text
-
How to combine evil operator keys + isearch?
I installed a package called avy which can do anything I have no issues whatsoever. If you're interested here is my very simple config. There are several options, I like the one with the timer.
What are some alternatives?
doom-emacs - An Emacs framework for the stubborn martian hacker [Moved to: https://github.com/doomemacs/doomemacs]
evil-snipe - 2-char searching ala vim-sneak & vim-seek, for evil-mode
combobulate - Structured Editing and Navigation in Emacs with Tree-Sitter
evil-guide - Draft of a guide for using emacs with evil
lispy - Short and sweet LISP editing
meow - Yet another modal editing on Emacs / 猫态编辑
nvim-gps - Simple statusline component that shows what scope you are working inside
leap.nvim - Neovim's answer to the mouse 🦘
things.el - Extensions to thingatpt.el
consult - :mag: consult.el - Consulting completing-read
gopcaml-mode
vim-easymotion - Vim motions on speed!