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
Search
Max Holzheu
February 23, 2016
Programming
62
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Vim Tricks
Austin on Rails talk 02/23/15
Max Holzheu
February 23, 2016
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 Español
maxcodes
0
43
Other Decks in Programming
See All in Programming
Web3Dライブラリを作ってVue Custom Rendererの仕組みを理解しよう / lets learn vue custom renderer by making 3d library
drumath2237
1
140
우리의 Nitro Modules는 당신의 Turbo Modules보다 아름답다
l2hyunwoo
0
270
Python Lambdaにおけるテストしやすい設計とAI支援の活用 / Designing Testable Python Lambda Functions with AI
kitano_yuichi
1
340
地方こそサーバーレス — 10年続けた、顔が見えるチームで確かな基盤を / Serverless Matters Most in Regional Areas — 10 Years of Building Reliable Foundations with Close-Knit Teams
seike460
PRO
2
480
AI駆動開発4年目の現在地(『あなたはFDEになるべきか?』イベント資料)
kumaiu
0
650
エージェントを使い続けるためのメタワーク / Meta-work for keeping using the agent
rkaga
6
2.4k
Secure Your Coding Agent Like It’s Malware (v1.5) 🇬🇧 @Code.talks 2026
richargh
0
170
AWS CDKを理解するために公式の定義を深掘って解説してみる / Understanding AWS CDK by Digging into Its Official Definition
akihisaikeda
3
310
Claude Codeのおかげでやりたいことがやれるようになったんだよォー!
sms_tech
0
120
Claude Code ハーネスDeep Dive – 君はどこまで制御する? -
takateeen_knj
6
6k
React Native経験者が Flutterを30⽇間触って驚いたこと
3saito
0
200
あなたはMCPの機能を、まだ知らない。
4geru
1
560
Featured
See All Featured
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
490
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.9k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
610
Making Projects Easy
brettharned
120
6.9k
Evolving SEO for Evolving Search Engines
ryanjones
0
360
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
330
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.8k
The Pragmatic Product Professional
lauravandoore
37
7.5k
How Software Deployment tools have changed in the past 20 years
geshan
3
35k
Exploring anti-patterns in Rails
aemeredith
4
570
We Are The Robots
honzajavorek
0
450