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
350
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
4 Signs Your Business is Dying
shpigford
180
21k
Mobile First: as difficult as doing things right
swwweet
222
8.9k
Why Our Code Smells
bkeepers
PRO
334
57k
5 minutes of I Can Smell Your CMS
philhawksworth
202
19k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
43
6.6k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
9
680
Building Your Own Lightsaber
phodgson
102
6k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
25
1.8k
Building Better People: How to give real-time feedback that sticks.
wjessup
363
19k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
31
2.7k
Fontdeck: Realign not Redesign
paulrobertlloyd
81
5.2k
Building Adaptive Systems
keathley
38
2.2k
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