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,145 @@
1
+ <p align="center"> <img src="https://github.com/nvim-mini/assets/blob/main/logo-2/logo-misc_readme.png?raw=true" alt="mini.misc" style="max-width:100%;border:solid 2px"/> </p>
2
+
3
+ ### Miscellaneous useful functions
4
+
5
+ See more details in [Features](#features) and [Documentation](../doc/mini-misc.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-misc) 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-misc.mp4 -->
27
+ https://user-images.githubusercontent.com/24854248/173044891-69b0ccfd-3fe8-4639-bc70-f955bbf4a1a7.mp4
28
+
29
+ ## Features
30
+
31
+ - `bench_time()` executes function several times and timing how long it took.
32
+ - `log_add()` / `log_show()` and other helper functions to work with a special in-memory log array. Useful when debugging Lua code (instead of `print()`).
33
+ - `put()` and `put_text()` print Lua objects in command line and current buffer respectively.
34
+ - `resize_window()` resizes current window to its editable width.
35
+ - `safely()` to execute a function on a condition and warn on error. Useful to organize 'init.lua' in fail-safe sections with simple lazy loading.
36
+ - `setup_auto_root()` sets up automated change of current directory.
37
+ - `setup_termbg_sync()` to set up terminal background synchronization (removes possible "frame" around current Neovim instance).
38
+ - `setup_restore_cursor()` sets up automated restoration of cursor position on file reopen.
39
+ - `stat_summary()` computes summary statistics of numerical array.
40
+ - `tbl_head()` and `tbl_tail()` return first and last elements of table.
41
+ - `zoom()` makes current buffer full screen in a floating window.
42
+ - And more.
43
+
44
+ ## Installation
45
+
46
+ This plugin can be installed as part of 'mini.nvim' library (**recommended**) or as a standalone Git repository.
47
+
48
+ There are two branches to install from:
49
+
50
+ - `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).
51
+ - `stable` will be updated only upon releases with code tested during public beta-testing phase in `main` branch.
52
+
53
+ Here are code snippets for some common installation methods (use only one):
54
+
55
+ <details>
56
+ <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>
57
+
58
+ **Full library**
59
+
60
+ Follow ['mini.nvim' installation](https://nvim-mini.org/mini.nvim#installation).
61
+
62
+ **Standalone plugin**
63
+
64
+ Main branch:
65
+
66
+ ```lua
67
+ vim.pack.add({ 'https://github.com/nvim-mini/mini.misc' })
68
+ ```
69
+
70
+ Stable branch:
71
+
72
+ ```lua
73
+ vim.pack.add({
74
+ { src = 'https://github.com/nvim-mini/mini.misc', version = 'stable' },
75
+ })
76
+ ```
77
+
78
+ </details>
79
+
80
+ <details>
81
+ <summary>With <a href="https://nvim-mini.org/mini.nvim/readmes/mini-deps">mini.deps</a> (before Neovim 0.12)</summary>
82
+
83
+ **Full library**
84
+
85
+ Follow [recommended 'mini.deps' installation](https://nvim-mini.org/mini.nvim/readmes/mini-deps#installation).
86
+
87
+ **Standalone plugin**:
88
+
89
+ Main branch:
90
+
91
+ ```lua
92
+ add('nvim-mini/mini.misc')
93
+ ```
94
+
95
+ Stable branch:
96
+
97
+ ```lua
98
+ add({ source = 'nvim-mini/mini.misc', checkout = 'stable' })
99
+ ```
100
+
101
+ </details>
102
+
103
+ <details>
104
+ <summary>With <a href="https://github.com/folke/lazy.nvim">folke/lazy.nvim</a></summary>
105
+
106
+ **Full library**
107
+
108
+ Follow ['mini.nvim' installation](https://nvim-mini.org/mini.nvim#installation).
109
+
110
+ **Standalone plugin**
111
+
112
+ Main branch:
113
+
114
+ ```lua
115
+ { 'nvim-mini/mini.misc', version = false },
116
+ ```
117
+
118
+ Stable branch:
119
+
120
+ ```lua
121
+ { 'nvim-mini/mini.misc', version = '*' },
122
+ ```
123
+
124
+ </details>
125
+
126
+ **Important**: no need to call `require('mini.misc').setup()`, but it can be done to improve usability.
127
+
128
+ **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:
129
+
130
+ - Enable corresponding git global config value: `git config --system core.longpaths true`. Then try to reinstall.
131
+ - Install plugin in other place with shorter path.
132
+
133
+ ## Default config
134
+
135
+ ```lua
136
+ -- No need to copy this inside `setup()`. Will be used automatically.
137
+ {
138
+ -- Array of fields to make global (to be used as independent variables)
139
+ make_global = { 'put', 'put_text' },
140
+ }
141
+ ```
142
+
143
+ ## Similar plugins
144
+
145
+ - [nvim-lua/plenary.nvim](https://github.com/nvim-lua/plenary.nvim)
@@ -0,0 +1,163 @@
1
+ <p align="center"> <img src="https://github.com/nvim-mini/assets/blob/main/logo-2/logo-move_readme.png?raw=true" alt="mini.move" style="max-width:100%;border:solid 2px"/> </p>
2
+
3
+ ### Move any selection in any direction
4
+
5
+ See more details in [Features](#features) and [Documentation](../doc/mini-move.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-move) 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-move.mp4 -->
27
+ https://user-images.githubusercontent.com/24854248/213466308-2e732d83-7c49-452d-8974-6b18b38bf89f.mp4
28
+
29
+ ## Features
30
+
31
+ - Works in two modes:
32
+ - Visual mode. Select text (charwise with `v`, linewise with `V`, and blockwise with `CTRL-V`) and press customizable mapping to move in all four directions (left, right, down, up). It keeps Visual mode.
33
+ - Normal mode. Press customizable mapping to move current line in all four directions (left, right, down, up).
34
+ - Special handling of linewise movement:
35
+ - Vertical movement gets reindented with `=`.
36
+ - Horizontal movement is improved indent/dedent with `>` / `<`.
37
+ - Cursor moves along with selection.
38
+ - Provides both mappings and Lua functions for motions. See `:h MiniMove.move_selection()` and `:h MiniMove.move_line()`.
39
+ - Respects `v:count`. Movement mappings can be preceded by a number which multiplies command effect.
40
+ - All consecutive moves (regardless of direction) can be undone by a single `u`.
41
+ - Respects preferred column for vertical movement. It will vertically move selection as how cursor is moving (not strictly vertically if target column is not present in target line).
42
+
43
+ ## Installation
44
+
45
+ This plugin can be installed as part of 'mini.nvim' library (**recommended**) or as a standalone Git repository.
46
+
47
+ There are two branches to install from:
48
+
49
+ - `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).
50
+ - `stable` will be updated only upon releases with code tested during public beta-testing phase in `main` branch.
51
+
52
+ Here are code snippets for some common installation methods (use only one):
53
+
54
+ <details>
55
+ <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>
56
+
57
+ **Full library**
58
+
59
+ Follow ['mini.nvim' installation](https://nvim-mini.org/mini.nvim#installation).
60
+
61
+ **Standalone plugin**
62
+
63
+ Main branch:
64
+
65
+ ```lua
66
+ vim.pack.add({ 'https://github.com/nvim-mini/mini.move' })
67
+ ```
68
+
69
+ Stable branch:
70
+
71
+ ```lua
72
+ vim.pack.add({
73
+ { src = 'https://github.com/nvim-mini/mini.move', version = 'stable' },
74
+ })
75
+ ```
76
+
77
+ </details>
78
+
79
+ <details>
80
+ <summary>With <a href="https://nvim-mini.org/mini.nvim/readmes/mini-deps">mini.deps</a> (before Neovim 0.12)</summary>
81
+
82
+ **Full library**
83
+
84
+ Follow [recommended 'mini.deps' installation](https://nvim-mini.org/mini.nvim/readmes/mini-deps#installation).
85
+
86
+ **Standalone plugin**:
87
+
88
+ Main branch:
89
+
90
+ ```lua
91
+ add('nvim-mini/mini.move')
92
+ ```
93
+
94
+ Stable branch:
95
+
96
+ ```lua
97
+ add({ source = 'nvim-mini/mini.move', checkout = 'stable' })
98
+ ```
99
+
100
+ </details>
101
+
102
+ <details>
103
+ <summary>With <a href="https://github.com/folke/lazy.nvim">folke/lazy.nvim</a></summary>
104
+
105
+ **Full library**
106
+
107
+ Follow ['mini.nvim' installation](https://nvim-mini.org/mini.nvim#installation).
108
+
109
+ **Standalone plugin**
110
+
111
+ Main branch:
112
+
113
+ ```lua
114
+ { 'nvim-mini/mini.move', version = false },
115
+ ```
116
+
117
+ Stable branch:
118
+
119
+ ```lua
120
+ { 'nvim-mini/mini.move', version = '*' },
121
+ ```
122
+
123
+ </details>
124
+
125
+ **Important**: don't forget to call `require('mini.move').setup()` to enable its functionality.
126
+
127
+ **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:
128
+
129
+ - Enable corresponding git global config value: `git config --system core.longpaths true`. Then try to reinstall.
130
+ - Install plugin in other place with shorter path.
131
+
132
+ ## Default config
133
+
134
+ ```lua
135
+ -- No need to copy this inside `setup()`. Will be used automatically.
136
+ {
137
+ -- Module mappings. Use `''` (empty string) to disable one.
138
+ mappings = {
139
+ -- Move visual selection in Visual mode. Defaults are Alt (Meta) + hjkl.
140
+ left = '<M-h>',
141
+ right = '<M-l>',
142
+ down = '<M-j>',
143
+ up = '<M-k>',
144
+
145
+ -- Move current line in Normal mode
146
+ line_left = '<M-h>',
147
+ line_right = '<M-l>',
148
+ line_down = '<M-j>',
149
+ line_up = '<M-k>',
150
+ },
151
+
152
+ -- Options which control moving behavior
153
+ options = {
154
+ -- Automatically reindent selection during linewise vertical move
155
+ reindent_linewise = true,
156
+ },
157
+ }
158
+ ```
159
+
160
+ ## Similar plugins
161
+
162
+ - [matze/vim-move](https://github.com/matze/vim-move)
163
+ - [booperlv/nvim-gomove](https://github.com/booperlv/nvim-gomove)
@@ -0,0 +1,175 @@
1
+ <p align="center"> <img src="https://github.com/nvim-mini/assets/blob/main/logo-2/logo-notify_readme.png?raw=true" alt="mini.notify" style="max-width:100%;border:solid 2px"/> </p>
2
+
3
+ ### Show notifications
4
+
5
+ See more details in [Features](#features) and [Documentation](../doc/mini-notify.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-notify) 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-notify.mp4 -->
27
+ https://github.com/nvim-mini/mini.nvim/assets/24854248/81014300-3380-4b8c-9ab5-ba09345032d7
28
+
29
+ ## Features
30
+
31
+ - Show one or more highlighted notifications in a single floating window.
32
+
33
+ - Manage notifications (add, update, remove, clear).
34
+
35
+ - Custom `vim.notify()` implementation. To adjust, use `MiniNotify.make_notify()` after calling `setup()`.
36
+
37
+ - Automated show of LSP progress report.
38
+
39
+ - Track history which can be accessed with `MiniNotify.get_all()` and shown with `MiniNotify.show_history()`.
40
+
41
+ ## Installation
42
+
43
+ This plugin can be installed as part of 'mini.nvim' library (**recommended**) or as a standalone Git repository.
44
+
45
+ There are two branches to install from:
46
+
47
+ - `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).
48
+ - `stable` will be updated only upon releases with code tested during public beta-testing phase in `main` branch.
49
+
50
+ Here are code snippets for some common installation methods (use only one):
51
+
52
+ <details>
53
+ <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>
54
+
55
+ **Full library**
56
+
57
+ Follow ['mini.nvim' installation](https://nvim-mini.org/mini.nvim#installation).
58
+
59
+ **Standalone plugin**
60
+
61
+ Main branch:
62
+
63
+ ```lua
64
+ vim.pack.add({ 'https://github.com/nvim-mini/mini.notify' })
65
+ ```
66
+
67
+ Stable branch:
68
+
69
+ ```lua
70
+ vim.pack.add({
71
+ { src = 'https://github.com/nvim-mini/mini.notify', version = 'stable' },
72
+ })
73
+ ```
74
+
75
+ </details>
76
+
77
+ <details>
78
+ <summary>With <a href="https://nvim-mini.org/mini.nvim/readmes/mini-deps">mini.deps</a> (before Neovim 0.12)</summary>
79
+
80
+ **Full library**
81
+
82
+ Follow [recommended 'mini.deps' installation](https://nvim-mini.org/mini.nvim/readmes/mini-deps#installation).
83
+
84
+ **Standalone plugin**:
85
+
86
+ Main branch:
87
+
88
+ ```lua
89
+ add('nvim-mini/mini.notify')
90
+ ```
91
+
92
+ Stable branch:
93
+
94
+ ```lua
95
+ add({ source = 'nvim-mini/mini.notify', checkout = 'stable' })
96
+ ```
97
+
98
+ </details>
99
+
100
+ <details>
101
+ <summary>With <a href="https://github.com/folke/lazy.nvim">folke/lazy.nvim</a></summary>
102
+
103
+ **Full library**
104
+
105
+ Follow ['mini.nvim' installation](https://nvim-mini.org/mini.nvim#installation).
106
+
107
+ **Standalone plugin**
108
+
109
+ Main branch:
110
+
111
+ ```lua
112
+ { 'nvim-mini/mini.notify', version = false },
113
+ ```
114
+
115
+ Stable branch:
116
+
117
+ ```lua
118
+ { 'nvim-mini/mini.notify', version = '*' },
119
+ ```
120
+
121
+ </details>
122
+
123
+ **Important**: don't forget to call `require('mini.notify').setup()` to enable its functionality.
124
+
125
+ **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:
126
+
127
+ - Enable corresponding git global config value: `git config --system core.longpaths true`. Then try to reinstall.
128
+ - Install plugin in other place with shorter path.
129
+
130
+ ## Default config
131
+
132
+ ```lua
133
+ -- No need to copy this inside `setup()`. Will be used automatically.
134
+ {
135
+ -- Content management
136
+ content = {
137
+ -- Function which formats the notification message
138
+ -- By default prepends message with notification time
139
+ format = nil,
140
+
141
+ -- Function which orders notification array from most to least important
142
+ -- By default orders first by level and then by update timestamp
143
+ sort = nil,
144
+ },
145
+
146
+ -- Notifications about LSP progress
147
+ lsp_progress = {
148
+ -- Whether to enable showing
149
+ enable = true,
150
+
151
+ -- Notification level
152
+ level = 'INFO',
153
+
154
+ -- Duration (in ms) of how long last message should be shown
155
+ duration_last = 1000,
156
+ },
157
+
158
+ -- Window options
159
+ window = {
160
+ -- Floating window config
161
+ config = {},
162
+
163
+ -- Maximum window width as share (between 0 and 1) of available columns
164
+ max_width_share = 0.382,
165
+
166
+ -- Value of 'winblend' option
167
+ winblend = 25,
168
+ },
169
+ }
170
+ ```
171
+
172
+ ## Similar plugins
173
+
174
+ - [j-hui/fidget.nvim](https://github.com/j-hui/fidget.nvim)
175
+ - [rcarriga/nvim-notify](https://github.com/rcarriga/nvim-notify)
@@ -0,0 +1,193 @@
1
+ <p align="center"> <img src="https://github.com/nvim-mini/assets/blob/main/logo-2/logo-operators_readme.png?raw=true" alt="mini.operators" style="max-width:100%;border:solid 2px"/> </p>
2
+
3
+ ### Text edit operators
4
+
5
+ See more details in [Features](#features) and [Documentation](../doc/mini-operators.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-operators) 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-operators.mp4 -->
27
+ https://github.com/nvim-mini/mini.nvim/assets/24854248/8a3656c4-c92a-4d9f-9711-8d6a751b3e5a
28
+
29
+ ## Features
30
+
31
+ - Operators:
32
+ - Evaluate text and replace with output.
33
+ - Exchange text regions.
34
+ - Multiply (duplicate) text.
35
+ - Replace text with register.
36
+ - Sort text.
37
+
38
+ - Automated configurable mappings to operate on textobject, line, selection. Can be disabled in favor of more control with `MiniOperators.make_mappings()`.
39
+
40
+ - All operators support `[count]` and dot-repeat.
41
+
42
+ For more information see theses parts of help:
43
+ - `:h MiniOperators-overview`
44
+ - `:h MiniOperators.config`
45
+
46
+ ## Installation
47
+
48
+ This plugin can be installed as part of 'mini.nvim' library (**recommended**) or as a standalone Git repository.
49
+
50
+ There are two branches to install from:
51
+
52
+ - `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).
53
+ - `stable` will be updated only upon releases with code tested during public beta-testing phase in `main` branch.
54
+
55
+ Here are code snippets for some common installation methods (use only one):
56
+
57
+ <details>
58
+ <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>
59
+
60
+ **Full library**
61
+
62
+ Follow ['mini.nvim' installation](https://nvim-mini.org/mini.nvim#installation).
63
+
64
+ **Standalone plugin**
65
+
66
+ Main branch:
67
+
68
+ ```lua
69
+ vim.pack.add({ 'https://github.com/nvim-mini/mini.operators' })
70
+ ```
71
+
72
+ Stable branch:
73
+
74
+ ```lua
75
+ vim.pack.add({
76
+ { src = 'https://github.com/nvim-mini/mini.operators', version = 'stable' },
77
+ })
78
+ ```
79
+
80
+ </details>
81
+
82
+ <details>
83
+ <summary>With <a href="https://nvim-mini.org/mini.nvim/readmes/mini-deps">mini.deps</a> (before Neovim 0.12)</summary>
84
+
85
+ **Full library**
86
+
87
+ Follow [recommended 'mini.deps' installation](https://nvim-mini.org/mini.nvim/readmes/mini-deps#installation).
88
+
89
+ **Standalone plugin**:
90
+
91
+ Main branch:
92
+
93
+ ```lua
94
+ add('nvim-mini/mini.operators')
95
+ ```
96
+
97
+ Stable branch:
98
+
99
+ ```lua
100
+ add({ source = 'nvim-mini/mini.operators', checkout = 'stable' })
101
+ ```
102
+
103
+ </details>
104
+
105
+ <details>
106
+ <summary>With <a href="https://github.com/folke/lazy.nvim">folke/lazy.nvim</a></summary>
107
+
108
+ **Full library**
109
+
110
+ Follow ['mini.nvim' installation](https://nvim-mini.org/mini.nvim#installation).
111
+
112
+ **Standalone plugin**
113
+
114
+ Main branch:
115
+
116
+ ```lua
117
+ { 'nvim-mini/mini.operators', version = false },
118
+ ```
119
+
120
+ Stable branch:
121
+
122
+ ```lua
123
+ { 'nvim-mini/mini.operators', version = '*' },
124
+ ```
125
+
126
+ </details>
127
+
128
+ **Important**: don't forget to call `require('mini.operators').setup()` to enable its functionality.
129
+
130
+ **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:
131
+
132
+ - Enable corresponding git global config value: `git config --system core.longpaths true`. Then try to reinstall.
133
+ - Install plugin in other place with shorter path.
134
+
135
+ ## Default config
136
+
137
+ ```lua
138
+ -- No need to copy this inside `setup()`. Will be used automatically.
139
+ {
140
+ -- Each entry configures one operator.
141
+ -- `prefix` defines keys mapped during `setup()`: in Normal mode
142
+ -- to operate on textobject and line, in Visual - on selection.
143
+
144
+ -- Evaluate text and replace with output
145
+ evaluate = {
146
+ prefix = 'g=',
147
+
148
+ -- Function which does the evaluation
149
+ func = nil,
150
+ },
151
+
152
+ -- Exchange text regions
153
+ exchange = {
154
+ -- NOTE: Default `gx` is remapped to `gX`
155
+ prefix = 'gx',
156
+
157
+ -- Whether to reindent new text to match previous indent
158
+ reindent_linewise = true,
159
+ },
160
+
161
+ -- Multiply (duplicate) text
162
+ multiply = {
163
+ prefix = 'gm',
164
+
165
+ -- Function which can modify text before multiplying
166
+ func = nil,
167
+ },
168
+
169
+ -- Replace text with register
170
+ replace = {
171
+ -- NOTE: Default `gr*` LSP mappings are removed
172
+ prefix = 'gr',
173
+
174
+ -- Whether to reindent new text to match previous indent
175
+ reindent_linewise = true,
176
+ },
177
+
178
+ -- Sort text
179
+ sort = {
180
+ prefix = 'gs',
181
+
182
+ -- Function which does the sort
183
+ func = nil,
184
+ }
185
+ }
186
+ ```
187
+
188
+ ## Similar plugins
189
+
190
+ - [gbprod/substitute.nvim](https://github.com/gbprod/substitute.nvim)
191
+ - [svermeulen/vim-subversive](https://github.com/svermeulen/vim-subversive)
192
+ - [tommcdo/vim-exchange](https://github.com/tommcdo/vim-exchange)
193
+ - [christoomey/vim-sort-motion](https://github.com/christoomey/vim-sort-motion)