*insert.txt*     Vim version 6.2.   : 2003 Oct 30


		        VIM -  


					*Insert* *Insert-mode* *_*
								     **
   		      *mode-ins-repl* *___*

        .   
     .

         
   24   |usr_24.txt|.

1.   				|-_|
2.   			|--|
3.   'textwidth'  'wrapmargin'		|-textwidth|
4.   'expandtab', 'smarttab' 		|-expandtab|
    'softtabstop'        
5.   				|_|
6.     		        |__|
7.     		|-|
8.    			||
9.    Ex 			        |-ex|
10.                      |-|

 ,       'virtualedit', 
     ,   , 
    .

==============================================================================
1.  	       *ins-special-keys* *-_*

         ; 
     .  ,      
  ,     CTRL-V. 
  <Nul>, ,   "CTRL-V CTRL-@" 
"CTRL-V 000".       CTRL-C  
"CTRL-C 003". :  CTRL-V   ,  
   CTRL-Q |i_CTRL-Q|.

      -  ,  
     'langmap',   
      Vim.

 ޣ  'insertmode' <Esc>      
.  . |'insertmode'|.

			~
------------------------------------------------------------------------------
						          *i_CTRL-[* *i_<Esc>*
<Esc>  CTRL-[
		        
		 .   .
		:   <Esc>   , 
		  CTRL-[.
						                    *i_CTRL-C*
CTRL-C		       
		,    .

						                    *i_CTRL-@*
CTRL-@		 ,       
		 . {Vi:   ģ   
		    128 }
		
						                    *i_CTRL-A*
CTRL-A		 ,     . 
		{Vi    }

			                            *i_CTRL-H* *i_<BS>* *i_BS*
<BS>  CTRL-H	 ,    (.  
		|i___|   ).
		.  |:fixdel|,   <BS>   , 
		.
		{Vi:    }
		
						             *i_<Del>* *i_DEL*
<Del>		 ,    .  
		   ,     
		'backspace'  "eol",   ̣  <EOL> 
		      .
		.  |:fixdel|,   <Del>   , 
		.
		{Vi    }
						
						                    *i_CTRL-W*
CTRL-W		    (.  
		|i___|   ). . 
		    "  "
		|-_|.

						                    *i_CTRL-U*
CTRL-U		  ģ     (.
		  |i___|   ).

						  *i_CTRL-I* *i_<Tab>* *i_Tab*
<Tab>  CTRL-I 
		  .  ޣ  'expandtab'
		     (
		       
		CTRL-V <Tab>;   CTRL-V   , 
		 CTRL-Q <Tab> |i_CTRL-Q|). .   
		 'smarttab'   |-expandtab|.

						           *i_CTRL-J* *i_<NL>*
<NL>  CTRL-J	  .
						           *i_CTRL-M* *i_<CR>*
<CR>  CTRL-M	  .
						                    *i_CTRL-K*
CTRL-K {1} [2]
		  (. ||).  {1} 
		 ,       
		 <>. ,  "<S-Space>"   
		ԣ    <C-K><S-Space>.  
		   .
		{Vi    }

CTRL-N		    (. |i_CTRL-N|).
		{Vi    }

CTRL-P		    (. |i_CTRL-P|).
		{Vi    }

CTRL-R {0-9a-z"%#*+:.-=}					    *i_CTRL-R*
		  .   CTRL-R  
		      '"', 
		 ,      .
		  ,       , 
		   ,   .
		,      ,  
		   'textwidth', 'formatoptions',	'autoindent' 
		..         
		"p"    .

		 :

			'"'	 ,  
				̣    
			'%'	  
			'#'	  
			'*'	   (X11: 
				)
			'+'	  
			'/'	  
			':'	    
			'.'	  
			'-'	  ( )
				
			'='	 :   
				    
				(. ||)

		   . ||.
		{Vi    }

CTRL-R CTRL-R {0-9a-z"%#*+/:.-=}			     *i_CTRL-R_CTRL-R*
		  .    
		 CTRL-R,    
		,   ,  .   ,
		      <BS>. ,
		   a   "ab^Hc": >
		
		CTRL-R a	       "ac".
		CTRL-R CTRL-R a	       "ab^Hc".
<
		 'textwidth', 'formatoptions'  ..  
		         CTRL-R. 
		      ,  
		 "<C-R><C-O>r" (. ).  "." (
		 )   ,    .
		{Vi    }

CTRL-R CTRL-O {0-9a-z"%#*+/:.-=}			     *i_CTRL-R_CTRL-O*
		      
		 .    
		     |<MiddleMouse>|.
		    !
		 "." (  )  
		,    .
		{Vi    }

CTRL-R CTRL-P {0-9a-z"%#*+/:.-=}			     *i_CTRL-R_CTRL-P*
		     
		   ,  
		    |<MiddleMouse>|.
		    !
		 "." (  )  
		,    .
		{Vi    }

						                    *i_CTRL-T*
CTRL-T		      . 
		      'shiftwidth' (
		  vi).
		{Vi:        }
						
						                    *i_CTRL-D*
CTRL-D		      . 
		      'shiftwidth' (
		  vi).
		{Vi: CTRL-D     
		 }

						                  *i_0_CTRL-D*
0 CTRL-D	     .
		{Vi: CTRL-D     
		 }

						                  *i_^_CTRL-D*
^ CTRL-D	     . 
		   .    
		.
		{Vi: CTRL-D     
		 }

						                    *i_CTRL-V*
CTRL-V		    .  
		    .  ,
		  ,   
		  |i_CTRL-V_|.
		, ģ    CTRL-V 
		    . {Vi: 
		   }
		:  CTRL-V    (,
		  ),     CTRL-V 
		CTRL-Q |i_CTRL-Q|.

						                    *i_CTRL-Q*
CTRL-Q		 ,   CTRL-V.
		:    "" CTRL-Q, 
		   CTRL-Q   . CTRL-Q   
		 .

CTRL-X		   CTRL-X.    ,
		      
		    . . |i_CTRL-X| 
		|-|.
		{Vi    }

						                    *i_CTRL-E*
CTRL-E		 ,   .
		{Vi    }

						                    *i_CTRL-Y*
CTRL-Y		 ,   .
		{Vi    }

		:   'textwidth'   CTRL-E 
		CTRL-Y  ,   
		    .

						                    *i_CTRL-_*
CTRL-_		      
		 :
		-      " "   revins
		    nohkmap,   ,   
		   ģ   .
	        -      " "   revins
		    hkmap,   ,   
		   ģ   .

		CTRL-_     ģ .

		     ,   
		'allowrevins'.
		       "
		"   |rileft.txt|.
		{Vi    }
		
		     ,  Vim  
		ޣ  |+rightleft| (  
		 ).
						
						                    *i_CTRL-^*
CTRL-^		    .
		       
		 |:lmap|:
		
		-   ,    'iminsert'  1
		  (  ),    0
		  (   ).
		-   ,  'iminsert'  - 
		  ,    1;  , 
		      .

		      :

		-   ,    'iminsert'  2
		  (  ),    0 ( 
		   ).
		-   ,   'iminsert'  - 
		  ,    2;  , 
		    .
		
		   'iminsert'  1   
		   "b:keymap_name",  
		 'keymap',  "<lang>".   
		     . 
		  'keymap'   
		  .
		{Vi    }

						                    *i_CTRL-]*
CTRL-]		  ( )   
		.
		{Vi    }

						                  *i_<Insert>*
<Insert>	     .
		{Vi    }
------------------------------------------------------------------------------

		                   *i_backspacing* *i___*
  <BS>, CTRL-W  CTRL-U     'backspace'
(   ,    'revins').  
    , ̣ :

	     ~
------------------------------------------------------------------------------
indent	       ,  
	    
eol	           (
	       )
start	        ,  
	     : CTRL-W  CTRL-U    
	      .
------------------------------------------------------------------------------

   'backspace'   ,  
Vi-   .     
 ,     ,  
,     .

  c      "0", "1" 
"2", . |'backspace'|.

     'backspace'  "eol",   
  1,        ң  
   ,     <EOL>,
  .
{Vi        
,      ,   
}

					     *i_CTRL-V_digit* *i_CTRL-V_*
  CTRL-V     ,  
  .      
,      (<NL>, 10).   
    :

 		          . -          .  ~
                                       ~
------------------------------------------------------------------------------
()				3		     255
o  O				3		     255
x  X			2		  ff (255)
u			4		ffff (65535)
U			8	    7fffffff (2147483647)
------------------------------------------------------------------------------

  CTRL-V      .
,    ( 32)   <C-V>032.
   ,       
    .        
:    ,      
  ,  ,   ģ , 
""       .

  ģ  10,         
 0.   ,   Vim  <NL> ( 10)  
  <Nul>.       <NL> 
  <Nul>.  <NL>     ,  
  <NL>    .

			      *i_CTRL-X* *insert_expand* *_*
 CTRL-X      , 
     .   
     ;  .
|-|.      Vim,  
ޣ  |+insert_expand|.

            
 :

						             *i_CTRL-X_CTRL-E*
CTRL-X CTRL-E		     .

						             *i_CTRL-X_CTRL-Y*
CTRL-X CTRL-Y		     .

  CTRL-X    CTRL-E (CTRL-Y) 
   ()      ,   
    .  CTRL-X  
   ,        
    .

==============================================================================
2.              *ins-special-special* *--*

        .  
  ,     ,   
.          
,      ,   
   ,   ,   
  .        
  'backspace'  "indent,eol,start"   
'insertmode'.     -   
,  CTRL-O.

 (  ̣ ),     
  ,     .  
Σ         
  "i".

			~
------------------------------------------------------------------------------
<Up>		    		              *i_<Up>*
<Down>		    		            *i_<Down>*
CTRL-G <Up>	    ,                   *i_CTRL-G_<Up>*
                   
CTRL-G k	    , 	                  *i_CTRL-G_k*
                   
CTRL-G CTRL-K	    , 	              *i_CTRL-G_CTRL-K*
		   
CTRL-G <Down>	    ,                   *i_CTRL-G_<Down>*
		   
CTRL-G j	    ,                        *i_CTRL-G_j*
		   
CTRL-G CTRL-J	    ,                   *i_CTRL-G_CTRL-J*
		   
<Left>		    		             *i_<Left>*
<Right>		    		            *i_<Right>*
<S-Left>	     (  "b")	   *i_<S-Left>*
<C-Left>	     (  "b")       *i_<C-Left>*
<S-Right>	    ң (  "w")     *i_<S-Right>*
<C-Right>	    ң (  "w")     *i_<C-Right>*
<Home>		    	                     *i_<Home>*
<End>		    	              *i_<End>*
<C-Home>	     	           *i_<C-Home>*
<C-End>		     	            *i_<C-End>*
<LeftMouse>	          *i_<LeftMouse>*
<S-Up>		                            *i_<S-Up>*
<PageUp>	     		           *i_<PageUp>*
<S-Down>	    		           *i_<S-Down>*
<PageDown>	                           *i_<PageDown>*
<MouseDown>	    	                *i_<MouseDown>*
<S-MouseDown>	    		      *i_<S-MouseDown>*
<MouseUp>	    		          *i_<MouseUp>*
<S-MouseUp>	                        *i_<S-MouseUp>*
CTRL-O		          *i_CTRL-O*
CTRL-G u                             *i_CTRL-G_u*
                    
------------------------------------------------------------------------------

:      ,  
 'noesckeys'.

 CTRL-O    :     
 ,    ݣ      .
<Shift>        .

     ,  , 
   "i"  "a", .    , 
    CTRL-O   .

   CTRL-G u: >

	:inoremap <C-H> <C-G>u<C-H>
>
        
  ,       .
          
          CTRL-O u.

    'whichwrap'  <Left>  <Right> 
/      
/ .

 CTRL-G j  CTRL-G k       
. : >

   int i;
   int j;
   
     "int"   "istatic<C-G>j       ".
  : >
 
   static int i;
	  int j;

           
  "I"     |v_b_I|.

==============================================================================
3.  'textwidth'  'wrapmargin'	   *ins-textwidth* *-textwidth*

 'textwidth'      ,
    .   'textwidth' 
   .   ģ  , 
  ,     ,  
      ,    ,
     .    , 
   'textwidth'  0.

 'wrapmargin'     .    , 
 'textwidth'     , 
   'wrapmargin'      .
  'wrapmargin'    'textwidth'
 ,  (   - 'wrapmargin').

    'textwidth'  'wrapmargin'   , 
   'textwidth'.

  ,        , 
        , 
 'linebreak'.

         
  .      ,  ţ  
.

        
 . ,       ,
     'formatoptions':

"l"       ,      
     'textwidth'    .
"v"      , ģ    
     .   Vi-   .
"lv"      ,     
      'textwidth'        
      , ģ    . 
      "l"     ,    ,
      'textwidth'.

       "gq". 
 "gq"         
  ,   .   
   "gq}" (    ). 
   "gqap",    
 ,    .   
 :   "v",      
  "gq". .  |gq|.

==============================================================================
		                                               *ins-expandtab*
4.  'expandtab', 'smarttab'  'softtabstop'           *-expandtab*

 ޣ  'expandtab'      
      <Tab>.  
 <Tab>   ,     CTRL-V (
CTRL-Q,  CTRL-V    |i_CTRL-Q|).

   'expandtab' . :    
     .     
 .       
    .    ݣ  
    .
{Vi    'expandtab'}

					     *ins-smarttab* *-smarttab*
 ޣ  'smarttab',  <Tab>    ,
    'shiftwidth'   ,   
,     'tabstop'    . 
  ,     <Tab>     
 .    'smarttab',  <Tab> 
  ,      'tabstop',  
 'shiftwidth'      ">>".
{Vi    }


				       *ins-softtabstop* *-softtabstop*
   'softtabstop'   ,     <Tab>
    ,    
'softtabstop',   <BS>        .
 ,      'tabstop'    
'softtabstop',     <Tab>      
,      'tabstop',   
    .

   'softtabstop'   ,   <BS>  
   ,    
 ,    'softtabstop',  
 ,  ,     
 -     ̣  , 
  .  ,     
   ,     ģ 
   ,     'softtabstop', 
     .


==============================================================================
					               ** *_*
5.                          *Replace* *Replace-mode* *mode-replace*

          "R".

      ""  , 
    .     
,   , ,   ,   
    ,    .  ,
     ,    ң 
 .      <NL>   
    .

     <Tab>.     
ģ   ,     ,
       .

      (  <BS>, <CTRL-W>  <CTRL-U>),
   ӣ . ,  
    .    
,     ,    . 
,         ӣ
. 

 ޣ  'expandtab',   <Tab>    
    .      
  .   <BS>      
.       ,  
.
{Vi    'expandtab'}

==============================================================================
						    *__*
6.   	        *vreplace-mode* *Virtual-Replace-mode*

         
 "gR".
{    ,  Vim   
+vreplace}
{Vi     }

       ,   
       ,  , 
        .

,  <Tab>     ,   
ģ    <Tab>,  ,    
ģ,   <Tab>       
,   .

    <NL>     , 
    .       
 (, ),       .
      ,     .

  CTRL-T  CTRL-D      
 . ,     
,  ,      . CTRL-T 
     ,  ,  CTRL-D
    . 

    ,    <BS>  
 ,     .    
      'smartindent', CTRL-T  CTRL-D, 
'expandtab', 'smarttab', 'softtabstop'  ..

   'list'    ,   
'list'  ,   ,     
'cpoptions'   "L".

 ,     ,   ,
    ޣ  'list',    
  ޣ  'wrap' (    , 
   ,   ),     
, ģ   CTRL,  , ģ   CTRL
    .       
,   ,    , ģ  
CTRL.

        ,
̣  <Tab>,    ,   
    .

==============================================================================
7.       *ins-completion* *-*

        , 
     ,     . 
      (, ͣ  
 ޣ   ).

      ,  Vim   
 |+insert_expand|.

    :

1.   						|i_CTRL-X_CTRL-L|
2.      			|i_CTRL-X_CTRL-N|
3.     'dictionary'			|i_CTRL-X_CTRL-K|
4.     'thesaurus',   	|i_CTRL-X_CTRL-T|
5.        	|i_CTRL-X_CTRL-I|
6.  						|i_CTRL-X_CTRL-]|
7.  ͣ 						|i_CTRL-X_CTRL-F|
8.    				|i_CTRL-X_CTRL-D|
9.    Vim				|i_CTRL-X_CTRL-V|
10.    'complete'				|i_CTRL-N|

  ,   10,     CTRL-X.
     ,      
CTRL-X,         CTRL-X.  
 CTRL-X    ,    
 CTRL-X.   CTRL-X    CTRL-X, CTRL-N
()  CTRL-P ().

        ,  
   'infercase'.

: ,      CTRL-X 
  .      
":map ^F ^X^F" (^F  CTRL-F,  ^X  CTRL-X). ,   
   CTRL-X (.. ,      CTRL-X)
    .  ,    
'complete'     .

        
 (,          ): >

    :inoremap ^] ^X^]
    :inoremap ^F ^X^F
    :inoremap ^D ^X^D
    :inoremap ^L ^X^L

        CTRL-R (.
|i_CTRL-R|),      CTRL-X    . 
    ,     '=' 
 - ,     . 
  (    '=')  
  CTRL-X,  ģ    ,    
    . 

,  ,   <Tab>  ,   
      <Tab>   ,  
    ,     
   CTRL-N: >

	function! CleverTab()
	   if strpart( getline('.'), 0, col('.')-1 ) =~ '^\s*$'
	      return "\<Tab>"
	   else
	      return "\<C-N>"
	endfunction
	inoremap <Tab> <C-R>=CleverTab()<CR>



       *compl-whole-line* *__*

							     *i_CTRL-X_CTRL-L*
CTRL-X CTRL-L		 ,      ,
			       
			.  .  
			  .
			 'complete'    ,
			    .  
			   .
	CTRL-L	
	CTRL-P		     .
			    
			.

	CTRL-N		     .
			    
			.

	CTRL-X CTRL-L	      
			    ԣ  
			CTRL-X CTRL-L,      
			CTRL-X.

					    *___*
                        *compl-current* 

							     *i_CTRL-X_CTRL-P*
							     *i_CTRL-X_CTRL-N*
CTRL-X CTRL-N		 ,     
			  .    
			 .

CTRL-X CTRL-P		 ,     
			  .   
			  .

	CTRL-N		     .
			    
			.

	CTRL-P		     .
			    
			.

	CTRL-X CTRL-N 
	CTRL-X CTRL-P	
			  CTRL-X CTRL-N  CTRL-X
			CTRL-P    ,   
			  ,    
			  CTRL-X.

      (.. ,  
   ,     'iskeyword'),  
         "\<" (..,
 ).         
"\<\k\k" (   ,     
).

    ,   ,   
 . ,     ,   
          .

    ,       ,
     ,     
.

,  : >
	
	printf("(%g, %g, %g)", vector[0], vector[1], vector[2]);
<
      >

	printf("(%g, %g, %g)", vector[0], ^P[1], ^P[2]);
	

    ;    CTRL-N 
CTRL-P     ( ,  
  ).

      ,   
   ,   .

,  : >

	printf("name = %s\n", name);
<
     : >

	printf("name = %s\n", n^P);

<    : >

	printf("name = %s\n", ^P);

 , 'n'  '\n'  .

      CTRL-X CTRL-P  CTRL-X CTRL-N,
        . 
   ,       
 .  ,     
 .  CTRL-P  CTRL-N   , 
    , CTRL-X CTRL-P  CTRL-X CTRL-N  
    ,    .

,  : >

	M&eacute;xico
<
     : >

	M^N^P^X^P^X^P
<
    CTRL-N  ,   CTRL-P  
     "M",  CTRL-X CTRL-P    "&eacute"
     ";xico".
    

       - ,   
      'textwidth',   
   .

      ,   
          
"   ".       
CTRL-X CTRL-P  CTRL-X CTRL-N    ,  
 .

						   *__*
   'dictionary'                         *compl-dictionary*

							     *i_CTRL-X_CTRL-K*
CTRL-X CTRL-K		 ,     , 
			,     'dictionary'. 
			   CTRL-N,   
			      .
			    . 
			    ,
			    
			    
			.    'dictionary' 
			 . 
			  ,      
			   'dictionary'.


	CTRL-K	
	CTRL-N		     .
			    
			.

	CTRL-P		     .
			    
			.

							     *i_CTRL-X_CTRL-T*
CTRL-X CTRL-T		   ,   CTRL-X CTRL-K,  
			 .   'dictionary'
			   'thesaurus'.  ,
			  ,     
			,      
			   ,    
			     .
			 ,    .

			 ,   ,   
			'thesaurus'   : >

				   
<
			  ,      "",
			    CTRL-X CTRL-T ģ
			  "";   
			    "",   - 
			"".
			     
			        
			    .


	CTRL-T	
	CTRL-N		     .
			    
			.

	CTRL-P		     .
			    
			.


					   *___*
      ޣ      *compl-keyword*

 'include'    ,   
ޣ .  ޣ    , 
  'path'.

							     *i_CTRL-X_CTRL-I*
CTRL-X CTRL-I		       ޣ
			,      ,  
			  .   
			  .

	CTRL-N		     .
			    ,
			 . 
			:  CTRL-I  <Tab>,  
			  ģ   
			,      .   
			CTRL-I     
			.

	CTRL-P		     .
			    
			.

	CTRL-X CTRL-I	  CTRL-X CTRL-I  
			,      
			,      
			CTRL-X.


 	                    *_* *compl-tag*

							     *i_CTRL-X_CTRL-]*
CTRL-X CTRL-]		  ,     ,
			   .  
			  .   ,
			     ,   
			,     ,   - 
			  ,    'iskeyword'. .
			 |CTRL-]|.
			 'showfulltag'    
			  ţ .
			
	CTRL-]	
	CTRL-N		     .
			    
			.

	CTRL-P		     .
			    .


 ͣ 	 *_ͣ_* *compl-filename*


							     *i_CTRL-X_CTRL-F*
CTRL-X CTRL-F		   ,     
			,     .  
			  .    
			     ,  
			  'isfname'. :  
			'path'    ()  .

	CTRL-F	
	CTRL-N		      
			.      
			.

	CTRL-P		      
			.      
			.


      *compl-define* *-define*

 'define'    ,   
.  'include'    ,  
   ޣ .  'path'   
ޣ .

							     *i_CTRL-X_CTRL-D*
CTRL-X CTRL-D		   ( ), 
			       
			ޣ .   
			 . 
			
	CTRL-D	
	CTRL-N		    . 
			    .

	CTRL-P		      
			.     
			.

	CTRL-X CTRL-D	  CTRL-X CTRL-D 
			 ,    
			   ,    
			  CTRL-X.


  Vim	              *compl-vim* *-vim*

           
.     Ex   . 

							     *i_CTRL-X_CTRL-V*
CTRL-X CTRL-V		      
			  ,    
			.
			:  CTRL-V   , 
			   CTRL-Q  
			|i_CTRL-Q|.

	CTRL-V 
	CTRL-N		  .  
			  .

	CTRL-P		     . 
			    .

	CTRL-X CTRL-V	  CTRL-X CTRL-V   ,
			  CTRL-V.     
			   Vim, : >
				
				:imap <Tab> <C-X><C-V>

<
						       *-*
                  *compl-generic* 

							           *i_CTRL-N*
CTRL-N			    ,  
			  ;    ,
			    'complete'. 
			   .

							           *i_CTRL-P*
CTRL-P			    , 
                           ;    ,
			    'complete'. 
			   .

	CTRL-N		  .  
			   .

	CTRL-P		     .
			    .

	CTRL-X CTRL-N 
	CTRL-X CTRL-P	
	                  CTRL-X CTRL-N  CTRL-X
			CTRL-P  ,   
			   ,    
			  CTRL-X.

==============================================================================
8.   			         *inserting* **

        .  
         ".".

							                   *a*
a			     [] .

							                   *A*
A			      [] .

<insert>			                       *i* *insert* *<Insert>* 
i			     [] .
			  CTRL-O    |i_CTRL-O|
			[]  .

							                   *I*
I			      
			  [] .

							                  *gI*
gI			    1  [] .
			{Vi    }

							                  *gi*
gi			     ,    
			   ݣ  .  
			   |'^|,   
			"`^i",      .
			    
			  ,   . 
			{Vi    }

							                   *o*
o			        
			;     []
			.
			{Vi:   []  }

							                   *O*
O			        
			;     []
			.
			{Vi:   []  }

      .    
ݣ    <Esc>.      
 . |___|.  []   
  .

 ޣ  'autoindent'      
 .    'smartindent'  'cindent',  
      C  .

 'textwidth'      . 
   ,     
  .

==============================================================================
9.   Ex 			           *inserting-ex* *-ex*

							        *:a* *:append*
:{}a[ppend]	      .
			 {}  ,    
			  .

							  *:i* *:in* *:insert*
:{}i[nsert]	      .
			 {}  ,    
			  .

       ,    ģ ,
   ".".   ,   
  ,  . |_|.
:  ":append"  ":insert"      ":if" 
":endif".

						       *:start* *:startinsert*
:star[tinsert][!]	       
			.     ,   
			 "i"   .   !
			   ,   "A",  
			   .  !   
			 . 
			 ,     
			   ,   
			     .
			{Vi    }
                        {    ,  Vim 
			  +ex_extra}

							*:stopi* *:stopinsert*
:stopi[nsert]		      .
			    ,    <Esc> 
			 .
			     ,
			: >
			
				:au BufEnter scratch stopinsert

==============================================================================
10.                    *inserting-file* *-*

							    *:r* *:re* *:read*
:r[ead] []		  [] ( :  ) 
			.

:{}r[ead] []	  [] ( :  ) 
			 .

							        *:r!* *:read!*
:r[ead] !{}	 {}   ţ  
			 .    
			    ,
			    .  'shellredir'
			      
			   ,   
			   stderr. {} 
			 ":!{}",   '!'  
			  |:!|.

         . 
      Σ.      
".".         , 
  .       
 ":0r {}".

  ":read"        
 .   Ex, ,      
( ,     Vi).

,       ":r",  
.   , ,    
  : ":e! #".    ,  
  'cpoptions'  'a'.

					             *file-read* *-*
 'fileformat'     <EOL>  :

'fileformat'    		   				~
  "dos"		<CR><NL>  <NL>   DOS
  "unix"	<NL>		    Unix
  "mac"		<CR>		    Mac
  
      'textmode'.     
.

   'fileformat' -- "dos",  <CR>  <NL> , 
  CTRL-Z   .

   'fileformat' -- "mac",  <NL>    
  <CR>.    ,   , 
<NL>     <NUL>. . |CR--NL|.

   'fileformats'    ,  Vim 
    <EOL> (. |-|).  , 
  'fileformat'     ; ̣ 
      .  
   'fileencodings'.

 ,   MS-DOS, Win32  OS/2,      DOS
  "[ dos]",     , 
.  , MS-DOS, Win32  OS/2      Unix
  "[ unix]".
 ,   ,      Mac
  "[ mac]".

  ":r !": >

	:r !uuencode binfile binfile

    "binfile",      "uuencode"
     .      
   ,     
  .

					    *read-messages* *-*
   Vim      ԣ . 
      .  
  .      
    'shortmess'.

	        ~
	[ ]	[RO]		 ݣ  
	[fifo/]			 
	[fifo]				  fifo
	[]			   
	[ CR]			     
					'fileformat'  "dos" 
					 NL   
					CR.
	[ NL]			     
					'fileformat'  "mac" 
					 NL (    
					"unix").
	[  ]	     
					  
	[ ]		   
					,    
					'fileencoding',  , 
					   'encoding',   
					 .
	[]		   
					,    
					'fileencoding',  , 
					   'encoding'.
	[]			  
	[ ]			    

==============================================================================
vim:tw=78:ts=8:ft=help:norl:
