
    ^hX	                        S r SSKJr  SSKJrJrJr  SSKJrJ	r	J
r
Jr  SSKJrJrJrJrJrJrJrJr  / SQrSS jrSS	 jrSS
 jrg)zq
Key bindings for extra page navigation: bindings for up/down scrolling through
long pages, like in Emacs or Vi.
    )annotations)buffer_has_focus
emacs_modevi_mode)ConditionalKeyBindingsKeyBindingsKeyBindingsBasemerge_key_bindings   )scroll_backwardscroll_forwardscroll_half_page_downscroll_half_page_upscroll_one_line_downscroll_one_line_upscroll_page_downscroll_page_up)load_page_navigation_bindings#load_emacs_page_navigation_bindings load_vi_page_navigation_bindingsc                 X    [        [        [        5       [        5       /5      [        5      $ )z:
Load both the Vi and Emacs bindings for page navigation.
)r   r
   r   r   r        m/home/james-whalen/.local/lib/python3.13/site-packages/prompt_toolkit/key_binding/bindings/page_navigation.pyr   r   "   s/     "3502	
 	 r   c                     [        5       n U R                  nU" S5      " [        5        U" S5      " [        5        U" SS5      " [        5        U" S5      " [        5        [	        U [
        5      $ )|
Key bindings, for scrolling up and down through pages.
This are separate bindings, because GNU readline doesn't have them.
zc-vpagedownescapevpageup)r   addr   r   r   r   key_bindingshandles     r   r   r   4   sZ    
 =LF
5M"#
:'(
8S.)
8^$!,
;;r   c                 n   [        5       n U R                  nU" S5      " [        5        U" S5      " [        5        U" S5      " [        5        U" S5      " [
        5        U" S5      " [        5        U" S5      " [        5        U" S5      " [        5        U" S5      " [        5        [        U [        5      $ )	r   zc-fzc-bzc-dzc-uzc-ezc-yr   r    )r   r!   r   r   r   r   r   r   r   r   r   r   r"   s     r   r   r   D   s    
 =LF
5M.!
5M/"
5M'(
5M%&
5M&'
5M$%
:'(
8^$!,88r   N)returnr	   )__doc__
__future__r   prompt_toolkit.filtersr   r   r   'prompt_toolkit.key_binding.key_bindingsr   r   r	   r
   scrollr   r   r   r   r   r   r   r   __all__r   r   r   r   r   r   <module>r-      sD   
 # H H 	 	 	$< 9r   