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
KATA
mclloyd
29
14k
BBQ
matthewcrist
85
9.3k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
329
21k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3k
Music & Morning Musume
bryan
46
6.2k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
250
21k
Mobile First: as difficult as doing things right
swwweet
222
8.9k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
Into the Great Unknown - MozCon
thekraken
33
1.5k
Automating Front-end Workflow
addyosmani
1366
200k
Building an army of robots
kneath
302
43k
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