Online Mind Mapping and Brainstorming

Create your own awesome maps

Online Mind Mapping and Brainstorming

Even on the go

with our free apps for iPhone, iPad and Android

Get Started

Already have an account? Log In

VIM by Mind Map: VIM
5.0 stars - 1 reviews range from 0 to 5

VIM

1- Basic Editing

Insert Mode vs Normal Mode

Moving around using hjkl

Delete character with x

Delete line with dd

Join two lines with J

Undo the ``last edit'' with u

Redo the last undo with CTRL-R

Undos all the changes on the last edited line with U

Append with `a'

Open a new line with `o'

Add a count before commands to increase their effects

Write and exit with ZZ

Find help with :help

`:scriptnames' the list of all the start-up script files

2- Moving Around

Moving around a line with `$' `^' and '0' (zero)

Moving to a specific line with `G' and `gg'

Matching parenthesis with `%'

Moving to specific characters in a line with f/F and t/T

Moving aournd words with w/b and e/ge

Moving around the screen with `H/M/L'

Telling where you are with CTRL-G

Scrolling around with CTRL-U/CTRL-D, CTRL-E/CTRL-Y, CTRL-F/CTRL-B

Scrolling around with `zz', `zt' and `zb'

Searches with `/pattern' and `?pattern'

Jumping around with `` (two-backquotes) and CTRL-O/CTRL-I

Putting marks with `(backquote)

3- Making Small Changes

operation-command followed by motion-command

`c' works like `d', but it leaves you in insert mode

cc changes a whole line and keeps the indent

dd deletes a whole line

Single letter shortcuts

Put counts before the operation-command too

Replace a single character with `r'

Repeating a change with `.'

Start visual mode with `v'

Moving text with `p' and `P'

Copying text with `y'

Use <operator-command> followed by <text-object>

Enter ``replace mode'' with R

Use `~' to change the case and move to the next char

4- Set Your Settings