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
45
Other Decks in Programming
See All in Programming
imagewebp()の向こう側: WebPはなぜ JPEG・PNGより軽いのか
yuzneri
0
150
Going Full Circle with Virtual Graphs and Relational Databases
michaelsimons
1
110
AppFunctionsの内部実装を紐解く
hiroaki404
1
120
Beyond Chatbots: Agentic UI with Open Standards @W-JAX 2026, München
manfredsteyer
PRO
0
130
flutter_test のその先へ — Flutter アプリの LLM 機能に「評価」という品質保証を
kosukesaigusa
0
210
Spec-driven Development with AI
simas
PRO
0
2.3k
LLM 101: Exploring LLMs, Starting with Tokens.
dalinaum
0
120
はじめてのPLATEAU
nokonoko1203
1
670
疎結合とは何か?ソフトウェア設計における結合バランスについて考える #phpcon_niigata
kajitack
2
430
Agentic AI with the Power of Jakarta EE
ivargrimstad
0
200
Kotlin JVM用に作られたライブラリのKMPを前提とした再設計
jsoizo
0
230
高速開発を止めずに 性能を上げる Flyleのシステム刷新と改善の歴史
azihsoyn
0
110
Featured
See All Featured
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.7k
How to build a perfect <img>
jonoalderson
1
6.3k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
410
Thoughts on Productivity
jonyablonski
76
5.5k
Facilitating Awesome Meetings
lara
57
7.2k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
620
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
The Curse of the Amulet
leimatthew05
4
17k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
380
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2.2k