SlideShare a Scribd company logo
wb
^0
$
}
{
%
W l
k
j
h
fi
H
M
L
*
/fooCl
Ctrl-N gd
Ctrl-W j
Ctrl-W p
Ctrl-W l
Ctrl-W k
:diffsplit
:6
[{
]}
#
:split
Created by vgod, Dec. 2009
:vsplit
zz
zb
zt
Ctrl-F
Ctrl-B
%
mx
'x
enter normal mode
v enter visual mode
V enter visual line mode
enter visual block mode
i enter insert mode
R enter replace mode
a append
A append at end of line
y yank/copy (range)
d delete/cut (range)
c modify (range)
x delete/cut (character)
D delete to end of line
C modify to end of line
p paste after cursor
J join lines
r replace (character)
> indent
< indent leftward
. redo
u undo
:w save(:wq save and quit)
:q quit(:q! quit anyway)
:e x edit file x
:n new window
:h vim help
:xx jump to line #xx
Vim Visual Cheat Sheet Movement/Range
Character
lkjh
word, WORD(all non-blank ch)
w b
W
e
next/prev word
next/prev WORD
end of word/WORD
^
0 $
Line
begin/end of line
begin (non-blank) of line
Paragraph, Block
}{
[{ ]}
%
prev/ next paragraph
begin/end of block
matching parenthesis
Window, File
H
M
L
zt
C-B C-F
top of win
mid of win
btm of win
scroll to
top
zz
scroll to
middle
zb scroll to
bottom
prev/next page
Search
fx
*
gd
find current word
backward/forward
#
B
to character x to right
to definition of current
word
/xxx search xxx
n N
next/prev search
result
Mode Commands
General Commands
EX Commands
Split window
C-W p
:vsp :sp vertically/horizontally
split
:diffs split and diff
to last accessed window
Auto-completion [insert mode]
C-N C-P
auto-complete
next/prev keyword
C-X C-F auto-complete file
name
C-W w to next window
'x mark/jump to xmx
gg G begin/end of file
ESC C-[
C-v
E
e

More Related Content

PPTX
GitLab.pptx
PDF
Python Programming - VI. Classes and Objects
PDF
Using tfsec to scan your Terraform
PDF
Introducing GitLab
PPTX
Factory Method Pattern
PDF
Garments & Technology
PDF
Fabric Manufacturing I Short notes
PPTX
Conditionalstatement
GitLab.pptx
Python Programming - VI. Classes and Objects
Using tfsec to scan your Terraform
Introducing GitLab
Factory Method Pattern
Garments & Technology
Fabric Manufacturing I Short notes
Conditionalstatement

What's hot (11)

PDF
An Introduction to Programming in Java: Arrays
PPTX
Advanced Python : Static and Class Methods
PDF
R Programming: Mathematical Functions In R
PPTX
Textile Spinning, Weaving, Finishing and Printing
DOC
Informixsql
PPT
COMPUTERS AND AUTOMATION IN WEAVING
PDF
Continuous Integration/Deployment with Gitlab CI
PDF
Grading of fabric
PPTX
Chapter 16 Dictionaries
PDF
Git and github 101
PPT
Chapter18
An Introduction to Programming in Java: Arrays
Advanced Python : Static and Class Methods
R Programming: Mathematical Functions In R
Textile Spinning, Weaving, Finishing and Printing
Informixsql
COMPUTERS AND AUTOMATION IN WEAVING
Continuous Integration/Deployment with Gitlab CI
Grading of fabric
Chapter 16 Dictionaries
Git and github 101
Chapter18
Ad

Viewers also liked (9)

PDF
UPA2011 Neuro Web Design talk
PPTX
Chris Lock - Persuation, Emotion and Trust in Online Banking
PDF
Usability Testing Bootcamp
PDF
User Behavior: Interacting With Important Website Elements
PDF
Prototyping and Usability Testing your designs
PDF
Conducting Expert Reviews Using the VIMM Model
PDF
The near future for artificial intelligence and conversation bots
PPT
Designing For Interaction with Web Interface
UPA2011 Neuro Web Design talk
Chris Lock - Persuation, Emotion and Trust in Online Banking
Usability Testing Bootcamp
User Behavior: Interacting With Important Website Elements
Prototyping and Usability Testing your designs
Conducting Expert Reviews Using the VIMM Model
The near future for artificial intelligence and conversation bots
Designing For Interaction with Web Interface
Ad

Similar to Vim cheat-sheet-en (20)

PDF
Vim Cheat Sheet.pdf
PDF
Rubizza #1 | Special Lecture. Vim
PDF
vim-cheatsheet.pdf
PDF
Mission vim possible-full
PDF
Vi reference
PDF
Vi reference
PDF
VIM for (PHP) Programmers
KEY
VIM for the PHP Developer
PDF
PDF
Vim For Php
PDF
3.8.a how to - vim course book
PDF
101 3.8.1 vim course book
PDF
Mission vim possible
PDF
Tuffarsi in vim
ODP
Vim and Python
PPT
Vim Cards - Powerpoint Format
PDF
PDF
VIM for Programmers
PDF
Vi cheat sheet
PDF
Vi cheat sheet
Vim Cheat Sheet.pdf
Rubizza #1 | Special Lecture. Vim
vim-cheatsheet.pdf
Mission vim possible-full
Vi reference
Vi reference
VIM for (PHP) Programmers
VIM for the PHP Developer
Vim For Php
3.8.a how to - vim course book
101 3.8.1 vim course book
Mission vim possible
Tuffarsi in vim
Vim and Python
Vim Cards - Powerpoint Format
VIM for Programmers
Vi cheat sheet
Vi cheat sheet

Recently uploaded (20)

PDF
Volvo EC300D L EC300DL excavator weight Manuals.pdf
PDF
Todays Technician Automotive Heating & Air Conditioning Classroom Manual and ...
PDF
Caterpillar CAT 312B L EXCAVATOR (2KW00001-UP) Operation and Maintenance Manu...
PDF
Renesas R-Car_Cockpit_overview210214-Gen4.pdf
PPTX
Robot_ppt_YRG[1] [Read-Only]bestppt.pptx
PPTX
Fire Fighting Unit IV industrial safety.pptx
PDF
Journal Meraj.pdfuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu
PDF
MANDIBLE (1).pdffawffffffffffffffffffffffffffffffffffffffffff
PPTX
Gayatri Cultural Educational Society.pptx
PDF
Volvo EC20C Excavator Step-by-step Maintenance Instructions pdf
PPTX
Intro to ISO 9001 2015.pptx for awareness
PPTX
Paediatric History & Clinical Examination.pptx
PDF
Delivers.ai: 2020–2026 Autonomous Journey
PPTX
TOEFL ITP Grammar_ Clausessssssssssssssssss.pptx
PDF
Physics class 12thstep down transformer project.pdf
PPTX
UNIT-2(B) Organisavtional Appraisal.pptx
PDF
Volvo EC290C NL EC290CNL excavator weight.pdf
PPTX
Lecture 3b C Library xnxjxjxjxkx_ ESP32.pptx
PDF
EC290C NL EC290CNL Volvo excavator specs.pdf
PDF
Caterpillar Cat 315C Excavator (Prefix ANF) Service Repair Manual Instant Dow...
Volvo EC300D L EC300DL excavator weight Manuals.pdf
Todays Technician Automotive Heating & Air Conditioning Classroom Manual and ...
Caterpillar CAT 312B L EXCAVATOR (2KW00001-UP) Operation and Maintenance Manu...
Renesas R-Car_Cockpit_overview210214-Gen4.pdf
Robot_ppt_YRG[1] [Read-Only]bestppt.pptx
Fire Fighting Unit IV industrial safety.pptx
Journal Meraj.pdfuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu
MANDIBLE (1).pdffawffffffffffffffffffffffffffffffffffffffffff
Gayatri Cultural Educational Society.pptx
Volvo EC20C Excavator Step-by-step Maintenance Instructions pdf
Intro to ISO 9001 2015.pptx for awareness
Paediatric History & Clinical Examination.pptx
Delivers.ai: 2020–2026 Autonomous Journey
TOEFL ITP Grammar_ Clausessssssssssssssssss.pptx
Physics class 12thstep down transformer project.pdf
UNIT-2(B) Organisavtional Appraisal.pptx
Volvo EC290C NL EC290CNL excavator weight.pdf
Lecture 3b C Library xnxjxjxjxkx_ ESP32.pptx
EC290C NL EC290CNL Volvo excavator specs.pdf
Caterpillar Cat 315C Excavator (Prefix ANF) Service Repair Manual Instant Dow...

Vim cheat-sheet-en

  • 1. wb ^0 $ } { % W l k j h fi H M L * /fooCl Ctrl-N gd Ctrl-W j Ctrl-W p Ctrl-W l Ctrl-W k :diffsplit :6 [{ ]} # :split Created by vgod, Dec. 2009 :vsplit zz zb zt Ctrl-F Ctrl-B % mx 'x enter normal mode v enter visual mode V enter visual line mode enter visual block mode i enter insert mode R enter replace mode a append A append at end of line y yank/copy (range) d delete/cut (range) c modify (range) x delete/cut (character) D delete to end of line C modify to end of line p paste after cursor J join lines r replace (character) > indent < indent leftward . redo u undo :w save(:wq save and quit) :q quit(:q! quit anyway) :e x edit file x :n new window :h vim help :xx jump to line #xx Vim Visual Cheat Sheet Movement/Range Character lkjh word, WORD(all non-blank ch) w b W e next/prev word next/prev WORD end of word/WORD ^ 0 $ Line begin/end of line begin (non-blank) of line Paragraph, Block }{ [{ ]} % prev/ next paragraph begin/end of block matching parenthesis Window, File H M L zt C-B C-F top of win mid of win btm of win scroll to top zz scroll to middle zb scroll to bottom prev/next page Search fx * gd find current word backward/forward # B to character x to right to definition of current word /xxx search xxx n N next/prev search result Mode Commands General Commands EX Commands Split window C-W p :vsp :sp vertically/horizontally split :diffs split and diff to last accessed window Auto-completion [insert mode] C-N C-P auto-complete next/prev keyword C-X C-F auto-complete file name C-W w to next window 'x mark/jump to xmx gg G begin/end of file ESC C-[ C-v E e