Willem Hoek  »  Using Emacs

Posted on January 2020

I use Emacs mostly in Org mode for note taking.

Key bindings

C-x RIGHT  switch buffer
C-w     Cut (same as Ctrl-X in Windows)
M-w     Copy (same as Ctrl-C in Windows)
C-y     Paste (same as Ctrl-V in Windows)
C-k     Cut until end of line

C-x c   Exit
C-x s   Save

C-x o	View Other window
C-x 0	Close THIS window
C-x 1 	Close all but THIS ONE
C-x 2   Split HOR
C-x 3 	Split VERT

C-x c-b     Buffer list, then d -> kill,  x -> execute)
C-x b       Buffer switch

M-%	Search / replace
M-s o	show all

Entries in ~/.emacs

(setq inhibit-startup-message t)
(setq-default indent-tabs-mode nil)
(setq inhibit-splash-screen t)
(setq ring-bell-function 'ignore)

;; ido mode
(setq ido-enable-flex-matching t)
(setq ido-everywhere t)
(ido-mode 1)

(defalias 'list-buffers 'ibuffer)   ;; make ibuffer default

(require 'package)
(add-to-list 'package-archives
             '("melpa-stable" . "https://stable.melpa.org/packages/"))

(global-set-key (kbd "C-;") 'switch-window) ;; same as C-x o
(global-set-key (kbd "C-c w") 'visual-line-mode)   ;; handy when working with text files

For great notes and excellent video series to get you going and productive with Emacs - see the website of Mike Zamansky. If he doesn’t cover it, you don’t need it .. for now.


GNU Emacs


The Great Wave off Kanagawa, Hokusai, 1829 - 1833