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
Vim Tricks Español
Search
Max Holzheu
February 13, 2018
Programming
45
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Vim Tricks Español
A collection of Vim tricks, some very basic, and some very advanced.
Max Holzheu
February 13, 2018
Transcript
50 slides
Tricks Max Holzheu
@maxholzheu Slides will be tweeted out
Go to the end of the line + enter Insert
mode Shift + A @maxholzheu
@maxholzheu
@maxholzheu
Go to the beginning of the line + enter Insert
mode Shift + I @maxholzheu
@maxholzheu
@maxholzheu
Sets the line numbers to be relative to the cursor’s
position :set relativenumber @maxholzheu
@maxholzheu
@maxholzheu
Repeat your last command Ctrl + . @maxholzheu
None
@maxholzheu
@maxholzheu
13j @maxholzheu
@maxholzheu
@maxholzheu
@maxholzheu
@maxholzheu
@maxholzheu
@maxholzheu
@maxholzheu
@maxholzheu
None
Moving on…
Join lines together J @maxholzheu
@maxholzheu
@maxholzheu
Open a URL gx @maxholzheu
Abbreviate long stuff Best use: Prevent typos :abbr @maxholzheu
# .vimrc abbr teh the abbr funciton function @maxholzheu
None
None
Case-Aware Substitution With vim-abolish :%S/quote/phrase/g quote Quote qUOte QUOTE phrase
Phrase qUOte PHRASE @maxholzheu
@maxholzheu
@maxholzheu
@maxholzheu
@maxholzheu
Create an argument list (buffers) :args @maxholzheu
:args app/models/quote.rb app/models/book.rb @maxholzheu
:args `find app -name '*.rb'` @maxholzheu
Execute a command on every buffer on the list :argdo
@maxholzheu
:argdo :set filetype=ruby @maxholzheu
None
:args `find app -name '*.rb'` @maxholzheu
:argdo :%S/quote/phrase/g @maxholzheu
@maxholzheu
@maxholzheu
@maxholzheu
More Decks by Max Holzheu
See All by Max Holzheu
Vim Tricks
maxcodes
2
62
Other Decks in Programming
See All in Programming
TS 7.0 で baseUrl が使えなくなった今、パスエイリアスをどうするか
bicstone
2
840
[DroidKnights 2026] Workflow AX 적용기 — 자동 정책 정리부터 E2E까지
dayeon
0
120
AppFunctionsの内部実装を紐解く
hiroaki404
1
120
Kotlin JVM用に作られたライブラリのKMPを前提とした再設計
jsoizo
0
230
Promiseの向こう側へコンテキストを届ける ― proposal-async-context
seriseri
0
180
Math.sumPreciseから学ぶ、ECMAScript仕様の数値の種類
syumai
0
310
Claude Codeのおかげでやりたいことがやれるようになったんだよォー!
sms_tech
0
190
はじめてのKubernetesコントリビューション
nasa9084
0
330
AWS CDKを理解するために公式の定義を深掘って解説してみる / Understanding AWS CDK by Digging into Its Official Definition
akihisaikeda
3
340
AIが実装を担う時代の「技術設計」と「チームマネジメント」
kamina_zzz
2
450
How SRE Grew Out of Server-Side Work and Became the Team's Own / サーバサイドから始まったSREを チームに渡すまで
maaaato
1
260
Proxmox x Talos Linux x Terraform で実現するなんかいい感じの Kubernetes クラスタ / A Sleek Kubernetes Cluster Powered by Proxmox, Talos Linux, and Terraform
nnaka2992
0
310
Featured
See All Featured
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.4k
Amusing Abliteration
ianozsvald
1
400
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
750
Skip the Path - Find Your Career Trail
mkilby
1
300
Fashionably flexible responsive web design (full day workshop)
malarkey
409
67k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
470
4 Signs Your Business is Dying
shpigford
187
23k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
560
Odyssey Design
rkendrick25
PRO
3
970
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
12k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2.2k
Accessibility Awareness
sabderemane
1
310