Emacs tips and tricks
Forum rules
Share your brain ;)
Share your brain ;)
Re: Emacs tips and tricks
I am not tinkering with my configuration much these days (what a liar), but one package that has made things simpler and better for me is this: https://github.com/oantolin/orderless
Without pulling in heavy dependencies such as Helm or Ivy, this is the perfect way to move around into my project and files. Combine it with selectrum and consult, or the built-in icomplete if you rock that hard, and you're good to go.
Without pulling in heavy dependencies such as Helm or Ivy, this is the perfect way to move around into my project and files. Combine it with selectrum and consult, or the built-in icomplete if you rock that hard, and you're good to go.
Re: Emacs tips and tricks
This has been really useful lately: https://github.com/bdarcus/bibtex-actions
Re: Emacs tips and tricks
https://www.manueluberti.eu/emacs/2021/ ... -vertical/
No need for external packages now, which in my opinion is always a plus.
No need for external packages now, which in my opinion is always a plus.
Re: Emacs tips and tricks
2296 lines of code in my Emacs setup, 1696 if you leave blanks and comments out. (I used scc to get the totals, if you are wondering how I got them)
Long gone are the days where I was hitting 5000 and beyond and feeling like the Emacs mastermind.
Long gone are the days where I was hitting 5000 and beyond and feeling like the Emacs mastermind.
Re: Emacs tips and tricks
Code: Select all
manuel@hathaway:~/.emacs.d$ scc
───────────────────────────────────────────────────────────────────────────────
Language Files Lines Blanks Comments Code Complexity
───────────────────────────────────────────────────────────────────────────────
Emacs Lisp 6 1464 339 198 927 5
Makefile 1 50 17 8 25 0
gitignore 1 18 2 3 13 0
───────────────────────────────────────────────────────────────────────────────
Total 8 1532 358 209 965 5
───────────────────────────────────────────────────────────────────────────────
Estimated Cost to Develop (organic) $26,022
Estimated Schedule Effort (organic) 3.437531 months
Estimated People Required (organic) 0.672540
───────────────────────────────────────────────────────────────────────────────
Processed 42030 bytes, 0.042 megabytes (SI)
───────────────────────────────────────────────────────────────────────────────
Re: Emacs tips and tricks
I decided to stop depending on Rust tools: https://www.manueluberti.eu/emacs/2021/ ... -git-grep/
grep and git grep are enough.
grep and git grep are enough.
Re: Emacs tips and tricks
^ as someone who still logs into random ubuntu boxes, niceties and special binaries are not really, for me, required learning :D
I did compile curl (for fancy DNS stuff) the other day... managed to half pooch the installed version, so there's that :D
I did compile curl (for fancy DNS stuff) the other day... managed to half pooch the installed version, so there's that :D
Re: Emacs tips and tricks
Patching Emacs feels good: https://www.manueluberti.eu/emacs/2022/ ... e-buffers/
Re: Emacs tips and tricks
I actually decided that in the whole ripgrep vs ugrep debate, I prefer ugrep, so I added support for it into Emacs: https://manueluberti.eu/emacs/2022/08/07/emacs-ugrep/GekkoP wrote: ↑Tue Sep 14, 2021 10:54 amI decided to stop depending on Rust tools: https://www.manueluberti.eu/emacs/2021/ ... -git-grep/
grep and git grep are enough.
[And to make a geek proud, you'll find me in the ugrep README as well.]