

Estude fácil! Tem muito documento disponível na Docsity
Ganhe pontos ajudando outros esrudantes ou compre um plano Premium
Prepare-se para as provas
Estude fácil! Tem muito documento disponível na Docsity
Prepare-se para as provas com trabalhos de outros alunos como você, aqui na Docsity
Encontra documentos específicos para os exames da tua universidade
Prepare-se com as videoaulas e exercícios resolvidos criados a partir da grade da sua Universidade
Responda perguntas de provas passadas e avalie sua preparação.
Ganhe pontos para baixar
Ganhe pontos ajudando outros esrudantes ou compre um plano Premium
Principais funções e comando do VIM (aprenda a sair do vim)
Tipologia: Esquemas
1 / 3
Esta página não é visível na pré-visualização
Não perca as partes importantes!


Global
open help for keyword
file as
pane
terminal window
under the cursor Cursor movement
line text)
text)
a word
a word (words can contain punctuation)
word
word (words can contain punctuation)
of a word
of a word (words can contain punctuation)
of a word
of a word (words can contain punctuation)
(default supported pairs: '()', '{}', '[]' - use :h matchpairs in vim for more info)
character of the line
character of the line
document
document
Editing
one with one space in between
current one without space in between
motion
motion
end of the line
word
the end of the word
substitute text
(same as cc)
and paste)
line
Marking text (visual mode)
then do a command (like y-yank)
area
mode
Visual commands
Macros
Cut and paste
of the word from the cursor position to the start of the next word
the cursor
the cursor and the space after or before it
line
cursor
after cursor and leave cursor after the new text
and leave cursor after the new text
of the word from the cursor position to the start of the next word
the cursor
the cursor and the space after or before it
from 3 to 5
all lines containing pattern
delete all lines not containing pattern
of the line
Indent text
one shiftwidth
one shiftwidth
(cursor on brace)
{} (cursor on brace)
tags Working with multiple files
window
vertically split window
windows
split)
split)
(leftmost vertical window)
(rightmost vertical window)
bottom (bottommost horizontal window)
(topmost horizontal window) Diff
buffer)
character x
occurrence of character x
occurrence of character x
occurrence of character x
movement
movement, backwards
function/block, when editing code)
(or function/block, when editing code)
the screen
of the screen
one line (without moving cursor)
one line (without moving cursor)
screen
full screen
screen
screen Insert mode - inserting/appending text
line
cursor
the line
below the current line
above the current line
of the word
before the cursor during insert mode
the cursor during insert mode
during insert mode
line one shiftwidth during insert mode
left) line one shiftwidth during insert mode
complete) next match before the
lowercase
uppercase Registers
registers content
x
clipboard register
clipboard register Marks and positions
mark A
mark A
Vim was previously exited
editing this file
change in this file
the last jump
position in jump list
in jump list
change list
change list
under cursor
{} (cursor on brace)
current line Exiting
don't exit
out the current file using sudo
and quit
unsaved changes)
away unsaved changes
all tabs Search and replace
pattern
for pattern
pattern: non-alphanumeric characters are interpreted as special regex symbols (no escaping needed)
direction
direction
all old with new throughout file
replace all old with new throughout file with confirmations
highlighting of search matches Search in multiple files
{file}} - search forpattern in multiple files
match
the previous match
containing the list of matches
quickfix window Tabs
open a file in a new tab
split window into its own tab
to the next tab