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 Español
Search
Max Holzheu
February 13, 2018
Programming
0
34
Vim Tricks Español
A collection of Vim tricks, some very basic, and some very advanced.
Max Holzheu
February 13, 2018
Tweet
Share
More Decks by Max Holzheu
See All by Max Holzheu
Vim Tricks
maxcodes
2
51
Other Decks in Programming
See All in Programming
Smart Handoff/Pickup ガイド - Claude Code セッション管理
yukiigarashi
0
130
Fluid Templating in TYPO3 14
s2b
0
130
AIフル活用時代だからこそ学んでおきたい働き方の心得
shinoyu
0
130
AI Schema Enrichment for your Oracle AI Database
thatjeffsmith
0
250
プロダクトオーナーから見たSOC2 _SOC2ゆるミートアップ#2
kekekenta
0
200
ThorVG Viewer In VS Code
nors
0
770
CSC307 Lecture 07
javiergs
PRO
0
550
ぼくの開発環境2026
yuzneri
0
140
Unicodeどうしてる? PHPから見たUnicode対応と他言語での対応についてのお伺い
youkidearitai
PRO
1
1.1k
組織で育むオブザーバビリティ
ryota_hnk
0
170
OSSとなったswift-buildで Xcodeのビルドを差し替えられるため 自分でXcodeを直せる時代になっている ダイアモンド問題編
yimajo
3
610
CSC307 Lecture 03
javiergs
PRO
1
490
Featured
See All Featured
Designing for Performance
lara
610
70k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
196
71k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Design in an AI World
tapps
0
140
Large-scale JavaScript Application Architecture
addyosmani
515
110k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
1
1.3k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.7k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
Building Flexible Design Systems
yeseniaperezcruz
330
40k
Everyday Curiosity
cassininazir
0
130
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
170
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
320
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