Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
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
re:Invent 2025 ふりかえり 生成AI版
takaakikakei
1
210
業務のトイルをバスターせよ 〜AI時代の生存戦略〜
staka121
PRO
2
210
生成AI活用の型ハンズオン〜顧客課題起点で設計する7つのステップ
yushin_n
0
230
エンジニアリングをやめたくないので問い続ける
estie
2
1.2k
AI-DLCを現場にインストールしてみた:プロトタイプ開発で分かったこと・やめたこと
recruitengineers
PRO
2
150
会社紹介資料 / Sansan Company Profile
sansan33
PRO
11
390k
MLflowダイエット大作戦
lycorptech_jp
PRO
1
140
Microsoft Agent 365 についてゆっくりじっくり理解する!
skmkzyk
0
360
Debugging Edge AI on Zephyr and Lessons Learned
iotengineer22
0
220
今年のデータ・ML系アップデートと気になるアプデのご紹介
nayuts
1
450
「Managed Instances」と「durable functions」で広がるAWS Lambdaのユースケース
lamaglama39
0
330
コミューンのデータ分析AIエージェント「Community Sage」の紹介
fufufukakaka
0
510
Featured
See All Featured
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
286
14k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.6k
Typedesign – Prime Four
hannesfritz
42
2.9k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
8.3k
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
710
Git: the NoSQL Database
bkeepers
PRO
432
66k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
970
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
34k
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)