<commit_before>"""
Overview
========

Usage
=====

Key-Commands
============

Mode: NORMAL
Event: <Key-j> 
Description: Move the cursor one line down.


Mode: NORMAL
Event: <Key-k> 
Description: Move the cursor one line up.


Mode: NORMAL
Event: <Key-h> 
Description: Move the cursor one character left.


Mode: NORMAL
Event: <Key-l> 
Description: Move the cursor one character right.


"""


def install(area):
    area.install(('NORMAL', '<Key-j>', lambda event: event.widget.down()),
                 ('NORMAL', '<Key-k>', lambda event: event.widget.up()),
                 ('NORMAL', '<Key-h>', lambda event: event.widget.left()),
                 ('NORMAL', '<Key-l>', lambda event: event.widget.right()))


<commit_msg>Adding docs.<commit_after>"""
Overview
========

This plugin implements the basic cursor movements.

Usage
=====

The way to move the cursor up is by pressing <Key-k>, to move the cursor down <Key-j>,
to move the cursor left <Key-h>, to move the cursor right <Key-l>. These events
work in NORMAL mode.

Key-Commands
============

Mode: NORMAL
Event: <Key-j> 
Description: Move the cursor one line down.


Mode: NORMAL
Event: <Key-k> 
Description: Move the cursor one line up.


Mode: NORMAL
Event: <Key-h> 
Description: Move the cursor one character left.


Mode: NORMAL
Event: <Key-l> 
Description: Move the cursor one character right.


"""


def install(area):
    area.install(('NORMAL', '<Key-j>', lambda event: event.widget.down()),
                 ('NORMAL', '<Key-k>', lambda event: event.widget.up()),
                 ('NORMAL', '<Key-h>', lambda event: event.widget.left()),
                 ('NORMAL', '<Key-l>', lambda event: event.widget.right()))




{'fraction_non_alphanumeric': 0.17208752217622708, 'fraction_numerical': 0.0, 'mean_word_length': 3.2835443037974685, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4599072', 'n_tokens_mistral': 522, 'n_tokens_neox': 528, 'n_words': 183}