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
Haskell Workshop: Pimp My Emacs
Search
Kat Chuang
January 29, 2014
Technology
0
740
Haskell Workshop: Pimp My Emacs
An introduction to emacs customizations, presented at The Haskell Workshop
Kat Chuang
January 29, 2014
Tweet
Share
More Decks by Kat Chuang
See All by Kat Chuang
Web Development World
katychuang
0
640
Data Processing with Dr Kat
katychuang
0
74
One, two, buckle my shoe
katychuang
0
79
Raw Pixels, visualizing nutrition facts from Jawbone Up API
katychuang
0
210
Haskell Workshop: Basic Haskell
katychuang
1
420
DjangoCon 2013 - Rapid prototyping and communicating with clients
katychuang
0
86
[Dissertation] "Understanding user interaction patterns in health social media"
katychuang
0
120
NYC Pyladies Talk 5.2.2013
katychuang
0
190
Flash Interface from 2005
katychuang
0
54
Other Decks in Technology
See All in Technology
Kiroと学ぶコンテキストエンジニアリング
oikon48
4
1.6k
『FailNet~やらかし共有SNS~』エレベーターピッチ
yokomachi
1
190
Product Management Conference -AI時代に進化するPdM-
kojima111
0
270
DuckDB-Wasmを使って ブラウザ上でRDBMSを動かす
hacusk
1
130
「守る」から「進化させる」セキュリティへ ~AWS re:Inforce 2025参加報告~ / AWS re:Inforce 2025 Participation Report
yuj1osm
1
180
モバイルアプリ研修
recruitengineers
PRO
5
1.6k
「魔法少女まどか☆マギカ Magia Exedra」での負荷試験の実践と学び
gree_tech
PRO
0
420
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
30k
努力家なスクラムマスターが陥る「傍観者」という罠と乗り越えた先に信頼があった話 / 20250830 Takahiro Sasaki
shift_evolve
PRO
2
130
シークレット管理だけじゃない!HashiCorp Vault でデータ暗号化をしよう / Beyond Secret Management! Let's Encrypt Data with HashiCorp Vault
nnstt1
2
130
カミナシ社の『ID管理基盤』製品内製 - その意思決定背景と2年間の進化 #AWSUnicornDay / Kaminashi ID - The Big Whys
kaminashi
3
710
つくって納得、つかって実感! 大規模言語モデルことはじめ
recruitengineers
PRO
32
12k
Featured
See All Featured
Building a Scalable Design System with Sketch
lauravandoore
462
33k
Typedesign – Prime Four
hannesfritz
42
2.8k
Rails Girls Zürich Keynote
gr2m
95
14k
Mobile First: as difficult as doing things right
swwweet
224
9.9k
Fireside Chat
paigeccino
39
3.6k
Why You Should Never Use an ORM
jnunemaker
PRO
59
9.5k
Git: the NoSQL Database
bkeepers
PRO
431
66k
Practical Orchestrator
shlominoach
190
11k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
18
1.1k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
36
2.5k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
We Have a Design System, Now What?
morganepeng
53
7.8k
Transcript
Pimp my Emacs Presented by @katychuang
#haskellworkshop @HaskellWorkshop Haskell-Workshop http://haskell-workshop.github.com
Started from the bottom now we’re here. Shopping for a
new editor this year. Much sublime, wow, very design! No integration? I resign. Emacs is divine? Let’s make shine! Quick Rap
Haskell Workshop Today’s Topics: ➢ Why emacs? ➢ Intro ➢
Installation & set up ➢ Keyboard Bindings ➢ Customizations ➢ Installing modes
Why emacs?
Why emacs? ➢ Indent with ease ➢ Multiple buffers ➢
Smooth workflow ➢ Customization encouraged
None
You are not alone. Where to go for help.. see
next slide
http://www.emacswiki.org http://www.emacswiki.org/emacs/EmacsMailingLists http://emacsrocks.com/ Emacs Conference http://www.youtube.com/playlist? list=PL4th0AZixyRE9bb8OevAb7I8RuaWJQWnO Community Resources #emacs
on irc @EmacsRocks @EmacsConf
Change your key bindings
Control Key C- Meta Key M-
Common meta key bindings You can customize however you want
http://emacsformacosx.com/ Recommended
Installing with brew $ brew install emacs $ ln -s
/usr/local/Cellar/emacs/24.3/ Emacs.app/Applications $ emacs you might have older version, $ sudo rm /usr/bin/emacs $ sudo rm -rf /usr/share/emacs http://wikemacs.org/index.php/Installing_Emacs_on_OS_X (Text version, you might not like it.)
How to read key bindings C-x C-f Ctrl + x
hold control f C-b b Ctrl + b release b
Accessing Tutorial C-h t release
C-x C-f open file C-x C-s save C-x C-w cut
C-y paste C-/ undo C-x C-c quit editor Editing Commands C-b move 1 letter back M-b move 1 word back ← back → forward next prev C-a move 1 sentence ← a beginning → end C-v move 1 page M-< move to first letter M-> move to last letter
Buffer commands C-x 2 Split vertical C-x b Switch buffer
C-x 0 Close this C-x 1 Close all others
Demo 1 CSS Editing https://github.com/ShingoFukuyama/helm-css-scss
More demos i.e. multiple cursors http://emacsrocks. com/e13.html You can view
tutorials here: http://emacsrocks. com/
Cool Modes Org Mode http://www.emacswiki.org/emacs/OrgMode Artist Mode http://www.emacswiki.org/emacs/ArtistMode RainorShine http://www.emacswiki.org/emacs/RainOrShine
Evil Mode https://gitorious.org/evil/pages/Home Magit Mode https://github.com/magit/magit
Programming Modes Helm Mode https://github.com/emacs-helm/helm Rainbow http://elpa.gnu.org/packages/rainbow-mode.html Haskell Mode https://github.com/haskell/haskell-mode
GHC Mode http://www.mew.org/~kazu/proj/ghc-mod/en/
How to install modes 1. Install Melpa 2. M-x list-packages
3. i (to select) 4. x (to execute) 5. Start the mode with M-x <package name>
Credits Comics http://xkcd.com/378/ http://unix.stackexchange.com/a/988 Photos http://artspell.deviantart.com/art/Sir-Doge-416252702 http://imgur.com/gallery/e3D7oH9 http://mensweardog.tumblr.com/ Presenter Kat
Chuang @katychuang