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,191 @@
1
+ <p align="center"> <img src="https://github.com/nvim-mini/assets/blob/main/logo-2/logo-indentscope_readme.png?raw=true" alt="mini.indentscope" style="max-width:100%;border:solid 2px"/> </p>
2
+
3
+ ### Visualize and work with indent scope
4
+
5
+ - Customizable debounce delay, animation style, and scope computation options.
6
+ - Implements scope-related motions and textobjects.
7
+
8
+ See more details in [Features](#features) and [Documentation](../doc/mini-indentscope.txt).
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-indentscope) 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
+ ⦿ See [MiniMax](https://nvim-mini.org/MiniMax) for a full config example that uses this module.
22
+
23
+ ---
24
+
25
+ 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.
26
+
27
+ ## Demo
28
+
29
+ <!-- Demo source: https://github.com/nvim-mini/assets/blob/main/demo/demo-indentscope.mp4 -->
30
+ https://user-images.githubusercontent.com/24854248/173044654-f5f0b928-6bd9-4064-a916-1f980044c7ad.mp4
31
+
32
+ ## Features
33
+
34
+ - Visualize scope with **animated** vertical line. It is very fast and done automatically in a non-blocking way (other operations can be performed, like moving cursor). You can customize debounce delay and animation rule.
35
+ - Customization of scope computation options can be done on global level (in `MiniIndentscope.config`), for a certain buffer (using `vim.b.miniindentscope_config` buffer variable), or within a call (using `opts` variable in `MiniIndentscope.get_scope()`).
36
+ - Customizable notion of a border: which adjacent lines with strictly lower indent are recognized as such. This is useful for a certain filetypes (for example, Python or plain text).
37
+ - Customizable way of line to be considered "border first". This is useful if you want to place cursor on function header and get scope of its body.
38
+ - There are textobjects and motions to operate on scope. Support `v:count` and dot-repeat (in operator pending mode).
39
+
40
+ ## Installation
41
+
42
+ This plugin can be installed as part of 'mini.nvim' library (**recommended**) or as a standalone Git repository.
43
+
44
+ There are two branches to install from:
45
+
46
+ - `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).
47
+ - `stable` will be updated only upon releases with code tested during public beta-testing phase in `main` branch.
48
+
49
+ Here are code snippets for some common installation methods (use only one):
50
+
51
+ <details>
52
+ <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>
53
+
54
+ **Full library**
55
+
56
+ Follow ['mini.nvim' installation](https://nvim-mini.org/mini.nvim#installation).
57
+
58
+ **Standalone plugin**
59
+
60
+ Main branch:
61
+
62
+ ```lua
63
+ vim.pack.add({ 'https://github.com/nvim-mini/mini.indentscope' })
64
+ ```
65
+
66
+ Stable branch:
67
+
68
+ ```lua
69
+ vim.pack.add({
70
+ { src = 'https://github.com/nvim-mini/mini.indentscope', version = 'stable' },
71
+ })
72
+ ```
73
+
74
+ </details>
75
+
76
+ <details>
77
+ <summary>With <a href="https://nvim-mini.org/mini.nvim/readmes/mini-deps">mini.deps</a> (before Neovim 0.12)</summary>
78
+
79
+ **Full library**
80
+
81
+ Follow [recommended 'mini.deps' installation](https://nvim-mini.org/mini.nvim/readmes/mini-deps#installation).
82
+
83
+ **Standalone plugin**:
84
+
85
+ Main branch:
86
+
87
+ ```lua
88
+ add('nvim-mini/mini.indentscope')
89
+ ```
90
+
91
+ Stable branch:
92
+
93
+ ```lua
94
+ add({ source = 'nvim-mini/mini.indentscope', checkout = 'stable' })
95
+ ```
96
+
97
+ </details>
98
+
99
+ <details>
100
+ <summary>With <a href="https://github.com/folke/lazy.nvim">folke/lazy.nvim</a></summary>
101
+
102
+ **Full library**
103
+
104
+ Follow ['mini.nvim' installation](https://nvim-mini.org/mini.nvim#installation).
105
+
106
+ **Standalone plugin**
107
+
108
+ Main branch:
109
+
110
+ ```lua
111
+ { 'nvim-mini/mini.indentscope', version = false },
112
+ ```
113
+
114
+ Stable branch:
115
+
116
+ ```lua
117
+ { 'nvim-mini/mini.indentscope', version = '*' },
118
+ ```
119
+
120
+ </details>
121
+
122
+ **Important**: don't forget to call `require('mini.indentscope').setup()` to enable its functionality.
123
+
124
+ **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:
125
+
126
+ - Enable corresponding git global config value: `git config --system core.longpaths true`. Then try to reinstall.
127
+ - Install plugin in other place with shorter path.
128
+
129
+ ## Default config
130
+
131
+ ```lua
132
+ -- No need to copy this inside `setup()`. Will be used automatically.
133
+ {
134
+ -- Draw options
135
+ draw = {
136
+ -- Delay (in ms) between event and start of drawing scope indicator
137
+ delay = 100,
138
+
139
+ -- Animation rule for scope's first drawing. A function which, given
140
+ -- next and total step numbers, returns wait time (in ms). See
141
+ -- |MiniIndentscope.gen_animation| for builtin options. To disable
142
+ -- animation, use `require('mini.indentscope').gen_animation.none()`.
143
+ animation = --<function: implements constant 20ms between steps>,
144
+
145
+ -- Whether to auto draw scope: return `true` to draw, `false` otherwise.
146
+ -- Default draws only fully computed scope (see `options.n_lines`).
147
+ predicate = function(scope) return not scope.body.is_incomplete end,
148
+
149
+ -- Symbol priority. Increase to display on top of more symbols.
150
+ priority = 2,
151
+ },
152
+
153
+ -- Module mappings. Use `''` (empty string) to disable one.
154
+ mappings = {
155
+ -- Textobjects
156
+ object_scope = 'ii',
157
+ object_scope_with_border = 'ai',
158
+
159
+ -- Motions (jump to respective border line; if not present - body line)
160
+ goto_top = '[i',
161
+ goto_bottom = ']i',
162
+ },
163
+
164
+ -- Options which control scope computation
165
+ options = {
166
+ -- Type of scope's border: which line(s) with smaller indent to
167
+ -- categorize as border. Can be one of: 'both', 'top', 'bottom', 'none'.
168
+ border = 'both',
169
+
170
+ -- Whether to use cursor column when computing reference indent.
171
+ -- Useful to see incremental scopes with horizontal cursor movements.
172
+ indent_at_cursor = true,
173
+
174
+ -- Maximum number of lines above or below within which scope is computed
175
+ n_lines = 10000,
176
+
177
+ -- Whether to first check input line to be a border of adjacent scope.
178
+ -- Use it if you want to place cursor on function header to get scope of
179
+ -- its body.
180
+ try_as_border = false,
181
+ },
182
+
183
+ -- Which character to use for drawing scope indicator
184
+ symbol = '╎',
185
+ }
186
+ ```
187
+
188
+ ## Similar plugins
189
+
190
+ - [lukas-reineke/indent-blankline.nvim](https://github.com/lukas-reineke/indent-blankline.nvim)
191
+ - [michaeljsmith/vim-indent-object](https://github.com/michaeljsmith/vim-indent-object)
@@ -0,0 +1,163 @@
1
+ <p align="center"> <img src="https://github.com/nvim-mini/assets/blob/main/logo-2/logo-input_readme.png?raw=true" alt="mini.input" style="max-width:100%;border:solid 2px"/> </p>
2
+
3
+ ### Get user input
4
+
5
+ See more details in [Features](#features) and [Documentation](../doc/mini-input.txt).
6
+
7
+ ---
8
+
9
+ ⦿ 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-input) if you want to mention this module.
10
+
11
+ ⦿ All contributions (issues, pull requests, discussions, etc.) are done inside of 'mini.nvim'.
12
+
13
+ ⦿ See [whole library documentation](https://nvim-mini.org/mini.nvim/doc/mini-nvim) to learn about general design principles, disable/configuration recipes, and more.
14
+
15
+ ⦿ See [MiniMax](https://nvim-mini.org/MiniMax) for a full config example that uses this module.
16
+
17
+ ---
18
+
19
+ 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.
20
+
21
+ ## Demo
22
+
23
+ <!-- Demo source: https://github.com/nvim-mini/assets/blob/main/demo/demo-input.mp4 -->
24
+ https://github.com/user-attachments/assets/949968dc-220f-4a2b-bc96-e553f2c05de4
25
+
26
+ **Note**: This demo uses custom `vim.notify` from [mini.notify](https://nvim-mini.org/mini.nvim/readmes/mini-notify).
27
+
28
+ ## Features
29
+
30
+ - Get user input with fully customizable key and view handling.
31
+
32
+ - Built-in configurable views as floating window, statusline/tabline/winbar, virtual line/text.
33
+
34
+ - Implementation is non-blocking but waits to return the input. It also works in any mode without requiring mode change. See `:h MiniInput-lifecycle`.
35
+
36
+ - `vim.ui.input()` implementation. To adjust, use `MiniInput.ui_input()` or save-restore `vim.ui.input` manually after calling `MiniInput.setup()`.
37
+
38
+ For more information see these parts of help:
39
+
40
+ - `:h MiniInput.get()`
41
+ - `:h MiniInput.default_key()`
42
+ - `:h MiniInput-state`
43
+ - `:h MiniInput-examples`
44
+ - `:h MiniInput-in-other-plugins` (for plugin authors)
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.input' })
70
+ ```
71
+
72
+ Stable branch:
73
+
74
+ ```lua
75
+ vim.pack.add({
76
+ { src = 'https://github.com/nvim-mini/mini.input', 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.input')
95
+ ```
96
+
97
+ Stable branch:
98
+
99
+ ```lua
100
+ add({ source = 'nvim-mini/mini.input', 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.input', version = false },
118
+ ```
119
+
120
+ Stable branch:
121
+
122
+ ```lua
123
+ { 'nvim-mini/mini.input', version = '*' },
124
+ ```
125
+
126
+ </details>
127
+
128
+ **Important**: don't forget to call `require('mini.input').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
+ -- Functions that control input lifecycle
141
+ handlers = {
142
+ -- Compute completion candidates
143
+ complete = nil,
144
+
145
+ -- Compute highlighting of current input
146
+ highlight = nil,
147
+
148
+ -- Handle input start, every key press, and input end
149
+ key = nil,
150
+
151
+ -- Show current input state
152
+ view = nil,
153
+ },
154
+
155
+ -- Default input scope: cursor/line/buffer/window/tabpage/editor/project
156
+ scope = 'editor',
157
+ }
158
+ ```
159
+
160
+ ## Similar plugins
161
+
162
+ - [folke/snacks.nvim#input](https://github.com/folke/snacks.nvim/blob/main/docs/input.md)
163
+ - Built-in [input()](https://neovim.io/doc/user/helptag.html?tag=input())
@@ -0,0 +1,161 @@
1
+ <p align="center"> <img src="https://github.com/nvim-mini/assets/blob/main/logo-2/logo-jump_readme.png?raw=true" alt="mini.jump" style="max-width:100%;border:solid 2px"/> </p>
2
+
3
+ ### Jump to next/previous single character
4
+
5
+ See more details in [Features](#features) and [Documentation](../doc/mini-jump.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-jump) 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
+ Initial idea and implementation by [Adam Blažek](https://github.com/xigoi).
25
+
26
+ ## Demo
27
+
28
+ <!-- Demo source: https://github.com/nvim-mini/assets/blob/main/demo/demo-jump.mp4 -->
29
+ https://user-images.githubusercontent.com/24854248/173044762-f0f50a73-02df-4432-a79e-54b0ddaa1e48.mp4
30
+
31
+ ## Features
32
+
33
+ - Extend f, F, t, T to work on multiple lines.
34
+ - Repeat jump by pressing f, F, t, T again. It is reset when cursor moved as a result of not jumping or timeout after idle time (duration customizable).
35
+ - Highlight (after customizable delay) all possible target characters and stop it after some (customizable) idle time.
36
+ - Normal, Visual, and Operator-pending (with dot-repeat as in clean Neovim) modes are supported.
37
+
38
+ ## Installation
39
+
40
+ This plugin can be installed as part of 'mini.nvim' library (**recommended**) or as a standalone Git repository.
41
+
42
+ There are two branches to install from:
43
+
44
+ - `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).
45
+ - `stable` will be updated only upon releases with code tested during public beta-testing phase in `main` branch.
46
+
47
+ Here are code snippets for some common installation methods (use only one):
48
+
49
+ <details>
50
+ <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>
51
+
52
+ **Full library**
53
+
54
+ Follow ['mini.nvim' installation](https://nvim-mini.org/mini.nvim#installation).
55
+
56
+ **Standalone plugin**
57
+
58
+ Main branch:
59
+
60
+ ```lua
61
+ vim.pack.add({ 'https://github.com/nvim-mini/mini.jump' })
62
+ ```
63
+
64
+ Stable branch:
65
+
66
+ ```lua
67
+ vim.pack.add({
68
+ { src = 'https://github.com/nvim-mini/mini.jump', version = 'stable' },
69
+ })
70
+ ```
71
+
72
+ </details>
73
+
74
+ <details>
75
+ <summary>With <a href="https://nvim-mini.org/mini.nvim/readmes/mini-deps">mini.deps</a> (before Neovim 0.12)</summary>
76
+
77
+ **Full library**
78
+
79
+ Follow [recommended 'mini.deps' installation](https://nvim-mini.org/mini.nvim/readmes/mini-deps#installation).
80
+
81
+ **Standalone plugin**:
82
+
83
+ Main branch:
84
+
85
+ ```lua
86
+ add('nvim-mini/mini.jump')
87
+ ```
88
+
89
+ Stable branch:
90
+
91
+ ```lua
92
+ add({ source = 'nvim-mini/mini.jump', checkout = 'stable' })
93
+ ```
94
+
95
+ </details>
96
+
97
+ <details>
98
+ <summary>With <a href="https://github.com/folke/lazy.nvim">folke/lazy.nvim</a></summary>
99
+
100
+ **Full library**
101
+
102
+ Follow ['mini.nvim' installation](https://nvim-mini.org/mini.nvim#installation).
103
+
104
+ **Standalone plugin**
105
+
106
+ Main branch:
107
+
108
+ ```lua
109
+ { 'nvim-mini/mini.jump', version = false },
110
+ ```
111
+
112
+ Stable branch:
113
+
114
+ ```lua
115
+ { 'nvim-mini/mini.jump', version = '*' },
116
+ ```
117
+
118
+ </details>
119
+
120
+ **Important**: don't forget to call `require('mini.jump').setup()` to enable its functionality.
121
+
122
+ **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:
123
+
124
+ - Enable corresponding git global config value: `git config --system core.longpaths true`. Then try to reinstall.
125
+ - Install plugin in other place with shorter path.
126
+
127
+ ## Default config
128
+
129
+ ```lua
130
+ -- No need to copy this inside `setup()`. Will be used automatically.
131
+ {
132
+ -- Module mappings. Use `''` (empty string) to disable one.
133
+ mappings = {
134
+ forward = 'f',
135
+ backward = 'F',
136
+ forward_till = 't',
137
+ backward_till = 'T',
138
+ repeat_jump = ';',
139
+ },
140
+
141
+ -- Delay values (in ms) for different functionalities. Set any of them to
142
+ -- a very big number (like 10^7) to virtually disable.
143
+ delay = {
144
+ -- Delay between jump and highlighting all possible jumps
145
+ highlight = 250,
146
+
147
+ -- Delay between jump and automatic stop if idle (no jump is done)
148
+ idle_stop = 10000000,
149
+ },
150
+
151
+ -- Whether to disable showing non-error feedback
152
+ -- This also affects (purely informational) helper messages shown after
153
+ -- idle time if user input is required.
154
+ silent = false,
155
+ }
156
+ ```
157
+
158
+ ## Similar plugins
159
+
160
+ - [rhysd/clever-f.vim](https://github.com/rhysd/clever-f.vim)
161
+ - [justinmk/vim-sneak](https://github.com/justinmk/vim-sneak)