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
Speed Design
sergeychernyshev
25
670
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
28
4.4k
Fireside Chat
paigeccino
34
3.1k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Raft: Consensus for Rubyists
vanstee
137
6.7k
Keith and Marios Guide to Fast Websites
keithpitt
410
22k
Done Done
chrislema
181
16k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5k
Designing for Performance
lara
604
68k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
28
900
A Tale of Four Properties
chriscoyier
157
23k
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