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.
- package/.conda/retrovim.yaml +259 -0
- package/.conda/terax.icns +0 -0
- package/.conda/terax.ico +0 -0
- package/.conda/terax.png +0 -0
- package/.github/workflows/release.yml +95 -0
- package/.gitmodules +3 -0
- package/.npm/kanata_touchcursor.js +28 -0
- package/.npm/nvim.js +26 -0
- package/.npm/yazi.js +26 -0
- package/.npm/zsh.js +17 -0
- package/.pip/kanata_touchcursor/__init__.py +28 -0
- package/.pip/nvim/__init__.py +31 -0
- package/.pip/yazi/__init__.py +31 -0
- package/.pip/zsh/__init__.py +22 -0
- package/CHANGELOG.md +26 -0
- package/LICENSE +674 -0
- package/README.md +336 -0
- package/kanata/touchcursor.kbd +164 -0
- package/nvim/init.lua +813 -0
- package/nvim/plugins/mini.nvim/.github/DISCUSSION_TEMPLATE/q-a.yml +72 -0
- package/nvim/plugins/mini.nvim/.github/ISSUE_TEMPLATE/bug-report.yml +136 -0
- package/nvim/plugins/mini.nvim/.github/ISSUE_TEMPLATE/config.yml +5 -0
- package/nvim/plugins/mini.nvim/.github/ISSUE_TEMPLATE/feature-request.yml +75 -0
- package/nvim/plugins/mini.nvim/.github/PULL_REQUEST_TEMPLATE.md +2 -0
- package/nvim/plugins/mini.nvim/.github/workflows/quality-control.yml +150 -0
- package/nvim/plugins/mini.nvim/.pre-commit-config.yaml +20 -0
- package/nvim/plugins/mini.nvim/.stylua.toml +7 -0
- package/nvim/plugins/mini.nvim/.styluaignore +1 -0
- package/nvim/plugins/mini.nvim/CHANGELOG.md +1894 -0
- package/nvim/plugins/mini.nvim/CODE_OF_CONDUCT.md +132 -0
- package/nvim/plugins/mini.nvim/CONTRIBUTING.md +331 -0
- package/nvim/plugins/mini.nvim/LICENSE +21 -0
- package/nvim/plugins/mini.nvim/MAINTAINING.md +330 -0
- package/nvim/plugins/mini.nvim/Makefile +51 -0
- package/nvim/plugins/mini.nvim/README.md +261 -0
- package/nvim/plugins/mini.nvim/TESTING.md +1011 -0
- package/nvim/plugins/mini.nvim/benchmarks/starter/README.md +35 -0
- package/nvim/plugins/mini.nvim/benchmarks/starter/benchmark.sh +56 -0
- package/nvim/plugins/mini.nvim/benchmarks/starter/init-files/init_dashboard-alpha.lua +21 -0
- package/nvim/plugins/mini.nvim/benchmarks/starter/init-files/init_dashboard-original.lua +17 -0
- package/nvim/plugins/mini.nvim/benchmarks/starter/init-files/init_dashboard-starter.lua +18 -0
- package/nvim/plugins/mini.nvim/benchmarks/starter/init-files/init_empty.lua +4 -0
- package/nvim/plugins/mini.nvim/benchmarks/starter/init-files/init_starter-default.lua +7 -0
- package/nvim/plugins/mini.nvim/benchmarks/starter/init-files/init_startify-alpha.lua +10 -0
- package/nvim/plugins/mini.nvim/benchmarks/starter/init-files/init_startify-original.lua +7 -0
- package/nvim/plugins/mini.nvim/benchmarks/starter/init-files/init_startify-starter.lua +20 -0
- package/nvim/plugins/mini.nvim/benchmarks/starter/install.sh +10 -0
- package/nvim/plugins/mini.nvim/benchmarks/starter/make_summary.py +68 -0
- package/nvim/plugins/mini.nvim/benchmarks/starter/startup-summary.md +10 -0
- package/nvim/plugins/mini.nvim/colors/miniautumn.lua +55 -0
- package/nvim/plugins/mini.nvim/colors/minicyan.lua +95 -0
- package/nvim/plugins/mini.nvim/colors/minischeme.lua +95 -0
- package/nvim/plugins/mini.nvim/colors/minispring.lua +53 -0
- package/nvim/plugins/mini.nvim/colors/minisummer.lua +49 -0
- package/nvim/plugins/mini.nvim/colors/miniwinter.lua +51 -0
- package/nvim/plugins/mini.nvim/colors/randomhue.lua +16 -0
- package/nvim/plugins/mini.nvim/doc/mini-ai.txt +889 -0
- package/nvim/plugins/mini.nvim/doc/mini-align.txt +923 -0
- package/nvim/plugins/mini.nvim/doc/mini-animate.txt +937 -0
- package/nvim/plugins/mini.nvim/doc/mini-base16.txt +285 -0
- package/nvim/plugins/mini.nvim/doc/mini-basics.txt +359 -0
- package/nvim/plugins/mini.nvim/doc/mini-bracketed.txt +622 -0
- package/nvim/plugins/mini.nvim/doc/mini-bufremove.txt +123 -0
- package/nvim/plugins/mini.nvim/doc/mini-clue.txt +760 -0
- package/nvim/plugins/mini.nvim/doc/mini-cmdline.txt +392 -0
- package/nvim/plugins/mini.nvim/doc/mini-colors.txt +880 -0
- package/nvim/plugins/mini.nvim/doc/mini-comment.txt +230 -0
- package/nvim/plugins/mini.nvim/doc/mini-completion.txt +477 -0
- package/nvim/plugins/mini.nvim/doc/mini-cursorword.txt +105 -0
- package/nvim/plugins/mini.nvim/doc/mini-deps.txt +590 -0
- package/nvim/plugins/mini.nvim/doc/mini-diff.txt +661 -0
- package/nvim/plugins/mini.nvim/doc/mini-doc.txt +434 -0
- package/nvim/plugins/mini.nvim/doc/mini-extra.txt +856 -0
- package/nvim/plugins/mini.nvim/doc/mini-files.txt +1018 -0
- package/nvim/plugins/mini.nvim/doc/mini-fuzzy.txt +160 -0
- package/nvim/plugins/mini.nvim/doc/mini-git.txt +425 -0
- package/nvim/plugins/mini.nvim/doc/mini-hipatterns.txt +489 -0
- package/nvim/plugins/mini.nvim/doc/mini-hues.txt +420 -0
- package/nvim/plugins/mini.nvim/doc/mini-icons.txt +508 -0
- package/nvim/plugins/mini.nvim/doc/mini-indentscope.txt +485 -0
- package/nvim/plugins/mini.nvim/doc/mini-input.txt +932 -0
- package/nvim/plugins/mini.nvim/doc/mini-jump.txt +202 -0
- package/nvim/plugins/mini.nvim/doc/mini-jump2d.txt +525 -0
- package/nvim/plugins/mini.nvim/doc/mini-keymap.txt +449 -0
- package/nvim/plugins/mini.nvim/doc/mini-map.txt +717 -0
- package/nvim/plugins/mini.nvim/doc/mini-misc.txt +431 -0
- package/nvim/plugins/mini.nvim/doc/mini-move.txt +181 -0
- package/nvim/plugins/mini.nvim/doc/mini-notify.txt +434 -0
- package/nvim/plugins/mini.nvim/doc/mini-nvim.txt +431 -0
- package/nvim/plugins/mini.nvim/doc/mini-operators.txt +472 -0
- package/nvim/plugins/mini.nvim/doc/mini-pairs.txt +346 -0
- package/nvim/plugins/mini.nvim/doc/mini-pick.txt +1535 -0
- package/nvim/plugins/mini.nvim/doc/mini-sessions.txt +239 -0
- package/nvim/plugins/mini.nvim/doc/mini-snippets.txt +1291 -0
- package/nvim/plugins/mini.nvim/doc/mini-splitjoin.txt +536 -0
- package/nvim/plugins/mini.nvim/doc/mini-starter.txt +618 -0
- package/nvim/plugins/mini.nvim/doc/mini-statusline.txt +361 -0
- package/nvim/plugins/mini.nvim/doc/mini-surround.txt +863 -0
- package/nvim/plugins/mini.nvim/doc/mini-tabline.txt +151 -0
- package/nvim/plugins/mini.nvim/doc/mini-test.txt +966 -0
- package/nvim/plugins/mini.nvim/doc/mini-trailspace.txt +91 -0
- package/nvim/plugins/mini.nvim/doc/mini-visits.txt +937 -0
- package/nvim/plugins/mini.nvim/logo.png +0 -0
- package/nvim/plugins/mini.nvim/lua/mini/ai.lua +2244 -0
- package/nvim/plugins/mini.nvim/lua/mini/align.lua +2076 -0
- package/nvim/plugins/mini.nvim/lua/mini/animate.lua +2127 -0
- package/nvim/plugins/mini.nvim/lua/mini/base16.lua +1752 -0
- package/nvim/plugins/mini.nvim/lua/mini/basics.lua +772 -0
- package/nvim/plugins/mini.nvim/lua/mini/bracketed.lua +2013 -0
- package/nvim/plugins/mini.nvim/lua/mini/bufremove.lua +283 -0
- package/nvim/plugins/mini.nvim/lua/mini/clue.lua +2096 -0
- package/nvim/plugins/mini.nvim/lua/mini/cmdline.lua +1182 -0
- package/nvim/plugins/mini.nvim/lua/mini/colors.lua +2483 -0
- package/nvim/plugins/mini.nvim/lua/mini/comment.lua +586 -0
- package/nvim/plugins/mini.nvim/lua/mini/completion.lua +2094 -0
- package/nvim/plugins/mini.nvim/lua/mini/cursorword.lua +311 -0
- package/nvim/plugins/mini.nvim/lua/mini/deps.lua +1660 -0
- package/nvim/plugins/mini.nvim/lua/mini/diff.lua +1938 -0
- package/nvim/plugins/mini.nvim/lua/mini/doc.lua +1371 -0
- package/nvim/plugins/mini.nvim/lua/mini/extra.lua +2290 -0
- package/nvim/plugins/mini.nvim/lua/mini/files.lua +3145 -0
- package/nvim/plugins/mini.nvim/lua/mini/fuzzy.lua +356 -0
- package/nvim/plugins/mini.nvim/lua/mini/git.lua +1737 -0
- package/nvim/plugins/mini.nvim/lua/mini/hipatterns.lua +1042 -0
- package/nvim/plugins/mini.nvim/lua/mini/hues.lua +2088 -0
- package/nvim/plugins/mini.nvim/lua/mini/icons.lua +2254 -0
- package/nvim/plugins/mini.nvim/lua/mini/indentscope.lua +1158 -0
- package/nvim/plugins/mini.nvim/lua/mini/init.lua +427 -0
- package/nvim/plugins/mini.nvim/lua/mini/input.lua +2183 -0
- package/nvim/plugins/mini.nvim/lua/mini/jump.lua +609 -0
- package/nvim/plugins/mini.nvim/lua/mini/jump2d.lua +1244 -0
- package/nvim/plugins/mini.nvim/lua/mini/keymap.lua +880 -0
- package/nvim/plugins/mini.nvim/lua/mini/map.lua +1709 -0
- package/nvim/plugins/mini.nvim/lua/mini/misc.lua +969 -0
- package/nvim/plugins/mini.nvim/lua/mini/move.lua +509 -0
- package/nvim/plugins/mini.nvim/lua/mini/notify.lua +938 -0
- package/nvim/plugins/mini.nvim/lua/mini/operators.lua +1349 -0
- package/nvim/plugins/mini.nvim/lua/mini/pairs.lua +657 -0
- package/nvim/plugins/mini.nvim/lua/mini/pick.lua +3876 -0
- package/nvim/plugins/mini.nvim/lua/mini/sessions.lua +689 -0
- package/nvim/plugins/mini.nvim/lua/mini/snippets.lua +2828 -0
- package/nvim/plugins/mini.nvim/lua/mini/splitjoin.lua +1132 -0
- package/nvim/plugins/mini.nvim/lua/mini/starter.lua +1599 -0
- package/nvim/plugins/mini.nvim/lua/mini/statusline.lua +686 -0
- package/nvim/plugins/mini.nvim/lua/mini/surround.lua +2388 -0
- package/nvim/plugins/mini.nvim/lua/mini/tabline.lua +564 -0
- package/nvim/plugins/mini.nvim/lua/mini/test.lua +2516 -0
- package/nvim/plugins/mini.nvim/lua/mini/trailspace.lua +215 -0
- package/nvim/plugins/mini.nvim/lua/mini/visits.lua +1577 -0
- package/nvim/plugins/mini.nvim/readmes/mini-ai.md +190 -0
- package/nvim/plugins/mini.nvim/readmes/mini-align.md +203 -0
- package/nvim/plugins/mini.nvim/readmes/mini-animate.md +214 -0
- package/nvim/plugins/mini.nvim/readmes/mini-base16.md +198 -0
- package/nvim/plugins/mini.nvim/readmes/mini-basics.md +184 -0
- package/nvim/plugins/mini.nvim/readmes/mini-bracketed.md +193 -0
- package/nvim/plugins/mini.nvim/readmes/mini-bufremove.md +139 -0
- package/nvim/plugins/mini.nvim/readmes/mini-clue.md +260 -0
- package/nvim/plugins/mini.nvim/readmes/mini-cmdline.md +183 -0
- package/nvim/plugins/mini.nvim/readmes/mini-colors.md +169 -0
- package/nvim/plugins/mini.nvim/readmes/mini-comment.md +183 -0
- package/nvim/plugins/mini.nvim/readmes/mini-completion.md +217 -0
- package/nvim/plugins/mini.nvim/readmes/mini-cursorword.md +137 -0
- package/nvim/plugins/mini.nvim/readmes/mini-deps.md +271 -0
- package/nvim/plugins/mini.nvim/readmes/mini-diff.md +289 -0
- package/nvim/plugins/mini.nvim/readmes/mini-doc.md +198 -0
- package/nvim/plugins/mini.nvim/readmes/mini-extra.md +158 -0
- package/nvim/plugins/mini.nvim/readmes/mini-files.md +247 -0
- package/nvim/plugins/mini.nvim/readmes/mini-fuzzy.md +134 -0
- package/nvim/plugins/mini.nvim/readmes/mini-git.md +168 -0
- package/nvim/plugins/mini.nvim/readmes/mini-hipatterns.md +176 -0
- package/nvim/plugins/mini.nvim/readmes/mini-hues.md +285 -0
- package/nvim/plugins/mini.nvim/readmes/mini-icons.md +183 -0
- package/nvim/plugins/mini.nvim/readmes/mini-indentscope.md +191 -0
- package/nvim/plugins/mini.nvim/readmes/mini-input.md +163 -0
- package/nvim/plugins/mini.nvim/readmes/mini-jump.md +161 -0
- package/nvim/plugins/mini.nvim/readmes/mini-jump2d.md +197 -0
- package/nvim/plugins/mini.nvim/readmes/mini-keymap.md +205 -0
- package/nvim/plugins/mini.nvim/readmes/mini-map.md +191 -0
- package/nvim/plugins/mini.nvim/readmes/mini-misc.md +145 -0
- package/nvim/plugins/mini.nvim/readmes/mini-move.md +163 -0
- package/nvim/plugins/mini.nvim/readmes/mini-notify.md +175 -0
- package/nvim/plugins/mini.nvim/readmes/mini-operators.md +193 -0
- package/nvim/plugins/mini.nvim/readmes/mini-pairs.md +158 -0
- package/nvim/plugins/mini.nvim/readmes/mini-pick.md +340 -0
- package/nvim/plugins/mini.nvim/readmes/mini-sessions.md +164 -0
- package/nvim/plugins/mini.nvim/readmes/mini-snippets.md +373 -0
- package/nvim/plugins/mini.nvim/readmes/mini-splitjoin.md +194 -0
- package/nvim/plugins/mini.nvim/readmes/mini-starter.md +176 -0
- package/nvim/plugins/mini.nvim/readmes/mini-statusline.md +155 -0
- package/nvim/plugins/mini.nvim/readmes/mini-surround.md +190 -0
- package/nvim/plugins/mini.nvim/readmes/mini-tabline.md +156 -0
- package/nvim/plugins/mini.nvim/readmes/mini-test.md +175 -0
- package/nvim/plugins/mini.nvim/readmes/mini-trailspace.md +137 -0
- package/nvim/plugins/mini.nvim/readmes/mini-visits.md +243 -0
- package/nvim/plugins/mini.nvim/scripts/dual_log.sh +13 -0
- package/nvim/plugins/mini.nvim/scripts/dual_push.sh +15 -0
- package/nvim/plugins/mini.nvim/scripts/dual_release.sh +102 -0
- package/nvim/plugins/mini.nvim/scripts/dual_sync.sh +115 -0
- package/nvim/plugins/mini.nvim/scripts/init-deps-example.lua +59 -0
- package/nvim/plugins/mini.nvim/scripts/lint-filename-length.sh +16 -0
- package/nvim/plugins/mini.nvim/scripts/lintcommit-ci.sh +18 -0
- package/nvim/plugins/mini.nvim/scripts/lintcommit.lua +393 -0
- package/nvim/plugins/mini.nvim/scripts/minidoc.lua +57 -0
- package/nvim/plugins/mini.nvim/scripts/minimal_init.lua +28 -0
- package/nvim/plugins/mini.nvim/scripts/minitest.lua +4 -0
- package/package.json +16 -0
- package/pyproject.toml +43 -0
- package/yazi/init.lua +12 -0
- package/yazi/keymap.toml +114 -0
- package/yazi/lesskey +5 -0
- package/yazi/plugins/bookmarks.yazi/main.lua +86 -0
- package/yazi/plugins/cd-git-root.yazi/main.lua +31 -0
- package/yazi/plugins/smart-enter.yazi/main.lua +11 -0
- package/yazi/theme.toml +26 -0
- package/yazi/yazi.toml +15 -0
- package/zsh/.zshrc +145 -0
- package/zsh/starship.toml +20 -0
- package/zsh/zsh-patina.toml +2 -0
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
<p align="center"> <img src="https://github.com/nvim-mini/assets/blob/main/logo-2/logo-files_readme.png?raw=true" alt="mini.files" style="max-width:100%;border:solid 2px"/> </p>
|
|
2
|
+
|
|
3
|
+
### Navigate and manipulate file system
|
|
4
|
+
|
|
5
|
+
See more details in [Features](#features) and [Documentation](../doc/mini-files.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-files) 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-files.mp4 -->
|
|
27
|
+
https://github.com/nvim-mini/mini.nvim/assets/24854248/530483a5-fe9a-4e18-9813-a6d609fc89ff
|
|
28
|
+
|
|
29
|
+
## Features
|
|
30
|
+
|
|
31
|
+
- Navigate file system using column view (Miller columns) to display nested directories. See `:h MiniFiles-navigation` for overview.
|
|
32
|
+
|
|
33
|
+
- Opt-in preview of file or directory under cursor.
|
|
34
|
+
|
|
35
|
+
- Manipulate files and directories by editing text buffers: create, delete, rename (all three are LSP aware), copy, move. See `:h MiniFiles-manipulation` for an overview.
|
|
36
|
+
|
|
37
|
+
- Use as default file explorer instead of `netrw`.
|
|
38
|
+
|
|
39
|
+
- Configurable:
|
|
40
|
+
- Filter/prefix/sort of file system entries.
|
|
41
|
+
- Mappings used for common explorer actions.
|
|
42
|
+
- UI options: whether to show preview of file/directory under cursor, etc.
|
|
43
|
+
- Bookmarks for quicker navigation.
|
|
44
|
+
|
|
45
|
+
See `:h MiniFiles-examples` for some common configuration examples.
|
|
46
|
+
|
|
47
|
+
Notes:
|
|
48
|
+
|
|
49
|
+
- This module is written and thoroughly tested on Linux. Support for other platform/OS (like Windows or MacOS) is a goal, but there is no guarantee.
|
|
50
|
+
|
|
51
|
+
- This module silently reacts to not enough permissions:
|
|
52
|
+
- In case of missing file, check its or its parent read permissions.
|
|
53
|
+
- In case of no manipulation result, check write permissions.
|
|
54
|
+
|
|
55
|
+
## Dependencies
|
|
56
|
+
|
|
57
|
+
For full experience needs (still works without any of suggestions):
|
|
58
|
+
|
|
59
|
+
- Enabled ['mini.icons'](https://nvim-mini.org/mini.nvim/readmes/mini-icons) module to show icons near file/directory names. Can fall back to using [nvim-tree/nvim-web-devicons](https://github.com/nvim-tree/nvim-web-devicons) plugin.
|
|
60
|
+
|
|
61
|
+
## Quick start
|
|
62
|
+
|
|
63
|
+
### Navigation
|
|
64
|
+
|
|
65
|
+
- Run `:lua MiniFiles.open()`.
|
|
66
|
+
|
|
67
|
+
- Navigate:
|
|
68
|
+
- Press `j`/`k` to navigate down/up.
|
|
69
|
+
- Press `l` to expand entry under cursor: show directory or open file in the most recent window.
|
|
70
|
+
- Press `h` to go to parent directory.
|
|
71
|
+
- Type `m<char>` to set directory path of focused window as bookmark `<char>`. Jump to it with `'<char>`. Go back to before the latest jump with `''`.
|
|
72
|
+
- Type `g?` for more information about other available mappings and bookmarks.
|
|
73
|
+
- Move as in any other buffer (`$`, `G`, `f`/`t`, etc.).
|
|
74
|
+
|
|
75
|
+
For deeper overview, see `:h MiniFiles-navigation`.
|
|
76
|
+
|
|
77
|
+
### Manipulation
|
|
78
|
+
|
|
79
|
+
- Navigate to the directory in which manipulation should be done.
|
|
80
|
+
|
|
81
|
+
- Edit buffer in the way representing file system action:
|
|
82
|
+
- **Create file/directory**: create new line like `file` or `dir/`.
|
|
83
|
+
- **Create file/directory in the descendant directory**: create new line like `dir/file` or `dir/nested/`.
|
|
84
|
+
- **Delete file/directory**: delete whole line representing that entry.
|
|
85
|
+
- **Rename file/directory**: change text to the right of that entry's icon.
|
|
86
|
+
- **Copy file/directory**: copy whole line and paste it in target directory.
|
|
87
|
+
- **Move file/directory**: cut whole line and paste it in target directory.
|
|
88
|
+
|
|
89
|
+
- Press `=`; **read confirmation dialog**; confirm with `y`/`<CR>` or not confirm with `n`/`<Esc>`.
|
|
90
|
+
|
|
91
|
+
For deeper overview, see `:h MiniFiles-manipulation`.
|
|
92
|
+
|
|
93
|
+
## Installation
|
|
94
|
+
|
|
95
|
+
This plugin can be installed as part of 'mini.nvim' library (**recommended**) or as a standalone Git repository.
|
|
96
|
+
|
|
97
|
+
There are two branches to install from:
|
|
98
|
+
|
|
99
|
+
- `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).
|
|
100
|
+
- `stable` will be updated only upon releases with code tested during public beta-testing phase in `main` branch.
|
|
101
|
+
|
|
102
|
+
Here are code snippets for some common installation methods (use only one):
|
|
103
|
+
|
|
104
|
+
<details>
|
|
105
|
+
<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>
|
|
106
|
+
|
|
107
|
+
**Full library**
|
|
108
|
+
|
|
109
|
+
Follow ['mini.nvim' installation](https://nvim-mini.org/mini.nvim#installation).
|
|
110
|
+
|
|
111
|
+
**Standalone plugin**
|
|
112
|
+
|
|
113
|
+
Main branch:
|
|
114
|
+
|
|
115
|
+
```lua
|
|
116
|
+
vim.pack.add({ 'https://github.com/nvim-mini/mini.files' })
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
Stable branch:
|
|
120
|
+
|
|
121
|
+
```lua
|
|
122
|
+
vim.pack.add({
|
|
123
|
+
{ src = 'https://github.com/nvim-mini/mini.files', version = 'stable' },
|
|
124
|
+
})
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
</details>
|
|
128
|
+
|
|
129
|
+
<details>
|
|
130
|
+
<summary>With <a href="https://nvim-mini.org/mini.nvim/readmes/mini-deps">mini.deps</a> (before Neovim 0.12)</summary>
|
|
131
|
+
|
|
132
|
+
**Full library**
|
|
133
|
+
|
|
134
|
+
Follow [recommended 'mini.deps' installation](https://nvim-mini.org/mini.nvim/readmes/mini-deps#installation).
|
|
135
|
+
|
|
136
|
+
**Standalone plugin**:
|
|
137
|
+
|
|
138
|
+
Main branch:
|
|
139
|
+
|
|
140
|
+
```lua
|
|
141
|
+
add('nvim-mini/mini.files')
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
Stable branch:
|
|
145
|
+
|
|
146
|
+
```lua
|
|
147
|
+
add({ source = 'nvim-mini/mini.files', checkout = 'stable' })
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
</details>
|
|
151
|
+
|
|
152
|
+
<details>
|
|
153
|
+
<summary>With <a href="https://github.com/folke/lazy.nvim">folke/lazy.nvim</a></summary>
|
|
154
|
+
|
|
155
|
+
**Full library**
|
|
156
|
+
|
|
157
|
+
Follow ['mini.nvim' installation](https://nvim-mini.org/mini.nvim#installation).
|
|
158
|
+
|
|
159
|
+
**Standalone plugin**
|
|
160
|
+
|
|
161
|
+
Main branch:
|
|
162
|
+
|
|
163
|
+
```lua
|
|
164
|
+
{ 'nvim-mini/mini.files', version = false },
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
Stable branch:
|
|
168
|
+
|
|
169
|
+
```lua
|
|
170
|
+
{ 'nvim-mini/mini.files', version = '*' },
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
</details>
|
|
174
|
+
|
|
175
|
+
**Important**: don't forget to call `require('mini.files').setup()` to enable its functionality.
|
|
176
|
+
|
|
177
|
+
**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:
|
|
178
|
+
|
|
179
|
+
- Enable corresponding git global config value: `git config --system core.longpaths true`. Then try to reinstall.
|
|
180
|
+
- Install plugin in other place with shorter path.
|
|
181
|
+
|
|
182
|
+
## Default config
|
|
183
|
+
|
|
184
|
+
```lua
|
|
185
|
+
-- No need to copy this inside `setup()`. Will be used automatically.
|
|
186
|
+
{
|
|
187
|
+
-- Customization of shown content
|
|
188
|
+
content = {
|
|
189
|
+
-- Predicate for which file system entries to show
|
|
190
|
+
filter = nil,
|
|
191
|
+
-- Highlight group to use for a file system entry
|
|
192
|
+
highlight = nil,
|
|
193
|
+
-- Prefix text and highlight to show to the left of file system entry
|
|
194
|
+
prefix = nil,
|
|
195
|
+
-- Order in which to show file system entries
|
|
196
|
+
sort = nil,
|
|
197
|
+
},
|
|
198
|
+
|
|
199
|
+
-- Module mappings created only inside explorer.
|
|
200
|
+
-- Use `''` (empty string) to not create one.
|
|
201
|
+
mappings = {
|
|
202
|
+
close = 'q',
|
|
203
|
+
go_in = 'l',
|
|
204
|
+
go_in_plus = 'L',
|
|
205
|
+
go_out = 'h',
|
|
206
|
+
go_out_plus = 'H',
|
|
207
|
+
mark_goto = "'",
|
|
208
|
+
mark_set = 'm',
|
|
209
|
+
reset = '<BS>',
|
|
210
|
+
reveal_cwd = '@',
|
|
211
|
+
show_help = 'g?',
|
|
212
|
+
synchronize = '=',
|
|
213
|
+
trim_left = '<',
|
|
214
|
+
trim_right = '>',
|
|
215
|
+
},
|
|
216
|
+
|
|
217
|
+
-- General options
|
|
218
|
+
options = {
|
|
219
|
+
-- Whether to delete permanently or move into module-specific trash
|
|
220
|
+
permanent_delete = true,
|
|
221
|
+
-- Whether to use for editing directories
|
|
222
|
+
use_as_default_explorer = true,
|
|
223
|
+
-- Timeout for synchronous LSP integration requests
|
|
224
|
+
lsp_timeout = 1000,
|
|
225
|
+
},
|
|
226
|
+
|
|
227
|
+
-- Customization of explorer windows
|
|
228
|
+
windows = {
|
|
229
|
+
-- Maximum number of windows to show side by side
|
|
230
|
+
max_number = math.huge,
|
|
231
|
+
-- Whether to show preview of file/directory under cursor
|
|
232
|
+
preview = false,
|
|
233
|
+
-- Width of focused window
|
|
234
|
+
width_focus = 50,
|
|
235
|
+
-- Width of non-focused window
|
|
236
|
+
width_nofocus = 15,
|
|
237
|
+
-- Width of preview window
|
|
238
|
+
width_preview = 25,
|
|
239
|
+
},
|
|
240
|
+
}
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
## Similar plugins
|
|
244
|
+
|
|
245
|
+
- [nvim-tree/nvim-tree.lua](https://github.com/nvim-tree/nvim-tree.lua)
|
|
246
|
+
- [stevearc/oil.nvim](https://github.com/stevearc/oil.nvim)
|
|
247
|
+
- [nvim-neo-tree/neo-tree.nvim](https://github.com/nvim-neo-tree/neo-tree.nvim)
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
<p align="center"> <img src="https://github.com/nvim-mini/assets/blob/main/logo-2/logo-fuzzy_readme.png?raw=true" alt="mini.fuzzy" style="max-width:100%;border:solid 2px"/> </p>
|
|
2
|
+
|
|
3
|
+
### Minimal and fast fuzzy matching
|
|
4
|
+
|
|
5
|
+
See more details in [Features](#features) and [Documentation](../doc/mini-fuzzy.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-fuzzy) 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
|
+
---
|
|
19
|
+
|
|
20
|
+
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.
|
|
21
|
+
|
|
22
|
+
## Demo
|
|
23
|
+
|
|
24
|
+
<!-- Demo source: https://github.com/nvim-mini/assets/blob/main/demo/demo-fuzzy.mp4 -->
|
|
25
|
+
https://user-images.githubusercontent.com/24854248/173044594-3599fcec-02d6-4bb7-a47d-23f8400f6656.mp4
|
|
26
|
+
|
|
27
|
+
## Features
|
|
28
|
+
|
|
29
|
+
- Function to perform fuzzy matching of one string to others.
|
|
30
|
+
- Sorter for [nvim-telescope/telescope.nvim](https://github.com/nvim-telescope/telescope.nvim).
|
|
31
|
+
|
|
32
|
+
## Installation
|
|
33
|
+
|
|
34
|
+
This plugin can be installed as part of 'mini.nvim' library (**recommended**) or as a standalone Git repository.
|
|
35
|
+
|
|
36
|
+
There are two branches to install from:
|
|
37
|
+
|
|
38
|
+
- `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).
|
|
39
|
+
- `stable` will be updated only upon releases with code tested during public beta-testing phase in `main` branch.
|
|
40
|
+
|
|
41
|
+
Here are code snippets for some common installation methods (use only one):
|
|
42
|
+
|
|
43
|
+
<details>
|
|
44
|
+
<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>
|
|
45
|
+
|
|
46
|
+
**Full library**
|
|
47
|
+
|
|
48
|
+
Follow ['mini.nvim' installation](https://nvim-mini.org/mini.nvim#installation).
|
|
49
|
+
|
|
50
|
+
**Standalone plugin**
|
|
51
|
+
|
|
52
|
+
Main branch:
|
|
53
|
+
|
|
54
|
+
```lua
|
|
55
|
+
vim.pack.add({ 'https://github.com/nvim-mini/mini.fuzzy' })
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
Stable branch:
|
|
59
|
+
|
|
60
|
+
```lua
|
|
61
|
+
vim.pack.add({
|
|
62
|
+
{ src = 'https://github.com/nvim-mini/mini.fuzzy', version = 'stable' },
|
|
63
|
+
})
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
</details>
|
|
67
|
+
|
|
68
|
+
<details>
|
|
69
|
+
<summary>With <a href="https://nvim-mini.org/mini.nvim/readmes/mini-deps">mini.deps</a> (before Neovim 0.12)</summary>
|
|
70
|
+
|
|
71
|
+
**Full library**
|
|
72
|
+
|
|
73
|
+
Follow [recommended 'mini.deps' installation](https://nvim-mini.org/mini.nvim/readmes/mini-deps#installation).
|
|
74
|
+
|
|
75
|
+
**Standalone plugin**:
|
|
76
|
+
|
|
77
|
+
Main branch:
|
|
78
|
+
|
|
79
|
+
```lua
|
|
80
|
+
add('nvim-mini/mini.fuzzy')
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
Stable branch:
|
|
84
|
+
|
|
85
|
+
```lua
|
|
86
|
+
add({ source = 'nvim-mini/mini.fuzzy', checkout = 'stable' })
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
</details>
|
|
90
|
+
|
|
91
|
+
<details>
|
|
92
|
+
<summary>With <a href="https://github.com/folke/lazy.nvim">folke/lazy.nvim</a></summary>
|
|
93
|
+
|
|
94
|
+
**Full library**
|
|
95
|
+
|
|
96
|
+
Follow ['mini.nvim' installation](https://nvim-mini.org/mini.nvim#installation).
|
|
97
|
+
|
|
98
|
+
**Standalone plugin**
|
|
99
|
+
|
|
100
|
+
Main branch:
|
|
101
|
+
|
|
102
|
+
```lua
|
|
103
|
+
{ 'nvim-mini/mini.fuzzy', version = false },
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
Stable branch:
|
|
107
|
+
|
|
108
|
+
```lua
|
|
109
|
+
{ 'nvim-mini/mini.fuzzy', version = '*' },
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
</details>
|
|
113
|
+
|
|
114
|
+
**Important**: no need to call `require('mini.fuzzy').setup()`, but it can be done to improve usability.
|
|
115
|
+
|
|
116
|
+
**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:
|
|
117
|
+
|
|
118
|
+
- Enable corresponding git global config value: `git config --system core.longpaths true`. Then try to reinstall.
|
|
119
|
+
- Install plugin in other place with shorter path.
|
|
120
|
+
|
|
121
|
+
## Default config
|
|
122
|
+
|
|
123
|
+
```lua
|
|
124
|
+
-- No need to copy this inside `setup()`. Will be used automatically.
|
|
125
|
+
{
|
|
126
|
+
-- Maximum allowed value of match features (width and first match). All
|
|
127
|
+
-- feature values greater than cutoff can be considered "equally bad".
|
|
128
|
+
cutoff = 100,
|
|
129
|
+
}
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
## Similar plugins
|
|
133
|
+
|
|
134
|
+
- [nvim-telescope/telescope-fzy-native.nvim](https://github.com/nvim-telescope/telescope-fzy-native.nvim)
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
<p align="center"> <img src="https://github.com/nvim-mini/assets/blob/main/logo-2/logo-git_readme.png?raw=true" alt="mini.git" style="max-width:100%;border:solid 2px"/> </p>
|
|
2
|
+
|
|
3
|
+
### Git integration
|
|
4
|
+
|
|
5
|
+
See more details in [Features](#features) and [Documentation](../doc/mini-git.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-git) 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-git.mp4 -->
|
|
27
|
+
https://github.com/nvim-mini/mini.nvim/assets/24854248/3c2b34cd-f04f-4e30-9ca4-1ff51e2d65a2
|
|
28
|
+
|
|
29
|
+
**Note**: This demo uses custom `vim.notify()` from [mini.notify](https://nvim-mini.org/mini.nvim/readmes/mini-notify) and diff line number highlighting from [mini.diff](https://nvim-mini.org/mini.nvim/readmes/mini-diff).
|
|
30
|
+
|
|
31
|
+
## Features
|
|
32
|
+
|
|
33
|
+
- Automated tracking of [Git](https://git-scm.com/) related data: root path, status, HEAD, etc. Exposes buffer-local variables for convenient use in statusline.
|
|
34
|
+
|
|
35
|
+
- `:Git` command for executing any `git` call inside file's repository root with deeper current instance integration (show output as notification/buffer, use to edit commit messages, etc.).
|
|
36
|
+
|
|
37
|
+
- Helper functions to inspect Git history:
|
|
38
|
+
- `MiniGit.show_range_history()` shows how certain line range evolved.
|
|
39
|
+
- `MiniGit.show_diff_source()` shows file state as it was at diff entry.
|
|
40
|
+
- `MiniGit.show_at_cursor()` shows Git related data depending on context.
|
|
41
|
+
|
|
42
|
+
What it doesn't do:
|
|
43
|
+
|
|
44
|
+
- Replace fully featured Git client. Rule of thumb: if feature does not rely on a state of current Neovim (opened buffers, etc.), it is out of scope. For more functionality, use either ['mini.diff'](https://nvim-mini.org/mini.nvim/readmes/mini-diff) or fully featured Git client.
|
|
45
|
+
|
|
46
|
+
For more information see these parts of help:
|
|
47
|
+
|
|
48
|
+
- `:h :Git`
|
|
49
|
+
- `:h MiniGit-examples`
|
|
50
|
+
- `:h MiniGit.enable()`
|
|
51
|
+
- `:h MiniGit.get_buf_data()`
|
|
52
|
+
|
|
53
|
+
## Installation
|
|
54
|
+
|
|
55
|
+
This plugin can be installed as part of 'mini.nvim' library (**recommended**) or as a standalone Git repository.
|
|
56
|
+
|
|
57
|
+
There are two branches to install from:
|
|
58
|
+
|
|
59
|
+
- `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).
|
|
60
|
+
- `stable` will be updated only upon releases with code tested during public beta-testing phase in `main` branch.
|
|
61
|
+
|
|
62
|
+
Here are code snippets for some common installation methods (use only one):
|
|
63
|
+
|
|
64
|
+
<details>
|
|
65
|
+
<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>
|
|
66
|
+
|
|
67
|
+
**Full library**
|
|
68
|
+
|
|
69
|
+
Follow ['mini.nvim' installation](https://nvim-mini.org/mini.nvim#installation).
|
|
70
|
+
|
|
71
|
+
**Standalone plugin**
|
|
72
|
+
|
|
73
|
+
Main branch:
|
|
74
|
+
|
|
75
|
+
```lua
|
|
76
|
+
vim.pack.add({ 'https://github.com/nvim-mini/mini-git' })
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
Stable branch:
|
|
80
|
+
|
|
81
|
+
```lua
|
|
82
|
+
vim.pack.add({
|
|
83
|
+
{ src = 'https://github.com/nvim-mini/mini-git', version = 'stable' },
|
|
84
|
+
})
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
</details>
|
|
88
|
+
|
|
89
|
+
<details>
|
|
90
|
+
<summary>With <a href="https://nvim-mini.org/mini.nvim/readmes/mini-deps">mini.deps</a> (before Neovim 0.12)</summary>
|
|
91
|
+
|
|
92
|
+
**Full library**
|
|
93
|
+
|
|
94
|
+
Follow [recommended 'mini.deps' installation](https://nvim-mini.org/mini.nvim/readmes/mini-deps#installation).
|
|
95
|
+
|
|
96
|
+
**Standalone plugin**:
|
|
97
|
+
|
|
98
|
+
Main branch:
|
|
99
|
+
|
|
100
|
+
```lua
|
|
101
|
+
add('nvim-mini/mini-git')
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
Stable branch:
|
|
105
|
+
|
|
106
|
+
```lua
|
|
107
|
+
add({ source = 'nvim-mini/mini-git', checkout = 'stable' })
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
</details>
|
|
111
|
+
|
|
112
|
+
<details>
|
|
113
|
+
<summary>With <a href="https://github.com/folke/lazy.nvim">folke/lazy.nvim</a></summary>
|
|
114
|
+
|
|
115
|
+
**Full library**
|
|
116
|
+
|
|
117
|
+
Follow ['mini.nvim' installation](https://nvim-mini.org/mini.nvim#installation).
|
|
118
|
+
|
|
119
|
+
**Standalone plugin**
|
|
120
|
+
|
|
121
|
+
Main branch:
|
|
122
|
+
|
|
123
|
+
```lua
|
|
124
|
+
{ 'nvim-mini/mini-git', version = false },
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
Stable branch:
|
|
128
|
+
|
|
129
|
+
```lua
|
|
130
|
+
{ 'nvim-mini/mini-git', version = '*' },
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
</details>
|
|
134
|
+
|
|
135
|
+
**Important**: don't forget to call `require('mini.git').setup()` to enable its functionality.
|
|
136
|
+
|
|
137
|
+
**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:
|
|
138
|
+
|
|
139
|
+
- Enable corresponding git global config value: `git config --system core.longpaths true`. Then try to reinstall.
|
|
140
|
+
- Install plugin in other place with shorter path.
|
|
141
|
+
|
|
142
|
+
## Default config
|
|
143
|
+
|
|
144
|
+
```lua
|
|
145
|
+
-- No need to copy this inside `setup()`. Will be used automatically.
|
|
146
|
+
{
|
|
147
|
+
-- General CLI execution
|
|
148
|
+
job = {
|
|
149
|
+
-- Path to Git executable
|
|
150
|
+
git_executable = 'git',
|
|
151
|
+
|
|
152
|
+
-- Timeout (in ms) for each job before force quit
|
|
153
|
+
timeout = 30000,
|
|
154
|
+
},
|
|
155
|
+
|
|
156
|
+
-- Options for `:Git` command
|
|
157
|
+
command = {
|
|
158
|
+
-- Default split direction
|
|
159
|
+
split = 'auto',
|
|
160
|
+
},
|
|
161
|
+
}
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
## Similar plugins
|
|
165
|
+
|
|
166
|
+
- [tpope/vim-fugitive](https://github.com/tpope/vim-fugitive)
|
|
167
|
+
- [NeogitOrg/neogit](https://github.com/NeogitOrg/neogit)
|
|
168
|
+
- [lewis6991/gitsigns.nvim](https://github.com/lewis6991/gitsigns.nvim)
|