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
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Iuri Fernandes
February 22, 2013
Technology
160
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Vim
Vim basics and plugins.
Iuri Fernandes
February 22, 2013
More Decks by Iuri Fernandes
See All by Iuri Fernandes
Comredis
iurifq
1
120
A Brief Introduction to Elixir
iurifq
0
120
Phoenix channels introduction
iurifq
0
130
Git - Dicas e boas práticas
iurifq
0
760
Other Decks in Technology
See All in Technology
ログラスのマルチプロダクトを 支える認証基盤 〜テナントごとに異なる統制とどう向き合うか〜
dada4386
3
390
自律型 AI をセキュアに実装!Gemini と MIG で作る動的コード実行環境
recruitengineers
PRO
1
210
MCPゲートウェイを作って運用してわかったこと — Agent時代の権限管理の現在地
mtpooh
10
3.1k
カンファレンスに参加した後の浮遊感とセルフケア
pauli
0
310
[2026 Oracle Technical Deep Dive] Apache Iceberg × Oracle AI Database -Oracle Autonomous AI Lakehouseが実現するAI時代のデータ基盤- (2026年9月17日開催)
oracle4engineer
PRO
0
110
SDDの運用にめげずに向き合った話
sansantech
PRO
0
130
SREでアラート疲れを 解決しよう!
kairim0
1
200
More Freedom on the Same Shared GPU Cluster: A Small Team’s Experience with vCluster
nttcom
0
130
AIは爆速なのに、私が詰まっていた話 ― 音声入力と鳴くマスコットでボトルネックを削る
yama3133
0
520
並行性の問題を防げ!実践トランザクション入門
occhi
0
260
ファミコンでPHPを動かす / PHP on the Famicom side b
tomzoh
0
130
使いこなすために知っておきたい Azure SRE Agent アンチパターン
torumakabe
2
340
Featured
See All Featured
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
390
How to Talk to Developers About Accessibility
jct
2
560
How to Ace a Technical Interview
jacobian
280
24k
Producing Creativity
orderedlist
PRO
348
41k
It's Worth the Effort
3n
188
29k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.6k
Making Projects Easy
brettharned
120
6.8k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Into the Great Unknown - MozCon
thekraken
41
2.8k
Optimising Largest Contentful Paint
csswizardry
37
4k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3.2k
AI: The stuff that nobody shows you
jnunemaker
PRO
10
1.1k
Transcript
VIM de D20 Iuri Fernandes
Histórico • Criado por Bram Moolenaar em 1991 • Inspirado
no editor vi(1976)
Vantagens x Desvantagens • Editor poderoso • Versatilidade • Grande
comunidade • Curva de aprendizado lenta • Configuração
Modos • Inserção • Comandos(Ex) • Visual
Pra lá e pra cá – Movimentação • h j
k l = ←↓↑→ • w = percorre texto palavra por palavra • f{char} = procura caractere char à direita na linha corrente • { = bloco anterior ; } = próximo bloco • :num = vai para a linha de número num • /{padrão} = busca
Combinação e repetição de comandos • {num}{comando} = repete num
vezes comando • {comando}{movimentação} = executa comando considerando movimentação • . = repete último comando
Plugins
E como instalo plugins? • No braço == baixa e
descompacta em .vim • Gerenciadores – Pathogen – Vundle – VAM
Abrindo arquivos like a boss! • kien/ctrlp.vim • ctrl+p! •
Abrir somente arquivos do repositório git • Abrir em nova aba, split vertical ou horizontal • Exemplos
Abrindo linhas, classes, etc. • Extensões do ctrlp • CtrlPTag
• CtrlPLine • CtrlPMRUFiles • CtrlModified (plugin) • Etc.
Arrudeio - VIM Surround • tpope/vim-surround • Lida com delimitadores
que circundam texto • Exemplos: – '', “” – {}, [], () – <p>tags</p>
Arrudeio - VIM Surround • Operações – Excluir – Incluir
– Modificar
Git - VIM Fugitive • tpope/vim-fugitive • Comandos – :Gstatus
– :Gblame – :Gdiff – :Gcommit – :Gwrite – :Gread – :Git {qualquer comando do git} – :Ggrep {padrão}
Decorar e digitar todo comando? • NÃO! • Keystrokes definidos
pelo usuário no .vimrc • Exemplo
Desfazer, modificar … FUU!
Desfazer, modificar … FUU! • sjl/gundo.vim • Exemplo
Aqui tem refactor! • ecomba/vim-ruby-refactoring