Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Learn Yourself Emacs For Great Good workshop sl...
Search
αλεx π
April 01, 2014
3
320
Learn Yourself Emacs For Great Good workshop slides
Entry-level Emacs setup/configuration/plugin selection workshop slides.
αλεx π
April 01, 2014
Tweet
Share
More Decks by αλεx π
See All by αλεx π
Scalable Time Series With Cassandra
ifesdjeen
1
350
Bayesian Inference is known to make machines biased
ifesdjeen
2
360
Cassandra for Data Analytics Backends
ifesdjeen
7
410
Stream Processing and Functional Programming
ifesdjeen
1
720
PolyConf 2015 - Rocking the Time Series boat with C, Haskell and ClojureScript
ifesdjeen
0
450
Clojure - A Sweetspot for Analytics
ifesdjeen
8
2k
Going Off Heap
ifesdjeen
3
1.9k
Always be learning
ifesdjeen
1
140
What Reading 5 Papers can yield for your Business
ifesdjeen
0
310
Featured
See All Featured
4 Signs Your Business is Dying
shpigford
182
22k
How STYLIGHT went responsive
nonsquared
98
5.3k
The Cult of Friendly URLs
andyhume
78
6.2k
Side Projects
sachag
452
42k
Thoughts on Productivity
jonyablonski
69
4.5k
How to train your dragon (web standard)
notwaldorf
90
5.8k
GraphQLとの向き合い方2022年版
quramy
44
13k
Fireside Chat
paigeccino
34
3.2k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
45
2.3k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Adopting Sorbet at Scale
ufuk
74
9.2k
Unsuck your backbone
ammeep
669
57k
Transcript
Emacs
emacs-live
https://github.com/overtone/emacs-live
How to exit?
C-x C-c
Cursor movement
cursor movement C-f | forward one character C-b | backward
one character C-n | forward one line C-p | backward one line
cursor movement C-a | beginning of line C-e | end
of line ! Shift-Meta-> | end of file Shift-Meta-< | beginning of file
cursor movement C-a | beginning of line C-e | end
of line ! Shift-Meta-> | end of file Shift-Meta-< | beginning of file ! C-SPACE | set/unset mark (selection)
cursor movement C-r | isearch-backward-regexp C-s | isearch-forward-regexp
Editing
editing C-w | kill (cut) M-w | copy C-y |
paste C-k | kill until the end of the line
Finding out stuff
finding out stuff emacs -nw --debug-init ! describe-key describe-function
File navigation
file navigation C-x C-f | open file C-x C-s |
save file C-x C-b | list buffers C-x b | switch to buffer
file navigation C-x 2 | split vertically C-x 3 |
split horizontally
buffer-move mode
buffer-move Move buffers up/down/left right
buffer-move C-c w r | rotate-windows C-c w p |
buf-move-up C-c w n | buf-move-down C-c w b | buf-move-left C-c w f | buf-move-right
winner-mode Undo window changes: C-c b | winner-undo
ace-jump C-c SPC | ace-jump-word-mode C-u C-c SPC | ace-jump-char-mode
C-u C-u C-c SPC | ace-jump-line- mode
yasnippet
yasnippet YASnippet is a template system for Emacs. It allows
you to type an abbreviation and automatically expand it into function templates. ! Saves you some typing by providing expandable shortcuts for common functions / patterns. !
undo-tree-visualise
expand-region
expand-region (global-unset-key (kbd "C-c C-w"))! (global-set-key (kbd "C-c C-w") 'er/expand-region)!
! Expand region increases the selected region by semantic units. Just keep pressing the key until it selects what you want. !
multiple-cursors
multiple-cursors Multiple cursors for Emacs. ! http://emacsrocks.com/e13.html
textmate-mode
textmate-mode Basic emulation of Textmate features textmate-goto-file textmate-goto-symbol goto-line textmate-shift-left
textmate-shift-right comment-or-uncomment-region-or- line
clojure
clojure Cider function signature lookup cider-jack-in C-c C-k | compile
C-c M-n | load current ns C-c C-. | run tests in file M-. | jump to def align-cljlet
clojure C-c C-p | eval the form preceding point C-c
C-b | interrupt C-c M-m | macroexpand-all C-c C-n | Eval the ns form
haskell
haskell C-c C-c | compile
magit
magit M-x magit-status s | stage u | unstage 1/2/3/r
| show more details c c | commit
magit M-x magit-log ENTER | view commit ! M-x magit-blame-mode
ENTER | view commit ! M-x magit-pull M-x magit-push M-x magit-show
deft
deft Deft is an Emacs mode for quickly browsing, filtering,
and editing directories of plain text notes.
org-mode
org-mode C-on | add note C-c . | add date
C-u C-c . | add time and date ! C-c C-c | add tag C-c C-t | Rotate the TODO state C-c a t | org-todo-list
defining your own key bindings
adding a new pack
@ifesdjeen