math-delimiters
emacs-config
math-delimiters | emacs-config | |
---|---|---|
6 | 20 | |
35 | 81 | |
- | - | |
2.7 | 9.2 | |
about 1 month ago | 1 day ago | |
Emacs Lisp | Emacs Lisp | |
GNU General Public License v3.0 only | 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.
math-delimiters
-
Emacs Advent Calendar 7: ordeless, embark 1.0 and some bric-a-brac
math-delimiters. Provides a nice command to insert LaTeX math delimiters and to toggle between inline and display versions of them.
-
[Emacs Git] Add :vc keyword to use-package
(use-package math-delimiters :vc (:url "https://github.com/oantolin/math-delimiters" :rev :newest))
-
How to quickly insert inline and block math LaTeX delimiters in org mode?
I use the math-delimiters package for this. It has a command you bind to $. Pressing it once inserts \(\) and leves point in the middle. Pressing it a second time changes those to \[\]. If you had an active region at the time, it will wrap that region in the delimiters. If you press $ after the closing delimiter it will switch to the other kind of delimiter and will take care of tucking punctuation in or out. I use it both in Org and LaTeX buffers.
-
What LaTeX setup do you use?
In terms of LaTeX entry, I make heavy use of CDLaTeX (config), math-delimiters, latex-change-env (expository blog post here), as well as aas (config) (as well as many macros, of course!). I also have a few interesting-ish functions that e.g. automatically insert dollars around single characters, so that writing long documents is more ergonomic; I've written about these things a little bit here (this also showcases the preview feature of AUCTeX, which I quite like), and here.
-
LaTeX Input for Impatient Scholars
One more excellent tool for text input is /u/oantolin's math-delimiters package; it can be used to toggle from inline to display math (which is a feature that I've found myself using quite often while editing).
-
Insert text at a point in buffer?
You may be interested in my math-delimiters package. It defines a command math-delimiters-insert which you should bind to $. That single command is all you need to insert math delimiters, toggle them between inline and display math, and wrap an active region in math delimiters. Thanks to a recent addition by u/slinchisl it even handles moving ending punctuation in and out of the delimiters when toggling between inline and display math.
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).
What are some alternatives?
magic-latex-buffer - Magical syntax highlighting for LaTeX-mode buffers
embark - Emacs Mini-Buffer Actions Rooted in Keymaps
change-env - Change to and from any LaTeX environment, including display math—with label support! // GitHub mirror
lispy - Short and sweet LISP editing
ink - LaTeX + Inkscape
consult-better-jumper - Integrate better-jumper into consult
auto-activating-snippets - Snippets for Emacs that expand as you type
prism.el - Disperse Lisp forms (and other languages) into a spectrum of colors by depth
LaTeX-auto-activating-snippets - Mirror of https://git.tecosaur.net/tec/LaTeX-auto-activating-snippets
consult - :mag: consult.el - Consulting completing-read
org-auctex - Better latex previews for org-mode
modalka - Modal editing your way