This link has been bookmarked by 280 people . It was first bookmarked on 09 Aug 2006, by Dan Perry.
-
03 Jun 19
-
31 Dec 17
-
31 Jan 17
jsgrantGreat Resource when you are struggling to get something done in VIM. Not for memorization!
-
[c] Confirm each substitution. Vim positions the cursor on the matching string. You can type:
-
[g] Replace all occurrences in the line. Without this argument, replacement occurs only for the first occurrence in each line.
-
-
22 Jan 17
-
03 Sep 16
-
05 Aug 16
-
19 May 16
-
05 Nov 15
-
End> To the end of the line and [count - 1] lines downward
-
-
13 Sep 15
-
08 Jul 15
-
:q[uit] Quit Vim. This fails when changes have been made. -
:q[uit]! Quit without writing. -
:wq Write the current file and exit. -
i Insert text before the cursor [count] times. -
x Delete [count] characters under and after the cursor -
dd Delete [count] lines -
{Visual}d Delete the highlighted text (for {Visual} see Selecting Text). -
["x]yy Yank [count] lines [into register x] -
["x]p Put the text [from register x] after the cursor [count] times. -
u Undo [count] changes. -
CTRL-R Redo [count] changes which were undone.
-
-
27 May 15
-
25 Mar 15
-
18 Mar 15
-
07 Nov 14
-
25 Oct 14
-
29 Sep 14
-
23 Aug 14
-
26 Jul 14
-
25 Jul 14
-
22 Jun 14
-
06 Apr 14
-
19 Mar 14
-
20 Feb 14
-
06 Feb 14
-
11 Jan 14
-
29 Dec 13
-
28 Nov 13
-
17 Nov 13
-
17 Oct 13
-
08 Sep 13
-
25 Apr 13
-
21 Apr 13
-
08 Apr 13
-
28 Mar 13
-
29 Jan 13
-
08 Oct 12
-
25 Aug 12
-
16 Aug 12
-
29 Jul 12
-
18 Jul 12
-
14 Jul 12
-
04 Apr 12
-
01 Apr 12
-
01 Mar 12
-
03 Feb 12
-
24 Jan 12
-
04 Jan 12
-
08 Nov 11
-
27 Sep 11
-
28 Aug 11
-
23 Aug 11
feis kontrolThere's probably a better, print-and-post version around somewhere. ...
-
13 Jun 11
-
17 May 11
-
25 Nov 10
-
08 Nov 10
-
07 Nov 10
-
23 Oct 10
-
19 Oct 10
-
28 Sep 10
-
17 Aug 10
-
05 Aug 10
-
03 Aug 10
-
The operators that can be used are: ~ switch case d delete c change y yank > shift right < shift left ! filter through external command = filter through 'equalprg' option command gq format lines to 'textwidth' length
-
v start Visual mode per character. V start Visual mode linewise. <Esc> exit Visual mode without making any changes How to Suspend
CTRL-Z Suspend Vim, like ":stop". Works in Normal and in Visual mode. In Insert and Command-line mode, the CTRL-Z is inserted as a normal character. :sus[pend][!] or
:st[op][!]Suspend Vim. If the '!' is not given and 'autowrite' is set, every buffer with changes and a file name is written out. If the '!' is given or 'autowrite' is not set, changed buffers are not written, don't forget to bring Vim back to the foreground later!
Daniel Gryniewicz / dang@fprintf.net
-
-
29 Jul 10
-
28 Jul 10
-
20 Apr 10
-
06 Mar 10
-
20 Jan 10
-
06 Mar 09
-
22 Feb 09
-
06 Feb 09
-
13 Dec 08
-
12 Oct 08
-
03 Oct 08
-
10 Sep 08
-
03 Sep 08
-
05 Aug 08
-
02 Aug 08
-
01 Aug 08
-
08 Jul 08
-
07 Jul 08
-
01 Jul 08
-
12 Jun 08
-
10 Jun 08
-
01 Jun 08
-
03 May 08
-
24 Apr 08
-
16 Apr 08
-
13 Apr 08
-
07 Apr 08
-
03 Apr 08
-
26 Mar 08
-
25 Mar 08
-
24 Mar 08
-
23 Mar 08
-
22 Mar 08
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.