Emacs tips and tricks

Forum rules
Share your brain ;)
User avatar
GekkoP
Emacs Sancho Panza
Posts: 5877
Joined: Tue Sep 03, 2013 7:05 am

Re: Emacs tips and tricks

Unread post by GekkoP » Wed Mar 31, 2021 12:27 pm

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.

User avatar
GekkoP
Emacs Sancho Panza
Posts: 5877
Joined: Tue Sep 03, 2013 7:05 am

Re: Emacs tips and tricks

Unread post by GekkoP » Thu Apr 08, 2021 2:40 pm


User avatar
GekkoP
Emacs Sancho Panza
Posts: 5877
Joined: Tue Sep 03, 2013 7:05 am

Re: Emacs tips and tricks

Unread post by GekkoP » Thu May 13, 2021 9:30 am

This has been really useful lately: https://github.com/bdarcus/bibtex-actions

User avatar
GekkoP
Emacs Sancho Panza
Posts: 5877
Joined: Tue Sep 03, 2013 7:05 am

Re: Emacs tips and tricks

Unread post by GekkoP » Thu Jun 24, 2021 9:45 am

https://www.manueluberti.eu/emacs/2021/ ... -vertical/

No need for external packages now, which in my opinion is always a plus.

User avatar
GekkoP
Emacs Sancho Panza
Posts: 5877
Joined: Tue Sep 03, 2013 7:05 am

Re: Emacs tips and tricks

Unread post by GekkoP » Wed Jul 21, 2021 11:12 am

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.

User avatar
GekkoP
Emacs Sancho Panza
Posts: 5877
Joined: Tue Sep 03, 2013 7:05 am

Re: Emacs tips and tricks

Unread post by GekkoP » Thu Sep 09, 2021 7:44 am

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)
───────────────────────────────────────────────────────────────────────────────
Damn, this is getting expensive, but it looks like little more than half of me is enough to work on it at least.

User avatar
GekkoP
Emacs Sancho Panza
Posts: 5877
Joined: Tue Sep 03, 2013 7:05 am

Re: Emacs tips and tricks

Unread post by GekkoP » Tue Sep 14, 2021 10:54 am

I decided to stop depending on Rust tools: https://www.manueluberti.eu/emacs/2021/ ... -git-grep/

grep and git grep are enough.

User avatar
wuxmedia
Grasshopper
Posts: 6445
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: Emacs tips and tricks

Unread post by wuxmedia » Thu Sep 16, 2021 7:05 pm

^ 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
"Seek, and Ye shall find"
"Github | Chooons | Site"

User avatar
GekkoP
Emacs Sancho Panza
Posts: 5877
Joined: Tue Sep 03, 2013 7:05 am

Re: Emacs tips and tricks

Unread post by GekkoP » Sun Feb 27, 2022 9:12 am


User avatar
GekkoP
Emacs Sancho Panza
Posts: 5877
Joined: Tue Sep 03, 2013 7:05 am

Re: Emacs tips and tricks

Unread post by GekkoP » Sun Aug 07, 2022 6:07 pm

GekkoP wrote:
Tue Sep 14, 2021 10:54 am
I decided to stop depending on Rust tools: https://www.manueluberti.eu/emacs/2021/ ... -git-grep/

grep and git grep are enough.
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/

[And to make a geek proud, you'll find me in the ugrep README as well.]

Post Reply