retrovim 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (218) hide show
  1. package/.conda/retrovim.yaml +259 -0
  2. package/.conda/terax.icns +0 -0
  3. package/.conda/terax.ico +0 -0
  4. package/.conda/terax.png +0 -0
  5. package/.github/workflows/release.yml +95 -0
  6. package/.gitmodules +3 -0
  7. package/.npm/kanata_touchcursor.js +28 -0
  8. package/.npm/nvim.js +26 -0
  9. package/.npm/yazi.js +26 -0
  10. package/.npm/zsh.js +17 -0
  11. package/.pip/kanata_touchcursor/__init__.py +28 -0
  12. package/.pip/nvim/__init__.py +31 -0
  13. package/.pip/yazi/__init__.py +31 -0
  14. package/.pip/zsh/__init__.py +22 -0
  15. package/CHANGELOG.md +26 -0
  16. package/LICENSE +674 -0
  17. package/README.md +336 -0
  18. package/kanata/touchcursor.kbd +164 -0
  19. package/nvim/init.lua +813 -0
  20. package/nvim/plugins/mini.nvim/.github/DISCUSSION_TEMPLATE/q-a.yml +72 -0
  21. package/nvim/plugins/mini.nvim/.github/ISSUE_TEMPLATE/bug-report.yml +136 -0
  22. package/nvim/plugins/mini.nvim/.github/ISSUE_TEMPLATE/config.yml +5 -0
  23. package/nvim/plugins/mini.nvim/.github/ISSUE_TEMPLATE/feature-request.yml +75 -0
  24. package/nvim/plugins/mini.nvim/.github/PULL_REQUEST_TEMPLATE.md +2 -0
  25. package/nvim/plugins/mini.nvim/.github/workflows/quality-control.yml +150 -0
  26. package/nvim/plugins/mini.nvim/.pre-commit-config.yaml +20 -0
  27. package/nvim/plugins/mini.nvim/.stylua.toml +7 -0
  28. package/nvim/plugins/mini.nvim/.styluaignore +1 -0
  29. package/nvim/plugins/mini.nvim/CHANGELOG.md +1894 -0
  30. package/nvim/plugins/mini.nvim/CODE_OF_CONDUCT.md +132 -0
  31. package/nvim/plugins/mini.nvim/CONTRIBUTING.md +331 -0
  32. package/nvim/plugins/mini.nvim/LICENSE +21 -0
  33. package/nvim/plugins/mini.nvim/MAINTAINING.md +330 -0
  34. package/nvim/plugins/mini.nvim/Makefile +51 -0
  35. package/nvim/plugins/mini.nvim/README.md +261 -0
  36. package/nvim/plugins/mini.nvim/TESTING.md +1011 -0
  37. package/nvim/plugins/mini.nvim/benchmarks/starter/README.md +35 -0
  38. package/nvim/plugins/mini.nvim/benchmarks/starter/benchmark.sh +56 -0
  39. package/nvim/plugins/mini.nvim/benchmarks/starter/init-files/init_dashboard-alpha.lua +21 -0
  40. package/nvim/plugins/mini.nvim/benchmarks/starter/init-files/init_dashboard-original.lua +17 -0
  41. package/nvim/plugins/mini.nvim/benchmarks/starter/init-files/init_dashboard-starter.lua +18 -0
  42. package/nvim/plugins/mini.nvim/benchmarks/starter/init-files/init_empty.lua +4 -0
  43. package/nvim/plugins/mini.nvim/benchmarks/starter/init-files/init_starter-default.lua +7 -0
  44. package/nvim/plugins/mini.nvim/benchmarks/starter/init-files/init_startify-alpha.lua +10 -0
  45. package/nvim/plugins/mini.nvim/benchmarks/starter/init-files/init_startify-original.lua +7 -0
  46. package/nvim/plugins/mini.nvim/benchmarks/starter/init-files/init_startify-starter.lua +20 -0
  47. package/nvim/plugins/mini.nvim/benchmarks/starter/install.sh +10 -0
  48. package/nvim/plugins/mini.nvim/benchmarks/starter/make_summary.py +68 -0
  49. package/nvim/plugins/mini.nvim/benchmarks/starter/startup-summary.md +10 -0
  50. package/nvim/plugins/mini.nvim/colors/miniautumn.lua +55 -0
  51. package/nvim/plugins/mini.nvim/colors/minicyan.lua +95 -0
  52. package/nvim/plugins/mini.nvim/colors/minischeme.lua +95 -0
  53. package/nvim/plugins/mini.nvim/colors/minispring.lua +53 -0
  54. package/nvim/plugins/mini.nvim/colors/minisummer.lua +49 -0
  55. package/nvim/plugins/mini.nvim/colors/miniwinter.lua +51 -0
  56. package/nvim/plugins/mini.nvim/colors/randomhue.lua +16 -0
  57. package/nvim/plugins/mini.nvim/doc/mini-ai.txt +889 -0
  58. package/nvim/plugins/mini.nvim/doc/mini-align.txt +923 -0
  59. package/nvim/plugins/mini.nvim/doc/mini-animate.txt +937 -0
  60. package/nvim/plugins/mini.nvim/doc/mini-base16.txt +285 -0
  61. package/nvim/plugins/mini.nvim/doc/mini-basics.txt +359 -0
  62. package/nvim/plugins/mini.nvim/doc/mini-bracketed.txt +622 -0
  63. package/nvim/plugins/mini.nvim/doc/mini-bufremove.txt +123 -0
  64. package/nvim/plugins/mini.nvim/doc/mini-clue.txt +760 -0
  65. package/nvim/plugins/mini.nvim/doc/mini-cmdline.txt +392 -0
  66. package/nvim/plugins/mini.nvim/doc/mini-colors.txt +880 -0
  67. package/nvim/plugins/mini.nvim/doc/mini-comment.txt +230 -0
  68. package/nvim/plugins/mini.nvim/doc/mini-completion.txt +477 -0
  69. package/nvim/plugins/mini.nvim/doc/mini-cursorword.txt +105 -0
  70. package/nvim/plugins/mini.nvim/doc/mini-deps.txt +590 -0
  71. package/nvim/plugins/mini.nvim/doc/mini-diff.txt +661 -0
  72. package/nvim/plugins/mini.nvim/doc/mini-doc.txt +434 -0
  73. package/nvim/plugins/mini.nvim/doc/mini-extra.txt +856 -0
  74. package/nvim/plugins/mini.nvim/doc/mini-files.txt +1018 -0
  75. package/nvim/plugins/mini.nvim/doc/mini-fuzzy.txt +160 -0
  76. package/nvim/plugins/mini.nvim/doc/mini-git.txt +425 -0
  77. package/nvim/plugins/mini.nvim/doc/mini-hipatterns.txt +489 -0
  78. package/nvim/plugins/mini.nvim/doc/mini-hues.txt +420 -0
  79. package/nvim/plugins/mini.nvim/doc/mini-icons.txt +508 -0
  80. package/nvim/plugins/mini.nvim/doc/mini-indentscope.txt +485 -0
  81. package/nvim/plugins/mini.nvim/doc/mini-input.txt +932 -0
  82. package/nvim/plugins/mini.nvim/doc/mini-jump.txt +202 -0
  83. package/nvim/plugins/mini.nvim/doc/mini-jump2d.txt +525 -0
  84. package/nvim/plugins/mini.nvim/doc/mini-keymap.txt +449 -0
  85. package/nvim/plugins/mini.nvim/doc/mini-map.txt +717 -0
  86. package/nvim/plugins/mini.nvim/doc/mini-misc.txt +431 -0
  87. package/nvim/plugins/mini.nvim/doc/mini-move.txt +181 -0
  88. package/nvim/plugins/mini.nvim/doc/mini-notify.txt +434 -0
  89. package/nvim/plugins/mini.nvim/doc/mini-nvim.txt +431 -0
  90. package/nvim/plugins/mini.nvim/doc/mini-operators.txt +472 -0
  91. package/nvim/plugins/mini.nvim/doc/mini-pairs.txt +346 -0
  92. package/nvim/plugins/mini.nvim/doc/mini-pick.txt +1535 -0
  93. package/nvim/plugins/mini.nvim/doc/mini-sessions.txt +239 -0
  94. package/nvim/plugins/mini.nvim/doc/mini-snippets.txt +1291 -0
  95. package/nvim/plugins/mini.nvim/doc/mini-splitjoin.txt +536 -0
  96. package/nvim/plugins/mini.nvim/doc/mini-starter.txt +618 -0
  97. package/nvim/plugins/mini.nvim/doc/mini-statusline.txt +361 -0
  98. package/nvim/plugins/mini.nvim/doc/mini-surround.txt +863 -0
  99. package/nvim/plugins/mini.nvim/doc/mini-tabline.txt +151 -0
  100. package/nvim/plugins/mini.nvim/doc/mini-test.txt +966 -0
  101. package/nvim/plugins/mini.nvim/doc/mini-trailspace.txt +91 -0
  102. package/nvim/plugins/mini.nvim/doc/mini-visits.txt +937 -0
  103. package/nvim/plugins/mini.nvim/logo.png +0 -0
  104. package/nvim/plugins/mini.nvim/lua/mini/ai.lua +2244 -0
  105. package/nvim/plugins/mini.nvim/lua/mini/align.lua +2076 -0
  106. package/nvim/plugins/mini.nvim/lua/mini/animate.lua +2127 -0
  107. package/nvim/plugins/mini.nvim/lua/mini/base16.lua +1752 -0
  108. package/nvim/plugins/mini.nvim/lua/mini/basics.lua +772 -0
  109. package/nvim/plugins/mini.nvim/lua/mini/bracketed.lua +2013 -0
  110. package/nvim/plugins/mini.nvim/lua/mini/bufremove.lua +283 -0
  111. package/nvim/plugins/mini.nvim/lua/mini/clue.lua +2096 -0
  112. package/nvim/plugins/mini.nvim/lua/mini/cmdline.lua +1182 -0
  113. package/nvim/plugins/mini.nvim/lua/mini/colors.lua +2483 -0
  114. package/nvim/plugins/mini.nvim/lua/mini/comment.lua +586 -0
  115. package/nvim/plugins/mini.nvim/lua/mini/completion.lua +2094 -0
  116. package/nvim/plugins/mini.nvim/lua/mini/cursorword.lua +311 -0
  117. package/nvim/plugins/mini.nvim/lua/mini/deps.lua +1660 -0
  118. package/nvim/plugins/mini.nvim/lua/mini/diff.lua +1938 -0
  119. package/nvim/plugins/mini.nvim/lua/mini/doc.lua +1371 -0
  120. package/nvim/plugins/mini.nvim/lua/mini/extra.lua +2290 -0
  121. package/nvim/plugins/mini.nvim/lua/mini/files.lua +3145 -0
  122. package/nvim/plugins/mini.nvim/lua/mini/fuzzy.lua +356 -0
  123. package/nvim/plugins/mini.nvim/lua/mini/git.lua +1737 -0
  124. package/nvim/plugins/mini.nvim/lua/mini/hipatterns.lua +1042 -0
  125. package/nvim/plugins/mini.nvim/lua/mini/hues.lua +2088 -0
  126. package/nvim/plugins/mini.nvim/lua/mini/icons.lua +2254 -0
  127. package/nvim/plugins/mini.nvim/lua/mini/indentscope.lua +1158 -0
  128. package/nvim/plugins/mini.nvim/lua/mini/init.lua +427 -0
  129. package/nvim/plugins/mini.nvim/lua/mini/input.lua +2183 -0
  130. package/nvim/plugins/mini.nvim/lua/mini/jump.lua +609 -0
  131. package/nvim/plugins/mini.nvim/lua/mini/jump2d.lua +1244 -0
  132. package/nvim/plugins/mini.nvim/lua/mini/keymap.lua +880 -0
  133. package/nvim/plugins/mini.nvim/lua/mini/map.lua +1709 -0
  134. package/nvim/plugins/mini.nvim/lua/mini/misc.lua +969 -0
  135. package/nvim/plugins/mini.nvim/lua/mini/move.lua +509 -0
  136. package/nvim/plugins/mini.nvim/lua/mini/notify.lua +938 -0
  137. package/nvim/plugins/mini.nvim/lua/mini/operators.lua +1349 -0
  138. package/nvim/plugins/mini.nvim/lua/mini/pairs.lua +657 -0
  139. package/nvim/plugins/mini.nvim/lua/mini/pick.lua +3876 -0
  140. package/nvim/plugins/mini.nvim/lua/mini/sessions.lua +689 -0
  141. package/nvim/plugins/mini.nvim/lua/mini/snippets.lua +2828 -0
  142. package/nvim/plugins/mini.nvim/lua/mini/splitjoin.lua +1132 -0
  143. package/nvim/plugins/mini.nvim/lua/mini/starter.lua +1599 -0
  144. package/nvim/plugins/mini.nvim/lua/mini/statusline.lua +686 -0
  145. package/nvim/plugins/mini.nvim/lua/mini/surround.lua +2388 -0
  146. package/nvim/plugins/mini.nvim/lua/mini/tabline.lua +564 -0
  147. package/nvim/plugins/mini.nvim/lua/mini/test.lua +2516 -0
  148. package/nvim/plugins/mini.nvim/lua/mini/trailspace.lua +215 -0
  149. package/nvim/plugins/mini.nvim/lua/mini/visits.lua +1577 -0
  150. package/nvim/plugins/mini.nvim/readmes/mini-ai.md +190 -0
  151. package/nvim/plugins/mini.nvim/readmes/mini-align.md +203 -0
  152. package/nvim/plugins/mini.nvim/readmes/mini-animate.md +214 -0
  153. package/nvim/plugins/mini.nvim/readmes/mini-base16.md +198 -0
  154. package/nvim/plugins/mini.nvim/readmes/mini-basics.md +184 -0
  155. package/nvim/plugins/mini.nvim/readmes/mini-bracketed.md +193 -0
  156. package/nvim/plugins/mini.nvim/readmes/mini-bufremove.md +139 -0
  157. package/nvim/plugins/mini.nvim/readmes/mini-clue.md +260 -0
  158. package/nvim/plugins/mini.nvim/readmes/mini-cmdline.md +183 -0
  159. package/nvim/plugins/mini.nvim/readmes/mini-colors.md +169 -0
  160. package/nvim/plugins/mini.nvim/readmes/mini-comment.md +183 -0
  161. package/nvim/plugins/mini.nvim/readmes/mini-completion.md +217 -0
  162. package/nvim/plugins/mini.nvim/readmes/mini-cursorword.md +137 -0
  163. package/nvim/plugins/mini.nvim/readmes/mini-deps.md +271 -0
  164. package/nvim/plugins/mini.nvim/readmes/mini-diff.md +289 -0
  165. package/nvim/plugins/mini.nvim/readmes/mini-doc.md +198 -0
  166. package/nvim/plugins/mini.nvim/readmes/mini-extra.md +158 -0
  167. package/nvim/plugins/mini.nvim/readmes/mini-files.md +247 -0
  168. package/nvim/plugins/mini.nvim/readmes/mini-fuzzy.md +134 -0
  169. package/nvim/plugins/mini.nvim/readmes/mini-git.md +168 -0
  170. package/nvim/plugins/mini.nvim/readmes/mini-hipatterns.md +176 -0
  171. package/nvim/plugins/mini.nvim/readmes/mini-hues.md +285 -0
  172. package/nvim/plugins/mini.nvim/readmes/mini-icons.md +183 -0
  173. package/nvim/plugins/mini.nvim/readmes/mini-indentscope.md +191 -0
  174. package/nvim/plugins/mini.nvim/readmes/mini-input.md +163 -0
  175. package/nvim/plugins/mini.nvim/readmes/mini-jump.md +161 -0
  176. package/nvim/plugins/mini.nvim/readmes/mini-jump2d.md +197 -0
  177. package/nvim/plugins/mini.nvim/readmes/mini-keymap.md +205 -0
  178. package/nvim/plugins/mini.nvim/readmes/mini-map.md +191 -0
  179. package/nvim/plugins/mini.nvim/readmes/mini-misc.md +145 -0
  180. package/nvim/plugins/mini.nvim/readmes/mini-move.md +163 -0
  181. package/nvim/plugins/mini.nvim/readmes/mini-notify.md +175 -0
  182. package/nvim/plugins/mini.nvim/readmes/mini-operators.md +193 -0
  183. package/nvim/plugins/mini.nvim/readmes/mini-pairs.md +158 -0
  184. package/nvim/plugins/mini.nvim/readmes/mini-pick.md +340 -0
  185. package/nvim/plugins/mini.nvim/readmes/mini-sessions.md +164 -0
  186. package/nvim/plugins/mini.nvim/readmes/mini-snippets.md +373 -0
  187. package/nvim/plugins/mini.nvim/readmes/mini-splitjoin.md +194 -0
  188. package/nvim/plugins/mini.nvim/readmes/mini-starter.md +176 -0
  189. package/nvim/plugins/mini.nvim/readmes/mini-statusline.md +155 -0
  190. package/nvim/plugins/mini.nvim/readmes/mini-surround.md +190 -0
  191. package/nvim/plugins/mini.nvim/readmes/mini-tabline.md +156 -0
  192. package/nvim/plugins/mini.nvim/readmes/mini-test.md +175 -0
  193. package/nvim/plugins/mini.nvim/readmes/mini-trailspace.md +137 -0
  194. package/nvim/plugins/mini.nvim/readmes/mini-visits.md +243 -0
  195. package/nvim/plugins/mini.nvim/scripts/dual_log.sh +13 -0
  196. package/nvim/plugins/mini.nvim/scripts/dual_push.sh +15 -0
  197. package/nvim/plugins/mini.nvim/scripts/dual_release.sh +102 -0
  198. package/nvim/plugins/mini.nvim/scripts/dual_sync.sh +115 -0
  199. package/nvim/plugins/mini.nvim/scripts/init-deps-example.lua +59 -0
  200. package/nvim/plugins/mini.nvim/scripts/lint-filename-length.sh +16 -0
  201. package/nvim/plugins/mini.nvim/scripts/lintcommit-ci.sh +18 -0
  202. package/nvim/plugins/mini.nvim/scripts/lintcommit.lua +393 -0
  203. package/nvim/plugins/mini.nvim/scripts/minidoc.lua +57 -0
  204. package/nvim/plugins/mini.nvim/scripts/minimal_init.lua +28 -0
  205. package/nvim/plugins/mini.nvim/scripts/minitest.lua +4 -0
  206. package/package.json +16 -0
  207. package/pyproject.toml +43 -0
  208. package/yazi/init.lua +12 -0
  209. package/yazi/keymap.toml +114 -0
  210. package/yazi/lesskey +5 -0
  211. package/yazi/plugins/bookmarks.yazi/main.lua +86 -0
  212. package/yazi/plugins/cd-git-root.yazi/main.lua +31 -0
  213. package/yazi/plugins/smart-enter.yazi/main.lua +11 -0
  214. package/yazi/theme.toml +26 -0
  215. package/yazi/yazi.toml +15 -0
  216. package/zsh/.zshrc +145 -0
  217. package/zsh/starship.toml +20 -0
  218. package/zsh/zsh-patina.toml +2 -0
@@ -0,0 +1,175 @@
1
+ <p align="center"> <img src="https://github.com/nvim-mini/assets/blob/main/logo-2/logo-test_readme.png?raw=true" alt="mini.test" style="max-width:100%;border:solid 2px"/> </p>
2
+
3
+ ### Write and use extensive Neovim plugin tests
4
+
5
+ - Supports hierarchical tests, hooks, parametrization, filtering (like from current file or cursor position), screen tests, "busted-style" emulation, customizable reporters, and more.
6
+ - Designed to be used with provided wrapper for managing child Neovim processes.
7
+
8
+ See more details in [Features](#features) and [Documentation](../doc/mini-test.txt). For more hands-on introduction based on examples, see [TESTING.md](https://nvim-mini.org/mini.nvim/TESTING). For more in-depth usage see ['mini.nvim' tests](https://github.com/nvim-mini/mini.nvim/tree/main/tests).
9
+
10
+ ---
11
+
12
+ > [!NOTE]
13
+ > This was previously hosted at a personal `echasnovski` GitHub account. It was transferred to a dedicated organization to improve long term project stability. See more details [here](https://github.com/nvim-mini/mini.nvim/discussions/1970).
14
+
15
+ ⦿ This is a part of [mini.nvim](https://nvim-mini.org/mini.nvim) library. Please use [this link](https://nvim-mini.org/mini.nvim/readmes/mini-test) if you want to mention this module.
16
+
17
+ ⦿ All contributions (issues, pull requests, discussions, etc.) are done inside of 'mini.nvim'.
18
+
19
+ ⦿ See [whole library documentation](https://nvim-mini.org/mini.nvim/doc/mini-nvim) to learn about general design principles, disable/configuration recipes, and more.
20
+
21
+ ---
22
+
23
+ If you want to help this project grow but don't know where to start, check out [contributing guides of 'mini.nvim'](https://nvim-mini.org/mini.nvim/CONTRIBUTING) or leave a Github star for 'mini.nvim' project and/or any its standalone Git repositories.
24
+
25
+ ## Demo
26
+
27
+ <!-- Demo source: https://github.com/nvim-mini/assets/blob/main/demo/demo-test.mp4 -->
28
+ https://user-images.githubusercontent.com/24854248/175773105-f33cd3bb-6f62-4a61-95b1-b175e11905bb.mp4
29
+
30
+ ## Features
31
+
32
+ - Test action is defined as a named callable entry of a table.
33
+ - Helper for creating child Neovim process which is designed to be used in tests (including taking and verifying screenshots). See help for `MiniTest.new_child_neovim()` and `MiniTest.expect.reference_screenshot()`.
34
+ - Hierarchical organization of tests with custom hooks, parametrization, and user data. See help for `MiniTest.new_set()`.
35
+ - Emulation of [Olivine-Labs/busted](https://github.com/Olivine-Labs/busted) interface (`describe`, `it`, etc.).
36
+ - Predefined small yet usable set of expectations (`assert`-like functions). See help for `MiniTest.expect`.
37
+ - Customizable definition of what files should be tested.
38
+ - Test case filtering. There are predefined wrappers for testing a file (`MiniTest.run_file()`) and case at a location like current cursor position (`MiniTest.run_at_location()`).
39
+ - Customizable reporter of output results. There are two predefined ones:
40
+ - `MiniTest.gen_reporter.buffer()` for interactive usage.
41
+ - `MiniTest.gen_reporter.stdout()` for headless Neovim.
42
+ - Customizable project specific testing script.
43
+ - Works on Unix (Linux, MacOS, etc.) and Windows.
44
+
45
+ ## Installation
46
+
47
+ This plugin can be installed as part of 'mini.nvim' library (**recommended**) or as a standalone Git repository.
48
+
49
+ There are two branches to install from:
50
+
51
+ - `main` (default, **recommended**) will have latest development version of plugin. All changes since last stable release should be perceived as being in beta testing phase (meaning they already passed alpha-testing and are moderately settled).
52
+ - `stable` will be updated only upon releases with code tested during public beta-testing phase in `main` branch.
53
+
54
+ Here are code snippets for some common installation methods (use only one):
55
+
56
+ <details>
57
+ <summary><b>(Recommended)</b> With <a href="https://neovim.io/doc/user/helptag.html?tag=vim.pack">vim.pack</a> (on Neovim 0.12 and newer)</summary>
58
+
59
+ **Full library**
60
+
61
+ Follow ['mini.nvim' installation](https://nvim-mini.org/mini.nvim#installation).
62
+
63
+ **Standalone plugin**
64
+
65
+ Main branch:
66
+
67
+ ```lua
68
+ vim.pack.add({ 'https://github.com/nvim-mini/mini.test' })
69
+ ```
70
+
71
+ Stable branch:
72
+
73
+ ```lua
74
+ vim.pack.add({
75
+ { src = 'https://github.com/nvim-mini/mini.test', version = 'stable' },
76
+ })
77
+ ```
78
+
79
+ </details>
80
+
81
+ <details>
82
+ <summary>With <a href="https://nvim-mini.org/mini.nvim/readmes/mini-deps">mini.deps</a> (before Neovim 0.12)</summary>
83
+
84
+ **Full library**
85
+
86
+ Follow [recommended 'mini.deps' installation](https://nvim-mini.org/mini.nvim/readmes/mini-deps#installation).
87
+
88
+ **Standalone plugin**:
89
+
90
+ Main branch:
91
+
92
+ ```lua
93
+ add('nvim-mini/mini.test')
94
+ ```
95
+
96
+ Stable branch:
97
+
98
+ ```lua
99
+ add({ source = 'nvim-mini/mini.test', checkout = 'stable' })
100
+ ```
101
+
102
+ </details>
103
+
104
+ <details>
105
+ <summary>With <a href="https://github.com/folke/lazy.nvim">folke/lazy.nvim</a></summary>
106
+
107
+ **Full library**
108
+
109
+ Follow ['mini.nvim' installation](https://nvim-mini.org/mini.nvim#installation).
110
+
111
+ **Standalone plugin**
112
+
113
+ Main branch:
114
+
115
+ ```lua
116
+ { 'nvim-mini/mini.test', version = false },
117
+ ```
118
+
119
+ Stable branch:
120
+
121
+ ```lua
122
+ { 'nvim-mini/mini.test', version = '*' },
123
+ ```
124
+
125
+ </details>
126
+
127
+ **Important**: don't forget to call `require('mini.test').setup()` to enable its functionality.
128
+
129
+ **Note**: if you are on Windows, there might be problems with too long file paths (like `error: unable to create file <some file name>: Filename too long`). Try doing one of the following:
130
+
131
+ - Enable corresponding git global config value: `git config --system core.longpaths true`. Then try to reinstall.
132
+ - Install plugin in other place with shorter path.
133
+
134
+ ## Default config
135
+
136
+ ```lua
137
+ -- No need to copy this inside `setup()`. Will be used automatically.
138
+ {
139
+ -- Options for collection of test cases. See `:h MiniTest.collect()`.
140
+ collect = {
141
+ -- Temporarily emulate functions from 'busted' testing framework
142
+ -- (`describe`, `it`, `before_each`, `after_each`, and more)
143
+ emulate_busted = true,
144
+
145
+ -- Function returning array of file paths to be collected.
146
+ -- Default: all Lua files in 'tests' directory starting with 'test_'.
147
+ find_files = function()
148
+ return vim.fn.globpath('tests', '**/test_*.lua', true, true)
149
+ end,
150
+
151
+ -- Predicate function indicating if test case should be executed
152
+ filter_cases = function(case) return true end,
153
+ },
154
+
155
+ -- Options for execution of test cases. See `:h MiniTest.execute()`.
156
+ execute = {
157
+ -- Table with callable fields `start()`, `update()`, and `finish()`
158
+ reporter = nil,
159
+
160
+ -- Whether to stop execution after first error
161
+ stop_on_error = false,
162
+ },
163
+
164
+ -- Path (relative to current directory) to script which handles project
165
+ -- specific test running
166
+ script_path = 'scripts/minitest.lua',
167
+
168
+ -- Whether to disable showing non-error feedback
169
+ silent = false,
170
+ }
171
+ ```
172
+
173
+ ## Similar plugins
174
+
175
+ - [nvim-lua/plenary.nvim](https://github.com/nvim-lua/plenary.nvim) ('test_harness', 'busted', 'luassert' modules)
@@ -0,0 +1,137 @@
1
+ <p align="center"> <img src="https://github.com/nvim-mini/assets/blob/main/logo-2/logo-trailspace_readme.png?raw=true" alt="mini.trailspace" style="max-width:100%;border:solid 2px"/> </p>
2
+
3
+ ### Work with trailing whitespace
4
+
5
+ See more details in [Features](#features) and [Documentation](../doc/mini-trailspace.txt).
6
+
7
+ ---
8
+
9
+ > [!NOTE]
10
+ > This was previously hosted at a personal `echasnovski` GitHub account. It was transferred to a dedicated organization to improve long term project stability. See more details [here](https://github.com/nvim-mini/mini.nvim/discussions/1970).
11
+
12
+ ⦿ This is a part of [mini.nvim](https://nvim-mini.org/mini.nvim) library. Please use [this link](https://nvim-mini.org/mini.nvim/readmes/mini-trailspace) if you want to mention this module.
13
+
14
+ ⦿ All contributions (issues, pull requests, discussions, etc.) are done inside of 'mini.nvim'.
15
+
16
+ ⦿ See [whole library documentation](https://nvim-mini.org/mini.nvim/doc/mini-nvim) to learn about general design principles, disable/configuration recipes, and more.
17
+
18
+ ⦿ See [MiniMax](https://nvim-mini.org/MiniMax) for a full config example that uses this module.
19
+
20
+ ---
21
+
22
+ If you want to help this project grow but don't know where to start, check out [contributing guides of 'mini.nvim'](https://nvim-mini.org/mini.nvim/CONTRIBUTING) or leave a Github star for 'mini.nvim' project and/or any its standalone Git repositories.
23
+
24
+ ## Demo
25
+
26
+ <!-- Demo source: https://github.com/nvim-mini/assets/blob/main/demo/demo-trailspace.mp4 -->
27
+ https://user-images.githubusercontent.com/24854248/173045420-7aaf21b6-1d2e-4333-8a23-dea7e49c3a01.mp4
28
+
29
+ ## Features
30
+
31
+ - Highlighting is done only in modifiable buffer by default, only in Normal mode, and stops in Insert mode and when leaving window.
32
+ - Trim all trailing whitespace with `MiniTrailspace.trim()`.
33
+ - Trim all trailing empty lines with `MiniTrailspace.trim_last_lines()`.
34
+
35
+ ## Installation
36
+
37
+ This plugin can be installed as part of 'mini.nvim' library (**recommended**) or as a standalone Git repository.
38
+
39
+ There are two branches to install from:
40
+
41
+ - `main` (default, **recommended**) will have latest development version of plugin. All changes since last stable release should be perceived as being in beta testing phase (meaning they already passed alpha-testing and are moderately settled).
42
+ - `stable` will be updated only upon releases with code tested during public beta-testing phase in `main` branch.
43
+
44
+ Here are code snippets for some common installation methods (use only one):
45
+
46
+ <details>
47
+ <summary><b>(Recommended)</b> With <a href="https://neovim.io/doc/user/helptag.html?tag=vim.pack">vim.pack</a> (on Neovim 0.12 and newer)</summary>
48
+
49
+ **Full library**
50
+
51
+ Follow ['mini.nvim' installation](https://nvim-mini.org/mini.nvim#installation).
52
+
53
+ **Standalone plugin**
54
+
55
+ Main branch:
56
+
57
+ ```lua
58
+ vim.pack.add({ 'https://github.com/nvim-mini/mini.trailspace' })
59
+ ```
60
+
61
+ Stable branch:
62
+
63
+ ```lua
64
+ vim.pack.add({
65
+ { src = 'https://github.com/nvim-mini/mini.trailspace', version = 'stable' },
66
+ })
67
+ ```
68
+
69
+ </details>
70
+
71
+ <details>
72
+ <summary>With <a href="https://nvim-mini.org/mini.nvim/readmes/mini-deps">mini.deps</a> (before Neovim 0.12)</summary>
73
+
74
+ **Full library**
75
+
76
+ Follow [recommended 'mini.deps' installation](https://nvim-mini.org/mini.nvim/readmes/mini-deps#installation).
77
+
78
+ **Standalone plugin**:
79
+
80
+ Main branch:
81
+
82
+ ```lua
83
+ add('nvim-mini/mini.trailspace')
84
+ ```
85
+
86
+ Stable branch:
87
+
88
+ ```lua
89
+ add({ source = 'nvim-mini/mini.trailspace', checkout = 'stable' })
90
+ ```
91
+
92
+ </details>
93
+
94
+ <details>
95
+ <summary>With <a href="https://github.com/folke/lazy.nvim">folke/lazy.nvim</a></summary>
96
+
97
+ **Full library**
98
+
99
+ Follow ['mini.nvim' installation](https://nvim-mini.org/mini.nvim#installation).
100
+
101
+ **Standalone plugin**
102
+
103
+ Main branch:
104
+
105
+ ```lua
106
+ { 'nvim-mini/mini.trailspace', version = false },
107
+ ```
108
+
109
+ Stable branch:
110
+
111
+ ```lua
112
+ { 'nvim-mini/mini.trailspace', version = '*' },
113
+ ```
114
+
115
+ </details>
116
+
117
+ **Important**: don't forget to call `require('mini.trailspace').setup()` to enable its functionality.
118
+
119
+ **Note**: if you are on Windows, there might be problems with too long file paths (like `error: unable to create file <some file name>: Filename too long`). Try doing one of the following:
120
+
121
+ - Enable corresponding git global config value: `git config --system core.longpaths true`. Then try to reinstall.
122
+ - Install plugin in other place with shorter path.
123
+
124
+ ## Default config
125
+
126
+ ```lua
127
+ -- No need to copy this inside `setup()`. Will be used automatically.
128
+ {
129
+ -- Highlight only in normal buffers (ones with empty 'buftype'). This is
130
+ -- useful to not show trailing whitespace where it usually doesn't matter.
131
+ only_in_normal_buffers = true,
132
+ }
133
+ ```
134
+
135
+ ## Similar plugins
136
+
137
+ - [ntpeters/vim-better-whitespace](https://github.com/ntpeters/vim-better-whitespace)
@@ -0,0 +1,243 @@
1
+ <p align="center"> <img src="https://github.com/nvim-mini/assets/blob/main/logo-2/logo-visits_readme.png?raw=true" alt="mini.visits" style="max-width:100%;border:solid 2px"/> </p>
2
+
3
+ ### Track and reuse file system visits
4
+
5
+ See more details in [Features](#features) and [Documentation](../doc/mini-visits.txt).
6
+
7
+ ---
8
+
9
+ > [!NOTE]
10
+ > This was previously hosted at a personal `echasnovski` GitHub account. It was transferred to a dedicated organization to improve long term project stability. See more details [here](https://github.com/nvim-mini/mini.nvim/discussions/1970).
11
+
12
+ ⦿ This is a part of [mini.nvim](https://nvim-mini.org/mini.nvim) library. Please use [this link](https://nvim-mini.org/mini.nvim/readmes/mini-visits) if you want to mention this module.
13
+
14
+ ⦿ All contributions (issues, pull requests, discussions, etc.) are done inside of 'mini.nvim'.
15
+
16
+ ⦿ See [whole library documentation](https://nvim-mini.org/mini.nvim/doc/mini-nvim) to learn about general design principles, disable/configuration recipes, and more.
17
+
18
+ ⦿ See [MiniMax](https://nvim-mini.org/MiniMax) for a full config example that uses this module.
19
+
20
+ ---
21
+
22
+ If you want to help this project grow but don't know where to start, check out [contributing guides of 'mini.nvim'](https://nvim-mini.org/mini.nvim/CONTRIBUTING) or leave a Github star for 'mini.nvim' project and/or any its standalone Git repositories.
23
+
24
+ ## Demo
25
+
26
+ <!-- Demo source: https://github.com/nvim-mini/assets/blob/main/demo/demo-visits.mp4 -->
27
+ https://github.com/nvim-mini/mini.nvim/assets/24854248/ad8ff054-9b95-4e9c-84b1-b39ddba9d7d3
28
+
29
+ **Note**: This demo uses custom `vim.ui.select()` from [mini.pick](https://nvim-mini.org/mini.nvim/readmes/mini-pick).
30
+
31
+ ## Features
32
+
33
+ - Persistently track file system visits (both files and directories) per project directory. Store visit index is human readable and editable.
34
+
35
+ - Visit index is normalized on every write to contain relevant information. Exact details can be customized. See `:h MiniVisits.normalize()`.
36
+
37
+ - Built-in ability to persistently use label paths for later use. See `:h MiniVisits.add_label()` and `:h MiniVisits.remove_label()`.
38
+
39
+ - Exported functions to reuse visit data:
40
+ - List visited paths/labels with custom filter and sort (uses "robust frecency" by default). Can be used as source for pickers.
41
+
42
+ See `:h MiniVisits.list_paths()` and `:h MiniVisits.list_labels()`. See `:h MiniVisits.gen_filter` and `:h MiniVisits.gen_sort`.
43
+
44
+ - Select visited paths/labels using `vim.ui.select()`.
45
+
46
+ See `:h MiniVisits.select_path()` and `:h MiniVisits.select_label()`.
47
+
48
+ - Iterate through visit paths in target direction ("forward", "backward", "first", "last"). See `:h MiniVisits.iterate_paths()`.
49
+
50
+ - Exported functions to manually update visit index allowing persistent track of any user information. See `*_index()` functions.
51
+
52
+ Notes:
53
+
54
+ - All data is stored _only_ in in-session Lua variable (for quick operation) and at `config.store.path` on disk (for persistent usage).
55
+
56
+ - It doesn't account for paths being renamed or moved (because there is no general way to detect that). Usually a manual intervention to the visit index is required after the change but _before_ the next writing to disk (usually before closing current session) because it will treat previous path as deleted and remove it from index.
57
+
58
+ There is a `MiniVisits.rename_in_index()` helper for that.
59
+ If rename/move is done with ['mini.files'](https://nvim-mini.org/mini.nvim/readmes/mini-files), index is autoupdated.
60
+
61
+ For more information see these parts of help:
62
+
63
+ - `:h MiniVisits-overview`
64
+ - `:h MiniVisits-index-specification`
65
+ - `:h MiniVisits-examples`
66
+
67
+ ## Overview
68
+
69
+ ### Tracking visits
70
+
71
+ File system visits (both directory and files) tracking is done in two steps:
72
+
73
+ - On every dedicated event timer is (re)started to actually register visit after certain amount of time.
74
+
75
+ - When delay time passes without any dedicated events being triggered (meaning user is "settled" on certain buffer), visit is registered if all of the following conditions are met:
76
+ - Module is not disabled.
77
+ - Buffer is normal with non-empty name (used as visit path).
78
+ - Visit path does not equal to the latest tracked one.
79
+
80
+ Visit is autoregistered for current directory and leads to increase of count
81
+ and latest time of visit. See `:h MiniVisits-index-specification` for more details.
82
+
83
+ Notes:
84
+
85
+ - All data is stored _only_ in in-session Lua variable (for quick operation) and in one place on disk (for persistent usage). It is automatically written to disk before every Neovim exit.
86
+
87
+ - Tracking can be disabled by supplying empty string as `track.event`. Then it is up to the user to properly call `MiniVisits.register_visit()`.
88
+
89
+ ### Reusing visits
90
+
91
+ Visit data can be reused in at least these ways:
92
+
93
+ - Get a list of visited paths and use it to visualize/pick/navigate visit history.
94
+
95
+ - Select one of the visited paths to open it.
96
+
97
+ - Move along visit history.
98
+
99
+ - Utilize labels. Any visit can be added one or more labels (like "core", "tmp", etc.). They are bound to the visit and are stored persistently.
100
+
101
+ Labels can be used to manually create groups of files and/or directories that have particular interest to the user.
102
+
103
+ There is no one right way to use them, though. See `:h MiniVisits-examples` for some inspiration.
104
+
105
+ - Utilizing custom data. Visit index can be manipulated manually using
106
+ `_index()` set of functions. All "storable" user data inside index is then stored on disk, so it can be used to create any kind of workflow user wants.
107
+
108
+ See `:h MiniVisits-examples` for some actual configuration and workflow examples.
109
+
110
+ ## Installation
111
+
112
+ This plugin can be installed as part of 'mini.nvim' library (**recommended**) or as a standalone Git repository.
113
+
114
+ There are two branches to install from:
115
+
116
+ - `main` (default, **recommended**) will have latest development version of plugin. All changes since last stable release should be perceived as being in beta testing phase (meaning they already passed alpha-testing and are moderately settled).
117
+ - `stable` will be updated only upon releases with code tested during public beta-testing phase in `main` branch.
118
+
119
+ Here are code snippets for some common installation methods (use only one):
120
+
121
+ <details>
122
+ <summary><b>(Recommended)</b> With <a href="https://neovim.io/doc/user/helptag.html?tag=vim.pack">vim.pack</a> (on Neovim 0.12 and newer)</summary>
123
+
124
+ **Full library**
125
+
126
+ Follow ['mini.nvim' installation](https://nvim-mini.org/mini.nvim#installation).
127
+
128
+ **Standalone plugin**
129
+
130
+ Main branch:
131
+
132
+ ```lua
133
+ vim.pack.add({ 'https://github.com/nvim-mini/mini.visits' })
134
+ ```
135
+
136
+ Stable branch:
137
+
138
+ ```lua
139
+ vim.pack.add({
140
+ { src = 'https://github.com/nvim-mini/mini.visits', version = 'stable' },
141
+ })
142
+ ```
143
+
144
+ </details>
145
+
146
+ <details>
147
+ <summary>With <a href="https://nvim-mini.org/mini.nvim/readmes/mini-deps">mini.deps</a> (before Neovim 0.12)</summary>
148
+
149
+ **Full library**
150
+
151
+ Follow [recommended 'mini.deps' installation](https://nvim-mini.org/mini.nvim/readmes/mini-deps#installation).
152
+
153
+ **Standalone plugin**:
154
+
155
+ Main branch:
156
+
157
+ ```lua
158
+ add('nvim-mini/mini.visits')
159
+ ```
160
+
161
+ Stable branch:
162
+
163
+ ```lua
164
+ add({ source = 'nvim-mini/mini.visits', checkout = 'stable' })
165
+ ```
166
+
167
+ </details>
168
+
169
+ <details>
170
+ <summary>With <a href="https://github.com/folke/lazy.nvim">folke/lazy.nvim</a></summary>
171
+
172
+ **Full library**
173
+
174
+ Follow ['mini.nvim' installation](https://nvim-mini.org/mini.nvim#installation).
175
+
176
+ **Standalone plugin**
177
+
178
+ Main branch:
179
+
180
+ ```lua
181
+ { 'nvim-mini/mini.visits', version = false },
182
+ ```
183
+
184
+ Stable branch:
185
+
186
+ ```lua
187
+ { 'nvim-mini/mini.visits', version = '*' },
188
+ ```
189
+
190
+ </details>
191
+
192
+ **Important**: don't forget to call `require('mini.visits').setup()` to enable its functionality.
193
+
194
+ **Note**: if you are on Windows, there might be problems with too long file paths (like `error: unable to create file <some file name>: Filename too long`). Try doing one of the following:
195
+
196
+ - Enable corresponding git global config value: `git config --system core.longpaths true`. Then try to reinstall.
197
+ - Install plugin in other place with shorter path.
198
+
199
+ ## Default config
200
+
201
+ ```lua
202
+ -- No need to copy this inside `setup()`. Will be used automatically.
203
+ {
204
+ -- How visit index is converted to list of paths
205
+ list = {
206
+ -- Predicate for which paths to include (all by default)
207
+ filter = nil,
208
+
209
+ -- Sort paths based on the visit data (robust frecency by default)
210
+ sort = nil,
211
+ },
212
+
213
+ -- Whether to disable showing non-error feedback
214
+ silent = false,
215
+
216
+ -- How visit index is stored
217
+ store = {
218
+ -- Whether to write all visits before Neovim is closed
219
+ autowrite = true,
220
+
221
+ -- Function to ensure that written index is relevant
222
+ normalize = nil,
223
+
224
+ -- Path to store visit index
225
+ path = vim.fn.stdpath('data') .. '/mini-visits-index',
226
+ },
227
+
228
+ -- How visit tracking is done
229
+ track = {
230
+ -- Start visit register timer at this event
231
+ -- Supply empty string (`''`) to not do this automatically
232
+ event = 'BufEnter',
233
+
234
+ -- Debounce delay after event to register a visit
235
+ delay = 1000,
236
+ },
237
+ }
238
+ ```
239
+
240
+ ## Similar plugins
241
+
242
+ - [nvim-telescope/telescope-frecency.nvim](https://github.com/nvim-telescope/telescope-frecency.nvim)
243
+ - [ThePrimeagen/harpoon](https://github.com/ThePrimeagen/harpoon)
@@ -0,0 +1,13 @@
1
+ # Check standalone repos result
2
+ local_repos="$( ls -d dual/repos/*/ )"
3
+
4
+ for repo in $local_repos; do
5
+ cd $repo > /dev/null
6
+ # Show only logs with actual changes (saves screen lines)
7
+ if [ $( git rev-parse main ) != $( git rev-parse origin/main ) ]
8
+ then
9
+ printf "\n\033[1m$( basename $repo )\033[0m\n"
10
+ git log origin/main..main --abbrev-commit --format=oneline
11
+ fi
12
+ cd - > /dev/null
13
+ done
@@ -0,0 +1,15 @@
1
+ # Push standalone repos result
2
+ local_repos="$( ls -d dual/repos/*/ )"
3
+
4
+ for repo in $local_repos; do
5
+ cd $repo > /dev/null
6
+ # Push only if there is something to push (saves time)
7
+ if [ $( git rev-parse main ) != $( git rev-parse origin/main ) ]
8
+ then
9
+ printf "\n\033[1mPushing $( basename $repo )\033[0m\n"
10
+ git push origin main
11
+ fi
12
+ cd - > /dev/null
13
+ done
14
+
15
+ echo ''
@@ -0,0 +1,102 @@
1
+ # Make release from current commits
2
+ # **IMPORTANT**: sync repos (`make dual_sync` and `make dual_push`) before this
3
+
4
+ # Register tag name and message as script arguments
5
+ if [ -z "$1" ] || [ -z "$2" ]
6
+ then
7
+ printf "Supply tag name and message as script arguments\n"
8
+ exit 2
9
+ fi
10
+ tag_name=$1
11
+ tag_message=$2
12
+
13
+ repos_dir=dual/repos
14
+ mkdir -p $repos_dir
15
+
16
+ release_module () {
17
+ # First argument is a string with module name
18
+ module=$1
19
+ shift
20
+
21
+ repo="$( realpath $repos_dir/mini.$module )"
22
+ printf "\n\033[1mReleasing $( basename $repo )\033[0m\n"
23
+
24
+ # Possibly pull whole repository
25
+ if [[ ! -d $repo ]]
26
+ then
27
+ printf "\033[4mPulling missing repository\033[0m\n"
28
+ # Handle 'mini.git' differently because GitHub repo is named 'mini-git'
29
+ # (".git" suffix is not allowed as repo name on GitHub)
30
+ if [ $module = "git" ]; then github_repo="mini-git"; else github_repo="mini.$module"; fi
31
+ git clone --filter=blob:none https://github.com/nvim-mini/$github_repo.git $repo
32
+ fi
33
+
34
+ cd $repo > /dev/null
35
+
36
+ # Ensure `stable` branch points to latest `main`
37
+ printf "\033[4mMaking \`stable\` point to latest \`main\`\033[0m\n"
38
+ git checkout main
39
+ git pull --unshallow
40
+ git checkout -B stable
41
+ git checkout main
42
+ echo ''
43
+
44
+ # Create tag
45
+ printf "\033[4mCreating tag\033[0m\n"
46
+ git tag -a "$tag_name" -m "$tag_message"
47
+ echo ''
48
+
49
+ # Push
50
+ printf "\033[4mPushing\033[0m\n"
51
+ git push origin $tag_name
52
+ git push origin stable
53
+ echo ''
54
+
55
+ cd - > /dev/null
56
+ }
57
+
58
+ release_module "ai"
59
+ release_module "align"
60
+ release_module "animate"
61
+ release_module "base16"
62
+ release_module "basics"
63
+ release_module "bracketed"
64
+ release_module "bufremove"
65
+ release_module "clue"
66
+ release_module "cmdline"
67
+ release_module "colors"
68
+ release_module "comment"
69
+ release_module "completion"
70
+ release_module "cursorword"
71
+ release_module "deps"
72
+ release_module "diff"
73
+ release_module "doc"
74
+ release_module "extra"
75
+ release_module "files"
76
+ release_module "fuzzy"
77
+ release_module "git"
78
+ release_module "hipatterns"
79
+ release_module "hues"
80
+ release_module "icons"
81
+ release_module "indentscope"
82
+ release_module "input"
83
+ release_module "jump"
84
+ release_module "jump2d"
85
+ release_module "keymap"
86
+ release_module "map"
87
+ release_module "misc"
88
+ release_module "move"
89
+ release_module "notify"
90
+ release_module "operators"
91
+ release_module "pairs"
92
+ release_module "pick"
93
+ release_module "sessions"
94
+ release_module "snippets"
95
+ release_module "splitjoin"
96
+ release_module "starter"
97
+ release_module "statusline"
98
+ release_module "surround"
99
+ release_module "tabline"
100
+ release_module "test"
101
+ release_module "trailspace"
102
+ release_module "visits"