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
Vim Tricks
Search
Max Holzheu
February 23, 2016
Programming
2
49
Vim Tricks
Austin on Rails talk 02/23/15
Max Holzheu
February 23, 2016
Tweet
Share
More Decks by Max Holzheu
See All by Max Holzheu
Vim Tricks Español
maxcodes
0
33
Other Decks in Programming
See All in Programming
PHP 8.4の新機能「プロパティフック」から学ぶオブジェクト指向設計とリスコフの置換原則
kentaroutakeda
2
630
CursorはMCPを使った方が良いぞ
taigakono
1
180
Azure AI Foundryではじめてのマルチエージェントワークフロー
seosoft
0
140
Composerが「依存解決」のためにどんな工夫をしているか #phpcon
o0h
PRO
1
240
地方に住むエンジニアの残酷な現実とキャリア論
ichimichi
5
1.4k
git worktree × Claude Code × MCP ~生成AI時代の並列開発フロー~
hisuzuya
1
490
Deep Dive into ~/.claude/projects
hiragram
9
1.6k
AIコーディング道場勉強会#2 君(エンジニア)たちはどう生きるか
misakiotb
1
250
LINEヤフー データグループ紹介
lycorp_recruit_jp
0
920
VS Code Update for GitHub Copilot
74th
1
410
Elixir で IoT 開発、 Nerves なら簡単にできる!?
pojiro
1
150
データの民主化を支える、透明性のあるデータ利活用への挑戦 2025-06-25 Database Engineering Meetup#7
y_ken
0
320
Featured
See All Featured
The World Runs on Bad Software
bkeepers
PRO
69
11k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
700
Designing for humans not robots
tammielis
253
25k
4 Signs Your Business is Dying
shpigford
184
22k
Building a Modern Day E-commerce SEO Strategy
aleyda
42
7.3k
Building Adaptive Systems
keathley
43
2.6k
Adopting Sorbet at Scale
ufuk
77
9.4k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.9k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
35
2.4k
The Cost Of JavaScript in 2023
addyosmani
51
8.5k
A designer walks into a library…
pauljervisheath
207
24k
Bash Introduction
62gerente
614
210k
Transcript
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