Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
VimScript is pretty good: VIm London Jan 2014
Search
Jack Franklin
January 28, 2014
Technology
0
100
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
Tweet
Share
More Decks by Jack Franklin
See All by Jack Franklin
Advanced React Meetup: Testing JavaScript
jackfranklin
1
240
Components on the Web: Frontend NE
jackfranklin
1
820
ReactiveConf: Lessons Migrating Complex Software
jackfranklin
0
490
Front Trends: Migrating complex software
jackfranklin
1
820
Migrating from Angular to React: Manc React
jackfranklin
1
190
Half Stack Fest: Webpack
jackfranklin
4
560
FullStackFest: Elm for JS Developers
jackfranklin
1
250
Codelicious: Intro to ES2015
jackfranklin
0
390
PolyConf: Elm for JS Developers
jackfranklin
0
280
Other Decks in Technology
See All in Technology
コンテキスト情報を活用し個社最適化されたAI Agentを実現する4つのポイント
kworkdev
PRO
1
1.5k
Amazon Quick Suite で始める手軽な AI エージェント
shimy
0
190
regrowth_tokyo_2025_securityagent
hiashisan
0
250
MLflowダイエット大作戦
lycorptech_jp
PRO
1
140
Databricks向けJupyter Kernelでデータサイエンティストの開発環境をAI-Readyにする / Data+AI World Tour Tokyo After Party
genda
1
550
2025年 開発生産「可能」性向上報告 サイロ解消からチームが能動性を獲得するまで/ 20251216 Naoki Takahashi
shift_evolve
PRO
1
200
Kiro を用いたペアプロのススメ
taikis
1
180
mairuでつくるクレデンシャルレス開発環境 / Credential-less development environment using Mailru
mirakui
5
540
Python 3.14 Overview
lycorptech_jp
PRO
1
120
会社紹介資料 / Sansan Company Profile
sansan33
PRO
11
390k
初めてのDatabricks AI/BI Genie
taka_aki
0
200
たまに起きる外部サービスの障害に備えたり備えなかったりする話
egmc
0
250
Featured
See All Featured
Designing for Performance
lara
610
69k
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
54k
Six Lessons from altMBA
skipperchong
29
4.1k
The Cult of Friendly URLs
andyhume
79
6.7k
BBQ
matthewcrist
89
9.9k
Become a Pro
speakerdeck
PRO
31
5.7k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
Mobile First: as difficult as doing things right
swwweet
225
10k
Making the Leap to Tech Lead
cromwellryan
135
9.7k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3k
Balancing Empowerment & Direction
lara
5
800
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)