emacs

Emacs

Place to put tips and tricks regarding the emacs extensible editor.

Regex Searching

To collect strings matching a pattern in a text file:

C-u M-s o

Open in '-mode' automatically

To have emacs open in a specific mode for a specific file, you can prepend

;; -*- mode: Org; -*-

at the top of the file, in this case the file will open in 'org-mode'

Submitted by oplmaint on Thu, 09/02/2021 - 13:27