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,856 @@
1
+ *mini.extra* Extra mini.nvim functionality
2
+
3
+ MIT License Copyright (c) 2023 Evgeni Chasnovski
4
+
5
+ ------------------------------------------------------------------------------
6
+ *MiniExtra*
7
+ Extra useful functionality which is not essential enough for other |mini.nvim|
8
+ modules to include directly.
9
+
10
+ Features:
11
+
12
+ - Various pickers for |mini.pick|:
13
+ - Built-in diagnostic (|MiniExtra.pickers.diagnostic()|).
14
+ - File explorer (|MiniExtra.pickers.explorer()|).
15
+ - Git branches/commits/files/hunks (|MiniExtra.pickers.git_hunks()|, etc.).
16
+ - Command/search/input history (|MiniExtra.pickers.history()|).
17
+ - LSP references/symbols/etc. (|MiniExtra.pickers.lsp()|).
18
+ - Tree-sitter nodes (|MiniExtra.pickers.treesitter()|).
19
+ - And much more.
20
+ See |MiniExtra.pickers| for more.
21
+
22
+ - Various textobject specifications for |mini.ai|. See |MiniExtra.gen_ai_spec|.
23
+
24
+ - Various highlighters for |mini.hipatterns|. See |MiniExtra.gen_highlighter|.
25
+
26
+ Notes:
27
+ - This module requires only those |mini.nvim| modules which are needed for
28
+ a particular functionality: |mini.pick| for pickers, etc.
29
+
30
+ # Setup ~
31
+
32
+ This module needs a setup with `require('mini.extra').setup({})` (replace
33
+ `{}` with your `config` table). It will create global Lua table `MiniExtra`
34
+ which you can use for scripting or manually (with `:lua MiniExtra.*`).
35
+
36
+ See |MiniExtra.config| for `config` structure and default values.
37
+
38
+ This module doesn't have runtime options, so using `vim.b.miniextra_config`
39
+ will have no effect here.
40
+
41
+ # Comparisons ~
42
+
43
+ - [nvim-telescope/telescope.nvim](https://github.com/nvim-telescope/telescope.nvim):
44
+ - With |MiniExtra.pickers|, |mini.pick| is reasonably on par when it comes
45
+ to built-in pickers.
46
+
47
+ - [ibhagwan/fzf-lua](https://github.com/ibhagwan/fzf-lua):
48
+ - Same as `nvim-telescope/telescope.nvim`.
49
+
50
+ ------------------------------------------------------------------------------
51
+ *MiniExtra.setup()*
52
+ `MiniExtra.setup`({config})
53
+ Module setup
54
+
55
+ Parameters ~
56
+ {config} `(table|nil)` Module config table. See |MiniExtra.config|.
57
+
58
+ Usage ~
59
+ >lua
60
+ require('mini.extra').setup() -- use default config
61
+ -- OR
62
+ require('mini.extra').setup({}) -- replace {} with your config table
63
+ <
64
+ ------------------------------------------------------------------------------
65
+ *MiniExtra.config*
66
+ `MiniExtra.config`
67
+ Defaults ~
68
+ >lua
69
+ MiniExtra.config = {}
70
+ <
71
+ ------------------------------------------------------------------------------
72
+ *MiniExtra.gen_ai_spec*
73
+ `MiniExtra.gen_ai_spec`
74
+ |mini.ai| textobject specification generators
75
+
76
+ This is a table with function elements. Call to actually get specification.
77
+
78
+ Assumed to be used as part of |MiniAi.setup()|. Example: >lua
79
+
80
+ local gen_ai_spec = require('mini.extra').gen_ai_spec
81
+ require('mini.ai').setup({
82
+ custom_textobjects = {
83
+ B = gen_ai_spec.buffer(),
84
+ D = gen_ai_spec.diagnostic(),
85
+ I = gen_ai_spec.indent(),
86
+ L = gen_ai_spec.line(),
87
+ N = gen_ai_spec.number(),
88
+ },
89
+ })
90
+ <
91
+ ------------------------------------------------------------------------------
92
+ *MiniExtra.gen_ai_spec.buffer()*
93
+ `MiniExtra.gen_ai_spec.buffer`()
94
+ Current buffer textobject
95
+
96
+ Notes:
97
+ - `a` textobject selects all lines in a buffer.
98
+ - `i` textobject selects all lines except blank lines at start and end.
99
+
100
+ Return ~
101
+ `(function)` Function implementing |MiniAi-textobject-specification|.
102
+
103
+ ------------------------------------------------------------------------------
104
+ *MiniExtra.gen_ai_spec.diagnostic()*
105
+ `MiniExtra.gen_ai_spec.diagnostic`({severity})
106
+ Current buffer diagnostic textobject
107
+
108
+ Notes:
109
+ - Both `a` and `i` textobjects return |vim.diagnostic.get()| output for the
110
+ current buffer. It is modified to fit |MiniAi-textobject-specification|.
111
+
112
+ Parameters ~
113
+ {severity} `(any)` Which severity to use. Forwarded to |vim.diagnostic.get()|.
114
+ Default: `nil` to use all diagnostic entries.
115
+
116
+ Return ~
117
+ `(function)` Function implementing |MiniAi-textobject-specification|.
118
+
119
+ ------------------------------------------------------------------------------
120
+ *MiniExtra.gen_ai_spec.indent()*
121
+ `MiniExtra.gen_ai_spec.indent`()
122
+ Current buffer indent scopes textobject
123
+
124
+ Indent scope is a set of consecutive lines with the following properties:
125
+ - Lines above first and below last are non-blank. They are called borders.
126
+ - There is at least one non-blank line in a set.
127
+ - All non-blank lines between borders have strictly greater indent
128
+ (perceived leading space respecting |'tabstop'|) than either of borders.
129
+
130
+ Notes:
131
+ - `a` textobject selects scope including borders.
132
+ - `i` textobject selects the scope charwise.
133
+ - Differences with |MiniIndentscope.textobject()|:
134
+ - This textobject always treats blank lines on top and bottom of `i`
135
+ textobject as part of it, while |mini.indentscope| can configure that.
136
+ - This textobject can select non-covering scopes, while |mini.indentscope|
137
+ can not (by design).
138
+ - In this textobject scope computation is done only by "casting rays" from
139
+ top to bottom and not in both ways as in |mini.indentscope|.
140
+ This works in most common scenarios and doesn't work only if indent of
141
+ of the bottom border is expected to be larger than the top.
142
+
143
+ Return ~
144
+ `(function)` Function implementing |MiniAi-textobject-specification|.
145
+ It returns array of regions representing all indent scopes in the buffer
146
+ ordered increasingly by the start line.
147
+
148
+ ------------------------------------------------------------------------------
149
+ *MiniExtra.gen_ai_spec.line()*
150
+ `MiniExtra.gen_ai_spec.line`()
151
+ Current line textobject
152
+
153
+ Notes:
154
+ - `a` textobject selects whole line.
155
+ - `i` textobject selects line after initial indent.
156
+
157
+ Return ~
158
+ `(function)` Function implementing |MiniAi-textobject-specification|.
159
+
160
+ ------------------------------------------------------------------------------
161
+ *MiniExtra.gen_ai_spec.number()*
162
+ `MiniExtra.gen_ai_spec.number`()
163
+ Number textobject
164
+
165
+ Notes:
166
+ - `a` textobject selects a whole number possibly preceded with "-" and
167
+ possibly followed by decimal part (dot and digits).
168
+ - `i` textobject selects consecutive digits.
169
+
170
+ Return ~
171
+ `(function)` Function implementing |MiniAi-textobject-specification|.
172
+
173
+ ------------------------------------------------------------------------------
174
+ *MiniExtra.gen_highlighter*
175
+ `MiniExtra.gen_highlighter`
176
+ |mini.hipatterns| highlighter generators
177
+
178
+ This is a table with function elements. Call to actually get specification.
179
+
180
+ Assumed to be used as part of |MiniHipatterns.setup()|. Example: >lua
181
+
182
+ local hi_words = require('mini.extra').gen_highlighter.words
183
+ require('mini.hipatterns').setup({
184
+ highlighters = {
185
+ todo = hi_words({ 'TODO', 'Todo', 'todo' }, 'MiniHipatternsTodo'),
186
+ },
187
+ })
188
+ <
189
+ ------------------------------------------------------------------------------
190
+ *MiniExtra.gen_highlighter.words()*
191
+ `MiniExtra.gen_highlighter.words`({words}, {group}, {extmark_opts})
192
+ Highlight words
193
+
194
+ Notes:
195
+ - Words should start and end with alphanumeric symbol (latin letter or digit).
196
+ - Words will be highlighted only in full and not if part bigger word, i.e.
197
+ there should not be alphanumeric symbol before and after it.
198
+
199
+ Parameters ~
200
+ {words} `(table)` Array of words to highlight. Will be matched as is, not
201
+ as Lua pattern.
202
+ {group} `(string|function)` Proper `group` field for `highlighter`.
203
+ See |MiniHipatterns.config|.
204
+ {extmark_opts} `(any)` Proper `extmark_opts` field for `highlighter`.
205
+ See |MiniHipatterns.config|.
206
+
207
+ ------------------------------------------------------------------------------
208
+ *MiniExtra.pickers*
209
+ `MiniExtra.pickers`
210
+ |mini.pick| pickers
211
+
212
+ A table with |mini.pick| pickers (which is a hard dependency).
213
+ Notes:
214
+ - All have the same signature:
215
+ - <local_opts> - optional table with options local to picker.
216
+ - <opts> - optional table with options forwarded to |MiniPick.start()|.
217
+ - All of them are automatically registered in |MiniPick.registry| inside
218
+ both |MiniExtra.setup()| or |MiniPick.setup()| (only one is enough).
219
+ - All use default versions of |MiniPick-source.preview|, |MiniPick-source.choose|,
220
+ and |MiniPick-source.choose_marked| if not stated otherwise.
221
+ Shown text and |MiniPick-source.show| are targeted to the picked items.
222
+
223
+ Examples of usage:
224
+ - As Lua code: `MiniExtra.pickers.buf_lines()`.
225
+ - With |:Pick| command: `:Pick buf_lines scope='current'`
226
+ Note: this requires calling |MiniExtra.setup()|.
227
+
228
+ ------------------------------------------------------------------------------
229
+ *MiniExtra.pickers.buf_lines()*
230
+ `MiniExtra.pickers.buf_lines`({local_opts}, {opts})
231
+ Buffer lines picker
232
+
233
+ Pick from buffer lines. Notes:
234
+ - Loads all target buffers which are currently unloaded.
235
+
236
+ Parameters ~
237
+ {local_opts} `(table|nil)` Options defining behavior of this particular picker.
238
+ Possible fields:
239
+ - <scope> `(string)` - one of "all" (normal listed buffers) or "current".
240
+ Default: "all".
241
+ - <preserve_order> `(boolean)` - whether to preserve original order
242
+ during query. Default: `false`.
243
+ {opts} `(table|nil)` Options forwarded to |MiniPick.start()|.
244
+
245
+ Return ~
246
+ `(any)` Output of the called picker.
247
+
248
+ ------------------------------------------------------------------------------
249
+ *MiniExtra.pickers.colorschemes()*
250
+ `MiniExtra.pickers.colorschemes`({local_opts}, {opts})
251
+ Color scheme picker
252
+
253
+ Pick and apply color scheme. Preview temporarily applies item's color scheme
254
+ and shows how selected highlight groups look.
255
+ Canceling reverts to color scheme before picker start:
256
+ - With |MiniColors-colorscheme:apply()| if |mini.colors| was available.
257
+ - With |:colorscheme| if |g:colors_name| was available.
258
+
259
+ Parameters ~
260
+ {local_opts} `(table|nil)` Options defining behavior of this particular picker.
261
+ Possible fields:
262
+ - <names> `(table)` - array of color scheme names to pick from.
263
+ Default: all available color schemes.
264
+ - <preview_hl_groups> `(table)` - array of highlight groups to show in preview
265
+ window. Default: all defined highlight groups in alphabetical order.
266
+
267
+ {opts} `(table|nil)` Options forwarded to |MiniPick.start()|.
268
+
269
+ Return ~
270
+ `(any)` Output of the called picker.
271
+
272
+ ------------------------------------------------------------------------------
273
+ *MiniExtra.pickers.commands()*
274
+ `MiniExtra.pickers.commands`({local_opts}, {opts})
275
+ Neovim commands picker
276
+
277
+ Pick from Neovim built-in (|Ex-command|) and |user-commands|.
278
+ Notes:
279
+ - Preview shows information about the command (if available).
280
+ - Choosing either executes command (if reliably known that it doesn't need
281
+ arguments) or populates Command line with the command.
282
+
283
+ Parameters ~
284
+ {local_opts} `(table|nil)` Options defining behavior of this particular picker.
285
+ Not used at the moment.
286
+ {opts} `(table|nil)` Options forwarded to |MiniPick.start()|.
287
+
288
+ Return ~
289
+ `(any)` Output of the called picker.
290
+
291
+ ------------------------------------------------------------------------------
292
+ *MiniExtra.pickers.diagnostic()*
293
+ `MiniExtra.pickers.diagnostic`({local_opts}, {opts})
294
+ Built-in diagnostic picker
295
+
296
+ Pick from |vim.diagnostic| using |vim.diagnostic.get()|.
297
+
298
+ Parameters ~
299
+ {local_opts} `(table|nil)` Options defining behavior of this particular picker.
300
+ Possible fields:
301
+ - <get_opts> `(table)` - options for |vim.diagnostic.get()|. Can be used
302
+ to limit severity or namespace. Default: `{}`.
303
+ - <scope> `(string)` - one of "all" (available) or "current" (buffer).
304
+ Default: "all".
305
+ - <sort_by> `(string)` - sort priority. One of "severity", "path", "none".
306
+ Default: "severity".
307
+ {opts} `(table|nil)` Options forwarded to |MiniPick.start()|.
308
+
309
+ Return ~
310
+ `(any)` Output of the called picker.
311
+
312
+ ------------------------------------------------------------------------------
313
+ *MiniExtra.pickers.explorer()*
314
+ `MiniExtra.pickers.explorer`({local_opts}, {opts})
315
+ File explorer picker
316
+
317
+ Explore file system and open file.
318
+ Notes:
319
+ - Choosing a directory navigates inside it, changing picker's items and
320
+ current working directory.
321
+ - Query and preview work as usual (not only `move_next`/`move_prev` can be used).
322
+ - Preview works for any item.
323
+
324
+ Examples:
325
+
326
+ - `MiniExtra.pickers.explorer()`
327
+ - `:Pick explorer cwd='..'` - open explorer in parent directory.
328
+
329
+ Parameters ~
330
+ {local_opts} `(table|nil)` Options defining behavior of this particular picker.
331
+ Possible fields:
332
+ - <cwd> `(string)` - initial directory to explore. Should be a valid
333
+ directory path. Default: `nil` for |current-directory|.
334
+ - <filter> `(function)` - callable predicate to filter items to show.
335
+ Will be called for every item and should return `true` if it should be
336
+ shown. Each item is a table with the following fields:
337
+ - <fs_type> `(string)` - path type. One of "directory" or "file".
338
+ - <path> `(string)` - item path.
339
+ - <text> `(string)` - shown text (path's basename).
340
+ - <sort> `(function)` - callable item sorter. Will be called with array
341
+ of items (each element with structure as described above) and should
342
+ return sorted array of items.
343
+ {opts} `(table|nil)` Options forwarded to |MiniPick.start()|.
344
+
345
+ Return ~
346
+ `(any)` Output of the called picker.
347
+
348
+ ------------------------------------------------------------------------------
349
+ *MiniExtra.pickers.git_branches()*
350
+ `MiniExtra.pickers.git_branches`({local_opts}, {opts})
351
+ Git branches picker
352
+
353
+ Pick from Git branches using `git branch`.
354
+ Notes:
355
+ - Requires executable `git`.
356
+ - Requires target path to be part of git repository.
357
+ - Present for exploration and navigation purposes. Doing any Git operations
358
+ is suggested to be done in a dedicated Git client and is not planned.
359
+ - On choose opens scratch buffer with branch's history.
360
+
361
+ Examples:
362
+
363
+ - `MiniExtra.pickers.git_branches({ scope = 'local' })` - local branches of
364
+ the |current-directory| parent Git repository.
365
+ - `:Pick git_branches path='%'` - all branches of the current file parent
366
+ Git repository.
367
+
368
+ Parameters ~
369
+ {local_opts} `(table|nil)` Options defining behavior of this particular picker.
370
+ Possible fields:
371
+ - <path> `(string|nil)` - target path for Git operation (if required). Also
372
+ used to find Git repository inside which to construct items.
373
+ Default: `nil` for root of Git repository containing |current-directory|.
374
+ - <scope> `(string)` - branch scope to show. One of "all", "local", "remotes".
375
+ Default: "all".
376
+ {opts} `(table|nil)` Options forwarded to |MiniPick.start()|.
377
+
378
+ Return ~
379
+ `(any)` Output of the called picker.
380
+
381
+ ------------------------------------------------------------------------------
382
+ *MiniExtra.pickers.git_commits()*
383
+ `MiniExtra.pickers.git_commits`({local_opts}, {opts})
384
+ Git commits picker
385
+
386
+ Pick from Git commits using `git log`.
387
+ Notes:
388
+ - Requires executable `git`.
389
+ - Requires target path to be part of git repository.
390
+ - Present for exploration and navigation purposes. Doing any Git operations
391
+ is suggested to be done in a dedicated Git client and is not planned.
392
+ - On choose opens scratch buffer with commit's diff.
393
+
394
+ Examples:
395
+
396
+ - `MiniExtra.pickers.git_commits()` - all commits from parent Git
397
+ repository of |current-directory|.
398
+ - `MiniExtra.pickers.git_commits({ path = 'subdir' })` - commits affecting
399
+ files from `subdir` subdirectory.
400
+ - `:Pick git_commits path='%'` commits affecting current file.
401
+
402
+ Parameters ~
403
+ {local_opts} `(table|nil)` Options defining behavior of this particular picker.
404
+ Possible fields:
405
+ - <path> `(string|nil)` - target path for Git operation (if required). Also
406
+ used to find Git repository inside which to construct items.
407
+ Default: `nil` for root of Git repository containing |current-directory|.
408
+ {opts} `(table|nil)` Options forwarded to |MiniPick.start()|.
409
+
410
+ Return ~
411
+ `(any)` Output of the called picker.
412
+
413
+ ------------------------------------------------------------------------------
414
+ *MiniExtra.pickers.git_files()*
415
+ `MiniExtra.pickers.git_files`({local_opts}, {opts})
416
+ Git files picker
417
+
418
+ Pick from Git files using `git ls-files` using standard ignore rules.
419
+ Notes:
420
+ - Requires executable `git`.
421
+ - Requires target path to be part of git repository.
422
+ - Present for exploration and navigation purposes. Doing any Git operations
423
+ is suggested to be done in a dedicated Git client and is not planned.
424
+
425
+ Examples:
426
+
427
+ - `MiniExtra.pickers.git_files({ scope = 'ignored' })` - ignored files from
428
+ parent Git repository of |current-directory|.
429
+ - `:Pick git_files path='subdir' scope='modified'` - files from `subdir`
430
+ subdirectory which differ from Git index.
431
+
432
+ Parameters ~
433
+ {local_opts} `(table|nil)` Options defining behavior of this particular picker.
434
+ Possible fields:
435
+ - <path> `(string|nil)` - target path for Git operation (if required). Also
436
+ used to find Git repository inside which to construct items.
437
+ Default: `nil` for root of Git repository containing |current-directory|.
438
+ - <scope> `(string)` - files scope to show. One of:
439
+ - "tracked" (`--cached` Git flag).
440
+ - "modified" (`--modified` Git flag).
441
+ - "untracked" (`--others` Git flag).
442
+ - "ignored" (`--ignored` Git flag).
443
+ - "deleted" (`--deleted` Git flag).
444
+ Default: "tracked".
445
+ {opts} `(table|nil)` Options forwarded to |MiniPick.start()|.
446
+
447
+ Return ~
448
+ `(any)` Output of the called picker.
449
+
450
+ ------------------------------------------------------------------------------
451
+ *MiniExtra.pickers.git_hunks()*
452
+ `MiniExtra.pickers.git_hunks`({local_opts}, {opts})
453
+ Git hunks picker
454
+
455
+ Pick from Git hunks using `git diff`.
456
+ Notes:
457
+ - Requires executable `git`.
458
+ - Requires target path to be part of git repository.
459
+ - Present for exploration and navigation purposes. Doing any Git operations
460
+ is suggested to be done in a dedicated Git client and is not planned.
461
+ - On choose navigates to hunk's first change.
462
+
463
+ Examples:
464
+
465
+ - `MiniExtra.pickers.git_hunks({ scope = 'staged' })` - staged hunks from
466
+ parent Git repository of |current-directory|.
467
+ - `:Pick git_hunks path='%' n_context=0` - hunks from current file computed
468
+ with no context.
469
+
470
+ Parameters ~
471
+ {local_opts} `(table|nil)` Options defining behavior of this particular picker.
472
+ Possible fields:
473
+ - <n_context> `(number)` - number of context lines to show in hunk's preview.
474
+ Default: 3.
475
+ - <path> `(string|nil)` - target path for Git operation (if required). Also
476
+ used to find Git repository inside which to construct items.
477
+ Default: `nil` for root of Git repository containing |current-directory|.
478
+ - <scope> `(string)` - hunks scope to show. One of "unstaged" or "staged".
479
+ Default: "unstaged".
480
+ {opts} `(table|nil)` Options forwarded to |MiniPick.start()|.
481
+
482
+ Return ~
483
+ `(any)` Output of the called picker.
484
+
485
+ ------------------------------------------------------------------------------
486
+ *MiniExtra.pickers.hipatterns()*
487
+ `MiniExtra.pickers.hipatterns`({local_opts}, {opts})
488
+ Matches from |mini.hipatterns| picker
489
+
490
+ Pick from |mini.hipatterns| matches using |MiniHipatterns.get_matches()|.
491
+ Notes:
492
+ - Requires |mini.hipatterns|.
493
+ - Highlighter identifier is highlighted with its highlight group.
494
+
495
+ Parameters ~
496
+ {local_opts} `(table|nil)` Options defining behavior of this particular picker.
497
+ Possible fields:
498
+ - <scope> `(string)` - one of "all" (buffers with enabled |mini.hipatterns|)
499
+ or "current" (buffer). Default: "all".
500
+ - <highlighters> `(table|nil)` - highlighters for which to find matches.
501
+ Forwarded to |MiniHipatterns.get_matches()|. Default: `nil`.
502
+ {opts} `(table|nil)` Options forwarded to |MiniPick.start()|.
503
+
504
+ Return ~
505
+ `(any)` Output of the called picker.
506
+
507
+ ------------------------------------------------------------------------------
508
+ *MiniExtra.pickers.history()*
509
+ `MiniExtra.pickers.history`({local_opts}, {opts})
510
+ Neovim history picker
511
+
512
+ Pick from output of |:history|. Use `<C-e>` to edit current match in
513
+ Command line.
514
+
515
+ Notes:
516
+ - Has no preview.
517
+ - Choosing action depends on scope:
518
+ - For "cmd" / ":" scopes, the command is executed.
519
+ - For "search" / "/" / "?" scopes, search is redone.
520
+ - For other scopes nothing is done (but chosen item is still returned).
521
+ - `<C-e>` only works for "cmd" / ":" / "search" / "/" / "?" scopes.
522
+
523
+ Examples:
524
+
525
+ - Command history: `MiniExtra.pickers.history({ scope = ':' })`
526
+ - Search history: `:Pick history scope='/'`
527
+
528
+ Parameters ~
529
+ {local_opts} `(table|nil)` Options defining behavior of this particular picker.
530
+ Possible fields:
531
+ - <scope> `(string)` - any allowed {name} flag of |:history| command.
532
+ Note: word abbreviations are not allowed. Default: "all".
533
+ {opts} `(table|nil)` Options forwarded to |MiniPick.start()|.
534
+
535
+ Return ~
536
+ `(any)` Output of the called picker.
537
+
538
+ ------------------------------------------------------------------------------
539
+ *MiniExtra.pickers.hl_groups()*
540
+ `MiniExtra.pickers.hl_groups`({local_opts}, {opts})
541
+ Highlight groups picker
542
+
543
+ Pick and preview highlight groups.
544
+ Notes:
545
+ - Item line is colored with same highlight group it represents.
546
+ - Preview shows highlight's definition (as in |:highlight| with {group-name}).
547
+ - Choosing places highlight definition in Command line to update and apply.
548
+
549
+ Parameters ~
550
+ {local_opts} `(table|nil)` Options defining behavior of this particular picker.
551
+ Not used at the moment.
552
+ {opts} `(table|nil)` Options forwarded to |MiniPick.start()|.
553
+
554
+ Return ~
555
+ `(any)` Output of the called picker.
556
+
557
+ ------------------------------------------------------------------------------
558
+ *MiniExtra.pickers.keymaps()*
559
+ `MiniExtra.pickers.keymaps`({local_opts}, {opts})
560
+ Neovim keymaps picker
561
+
562
+ Pick and preview data about Neovim keymaps.
563
+ Notes:
564
+ - Item line contains data about keymap mode, whether it is buffer local, its
565
+ left hand side, and inferred description.
566
+ - Preview shows keymap data or callback source (if present and reachable).
567
+ - Choosing emulates pressing the left hand side of the keymap.
568
+
569
+ Parameters ~
570
+ {local_opts} `(table|nil)` Options defining behavior of this particular picker.
571
+ Possible fields:
572
+ - <mode> `(string)` - modes to show. One of "all" or appropriate mode
573
+ for |nvim_set_keymap()|. Default: "all".
574
+ - <scope> `(string)` - scope to show. One of "all", "global", "buf".
575
+ Default: "all".
576
+ {opts} `(table|nil)` Options forwarded to |MiniPick.start()|.
577
+
578
+ Return ~
579
+ `(any)` Output of the called picker.
580
+
581
+ ------------------------------------------------------------------------------
582
+ *MiniExtra.pickers.list()*
583
+ `MiniExtra.pickers.list`({local_opts}, {opts})
584
+ Neovim lists picker
585
+
586
+ Pick and navigate to elements of the following Neovim lists:
587
+ - |quickfix| list.
588
+ - |location-list| of current window.
589
+ - |jumplist|.
590
+ - |changelist|.
591
+
592
+ Note: it requires explicit `scope`.
593
+
594
+ Examples:
595
+
596
+ - `MiniExtra.pickers.list({ scope = 'quickfix' })` - quickfix list.
597
+ - `:Pick list scope='jump'` - jump list.
598
+
599
+ Parameters ~
600
+ {local_opts} `(table|nil)` Options defining behavior of this particular picker.
601
+ Possible fields:
602
+ - <scope> `(string)` - type of list to show. One of "quickfix", "location",
603
+ "jump", "change". Default: `nil` which means explicit scope is needed.
604
+ {opts} `(table|nil)` Options forwarded to |MiniPick.start()|.
605
+
606
+ Return ~
607
+ `(any)` Output of the called picker.
608
+
609
+ ------------------------------------------------------------------------------
610
+ *MiniExtra.pickers.lsp()*
611
+ `MiniExtra.pickers.lsp`({local_opts}, {opts})
612
+ LSP picker
613
+
614
+ Pick and navigate with LSP methods.
615
+ Notes:
616
+ - Needs an explicit scope from a list of supported ones:
617
+ - "declaration".
618
+ - "definition".
619
+ - "document_symbol".
620
+ - "implementation".
621
+ - "references".
622
+ - "type_definition".
623
+ - "workspace_symbol".
624
+ - "workspace_symbol_live" - same as "workspace_symbol", but with live
625
+ feedback treating picker's prompt as LSP server query. Similar to
626
+ how |MiniPick.builtin.grep_live()| and |MiniPick.builtin.grep()| are
627
+ related. To use regular matching, activate |MiniPick-actions-refine|.
628
+ - Relies on `vim.lsp.buf` methods supporting |vim.lsp.LocationOpts.OnList|.
629
+ In particular, it means that picker is started only if LSP server returns
630
+ list of locations and not a single location.
631
+ - Doesn't return anything due to async nature of `vim.lsp.buf` methods.
632
+ - Requires set up |mini.icons| to show extra icons and highlighting in
633
+ "document_symbol", "workspace_symbol", "workspace_symbol_live" scopes.
634
+
635
+ Examples:
636
+
637
+ - `MiniExtra.pickers.lsp({ scope = 'references' })` - references of the symbol
638
+ under cursor.
639
+ - `:Pick lsp scope='document_symbol'` - symbols in current file.
640
+
641
+ Parameters ~
642
+ {local_opts} `(table|nil)` Options defining behavior of this particular picker.
643
+ Possible fields:
644
+ - <scope> `(string)` - LSP method to use. One of the supported ones (see
645
+ list above). Default: `nil` which means explicit scope is needed.
646
+ - <symbol_query> `(string)` - query for `"workspace_symbol"` scope.
647
+ Default: empty string for all symbols (according to LSP specification).
648
+ {opts} `(table|nil)` Options forwarded to |MiniPick.start()|.
649
+
650
+ Return ~
651
+ `(nil)` Nothing is returned.
652
+
653
+ ------------------------------------------------------------------------------
654
+ *MiniExtra.pickers.manpages()*
655
+ `MiniExtra.pickers.manpages`({local_opts}, {opts})
656
+ Manual pages
657
+
658
+ Pick manual page (like described in |ft-man-plugin|).
659
+ Notes:
660
+ - Depends on |:Man| command to preview and choose items.
661
+ - Shows page in the target window. Use |MiniPick-actions-choose| to split.
662
+
663
+ Parameters ~
664
+ {local_opts} `(table|nil)` Options defining behavior of this particular picker.
665
+ Not used at the moment.
666
+ {opts} `(table|nil)` Options forwarded to |MiniPick.start()|.
667
+
668
+ Return ~
669
+ `(any)` Output of the called picker.
670
+
671
+ ------------------------------------------------------------------------------
672
+ *MiniExtra.pickers.marks()*
673
+ `MiniExtra.pickers.marks`({local_opts}, {opts})
674
+ Neovim marks picker
675
+
676
+ Pick and preview position of Neovim |mark|s.
677
+
678
+ Parameters ~
679
+ {local_opts} `(table|nil)` Options defining behavior of this particular picker.
680
+ Possible fields:
681
+ - <scope> `(string)` - scope to show. One of "all", "global", "buf".
682
+ Default: "all".
683
+ {opts} `(table|nil)` Options forwarded to |MiniPick.start()|.
684
+
685
+ Return ~
686
+ `(any)` Output of the called picker.
687
+
688
+ ------------------------------------------------------------------------------
689
+ *MiniExtra.pickers.oldfiles()*
690
+ `MiniExtra.pickers.oldfiles`({local_opts}, {opts})
691
+ Old files picker
692
+
693
+ Pick from |v:oldfiles| entries representing readable files.
694
+
695
+ Parameters ~
696
+ {local_opts} `(table|nil)` Options defining behavior of this particular picker.
697
+ Possible fields:
698
+ - <current_dir> `(boolean)` - whether to return files only from current
699
+ working directory and its subdirectories. Default: `false`.
700
+ - <preserve_order> `(boolean)` - whether to preserve original order
701
+ during query. Default: `false`.
702
+ {opts} `(table|nil)` Options forwarded to |MiniPick.start()|.
703
+
704
+ Return ~
705
+ `(any)` Output of the called picker.
706
+
707
+ ------------------------------------------------------------------------------
708
+ *MiniExtra.pickers.options()*
709
+ `MiniExtra.pickers.options`({local_opts}, {opts})
710
+ Neovim options picker
711
+
712
+ Pick and preview data about Neovim options.
713
+ Notes:
714
+ - Item line is colored based on whether it was set (dimmed if wasn't).
715
+ - Preview shows option value in target window and its general information.
716
+ - Choosing places option name in Command line to update and apply.
717
+
718
+ Parameters ~
719
+ {local_opts} `(table|nil)` Options defining behavior of this particular picker.
720
+ Possible fields:
721
+ - <scope> `(string)` - options to show. One of "all", "global", "win", "buf".
722
+ Default: "all".
723
+ {opts} `(table|nil)` Options forwarded to |MiniPick.start()|.
724
+
725
+ Return ~
726
+ `(any)` Output of the called picker.
727
+
728
+ ------------------------------------------------------------------------------
729
+ *MiniExtra.pickers.registers()*
730
+ `MiniExtra.pickers.registers`({local_opts}, {opts})
731
+ Neovim registers picker
732
+
733
+ Pick from Neovim |registers|.
734
+ Notes:
735
+ - There is no preview (all information is in the item's text).
736
+ - Choosing pastes content of a register: with |i_CTRL-R| in Insert mode,
737
+ |c_CTRL-R| in Command-line mode, and |P| otherwise.
738
+ Expression register |quote=| is reevaluated (if present) and pasted.
739
+
740
+ Parameters ~
741
+ {local_opts} `(table|nil)` Options defining behavior of this particular picker.
742
+ Not used at the moment.
743
+ {opts} `(table|nil)` Options forwarded to |MiniPick.start()|.
744
+
745
+ Return ~
746
+ `(any)` Output of the called picker.
747
+
748
+ ------------------------------------------------------------------------------
749
+ *MiniExtra.pickers.spellsuggest()*
750
+ `MiniExtra.pickers.spellsuggest`({local_opts}, {opts})
751
+ Neovim spell suggestions picker
752
+
753
+ Pick and apply spell suggestions.
754
+ Notes:
755
+ - No preview is available.
756
+ - Choosing replaces current word (|<cword>|) with suggestion.
757
+
758
+ Parameters ~
759
+ {local_opts} `(table|nil)` Options defining behavior of this particular picker.
760
+ Possible fields:
761
+ - <n_suggestions> `(number)` - number of spell suggestions. Default: 25.
762
+
763
+ {opts} `(table|nil)` Options forwarded to |MiniPick.start()|.
764
+
765
+ Return ~
766
+ `(any)` Output of the called picker.
767
+
768
+ ------------------------------------------------------------------------------
769
+ *MiniExtra.pickers.treesitter()*
770
+ `MiniExtra.pickers.treesitter`({local_opts}, {opts})
771
+ Tree-sitter nodes picker
772
+
773
+ Pick and navigate to |treesitter| nodes of current buffer.
774
+ Notes:
775
+ - Requires active tree-sitter parser in the current buffer.
776
+
777
+ Parameters ~
778
+ {local_opts} `(table|nil)` Options defining behavior of this particular picker.
779
+ Not used at the moment.
780
+ {opts} `(table|nil)` Options forwarded to |MiniPick.start()|.
781
+
782
+ Return ~
783
+ `(any)` Output of the called picker.
784
+
785
+ ------------------------------------------------------------------------------
786
+ *MiniExtra.pickers.visit_paths()*
787
+ `MiniExtra.pickers.visit_paths`({local_opts}, {opts})
788
+ Visit paths from |mini.visits| picker
789
+
790
+ Pick paths from |mini.visits| using |MiniVisits.list_paths()|.
791
+ Notes:
792
+ - Requires |mini.visits|.
793
+
794
+ Examples:
795
+
796
+ - `MiniExtra.pickers.visit_paths()` - visits registered for |current-directory|
797
+ and ordered by "robust frecency".
798
+ - `:Pick visit_paths cwd='' recency_weight=1 filter='core'` - all visits with
799
+ "core" label ordered from most to least recent.
800
+
801
+ Parameters ~
802
+ {local_opts} `(table|nil)` Options defining behavior of this particular picker.
803
+ Possible fields:
804
+ - <cwd> `(string)` - forwarded to |MiniVisits.list_paths()|.
805
+ Default: `nil` to get paths registered for |current-directory|.
806
+ - <filter> `(function|string)` - forwarded to |MiniVisits.list_paths()|.
807
+ Default: `nil` to use all paths.
808
+ - <preserve_order> `(boolean)` - whether to preserve original order
809
+ during query. Default: `false`.
810
+ - <recency_weight> `(number)` - forwarded to |MiniVisits.gen_sort.default()|.
811
+ Default: 0.5 to use "robust frecency" sorting.
812
+ - <sort> `(function)` - forwarded to |MiniVisits.list_paths()|.
813
+ Default: `nil` to use "robust frecency".
814
+ Note: if supplied, has precedence over `recency_weight`.
815
+ {opts} `(table|nil)` Options forwarded to |MiniPick.start()|.
816
+
817
+ Return ~
818
+ `(any)` Output of the called picker.
819
+
820
+ ------------------------------------------------------------------------------
821
+ *MiniExtra.pickers.visit_labels()*
822
+ `MiniExtra.pickers.visit_labels`({local_opts}, {opts})
823
+ Visit labels from |mini.visits| picker
824
+
825
+ Pick labels from |mini.visits| using |MiniVisits.list_labels()|
826
+ and |MiniVisits.list_paths()|.
827
+ Notes:
828
+ - Requires |mini.visits|.
829
+ - Preview shows target visit paths filtered to those having previewed label.
830
+ - Choosing essentially starts |MiniExtra.pickers.visit_paths()| for paths
831
+ with the chosen label.
832
+
833
+ Examples:
834
+
835
+ - `MiniExtra.pickers.visit_labels()` - labels from visits registered
836
+ for |current-directory|.
837
+ - `:Pick visit_labels cwd=''` - labels from all visits.
838
+
839
+ Parameters ~
840
+ {local_opts} `(table|nil)` Options defining behavior of this particular picker.
841
+ Possible fields:
842
+ - <cwd> `(string)` - forwarded to |MiniVisits.list_labels()|.
843
+ Default: `nil` to get labels from visits registered for |current-directory|.
844
+ - <filter> `(function|string)` - forwarded to |MiniVisits.list_labels()|.
845
+ Default: `nil` to use all visits.
846
+ - <path> `(string)` - forwarded to |MiniVisits.list_labels()|.
847
+ Default: `""` to get labels from all visits for target `cwd`.
848
+ - <sort> `(function)` - forwarded to |MiniVisits.list_paths()| for
849
+ preview and choose. Default: `nil` to use "robust frecency".
850
+ {opts} `(table|nil)` Options forwarded to |MiniPick.start()|.
851
+
852
+ Return ~
853
+ `(...)` Chosen path.
854
+
855
+
856
+ vim:tw=78:ts=8:noet:ft=help:norl: