0

Tweaking Emacs for Ruby Development

preview

cross-posted from: 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.

cross-posted from: 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.

0

Indexing Your Init File

preview

cross-posted from: 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.

…


cross-posted from: 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.

…


0

Can I close all buffers related to Sly in one command on #Emacs?

preview

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%’;

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%’;