1
- *intro.txt* For Vim version 8.0. Last change: 2016 Sep 24
1
+ *intro.txt* For Vim version 8.0. Last change: 2017 Aug 24
2
2
3
3
4
4
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -84,8 +84,8 @@ The Vim pages contain the most recent information about Vim. They also
84
84
contain links to the most recent version of Vim. The FAQ is a list of
85
85
Frequently Asked Questions. Read this if you have problems.
86
86
87
- VIM home page: http://www.vim.org/
88
- VIM FAQ: http://vimdoc.sf.net/
87
+ Vim home page: http://www.vim.org/
88
+ Vim FAQ: http://vimdoc.sf.net/
89
89
Downloading: ftp://ftp.vim.org/pub/vim/MIRRORS
90
90
91
91
@@ -143,9 +143,14 @@ There are two ways to report bugs, both work:
143
143
144
144
Please be brief; all the time that is spent on answering mail is subtracted
145
145
from the time that is spent on improving Vim! Always give a reproducible
146
- example and try to find out which settings or other things influence the
147
- appearance of the bug. Try different machines, if possible. Send me patches
148
- if you can!
146
+ example and try to find out which settings or other things trigger the bug.
147
+
148
+ Preferably start Vim with: >
149
+ vim --clean -u reproduce.vim
150
+ Where reproduce.vim is a script that reproduces the problem. Try different
151
+ machines, if relevant (is this an MS-Windows specific bug perhaps?).
152
+
153
+ Send me patches if you can!
149
154
150
155
It will help to include information about the version of Vim you are using and
151
156
your setup. You can get the information with this command: >
@@ -525,7 +530,7 @@ examples and use them directly. Or type them literally, including the '<' and
525
530
==============================================================================
526
531
5. Modes, introduction *vim-modes-intro* *vim-modes*
527
532
528
- Vim has six BASIC modes:
533
+ Vim has seven BASIC modes:
529
534
530
535
*Normal* *Normal-mode* *command-mode*
531
536
Normal mode In Normal mode you can enter all the normal editor
@@ -561,7 +566,12 @@ Ex mode Like Command-line mode, but after entering a command
561
566
you remain in Ex mode. Very limited editing of the
562
567
command line. | Ex-mode |
563
568
564
- There are six ADDITIONAL modes. These are variants of the BASIC modes:
569
+ Terminal-Job mode Interacting with a job in a terminal window. Typed
570
+ keys go to the job and the job output is displayed in
571
+ the terminal window. See | terminal | about how to
572
+ switch to other modes.
573
+
574
+ There are seven ADDITIONAL modes. These are variants of the BASIC modes:
565
575
566
576
*Operator-pending* *Operator-pending-mode*
567
577
Operator-pending mode This is like Normal mode, but after an operator
@@ -587,6 +597,10 @@ Insert Normal mode Entered when CTRL-O given in Insert mode. This is
587
597
If the 'showmode' option is on "-- (insert) --" is
588
598
shown at the bottom of the window.
589
599
600
+ Terminal-Normal mode Using Normal mode in a terminal window. Making
601
+ changes is impossible. Use an insert command, such as
602
+ "a" or "i", to return to Terminal-Job mode.
603
+
590
604
Insert Visual mode Entered when starting a Visual selection from Insert
591
605
mode, e.g., by using CTRL-O and then "v", "V" or
592
606
CTRL-V . When the Visual selection ends, Vim returns
@@ -661,6 +675,8 @@ Normal mode from any other mode. This can be used to make sure Vim is in
661
675
Normal mode, without causing a beep like <Esc> would. However, this does not
662
676
work in Ex mode. When used after a command that takes an argument, such as
663
677
| f | or | m | , the timeout set with 'ttimeoutlen' applies.
678
+ When focus is in a terminal window, CTRL-\ CTRL-N goes to Normal mode for only
679
+ one command, see | t_CTRL-\_CTRL-N | .
664
680
665
681
*CTRL-\_CTRL-G* *i_CTRL-\_CTRL-G* *c_CTRL-\_CTRL-G* *v_CTRL-\_CTRL-G*
666
682
The command CTRL-\ CTRL-G or <C-\><C-G> can be used to go to Insert mode when
@@ -823,10 +839,12 @@ by Vim. {Vi: not ok}
823
839
==============================================================================
824
840
8. Definitions *definitions*
825
841
842
+ buffer Contains lines of text, usually read from a file.
826
843
screen The whole area that Vim uses to work in. This can be
827
844
a terminal emulator window. Also called "the Vim
828
845
window".
829
- window A view on a buffer.
846
+ window A view on a buffer. There can be multiple windows for
847
+ one buffer.
830
848
831
849
A screen contains one or more windows, separated by status lines and with the
832
850
command line at the bottom.
0 commit comments