Willem Hoek  »  Using Emacs

Jan 05, 2020

I use Emacs mostly in Org mode [3] 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
C-x r-l  (lowercase "L")    Bookmark list

F3      Start recording macro
F4      Stop recording / Play

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

Org mode specific 

C-c .   Insert Date-time stamp


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/"))
(package-initialize)


(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.

References

[1] GNU Emacs
https://www.gnu.org/software/emacs/

[2] Using Emacs Series
Videos and posts by Mike Zamansky.
https://cestlaz.github.io/stories/emacs/ Accessed 2020-01-05

[3] Org Mode
https://orgmode.org/


sample

The Great Wave off Kanagawa, Hokusai, 1829 - 1833

Edit