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
Vim Rocks!
Search
Kent Chen
November 14, 2012
Programming
20
13k
Vim Rocks!
Vim Rocks!
About useful .vimrc settings and vim scripts/plugins share.
Kent Chen
November 14, 2012
Tweet
Share
More Decks by Kent Chen
See All by Kent Chen
Working Remotely (via SSH) Rocks!
chenkaie
1
9.9k
TMUX rocks!
chenkaie
2
9.9k
GDB Rocks!
chenkaie
1
350
Comet in VIVOTEK Network Camera
chenkaie
0
11k
Other Decks in Programming
See All in Programming
Breaking Up with Big ViewModels — Without Breaking Your Architecture (droidcon Berlin 2025)
steliosf
PRO
1
290
Model Pollution
hschwentner
1
180
CSC305 Lecture 01
javiergs
PRO
1
380
XP, Testing and ninja testing ZOZ5
m_seki
2
220
Your Perfect Project Setup for Angular @BASTA! 2025 in Mainz
manfredsteyer
PRO
0
110
クラシルを支える技術と組織
rakutek
0
190
Current States of Java Web Frameworks at JCConf 2025
kishida
0
580
ABEMAモバイルアプリが Kotlin Multiplatformと歩んだ5年 ─ 導入と運用、成功と課題 / iOSDC 2025
akkyie
0
310
GitHub Actions × AWS OIDC連携の仕組みと経緯を理解する
ota1022
0
230
CI_CD「健康診断」のススメ。現場でのボトルネック特定から、健康診断を通じた組織的な改善手法
teamlab
PRO
0
160
Web Components で実現する Hotwire とフロントエンドフレームワークの橋渡し / Bridging with Web Components
da1chi
3
1.5k
私はどうやって技術力を上げたのか
yusukebe
43
17k
Featured
See All Featured
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
114
20k
Code Review Best Practice
trishagee
72
19k
Site-Speed That Sticks
csswizardry
11
870
Thoughts on Productivity
jonyablonski
70
4.9k
The Cult of Friendly URLs
andyhume
79
6.6k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
30
2.9k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
The Power of CSS Pseudo Elements
geoffreycrofte
79
6k
Mobile First: as difficult as doing things right
swwweet
224
9.9k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
The Pragmatic Product Professional
lauravandoore
36
6.9k
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