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
760
0
Share
Haskell Workshop: Pimp My Emacs
An introduction to emacs customizations, presented at The Haskell Workshop
Kat Chuang
January 29, 2014
More Decks by Kat Chuang
See All by Kat Chuang
Web Development World
katychuang
0
680
Data Processing with Dr Kat
katychuang
0
81
One, two, buckle my shoe
katychuang
0
92
Raw Pixels, visualizing nutrition facts from Jawbone Up API
katychuang
0
220
Haskell Workshop: Basic Haskell
katychuang
1
440
DjangoCon 2013 - Rapid prototyping and communicating with clients
katychuang
0
89
[Dissertation] "Understanding user interaction patterns in health social media"
katychuang
0
140
NYC Pyladies Talk 5.2.2013
katychuang
0
190
Flash Interface from 2005
katychuang
0
60
Other Decks in Technology
See All in Technology
契約書からの情報抽出を行うLLMのスループットを、バッチ処理を用いて最大40%改善した話
sansantech
PRO
3
340
ハーネスエンジニアリング×AI適応開発
aictokamiya
3
1.3k
MCPで決済に楽にする
mu7889yoon
0
170
脳が溶けた話 / Melted Brain
keisuke69
1
1.2k
Oracle Cloud Infrastructure(OCI):Onboarding Session(はじめてのOCI/Oracle Supportご利⽤ガイド)
oracle4engineer
PRO
2
17k
昔話で振り返るAWSの歩み ~S3誕生から20年、クラウドはどう進化したのか~
nrinetcom
PRO
0
130
Data Enabling Team立ち上げました
sansantech
PRO
0
170
開発チームとQAエンジニアの新しい協業モデル -年末調整開発チームで実践する【QAリード施策】-
kaomi_wombat
0
290
PostgreSQL 18のNOT ENFORCEDな制約とDEFERRABLEの関係
yahonda
1
190
Kubernetesの「隠れメモリ消費」によるNode共倒れと、Request適正化という処方箋
g0xu
0
170
OpenClaw初心者向けセミナー / OpenClaw Beginner Seminar
cmhiranofumio
0
170
ThetaOS - A Mythical Machine comes Alive
aslander
0
230
Featured
See All Featured
ラッコキーワード サービス紹介資料
rakko
1
2.8M
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
1
1.5k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
Bash Introduction
62gerente
615
210k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
800
Prompt Engineering for Job Search
mfonobong
0
240
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
400
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.2k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
250
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
780
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.9k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
940
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