<commit_before>#+TITLE: Vinegar layer

* Table of Contents                                         :TOC_4_gh:noexport:
 - [[#description][Description]]
   - [[#features][Features]]
   - [[#mouse-bindings][Mouse bindings]]
   - [[#key-bindings][Key bindings]]

* Description
This layer is a port contribution layer for vim-vinegar for emacs.

A port of tpope's vinegar.vim
[vinegar][https://github.com/tpope/vim-vinegar], simplifying =dired=
with a limited number of details and exposing the ~-~ command in all
buffers to enter dired.

** Features
-  navigation up folders with ~-~ key
-  simplify dired buffer to show only file names
-  better evil/vim bindings for navigation within dired buffer
-  keep only one active dired buffer
-  Use dired-k extension to show time / vcs related information in
   single bar
-  right mouse click moves up directory if in blank space or shows context menu

** Mouse bindings

| Mouse Binding | Description                                   |
|---------------+-----------------------------------------------|
| ~mouse-1~     | (Dired) Open selected file                    |
| ~mouse-2~     | (Dired) Open clicked file in other-window     |
| ~mouse-3~     | (Dired) Open context popup or go up directory |

** Key bindings

| Key Binding | Description                                        |
|-------------+----------------------------------------------------|
| ~-~         | Navigate to parent directory in dired              |
| ~0~         | (Dired) Move to the beginning of the file in dired |
| ~=~         | (Dired) Diff between selected files                |
| ~C-j~       | (Dired) Move to next subdirectory                  |
| ~C-k~       | (Dired) Move to previous sbdirectory               |
| ~I~         | (Dired) Toggle showing dotfiles                    |
| ~~~         | (Dired) Navigate to home directory                 |
| ~f~         | (Dired) Helm find file                             |
| ~J~         | (Dired) Goto file                                  |
| ~C-f~       | (Dired) dired-find                                 |
| ~H~         | (Dired) Show dired history                         |
| ~T~         | (Dired) Move down in dired tree                    |
| ~K~         | (Dired) Kill marked lines (hide, do not delete)    |
| ~r~         | (Dired) Redisplay buffer                           |

<commit_msg>Fix link appearance<commit_after>#+TITLE: Vinegar layer

* Table of Contents                                         :TOC_4_gh:noexport:
 - [[#description][Description]]
   - [[#features][Features]]
   - [[#mouse-bindings][Mouse bindings]]
   - [[#key-bindings][Key bindings]]

* Description
This layer is a port contribution layer for vim-vinegar for emacs.

A port of tpope's 
[[https://github.com/tpope/vim-vinegar][vinegar.vim]], simplifying =dired=
with a limited number of details and exposing the ~-~ command in all
buffers to enter dired.

** Features
-  navigation up folders with ~-~ key
-  simplify dired buffer to show only file names
-  better evil/vim bindings for navigation within dired buffer
-  keep only one active dired buffer
-  Use dired-k extension to show time / vcs related information in
   single bar
-  right mouse click moves up directory if in blank space or shows context menu

** Mouse bindings

| Mouse Binding | Description                                   |
|---------------+-----------------------------------------------|
| ~mouse-1~     | (Dired) Open selected file                    |
| ~mouse-2~     | (Dired) Open clicked file in other-window     |
| ~mouse-3~     | (Dired) Open context popup or go up directory |

** Key bindings

| Key Binding | Description                                        |
|-------------+----------------------------------------------------|
| ~-~         | Navigate to parent directory in dired              |
| ~0~         | (Dired) Move to the beginning of the file in dired |
| ~=~         | (Dired) Diff between selected files                |
| ~C-j~       | (Dired) Move to next subdirectory                  |
| ~C-k~       | (Dired) Move to previous sbdirectory               |
| ~I~         | (Dired) Toggle showing dotfiles                    |
| ~~~         | (Dired) Navigate to home directory                 |
| ~f~         | (Dired) Helm find file                             |
| ~J~         | (Dired) Goto file                                  |
| ~C-f~       | (Dired) dired-find                                 |
| ~H~         | (Dired) Show dired history                         |
| ~T~         | (Dired) Move down in dired tree                    |
| ~K~         | (Dired) Kill marked lines (hide, do not delete)    |
| ~r~         | (Dired) Redisplay buffer                           |


{'fraction_non_alphanumeric': 0.14954841419869774, 'fraction_numerical': 0.002100399075824407, 'mean_word_length': 1.3798100949525238, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 13, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2337704', 'n_tokens_mistral': 1288, 'n_tokens_neox': 1227, 'n_words': 431}