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
440
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
300
Featured
See All Featured
How to Ace a Technical Interview
jacobian
276
23k
Testing 201, or: Great Expectations
jmmastey
38
7.1k
Building Applications with DynamoDB
mza
90
6.1k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Building a Scalable Design System with Sketch
lauravandoore
459
33k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.1k
A Philosophy of Restraint
colly
203
16k
Statistics for Hackers
jakevdp
796
220k
GitHub's CSS Performance
jonrohan
1030
460k
Done Done
chrislema
181
16k
The World Runs on Bad Software
bkeepers
PRO
65
11k
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