emacs-config
lispy
Our great sponsors
emacs-config | lispy | |
---|---|---|
20 | 21 | |
81 | 1,184 | |
- | - | |
9.2 | 0.0 | |
3 days ago | about 2 months 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.
emacs-config
-
Emacs Advent Calendar 7: ordeless, embark 1.0 and some bric-a-brac
block-undo. Have keyboard macros undo in a single step (something vi gets right!).
- embark-kmacro.el: Embark support for Hyperbole key series
-
Stripped-down Embark?
Installing that Embark key series implementation I mentioned above, to get extra actions for key series such binding them to a key or turning them into named keyboard macros.
-
How do guys 'namespace' calls to functions in the same 'namespace'?
Generally I recommend to maintain all personal code in the form of tiny but proper Elisp libraries. The config just glues everything together using use-package/setup/your-self-baked-macro. See also /u/oantolin's config which uses this style: https://github.com/oantolin/emacs-config. I cannot recommend this enough!
-
How many lines are in your .emacs file?
I have 3720 lines in my configuration. I try to write as much of it as tiny packages that I configure with use-package, just like I do for external packages. (I highly recommend this form of organization) Many of these are only useful to me, but some would be very reasonable to steal, like:
-
[ANN] unpackaged/imenu-eww-headings: Offer HTML headings in EWW buffers with Imenu
I have a slightly different take on this in my configuration, file shr-heading.el. In addition to imenu support I wanted next and previous heading navigation commands. It turns out you then get imenu support for free, since one way you can specify imenu entries is by providing a "goto previous imenu entry" function.
- Whose user init have you found helpful?
-
Dragging the region
I wrote a small drag-region package once. You mark a region, turn on drag-region-mode and then your normal motion commands will drag the region along until you turn the minor mode off again. I never tested it with evil.
-
ecomplete: the Emacs contact manager you were looking for
I'm very happy with ecomplete now, I mostly just need the completion and automatic storing of addresses I write to, as configured in your post. But occasionally I want to remove an address or manually add one, so I wrote a couple of commands to do that which I bind in embark-email-map to + (for adding) and \ (for removing). I don't think I've used these commands directly, always as Embark actions. When I want to add an email to ecomplete I usually have it written in some buffer already. And the command to remove an email I've only ever used from the ecomplete completion interface or from a message buffer after mistakenly having inserted it and realized that's an old address I'll never use again.
-
Need help integrating a package into consult
I keep some packages in a subdirectory my personal configuration and don't create a separate repo for them. (Also, not every file there is really a package that could be released: some don't follow proper naming conventions, or depend on details of my configuration).
lispy
- Sapling: A highly experimental vi-inspired editor where you edit code, not text
-
What are the small reasons to try Emacs?
Some killer features in Emacs, which I would recommend checking out, is imenu and movement by s-expression (functions like forward-sexp). These are built into Emacs and make navigating across or inside blocks of code very easy. I have also seen that lispy, which is usually used for Lisp code also supports Python. Again I can't speak to any specifics about how well these things work for Python devs.
- What packages do I need to for the best elisp editing environment?
-
Any way to make lispy format works automatically?
While writing other programming languages with LSP, it formats the buffer once I hit save. Is there any way to make https://github.com/abo-abo/lispy do some equivalent behaviour?
-
Let's share your top 3 packages that you can't live without.
Without any order magit, lispy and minions.
- paredit.vim – Paredit Mode: Structured Editing of Lisp S-Expressions
-
Emacs/Slime equivalent of some Cider features?
I don't know cider, but...I found lispy mode a revelation in making the easy, easier.
-
Why is it hard to get started with elisp in emacs
The level of interactivity in your emacs determines how easy trying emacs-lisp becomes. I suggest checking out https://github.com/abo-abo/lispy, it makes it easy to look up documentation (C-c 1 I believe) and evaluate S-expressions on the fly (keybinding is e). Also C-h f, C-h k, C-h v are always very helpful. Also check out helpful (the package), selectrum, marginalia, prescient, etc.
-
Tree Sitter and the Complications of Parsing Languages
Emacs seems to attract quite a lot of people who want structural code editing. We now have * paredit * smartparens * evil-cleverparens * lispy * symex * combobulate (more?)
-
The State of Structural Editing in Emacs?
Obviously, we have packages like Paredit and Lispy, recently we got SymEx, but these are all for the Lisp family of languages, where syntactic redundancy is very high because of the homoiconicity.
What are some alternatives?
embark - Emacs Mini-Buffer Actions Rooted in Keymaps
smartparens - Minor mode for Emacs that deals with parens pairs and tries to be smart about it.
consult-better-jumper - Integrate better-jumper into consult
parinfer-rust - A Rust port of parinfer.
prism.el - Disperse Lisp forms (and other languages) into a spectrum of colors by depth
symex.el - An intuitive way to edit Lisp symbolic expressions ("symexes") structurally in Emacs
consult - :mag: consult.el - Consulting completing-read
babashka - Native, fast starting Clojure interpreter for scripting
modalka - Modal editing your way
objed - Navigate and edit text objects with Emacs. Development on pause.
link-hint.el - Pentadactyl-like Link Hinting in Emacs with Avy
evil-textobj-tree-sitter - Tree-sitter powered textobjects for evil mode in Emacs