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
VimScript is pretty good: VIm London Jan 2014
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Jack Franklin
January 28, 2014
Technology
130
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
VimScript is pretty good: VIm London Jan 2014
A talk about how learning VimScript has really improved my Vim usage.
Jack Franklin
January 28, 2014
More Decks by Jack Franklin
See All by Jack Franklin
Advanced React Meetup: Testing JavaScript
jackfranklin
1
290
Components on the Web: Frontend NE
jackfranklin
1
850
ReactiveConf: Lessons Migrating Complex Software
jackfranklin
0
540
Front Trends: Migrating complex software
jackfranklin
1
870
Migrating from Angular to React: Manc React
jackfranklin
1
230
Half Stack Fest: Webpack
jackfranklin
4
610
FullStackFest: Elm for JS Developers
jackfranklin
1
280
Codelicious: Intro to ES2015
jackfranklin
0
470
PolyConf: Elm for JS Developers
jackfranklin
0
310
Other Decks in Technology
See All in Technology
アプリをもっと"iOSアプリっぽく"する小さな工夫 / Small Touches That Make Your App Feel More Like an iOS App
matsuji
2
940
Cloudflare Workers 向けアプリを C# で構築する ~WASM Native AOT への道~
nenonaninu
0
120
SREは、MCPとAutopilotをこう使え!
kazumax55
3
860
OpenTelemetry eBPF Instrumentationの舞台裏 / Behind the Scenes of OpenTelemetry eBPF Instrumentation
ymotongpoo
4
1.3k
「守り」で活用するオンデバイスLLM 〜写ってはいけないを総力戦で防ぐ〜 / iOSDC Japan 2026
nakamuuu
0
170
顧客に向き合う開発組織へ。リアーキテクチャとフィーチャーチーム化で挑む組織改革
safie
0
2k
積み重なった技術負債への挑戦 〜初手としての全社ゴト化〜
techtekt
PRO
0
1.3k
aws-iot-platform-architecture-use-cases.pdf
ma2shita
0
260
10Xに技術的負債をもたらした「2つの境界の歪み」その構造と解消への営み
10xinc
0
2k
Reactの設計論
uhyo
24
13k
LTのテーマ どうきめてる?〜5つの型と私のやり方〜
yama3133
1
110
銀行勘定系システムにおける開発プロセス刷新×AIによる環境モダナイゼーション / Development Process Transformation and AI-Driven Environment Modernization
muit
1
2.3k
Featured
See All Featured
How to build a perfect <img>
jonoalderson
1
6k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
600
How to Ace a Technical Interview
jacobian
281
24k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
50
10k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
67
58k
Making Projects Easy
brettharned
120
6.8k
Building Adaptive Systems
keathley
44
3.2k
Navigating Weather and Climate Data
rabernat
0
520
ラッコキーワード サービス紹介資料
rakko
1
4.9M
Transcript
VimScript is pretty good. @Jack_Franklin
I suck at VimScript.
And I’m going to show you some rubbish VimScript
This isn’t a presentation on learning VimScript.
But why you should learn it.
None
None
And this is why we all love Vim.
We’ve all put mappings in our .vimrc
And VimScript is the natural progression
And VimScript is the natural progression
None
None
None
Each of these saves me time, but more importantly, keystrokes
Plus VimScript isn’t that bad* ! *mostly
function! TwitterLink() let searchRegex = '@\([^ .]*\)' let searchReplace =
'[&](http:// twitter.com/\1)' ! let oldLine = getline('.') let newLine = substitute(oldLine, searchRegex, searchReplace, ‘g') ! call setline('.', newLine) endfunction
You might not want to write plugins
But any arbitrary VimScript can go inside a .vimrc…
Something I do all the time is want to execute
a file
So I wrote some VimScript to do it all for
me
None
map <leader>e :call ExecuteFile()<CR>
None
xkcd.com/1319
github.com/jackfranklin/dotfiles ! github.com/jackfranklin/vim-markdown- writer ! github.com/r00k/dotfiles ! learnvimscriptthehardway.stevelosh.com/
tilvim.com github.com/jackfranklin/tilvim
@Jack_Franklin ! (PS: https://thenetawards.com/) ! (sorry)