*scroll.txt*     Vim version 6.1.   : 2001 Sep 19


		        VIM -  


					       *scrolling* **

    ,    . 
    ,  ,    ,
    ( ޣ  ,   
 'scrolloff').         .
      .  ,  
    ( ,     ) 
     .    ,    
 .

      Vim     |03.7|
 .

1.  		    |-|
2.  		    |-|
3.      |-|
4.  	    |-_|
5.  		    |scroll-binding|
6.      |-_|

==============================================================================
1.  				*scroll-down* *-*

      ( , 
 ) , ..          
  :

							              *CTRL-E*
CTRL-E			   []  .
			: ݣ.

							              *CTRL-D*
CTRL-D			   ("Downwards", ""). 
			    'scroll' (
			:  ).   [], 
			     
			'scroll'   []. 
			     , 
			 :      
			      
			.      
			,      Vim  
			. .     'startofline'.
			{Vi:     Vim ,  
			  ,  ,  
			 'scroll',    ;   
			  ,   
			 ӣ,    
			}

<S-Down>	 		                      *<S-Down>* *<kPageDown>*
<PageDown>				                 *<PageDown>* *CTRL-F*
CTRL-F			    []  ң
			()    . : "Forwards",
			"ң". .   'startofline'.

							                  *z+*
z+			 []:  ,  ,
			        
			.       
			   .
			 []:  ,   "z<CR>".

==============================================================================
2.  				 *scroll-up* *-*

    ,    
 ( ,    )  (.. 
       ):

							              *CTRL-Y*
CTRL-Y			   []  .
			:  MS-Windows CTRL-Y   
			  Σ .

							              *CTRL-U*
CTRL-U			   ("Upwards", ""). 
			    'scroll' (
			:  ).   [], 
			     
			'scroll'   []. 
			     , 
			 :      
			      
			.      
			,      Vim  
			. .     'startofline'.
			{Vi:     Vim ,  
			  ,  ,  
			 'scroll',    ;   
			  ,   
			 ӣ,    
			}

<S-Up>							  *<S-Up>* *<kPageUp>*
<PageUp>						   *<PageUp>* *CTRL-B*
CTRL-B			    []  
			()    . : "Backwards",
			"". .   'startofline'.

							                  *z^*
z^			 []:  ,  ,
			        
			.       
			   .
			 []:     
			 ,   ,   
			[]    ,   ,
			        .
			      
			   .

==============================================================================
3.   	    *scroll-cursor* *-*

,    ,    
 ( ,    )  
 :

							               *z<CR>*
z<CR>			 ,   []  
			(  -- ,    ).
			     
			  .

							                  *zt*
zt			 "z<CR>",       .
			{Vi    }

							              *zN<CR>*
z{}<CR>		 ,   {} ( ). 
			     , 
			   .     
			,   .

							                  *z.*
z.			 ,  ,   
			[]    (  -- , 
			  ).    
			    .

							                  *zz*
zz			 "z.",       . 
			:    Caps Lock  
			  "ZZ":    
			! 
			{Vi    }

							                  *z-*
z-			 ,  ,   
			[]   (  -- ,  
			 ).    
			    .

							                  *zb*
zb			 "z-",       .
			{Vi    }

==============================================================================
4.  	*scroll-horizontal* *-_*

 ң        . 
,    ,     
,      ,   
.   'sidescroll'  .

z<Right>    						       *zl* *z<Right>*
zl			    []  .
			     'wrap'. 
			{Vi    }

z<Left>     						        *zh* *z<Left>*
zh			    []  .
			     'wrap'. 
			{Vi    }

							                  *zL*
zL			      .
			     'wrap'. 
			{Vi    }

							                  *zH*
zH			      .
			     'wrap'. 
			{Vi    }

       ,  
   .

							                  *zs*
zs			   ,   
			   (start, "").
			     'wrap'. 
			{Vi    }

							                  *ze*
ze			   ,   
			   (end, ""). 
			     'wrap'. 
			{Vi    }

==============================================================================
5.  		       *scroll-binding* *-*

         ,  
         
 .  Vim        
 'scrollbind',       .  
    'scrollbind',      
     ,   
 ,    .    'scrollbind'
    'scrollopt'.

         ,
   .      ,
       
 .

      'diff',    
    .   , 
 .

		 *scrollbind-relative* *_-*
 ,     'scrollbind'  
" ",      
        . 
  'scrollbind'-       ,
    ,    
   .     ,  
       
      .

   ,     'scrollbind'-,  
   ,        
  ,       
.    ,    'jump'  
 'scrollopt'.

							*syncbind* *:syncbind*
:syncbind		    
			      
			.  ,  -  
			    ,     
			ޣ  'scrollbind'   
			    .

	  *scrollbind-quickadj* *_-_*
 'scrollbind'         
 ,   ,    
     . ,  
    'scrollbind'   ,
       .   
     ,   
 'scrollbind'.

==============================================================================
							  *scroll-mouse-wheel*
6.     	               *-_*

        ,      Vim 
 .       
.  ,       xterm
|xterm-_|.

   Win32       
 .      ,   
    .  ,   
,     .     
  , . |intellimouse-__|.

   X11 (Motif, Athena  GTK)   
     <MouseDown>  <MouseUp>.  ,
     :

    <MouseDown>		    .	*<MouseDown>*
    <S-MouseDown>	   .	*<S-MouseDown>*
    <C-MouseDown>	   .	*<C-MouseDown>*
    <MouseUp>		    .	*<MouseUp>*
    <S-MouseUp>		   .	*<S-MouseUp>*
    <C-MouseUp>		   .	*<C-MouseUp>*
    
     ,    
.

: <MouseDown>     ,  
     !

     ,    
 . ,        
      : >

   :map <MouseDown> <C-Y>
   :map <S-MouseDown> <C-U>
   :map <MouseUp> <C-E>
   :map <S-MouseUp> <C-D>

       Ctrl  Alt.

,      ,  Vim 
  ,     .  
    "xev".

  XFree86,       
/etc/XF86Config. ,  FreeBSD   Logitech   
: >

    Protocol     "MouseMan"
    Device       "/dev/psm0"
    ZAxisMapping 4 5

      Xfree86.

				       *xterm-mouse-wheel* *xterm-_*
      xterm   
    X,     . 

    xterm    :
1.      X,    .
2.     xterm,  xterm  
      Vim   escape-.
3.   Vim      
     escape-   <MouseUp> 
   <MouseDown>.

        
 ~.Xdefaults (   ,      X): >

  XTerm*VT100.Translations:		#override \n\
		s<Btn4Down>: string("0x9b") string("[64~") \n\
		s<Btn5Down>: string("0x9b") string("[65~") \n\
		<Btn4Down>: string("0x9b") string("[62~") \n\
		<Btn5Down>: string("0x9b") string("[63~") \n\
		<Btn4Up>: \n\
		<Btn5Up>:

      vimrc: >

	:map <M-Esc>[62~ <MouseDown>
	:map! <M-Esc>[62~ <MouseDown>
	:map <M-Esc>[63~ <MouseUp>
	:map! <M-Esc>[63~ <MouseUp>
	:map <M-Esc>[64~ <S-MouseDown>
	:map! <M-Esc>[64~ <S-MouseDown>
	:map <M-Esc>[65~ <S-MouseUp>
	:map! <M-Esc>[65~ <S-MouseUp>
<
==============================================================================
vim:tw=78:ts=8:ft=help:norl:
