Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Vim Rocks!
Search
Kent Chen
November 14, 2012
Programming
15k
20
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Vim Rocks!
Vim Rocks!
About useful .vimrc settings and vim scripts/plugins share.
Kent Chen
November 14, 2012
More Decks by Kent Chen
See All by Kent Chen
Working Remotely (via SSH) Rocks!
chenkaie
1
11k
TMUX rocks!
chenkaie
2
11k
GDB Rocks!
chenkaie
1
450
Comet in VIVOTEK Network Camera
chenkaie
0
13k
Other Decks in Programming
See All in Programming
baseline으로 마이그레이션, 리팩토링 안전하게 맡기기
fornewid
1
960
Spec-driven Development with AI
simas
PRO
0
2.3k
現場と育てるRailsモデリング 〜Spreadsheetから始めたモデル設計〜
siroemk
2
1.2k
LLM 101
dalinaum
0
470
Seven New Principles of Software Engineering
yegor256
0
470
Kotlinize Is Not Just Converting to Kotlin
chigichan24
1
220
當我們開始不讀 Code - AI Agent 時代,Code Review 與 Clean Code 還剩下什麼?
jame2408
1
370
Goコンパイラを作ってGoをもっと理解する / Build a Go compiler to better understand Go
ikura_hamu
0
130
自作Discord音声botをLambda MicroVMsに移行した話 / Migrating My Discord Voice Bot to Lambda MicroVMs
akihisaikeda
1
300
LLM 101: Exploring LLMs, Starting with Tokens.
dalinaum
0
100
複数ドメインを一つのアプリに統合するFlutterの設計と運用_FlutterKaigi2026登壇資料(須永高弘)
takahirosunaga
0
170
Vue.jsで作る空間解析アプリとCapacitorプラグインのData Bridge
hal_spidernight
1
170
Featured
See All Featured
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
400
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
A designer walks into a library…
pauljervisheath
211
25k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.4k
Fireside Chat
paigeccino
43
4.1k
A Modern Web Designer's Workflow
chriscoyier
699
190k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
930
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.2k
Visualization
eitanlees
153
17k
It's Worth the Effort
3n
188
29k
Design in an AI World
tapps
1
390
Transcript
Vim Rocks! Kent Chen
Kent Chen (chenkaie)
[email protected]
http://chenkaie.blogspot.com @chenkaie on GitHub @chenkaie on
SlideShare @chenkaie on LinkedIn @chenkaie on Twitter
.X\ / Pronounce [vim]
-# c-& No basic training today
vq $' Neither bullshit, blah blah...
R~ Vim’s H@g+ Nor Vim clever tricks
l_E> Vim [vim] |y Sharing my real-world experience
_h LPda Discussion on Vim experience
U 1S Sharing your own experience
KR?P //192.168.59.78/Upload
8p7Z 5"PiI The Unwritten Rule
by aiink.com/c9s Vim is a REAL man's text editor
A7Cz ntVY Never ignore the basic training
c-& xx`T= Basic training is a MUST
But...
!PW RrW Today we’re focusing on...
Vimh LPda Advanced Vim knowledge sharing
ec-&Q N/KoJ Recommended Vim basic training materials
by 0xlab/Jserv
by vgod
by Ted Naleid
by Michael
. Cut to the chase
$HOME/.vimrc & Vim Plugins
M4 The very first trick
8p 7Zs} Again! The Unwritten Rule
e^& ,29[ To Cut or Not to Cut That Is
The Question
]B w REAL Men never touch arrow keys
]B )O H J K L REAL Men use HJKL
instead
ADM-3A Keyboard from Wikipedia
STOP using the arrow keys, Dude!
Vim Plugins or Vim Scripts
M4 Trick 1
Smart Home Key : Better Home key experience for editing,
especially for coding
M4 Trick 2
vim-powerline : The ultimate vim statusline utility Mode > VCS
> Filename fileformat < fileencoding < filetype < scrollpercent < lineinfo
M4 Trick 3
Tagbar : Display tags of the current file ordered by
scope
M4* Trick 4
clang complete : Use of Clang for completing C/C+ +
(IntelliSense-like autocomplete)
M4 Trick 5
neocomplcache: Ultimate auto-completion system for Vim
M4 Trick 6
vim-indent-object : Text Objects based on Indentation Level
M4 Trick 7
matchit.zip : extended % matching for HTML, LaTeX, and many
other languages
M4 Trick 8
The NERD Commenter : A plugin that allows for easy
commenting of code for many filetypes.
M4 Trick 9
snipMate : TextMate-style snippets for Vim
M4 Trick 10
matchit.zip : extended % matching for HTML, LaTeX, and many
other languages
M4 Trick 11
SuperTab : Do all your insert-mode completion with Tab.
M4 Trick 12
vcscommand.vim : CVS/SVN/SVK/git/hg/bzr integration plugin
M4 Trick 13
DirDiff.vim : A plugin to diff and merge two directories
recursively.
M4* Trick 14
Tabular : Vim script for text filtering and alignment
M4 Trick 15
Vundle : the plug-in manager for Vim
$HOME/.vimrc
M4 Trick 1
backup & swapfile
M4 Trick 2
ignorecase & smartcase
M4 Trick 3
: → ; & wildmode
M4* Trick 4
window operation
M4 Trick 5
tab operation
M4 Trick 6
WinMerge-style diff/merge operation
Reference Klayman’s .vimrc VIM Hacks (c9s) Perl Hacks on Vim
(c9s) VIM - Hack Your Editor! (yzlin) My .vimrc http://github.com/chenkaie/DotFiles/blob/master/.vimrc