Planet Emacs: Emacs News, Packages, Articles, Videos & more

1 readers
0 users here now

Emacs News, Packages, Articles, Videos, Events & more

This is a sister community of

  1. /c/emacs
  2. /c/orgmode
  3. /c/spacemacs
  4. /c/doomemacs

founded 3 years ago
1
1
submitted 1 year ago* (last edited 1 year ago) by johnhamelink@lemmy.ml to c/planetemacs@lemmy.ml
 
 

cross-posted from: https://lemmy.ml/post/1794013

I decided to write-up some tips on how I've tweaked my Emacs for Ruby development after starting to write Ruby again for the first time in some time. I hope it's useful - feedback very welcome.

My blog is also available as a Gemini Capsule, if that's your thing.

2
3
 
 

cross-posted from: https://lemmy.ml/post/956286

James Dyer has a useful short post on indexing his init.el file. His scheme is simple. His init.el is broken into sections each of which starts with:

;;
;; -> Section-name
;;

Then he used occur to generate the actual index. Rather than call occur each time with the need to provide the regex, he wrote a 4-line function that does it for him. He doesn’t say whether he bound it to a key sequence but that, of course, is trivial.

...

4
5
6
7
 
 

I want to close all buffers with has "sly" in their name. Can I do something like this:

CLOSE buffer WHERE buffer.name LIKE '%sly%';