vi / vim graphical cheat sheet

Esc normal mode

~ `.

toggle case goto mark

@ # $. ( ) ! %. ^ & * 1 2 3 4. 5. 6 7 8 9 0 Q. W E R T Y U I O P. q. w e r. t. y u o p i : A. S D F G H J K L a s g. ; j d f. h k l > Z. X C V B N M < z. x c v n m , . b

motion

external filter

play macro

prev ident

append

subst char

delete

1,3

q.

"soft" bol

repeat :s

next WORD

end WORD

replace mode

back 'till

yank line

record macro

next word

end word

replace char

'till

yank

subst line

delete to eol

append

subst char

delete

1,3

extra4 quit

backspace

change to eol

extra5 cmds

delete char

change

moves the cursor, or defines the range for an operator

1,3

begin sentence

end sentence "hard" bol

ex mode

append at eol

next ident

extra6 cmds

fwd to char

direct action command, if red, it enters insert mode requires a motion afterwards, operator operates between cursor & destination special functions, extra requires extra input commands with a dot need a char argument afterwards bol = beginning of line, eol = end of line mk = mark, yank = copy res := base + v.offset; words: WORDs: res := base + v.offset; command

goto match

eol

1,3

"back" fwd

eof/ goto ln

fwd to char

extra6 cmds

undo line

insert at bol

open above

undo

insert mode

open below

screen top

join lines

help

_. -

paste before paste 1 after

screen bottom

visual lines

prev WORD

prev (find)

screen mid'l

un- 3 indent

indent

3

visual mode

prev word

next (find)

set mark

reverse t/T/f/F

repeat cmd

repeat t/T/f/F

begin parag. misc

". '.

next line

auto 3 format

prev line

{. [.

ex cmd line

?. /.

+. =

"soft" bol down

}. ].

reg. 1 spec goto mk. bol

end parag. misc

|. \.

bol/ goto col not used

find rev. find

Main command line commands ('ex'):

Notes:

:w (save), :q (quit), :q! (quit w/o saving) :e f (open file f), :%s/x/y/g (replace 'x' by 'y' filewide), :h (help in vim), :new (new file in vim),

(1) use "x before a yank/paste/del command to use that register ('clipboard') (x=a..z,*) (e.g.: "ay$ to copy rest of line to reg 'a')

Other important commands:

CTRL-R: redo (vim), CTRL-F/-B: page up/down, CTRL-E/-Y: scroll line up/down, CTRL-V: block-visual mode (vim only)

Visual mode: Move around and type operator to act on selected region (vim only)

(2) type in a number before any action to repeat it that number of times (e.g.: 2p, d2w, 5i, d4j) (3) duplicate operator to act on current line (dd = delete line, >> = indent line) (4) ZZ to save & quit, ZQ to quit w/o saving (5) zt: scroll cursor to top, zb: bottom, zz: center (6) gg: top of file (vim only), gf: open file under cursor (vim only)

Based on SVG version at http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial.html

vi / vim graphical cheat sheet

F "back" fwd. G eof/ goto ln Hscreen top. J join lines. K help. L screen bottom ... version at http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial.html.

26KB Sizes 6 Downloads 379 Views

Recommend Documents

git cheat sheet - Cheat-Sheets.org
git clone ssh://[email protected]/repo.git. Create a new local repository. $ git init. LOCAL CHANGES. Changed files in y our working directory. $ git status.

CSS3 Cheat Sheet - GitHub
Border Radius vendor prefix required for iOS

HTML5 Canvas Cheat Sheet [.pdf] - Cheat-Sheets.org
HTML5 Canvas Cheat Sheet v1.1. Page 2. Colors, styles and shadows. Attributes. Name. Type. Default. strokeStyle any black. fillStyle any black. shadowOffsetX.

gitchangelog Cheat Sheet - GitHub
new: test: added a bunch of test around user usability of feature X. fix: typo in spelling my name in comment. !minor. By Delqvs cheatography.com/delqvs/. Published 14th August, 2017. Last updated 14th August, 2017. Page 1 of 1. Sponsored by ApolloPa

Cheat sheet Services
Create a Version of your current container, and test it out on your live site by using Preview or Debug mode. Navigate around your site and see if the rules and tags are acting the way you expect. Migrate by removing hard-coded tags: You're almost re

Meterpreter Cheat Sheet - SCADAhacker
Page 1 ... Displays network interfaces information meterpreter> route. View and modify networking routing table meterpreter> portfwd. Establish port forwarding.

Reschedule Cheat Sheet
desire to meet with. • You've realized that your account has a meeting scheduled more than once with the same company. • You have reached your outstanding ...

jQuery Cheat Sheet
6. Traversing. 7. Events. 8. Effects. 10. AJAX. 11. Core. 12 of 2 13 ... DOM Insertion, Inside .append() .appendTo() .html() .prepend() .prependTo() .text().

TOP 150 CHEAT SHEET
2 Ezekiel Elliott. DAL. 8. RB. 52 Lamar Miller. HOU. 10. RB ... 62 Dion Lewis. TEN. 8. RB PPR. 112 Kenny Stills .... Ezekiel Elliott. DAL. 3. 7. A.J. Green. CIN. 4. 11.

Machine Learning Cheat Sheet - GitHub
get lost in the middle way of the derivation process. This cheat sheet ... 3. 2.2. A brief review of probability theory . . . . 3. 2.2.1. Basic concepts . . . . . . . . . . . . . . 3 ...... pdf of standard normal π ... call it classifier) or a decis

Cheat Sheet Subnetting.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Cheat Sheet Subnetting.pdf. Cheat Sheet Subnetting.pdf. Open. Extract. Open with. Sign In. Details. Comments

CSS3 Cheat Sheet - Smashing Magazine
display none | inline | block | inline- block | list-item | run-in | compact | table | inline- table | table-row-group | table-header-group | table- footer-group | table-row |.Missing:

R Markdown : : CHEAT SHEET - GitHub
Word, or RTF documents; html or pdf based slides ... stop render when errors occur (FALSE) (default = FALSE) .... colortheme. Beamer color theme to use. X css.

Google+ Cheat Sheet - G Suite
3 Find or follow people. 4 Follow or create collections, which group posts around a topic. Learning Center gsuite.google.com/learning-center.

Overtone Cheat Sheet 0.9.1 - WordPress.com
graphviz. Show PDF show-graphviz-synth ... Generate Buffer Data data->wavetable create-buffer-data ... LINEAR LIN EXPONENTIAL EXP. Onset Analysis.

RTOS Threading Cheat Sheet - GitHub
If the UART is enabled, it causes a data frame to start transmitting with the parameters indicated in the. UARTLCRH register. Data continues to be transmitted ...

Pokemon Go Cheat Sheet 619 ^% Pokemon Go Cheat Codes Ios
Free Pokemon Go hacks and cheats online for Android and iOS devices, which ... 6 Code Generator Pokemon Go Cheats For Ios 10 Live Free Game Generator.

[Cheat Sheet] 15 Credit & Balance Sheet Ratios.pdf
Page 1 of 1. Cheat Sheet: Balance Sheet Ratios. Ratios to evaluate credit health and management's operating capital efficiency. Interest Coverage Ratios Calculation Healthy. Ratios that specifically measure a business's ability to make interest payme

Groups Cheat Sheet - G Suite
1 Access your groups, or create new ones. Switch from public groups to ... Change your Groups settings Edit membership settings, email subscriptions, update ...

Sheets Cheat Sheet - G Suite
Publish to the web—Publish a copy of your spreadsheet as a webpage or embed your spreadsheet in a website. Email as attachment—Email a copy of your ...

Keep Cheat Sheet - G Suite
Create and share notes, lists, and reminders. 1 Create notes, lists, and reminders. 2 Organize notes with colors and labels. Learning Center.

ASTRA-cheat-sheet-b&w.pdf
Retrying... ASTRA-cheat-sheet-b&w.pdf. ASTRA-cheat-sheet-b&w.pdf. Open. Extract. Open with. Sign In. Main menu. Displaying ASTRA-cheat-sheet-b&w.pdf.

Slides Cheat Sheet - G Suite
This is a great way to create templates. Import slides—Add slides from ... Email as attachment—Email a copy of your presentation. 4 Click. Share to share your ...

Hangouts Chat Cheat Sheet - G Suite
Send messages to individuals or groups, set up rooms for project teams, and have multiple conversations on different topics inside rooms. 1 Send direct messages to an individual or a group. 2 Create a room. 3 Work with Chat. Learning Center gsuite.go