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
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
220
Components on the Web: Frontend NE
jackfranklin
1
800
ReactiveConf: Lessons Migrating Complex Software
jackfranklin
0
460
Front Trends: Migrating complex software
jackfranklin
1
800
Migrating from Angular to React: Manc React
jackfranklin
1
170
Half Stack Fest: Webpack
jackfranklin
4
530
FullStackFest: Elm for JS Developers
jackfranklin
1
220
Codelicious: Intro to ES2015
jackfranklin
0
360
PolyConf: Elm for JS Developers
jackfranklin
0
270
Other Decks in Technology
See All in Technology
Claude Code Actionを使ったコード品質改善の取り組み
potix2
PRO
6
2.2k
Node-RED × MCP 勉強会 vol.1
1ftseabass
PRO
0
140
【TiDB GAME DAY 2025】Shadowverse: Worlds Beyond にみる TiDB 活用術
cygames
0
1.1k
AIの最新技術&テーマをつまんで紹介&フリートークするシリーズ #1 量子機械学習の入門
tkhresk
0
140
_第3回__AIxIoTビジネス共創ラボ紹介資料_20250617.pdf
iotcomjpadmin
0
150
PHPでWebブラウザのレンダリングエンジンを実装する
dip_tech
PRO
0
200
ひとり情シスなCTOがLLMと始めるオペレーション最適化 / CTO's LLM-Powered Ops
yamitzky
0
430
MySQL5.6から8.4へ 戦いの記録
kyoshidaxx
1
210
“社内”だけで完結していた私が、AWS Community Builder になるまで
nagisa53
1
390
AWS Summit Japan 2025 Community Stage - App workflow automation by AWS Step Functions
matsuihidetoshi
1
260
AWS テクニカルサポートとエンドカスタマーの中間地点から見えるより良いサポートの活用方法
kazzpapa3
2
540
Postman AI エージェントビルダー最新情報
nagix
0
110
Featured
See All Featured
Git: the NoSQL Database
bkeepers
PRO
430
65k
Intergalactic Javascript Robots from Outer Space
tanoku
271
27k
Facilitating Awesome Meetings
lara
54
6.4k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
124
52k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
700
How to Ace a Technical Interview
jacobian
277
23k
Fireside Chat
paigeccino
37
3.5k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
5.9k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
45
7.4k
What's in a price? How to price your products and services
michaelherold
246
12k
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)