1
- *index.txt* For Vim version 8.0. Last change: 2017 Feb 23
1
+ *index.txt* For Vim version 8.0. Last change: 2017 Aug 02
2
2
3
3
4
4
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -309,10 +309,10 @@ tag char note action in Normal mode ~
309
309
| B | B 1 cursor N WORDS backward
310
310
| C | ["x]C 2 change from the cursor position to the end
311
311
of the line, and N -1 more lines [into
312
- buffer x]; synonym for "c$"
312
+ register x]; synonym for "c$"
313
313
| D | ["x]D 2 delete the characters under the cursor
314
314
until the end of the line and N -1 more
315
- lines [into buffer x]; synonym for "d$"
315
+ lines [into register x]; synonym for "d$"
316
316
| E | E 1 cursor forward to the end of WORD N
317
317
| F | F{char} 1 cursor to the N th occurrence of {char} to
318
318
the left
@@ -329,22 +329,22 @@ tag char note action in Normal mode ~
329
329
opposite direction
330
330
| O | O 2 begin a new line above the cursor and
331
331
insert text, repeat N times
332
- | P | ["x]P 2 put the text [from buffer x] before the
332
+ | P | ["x]P 2 put the text [from register x] before the
333
333
cursor N times
334
334
| Q | Q switch to "Ex" mode
335
335
| R | R 2 enter replace mode: overtype existing
336
336
characters, repeat the entered text N -1
337
337
times
338
- | S | ["x]S 2 delete N lines [into buffer x] and start
338
+ | S | ["x]S 2 delete N lines [into register x] and start
339
339
insert; synonym for "cc".
340
340
| T | T{char} 1 cursor till after N th occurrence of {char}
341
341
to the left
342
342
| U | U 2 undo all latest changes on one line
343
343
| V | V start linewise Visual mode
344
344
| W | W 1 cursor N WORDS forward
345
345
| X | ["x]X 2 delete N characters before the cursor [into
346
- buffer x]
347
- | Y | ["x]Y yank N lines [into buffer x]; synonym for
346
+ register x]
347
+ | Y | ["x]Y yank N lines [into register x]; synonym for
348
348
"yy"
349
349
| ZZ | ZZ store current file if modified, and exit
350
350
| ZQ | ZQ exit current file always
@@ -367,12 +367,12 @@ tag char note action in Normal mode ~
367
367
| `} | `} 1 cursor to the end of the current paragraph
368
368
| a | a 2 append text after the cursor N times
369
369
| b | b 1 cursor N words backward
370
- | c | ["x]c{motion} 2 delete Nmove text [into buffer x] and start
370
+ | c | ["x]c{motion} 2 delete Nmove text [into register x] and
371
+ start insert
372
+ | cc | ["x]cc 2 delete N lines [into register x] and start
371
373
insert
372
- | cc | ["x]cc 2 delete N lines [into buffer x] and start
373
- insert
374
- | d | ["x]d{motion} 2 delete Nmove text [into buffer x]
375
- | dd | ["x]dd 2 delete N lines [into buffer x]
374
+ | d | ["x]d{motion} 2 delete Nmove text [into register x]
375
+ | dd | ["x]dd 2 delete N lines [into register x]
376
376
| do | do 2 same as ":diffget"
377
377
| dp | dp 2 same as ":diffput"
378
378
| e | e 1 cursor forward to the end of word N
@@ -398,16 +398,16 @@ tag char note action in Normal mode ~
398
398
| q? | q? edit ? command-line in command-line window
399
399
| r | r{char} 2 replace N chars with {char}
400
400
| s | ["x]s 2 (substitute) delete N characters [into
401
- buffer x] and start insert
401
+ register x] and start insert
402
402
| t | t{char} 1 cursor till before N th occurrence of {char}
403
403
to the right
404
404
| u | u 2 undo changes
405
405
| v | v start characterwise Visual mode
406
406
| w | w 1 cursor N words forward
407
407
| x | ["x]x 2 delete N characters under and after the
408
- cursor [into buffer x]
409
- | y | ["x]y{motion} yank Nmove text [into buffer x]
410
- | yy | ["x]yy yank N lines [into buffer x]
408
+ cursor [into register x]
409
+ | y | ["x]y{motion} yank Nmove text [into register x]
410
+ | yy | ["x]yy yank N lines [into register x]
411
411
| z | z{char} commands starting with 'z', see | z | below
412
412
| { | { 1 cursor N paragraphs backward
413
413
| bar | | 1 cursor to column N
@@ -528,15 +528,19 @@ tag command action in Normal mode ~
528
528
| CTRL-W_CTRL-] | CTRL-W CTRL-] same as "CTRL-W ]"
529
529
| CTRL-W_CTRL-^ | CTRL-W CTRL-^ same as "CTRL-W ^"
530
530
| CTRL-W_CTRL-_ | CTRL-W CTRL-_ same as "CTRL-W _"
531
+ | CTRL-W_quote | CTRL-W " terminal window: paste register
531
532
| CTRL-W_+ | CTRL-W + increase current window height N lines
532
533
| CTRL-W_- | CTRL-W - decrease current window height N lines
534
+ | CTRL-W_. | CTRL-W . terminal window: type CTRL-W
535
+ | CTRL-W_: | CTRL-W : same as | : | , edit a command line
533
536
| CTRL-W_< | CTRL-W < decrease current window width N columns
534
537
| CTRL-W_= | CTRL-W = make all windows the same height & width
535
538
| CTRL-W_> | CTRL-W > increase current window width N columns
536
539
| CTRL-W_H | CTRL-W H move current window to the far left
537
540
| CTRL-W_J | CTRL-W J move current window to the very bottom
538
541
| CTRL-W_K | CTRL-W K move current window to the very top
539
542
| CTRL-W_L | CTRL-W L move current window to the far right
543
+ | CTRL-W_N | CTRL-W N terminal window: go to Terminal Normal mode
540
544
| CTRL-W_P | CTRL-W P go to preview window
541
545
| CTRL-W_R | CTRL-W R rotate windows upwards N times
542
546
| CTRL-W_S | CTRL-W S same as "CTRL-W s"
@@ -1573,6 +1577,7 @@ tag command action ~
1573
1577
| :tcldo | :tcld[o] execute Tcl command for each line
1574
1578
| :tclfile | :tclf[ile] execute Tcl script file
1575
1579
| :tearoff | :te[aroff] tear-off a menu
1580
+ | :terminal | :ter[minal] open a terminal window
1576
1581
| :tfirst | :tf[irst] jump to first matching tag
1577
1582
| :throw | :th[row] throw an exception
1578
1583
| :tjump | :tj[ump] like ":tselect", but jump directly when there
0 commit comments