objed
hydra
objed | hydra | |
---|---|---|
13 | 33 | |
329 | 1,805 | |
- | - | |
0.0 | 0.0 | |
almost 2 years ago | over 1 year ago | |
Emacs Lisp | Emacs Lisp | |
GNU General Public License v3.0 only | - |
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.
objed
-
Ask HN: Best way to experiment with text text editing?
To build on what others are saying about Emacs, if you start exploring the package ecosystem, you're going to see quite a lot of really interesting packages that are related to improving/experimenting with the UX of editing text. While I'm not endorsing anyone in particular, I think what this list does show is just how easy it is to do pretty much whatever you want in Emacs;
https://karthinks.com/software/avy-can-do-anything/
https://github.com/jyp/boon
https://github.com/clemera/objed
https://github.com/jmorag/kakoune.el
https://github.com/meow-edit/meow/
https://github.com/xahlee/xah-fly-keys
https://github.com/Kungsgeten/ryo-modal
https://github.com/emacsorphanage/god-mode
Emacs 29 also now has treesitter and LSP mode integration built-in, a compilation mode, a comint mode for REPLs, excellent file browsing packages (I use dired/dirvish), and a few other killer features.
Now, if what you truly dislike are "quirky editors", prepare yourself for a world of hurt because vanilla Emacs departs quite a bit from "modern" text editors. I struggled with this for a while, but eventually by buying into the paradigm, I now feel that when emacs try emulating "modern" IDE features like autocompletion, LSP, and DAP UI, I feel like it's a regression, not a progression. The point here is that you might have an "idea" of what good initial UX and lack of quirks would look like, but Emacs might change the way you think.
-
Why another modal editing package in Emacs?
This looks like an interesting and valiant attempt to build something that improves on everything that came before it, but I did find the documentation lacking in clarity.
I'm experimenting with this package right now instead:
https://github.com/clemera/objed
and will wire up the keyboard shortcuts using RYO package to roll my own modal state.
-
Let's share your top 3 packages that you can't live without.
3.objed:: https://github.com/clemera/objed.git
-
Effective and efficient text editing using Emacs (Alternative to Evil)
Wow. meow project looks similar to objed but with more features. These projects are inclined to modal editing but not being vim. Thank you for suggesting.
-
What is your favorite text-editing package / command?
I like the semi-modal editing package objed (short for textual object editor)
-
atp - an experimental package for fast and intuitive text editing
This reminds me of u/clemera's objed and of versor.
-
Moving from evil to mostly-emacs keybindings
There are other modal systems for emacs. You even can construct your own with https://github.com/mrkkrp/modalka and https://github.com/Kungsgeten/ryo-modal. I have done that, these packages were extremely easy to use. I had a lot of fun designing the modal regime of my dreams. There are https://github.com/LouisKottmann/emacs-baboon, https://github.com/xahlee/xah-fly-keys (and its various forks) and https://github.com/clemera/objed.
-
Minimally Invasion EVIL Mode?
I forgot about objed! Which is another very interesting project.
-
Guide-article: A Lisp REPL as my main shell
I didn't fully get what your interactive piping solution is, but I found that objed has a command oddly unrelated to the rest of its codebase: objed-ipipe, which does what I imagined Howard's piper to do but more intuitively to me. Though it seems you can write piper commands out in lisp so it's probably a superset feature-wise, I just never got started learning it.
-
What key binding scheme do you use to handle parentheses?
Well laid out, I fully agree. I think there is still a lot of potential to combine these two approaches in a better way, Emacs knows about many structures already but I think it could be more convenient to act on those. I tried my hand on this with objed which aims to make it easier to act/navigate on certain units (on demand or semi automatically).
hydra
-
Modeless Vim
You can also use Hydra for Emacs.[1] Once I discovered how to configure Hydra, I made it a habit to make one for every new major mode I need to use.
[1] https://github.com/abo-abo/hydra
- Devil Mode for Emacs
-
Alternative terminal compatible keybinding for C-S-<arrow up>
Have you considered a hydra?
-
Can you explain the power of emacs please?
An Emacs specific example: I'm working on a few go projects at the moment and go requires recompilation after changes. Step one was finding auto-recompilers for my projects (I'm using both air and reflex in various projects). Step two was realizing that I spent a lot of time switching to the buffer where the output is printed, so I wrote a little hydra menu to make that easier. Then I found myself having to restart those processes each time I restarted Emacs, so I went digging and found detached to manage the processes. Then I got tired of having to hunt for where the detached output was displayed in my frame so dug into sidebars to manage the windows more effectively.
-
Is it possible to make god-mode turn off automatically after a command?
I think the goal of the hydra package is to provide such functionality.
-
Non-evil users: what modifiers do you use on emacs?
I would I also encourage anyone who does not want to use modal editing to look into repeat-mode, hydras, and key-chord.
-
Newbie question: What is a good strategy for personal keybindings to avoid conflicts, including with packages installed later on?
The C-c prefix is designed for you, the user, to use for your nefarious deeds. Some things that may help with both binding and knowing what key does what would be a menu such as hydras or transient menus (which apparently are part of Emacs now so that's new).
-
Too many keybindings
For the very same reason, I started to use hydras: https://github.com/abo-abo/hydra - see my config at https://github.com/novoid/dot-emacs/blob/master/config.org
-
How usable is Emacs with its default keybindings?
Hydra lets you define mini-modes with limited scope.
-
A good config with leader keys
general.el also works well with hydra.el. Here's my hydra for window operations - it activates when I press ,w:
What are some alternatives?
aggressive-indent-mode - Emacs minor mode that keeps your code always indented. More reliable than electric-indent-mode.
emacs-which-key - Emacs package that displays available keybindings in popup
emacs.d - Personal Emacs configurations
vim-submode - Vim plugin: Create your own submodes
lispy - Short and sweet LISP editing
vim-hydra - Plugin similar to abo-abo's emacs hydra plugin
meow - Yet another modal editing on Emacs / 猫态编辑
smartparens - Minor mode for Emacs that deals with parens pairs and tries to be smart about it.
xah-fly-keys - the most efficient keybinding for emacs
projectile - Project Interaction Library for Emacs
ryo-modal - Roll your own modal mode
multiple-cursors.el - Multiple cursors for emacs.