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,198 @@
|
|
|
1
|
+
<p align="center"> <img src="https://github.com/nvim-mini/assets/blob/main/logo-2/logo-base16_readme.png?raw=true" alt="mini.base16" style="max-width:100%;border:solid 2px"/> </p>
|
|
2
|
+
|
|
3
|
+
### Fast implementation of [chriskempson/base16](https://github.com/chriskempson/base16) theme for manually supplied palette
|
|
4
|
+
|
|
5
|
+
- Supports 30+ plugin integrations.
|
|
6
|
+
- Has unique palette generator which needs only background and foreground colors.
|
|
7
|
+
- Comes with several hand-picked color schemes.
|
|
8
|
+
|
|
9
|
+
See more details in [Features](#features) and [Documentation](../doc/mini-base16.txt).
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
> [!NOTE]
|
|
14
|
+
> 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).
|
|
15
|
+
|
|
16
|
+
⦿ 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-base16) if you want to mention this module.
|
|
17
|
+
|
|
18
|
+
⦿ All contributions (issues, pull requests, discussions, etc.) are done inside of 'mini.nvim'.
|
|
19
|
+
|
|
20
|
+
⦿ See [whole library documentation](https://nvim-mini.org/mini.nvim/doc/mini-nvim) to learn about general design principles, disable/configuration recipes, and more.
|
|
21
|
+
|
|
22
|
+
⦿ See [MiniMax](https://nvim-mini.org/MiniMax) for a full config example that uses this module.
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
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.
|
|
27
|
+
|
|
28
|
+
## Demo
|
|
29
|
+
|
|
30
|
+
Using `minischeme` color scheme:
|
|
31
|
+
|
|
32
|
+
<a href="https://github.com/nvim-mini/assets/blob/main/demo/demo-base16_minischeme-dark.png?raw=true"> <img alt="minischeme dark" src="https://github.com/nvim-mini/assets/blob/main/demo/demo-base16_minischeme-dark.png?raw=true" style="width: 45%"/> </a>
|
|
33
|
+
<a href="https://github.com/nvim-mini/assets/blob/main/demo/demo-base16_minischeme-light.png?raw=true"> <img alt="minischeme light" src="https://github.com/nvim-mini/assets/blob/main/demo/demo-base16_minischeme-light.png?raw=true" style="width: 45%"/> </a>
|
|
34
|
+
|
|
35
|
+
Using `minicyan` color scheme:
|
|
36
|
+
|
|
37
|
+
<a href="https://github.com/nvim-mini/assets/blob/main/demo/demo-base16_minicyan-dark.png?raw=true"> <img alt="minicyan dark" src="https://github.com/nvim-mini/assets/blob/main/demo/demo-base16_minicyan-dark.png?raw=true" style="width: 45%"/> </a>
|
|
38
|
+
<a href="https://github.com/nvim-mini/assets/blob/main/demo/demo-base16_minicyan-light.png?raw=true"> <img alt="minicyan light" src="https://github.com/nvim-mini/assets/blob/main/demo/demo-base16_minicyan-light.png?raw=true" style="width: 45%"/> </a>
|
|
39
|
+
|
|
40
|
+
## Features
|
|
41
|
+
|
|
42
|
+
Supported highlight groups:
|
|
43
|
+
|
|
44
|
+
- Built-in Neovim LSP and diagnostic.
|
|
45
|
+
- Plugins (either with explicit definition or by verification that default
|
|
46
|
+
highlighting works appropriately):
|
|
47
|
+
- [nvim-mini/mini.nvim](https://nvim-mini.org/mini.nvim)
|
|
48
|
+
- [akinsho/bufferline.nvim](https://github.com/akinsho/bufferline.nvim)
|
|
49
|
+
- [anuvyklack/hydra.nvim](https://github.com/anuvyklack/hydra.nvim)
|
|
50
|
+
- [DanilaMihailov/beacon.nvim](https://github.com/DanilaMihailov/beacon.nvim)
|
|
51
|
+
- [folke/lazy.nvim](https://github.com/folke/lazy.nvim)
|
|
52
|
+
- [folke/noice.nvim](https://github.com/folke/noice.nvim)
|
|
53
|
+
- [folke/snacks.nvim](https://github.com/folke/snacks.nvim)
|
|
54
|
+
- [folke/todo-comments.nvim](https://github.com/folke/todo-comments.nvim)
|
|
55
|
+
- [folke/trouble.nvim](https://github.com/folke/trouble.nvim)
|
|
56
|
+
- [folke/which-key.nvim](https://github.com/folke/which-key.nvim)
|
|
57
|
+
- [ggandor/leap.nvim](https://github.com/ggandor/leap.nvim)
|
|
58
|
+
- [ggandor/lightspeed.nvim](https://github.com/ggandor/lightspeed.nvim)
|
|
59
|
+
- [glepnir/dashboard-nvim](https://github.com/glepnir/dashboard-nvim)
|
|
60
|
+
- [glepnir/lspsaga.nvim](https://github.com/glepnir/lspsaga.nvim)
|
|
61
|
+
- [HiPhish/rainbow-delimiters.nvim](https://github.com/HiPhish/rainbow-delimiters.nvim)
|
|
62
|
+
- [hrsh7th/nvim-cmp](https://github.com/hrsh7th/nvim-cmp)
|
|
63
|
+
- [ibhagwan/fzf-lua](https://github.com/ibhagwan/fzf-lua)
|
|
64
|
+
- [justinmk/vim-sneak](https://github.com/justinmk/vim-sneak)
|
|
65
|
+
- [kevinhwang91/nvim-bqf](https://github.com/kevinhwang91/nvim-bqf)
|
|
66
|
+
- [kevinhwang91/nvim-ufo](https://github.com/kevinhwang91/nvim-ufo)
|
|
67
|
+
- [lewis6991/gitsigns.nvim](https://github.com/lewis6991/gitsigns.nvim)
|
|
68
|
+
- [lukas-reineke/indent-blankline.nvim](https://github.com/lukas-reineke/indent-blankline.nvim)
|
|
69
|
+
- [MeanderingProgrammer/render-markdown.nvim](https://github.com/MeanderingProgrammer/render-markdown.nvim)
|
|
70
|
+
- [neoclide/coc.nvim](https://github.com/neoclide/coc.nvim)
|
|
71
|
+
- [NeogitOrg/neogit](https://github.com/NeogitOrg/neogit)
|
|
72
|
+
- [nvim-lualine/lualine.nvim](https://github.com/nvim-lualine/lualine.nvim)
|
|
73
|
+
- [nvim-neo-tree/neo-tree.nvim](https://github.com/nvim-neo-tree/neo-tree.nvim)
|
|
74
|
+
- [nvim-telescope/telescope.nvim](https://github.com/nvim-telescope/telescope.nvim)
|
|
75
|
+
- [nvim-tree/nvim-tree.lua](https://github.com/nvim-tree/nvim-tree.lua)
|
|
76
|
+
- [OXY2DEV/helpview.nvim](https://github.com/OXY2DEV/helpview.nvim)
|
|
77
|
+
- [OXY2DEV/markview.nvim](https://github.com/OXY2DEV/markview.nvim)
|
|
78
|
+
- [phaazon/hop.nvim](https://github.com/phaazon/hop.nvim)
|
|
79
|
+
- [rcarriga/nvim-dap-ui](https://github.com/rcarriga/nvim-dap-ui)
|
|
80
|
+
- [rcarriga/nvim-notify](https://github.com/rcarriga/nvim-notify)
|
|
81
|
+
- [rlane/pounce.nvim](https://github.com/rlane/pounce.nvim)
|
|
82
|
+
- [romgrk/barbar.nvim](https://github.com/romgrk/barbar.nvim)
|
|
83
|
+
- [saghen/blink.cmp](https://github.com/saghen/blink.cmp)
|
|
84
|
+
- [stevearc/aerial.nvim](https://github.com/stevearc/aerial.nvim)
|
|
85
|
+
- [williamboman/mason.nvim](https://github.com/williamboman/mason.nvim)
|
|
86
|
+
|
|
87
|
+
## Installation
|
|
88
|
+
|
|
89
|
+
This plugin can be installed as part of 'mini.nvim' library (**recommended**) or as a standalone Git repository.
|
|
90
|
+
|
|
91
|
+
There are two branches to install from:
|
|
92
|
+
|
|
93
|
+
- `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).
|
|
94
|
+
- `stable` will be updated only upon releases with code tested during public beta-testing phase in `main` branch.
|
|
95
|
+
|
|
96
|
+
Here are code snippets for some common installation methods (use only one):
|
|
97
|
+
|
|
98
|
+
<details>
|
|
99
|
+
<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>
|
|
100
|
+
|
|
101
|
+
**Full library**
|
|
102
|
+
|
|
103
|
+
Follow ['mini.nvim' installation](https://nvim-mini.org/mini.nvim#installation).
|
|
104
|
+
|
|
105
|
+
**Standalone plugin**
|
|
106
|
+
|
|
107
|
+
Main branch:
|
|
108
|
+
|
|
109
|
+
```lua
|
|
110
|
+
vim.pack.add({ 'https://github.com/nvim-mini/mini.base16' })
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
Stable branch:
|
|
114
|
+
|
|
115
|
+
```lua
|
|
116
|
+
vim.pack.add({
|
|
117
|
+
{ src = 'https://github.com/nvim-mini/mini.base16', version = 'stable' },
|
|
118
|
+
})
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
</details>
|
|
122
|
+
|
|
123
|
+
<details>
|
|
124
|
+
<summary>With <a href="https://nvim-mini.org/mini.nvim/readmes/mini-deps">mini.deps</a> (before Neovim 0.12)</summary>
|
|
125
|
+
|
|
126
|
+
**Full library**
|
|
127
|
+
|
|
128
|
+
Follow [recommended 'mini.deps' installation](https://nvim-mini.org/mini.nvim/readmes/mini-deps#installation).
|
|
129
|
+
|
|
130
|
+
**Standalone plugin**:
|
|
131
|
+
|
|
132
|
+
Main branch:
|
|
133
|
+
|
|
134
|
+
```lua
|
|
135
|
+
add('nvim-mini/mini.base16')
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
Stable branch:
|
|
139
|
+
|
|
140
|
+
```lua
|
|
141
|
+
add({ source = 'nvim-mini/mini.base16', checkout = 'stable' })
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
</details>
|
|
145
|
+
|
|
146
|
+
<details>
|
|
147
|
+
<summary>With <a href="https://github.com/folke/lazy.nvim">folke/lazy.nvim</a></summary>
|
|
148
|
+
|
|
149
|
+
**Full library**
|
|
150
|
+
|
|
151
|
+
Follow ['mini.nvim' installation](https://nvim-mini.org/mini.nvim#installation).
|
|
152
|
+
|
|
153
|
+
**Standalone plugin**
|
|
154
|
+
|
|
155
|
+
Main branch:
|
|
156
|
+
|
|
157
|
+
```lua
|
|
158
|
+
{ 'nvim-mini/mini.base16', version = false },
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
Stable branch:
|
|
162
|
+
|
|
163
|
+
```lua
|
|
164
|
+
{ 'nvim-mini/mini.base16', version = '*' },
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
</details>
|
|
168
|
+
|
|
169
|
+
**Important**: don't forget to call `require('mini.base16').setup()` with appropriate `palette` to enable its functionality.
|
|
170
|
+
|
|
171
|
+
**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:
|
|
172
|
+
|
|
173
|
+
- Enable corresponding git global config value: `git config --system core.longpaths true`. Then try to reinstall.
|
|
174
|
+
- Install plugin in other place with shorter path.
|
|
175
|
+
|
|
176
|
+
## Default config
|
|
177
|
+
|
|
178
|
+
```lua
|
|
179
|
+
{
|
|
180
|
+
-- Table with names from `base00` to `base0F` and values being strings of
|
|
181
|
+
-- HEX colors with format "#RRGGBB". NOTE: this should be explicitly
|
|
182
|
+
-- supplied in `setup()`.
|
|
183
|
+
palette = nil,
|
|
184
|
+
|
|
185
|
+
-- Whether to support cterm colors. Can be boolean, `nil` (same as
|
|
186
|
+
-- `false`), or table with cterm colors. See `setup()` documentation for
|
|
187
|
+
-- more information.
|
|
188
|
+
use_cterm = nil,
|
|
189
|
+
|
|
190
|
+
-- Plugin integrations. Use `default = false` to disable all integrations.
|
|
191
|
+
-- Also can be set per plugin (see |MiniBase16.config|).
|
|
192
|
+
plugins = { default = true },
|
|
193
|
+
}
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
## Similar plugins
|
|
197
|
+
|
|
198
|
+
- [chriskempson/base16-vim](https://github.com/chriskempson/base16-vim)
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
<p align="center"> <img src="https://github.com/nvim-mini/assets/blob/main/logo-2/logo-basics_readme.png?raw=true" alt="mini.basics" style="max-width:100%;border:solid 2px"/> </p>
|
|
2
|
+
|
|
3
|
+
### Common configuration presets
|
|
4
|
+
|
|
5
|
+
See more details in [Features](#features) and [Documentation](../doc/mini-basics.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-basics) 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-basics.mp4 -->
|
|
27
|
+
https://user-images.githubusercontent.com/24854248/215277747-c0dea3eb-e8f7-4550-85ce-200b111fff55.mp4
|
|
28
|
+
|
|
29
|
+
## Features
|
|
30
|
+
|
|
31
|
+
- Presets for common options. It will only change option if it wasn't manually set before. See `:h MiniBasics.config.options` for more details.
|
|
32
|
+
- Presets for common mappings. It will only add a mapping if it wasn't manually created before. See `:h MiniBasics.config.mappings` for more details.
|
|
33
|
+
- Presets for common autocommands. See `:h MiniBasics.config.autocommands` for more details.
|
|
34
|
+
- Reverse compatibility is a high priority. Any decision to change already present behavior will be made with great care.
|
|
35
|
+
|
|
36
|
+
Notes:
|
|
37
|
+
|
|
38
|
+
- Main goal of this module is to provide a relatively easier way for new-ish Neovim users to have better "works out of the box" experience while having documented relevant options/mappings/autocommands to study. It is based partially on survey among Neovim users and partially is coming from personal preferences.
|
|
39
|
+
|
|
40
|
+
However, more seasoned users almost surely will find something useful.
|
|
41
|
+
|
|
42
|
+
Still, it is recommended to read about used options/mappings/autocommands and decide if they are needed. The main way to do that is by reading Neovim's help pages (linked in help file) and this module's source code (thoroughly documented for easier comprehension).
|
|
43
|
+
|
|
44
|
+
## Installation
|
|
45
|
+
|
|
46
|
+
This plugin can be installed as part of 'mini.nvim' library (**recommended**) or as a standalone Git repository.
|
|
47
|
+
|
|
48
|
+
There are two branches to install from:
|
|
49
|
+
|
|
50
|
+
- `main` (default, **recommended**) will have latest development version of plugin. All changes since last stable release should be perceived as being in beta testing phase (meaning they already passed alpha-testing and are moderately settled).
|
|
51
|
+
- `stable` will be updated only upon releases with code tested during public beta-testing phase in `main` branch.
|
|
52
|
+
|
|
53
|
+
Here are code snippets for some common installation methods (use only one):
|
|
54
|
+
|
|
55
|
+
<details>
|
|
56
|
+
<summary><b>(Recommended)</b> With <a href="https://neovim.io/doc/user/helptag.html?tag=vim.pack">vim.pack</a> (on Neovim 0.12 and newer)</summary>
|
|
57
|
+
|
|
58
|
+
**Full library**
|
|
59
|
+
|
|
60
|
+
Follow ['mini.nvim' installation](https://nvim-mini.org/mini.nvim#installation).
|
|
61
|
+
|
|
62
|
+
**Standalone plugin**
|
|
63
|
+
|
|
64
|
+
Main branch:
|
|
65
|
+
|
|
66
|
+
```lua
|
|
67
|
+
vim.pack.add({ 'https://github.com/nvim-mini/mini.basics' })
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
Stable branch:
|
|
71
|
+
|
|
72
|
+
```lua
|
|
73
|
+
vim.pack.add({
|
|
74
|
+
{ src = 'https://github.com/nvim-mini/mini.basics', version = 'stable' },
|
|
75
|
+
})
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
</details>
|
|
79
|
+
|
|
80
|
+
<details>
|
|
81
|
+
<summary>With <a href="https://nvim-mini.org/mini.nvim/readmes/mini-deps">mini.deps</a> (before Neovim 0.12)</summary>
|
|
82
|
+
|
|
83
|
+
**Full library**
|
|
84
|
+
|
|
85
|
+
Follow [recommended 'mini.deps' installation](https://nvim-mini.org/mini.nvim/readmes/mini-deps#installation).
|
|
86
|
+
|
|
87
|
+
**Standalone plugin**:
|
|
88
|
+
|
|
89
|
+
Main branch:
|
|
90
|
+
|
|
91
|
+
```lua
|
|
92
|
+
add('nvim-mini/mini.basics')
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
Stable branch:
|
|
96
|
+
|
|
97
|
+
```lua
|
|
98
|
+
add({ source = 'nvim-mini/mini.basics', checkout = 'stable' })
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
</details>
|
|
102
|
+
|
|
103
|
+
<details>
|
|
104
|
+
<summary>With <a href="https://github.com/folke/lazy.nvim">folke/lazy.nvim</a></summary>
|
|
105
|
+
|
|
106
|
+
**Full library**
|
|
107
|
+
|
|
108
|
+
Follow ['mini.nvim' installation](https://nvim-mini.org/mini.nvim#installation).
|
|
109
|
+
|
|
110
|
+
**Standalone plugin**
|
|
111
|
+
|
|
112
|
+
Main branch:
|
|
113
|
+
|
|
114
|
+
```lua
|
|
115
|
+
{ 'nvim-mini/mini.basics', version = false },
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
Stable branch:
|
|
119
|
+
|
|
120
|
+
```lua
|
|
121
|
+
{ 'nvim-mini/mini.basics', version = '*' },
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
</details>
|
|
125
|
+
|
|
126
|
+
**Important**: don't forget to call `require('mini.basics').setup()` to enable its functionality.
|
|
127
|
+
|
|
128
|
+
**Note**: if you are on Windows, there might be problems with too long file paths (like `error: unable to create file <some file name>: Filename too long`). Try doing one of the following:
|
|
129
|
+
|
|
130
|
+
- Enable corresponding git global config value: `git config --system core.longpaths true`. Then try to reinstall.
|
|
131
|
+
- Install plugin in other place with shorter path.
|
|
132
|
+
|
|
133
|
+
## Default config
|
|
134
|
+
|
|
135
|
+
```lua
|
|
136
|
+
-- No need to copy this inside `setup()`. Will be used automatically.
|
|
137
|
+
{
|
|
138
|
+
-- Options. Set field to `false` to disable.
|
|
139
|
+
options = {
|
|
140
|
+
-- Basic options ('number', 'ignorecase', and many more)
|
|
141
|
+
basic = true,
|
|
142
|
+
|
|
143
|
+
-- Extra UI features ('winblend', 'listchars', 'pumheight', ...)
|
|
144
|
+
extra_ui = false,
|
|
145
|
+
|
|
146
|
+
-- Presets for window borders ('single', 'double', ...)
|
|
147
|
+
-- Default 'auto' infers from 'winborder' option
|
|
148
|
+
win_borders = 'auto',
|
|
149
|
+
},
|
|
150
|
+
|
|
151
|
+
-- Mappings. Set field to `false` to disable.
|
|
152
|
+
mappings = {
|
|
153
|
+
-- Basic mappings (better 'jk', save with Ctrl+S, ...)
|
|
154
|
+
basic = true,
|
|
155
|
+
|
|
156
|
+
-- Prefix for mappings that toggle common options ('wrap', 'spell', ...).
|
|
157
|
+
-- Supply empty string to not create these mappings.
|
|
158
|
+
option_toggle_prefix = [[\]],
|
|
159
|
+
|
|
160
|
+
-- Window navigation with <C-hjkl>, resize with <C-arrow>
|
|
161
|
+
windows = false,
|
|
162
|
+
|
|
163
|
+
-- Move cursor in Insert, Command, and Terminal mode with <M-hjkl>
|
|
164
|
+
move_with_alt = false,
|
|
165
|
+
},
|
|
166
|
+
|
|
167
|
+
-- Autocommands. Set field to `false` to disable
|
|
168
|
+
autocommands = {
|
|
169
|
+
-- Basic autocommands (highlight on yank, start Insert in terminal, ...)
|
|
170
|
+
basic = true,
|
|
171
|
+
|
|
172
|
+
-- Set 'relativenumber' only in linewise and blockwise Visual mode
|
|
173
|
+
relnum_in_visual_mode = false,
|
|
174
|
+
},
|
|
175
|
+
|
|
176
|
+
-- Whether to disable showing non-error feedback
|
|
177
|
+
silent = false,
|
|
178
|
+
}
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
## Similar plugins
|
|
182
|
+
|
|
183
|
+
- [tpope/vim-sensible](https://github.com/tpope/vim-sensible)
|
|
184
|
+
- [tpope/vim-unimpaired](https://github.com/tpope/vim-unimpaired)
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
<p align="center"> <img src="https://github.com/nvim-mini/assets/blob/main/logo-2/logo-bracketed_readme.png?raw=true" alt="mini.bracketed" style="max-width:100%;border:solid 2px"/> </p>
|
|
2
|
+
|
|
3
|
+
### Go forward/backward with square brackets
|
|
4
|
+
|
|
5
|
+
See more details in [Features](#features) and [Documentation](../doc/mini-bracketed.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-bracketed) 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-bracketed.mp4 -->
|
|
27
|
+
https://user-images.githubusercontent.com/24854248/220173251-cd905d8f-ad07-4654-bba5-971220fad80a.mp4
|
|
28
|
+
|
|
29
|
+
## Features
|
|
30
|
+
|
|
31
|
+
- Configurable Lua functions to go forward/backward to a certain target. Each function can be customized with:
|
|
32
|
+
- Direction. One of "forward", "backward", "first" (forward starting from first one), "last" (backward starting from last one).
|
|
33
|
+
- Number of times to go.
|
|
34
|
+
- Whether to wrap on edges (going forward on last one goes to first).
|
|
35
|
+
- Some other target specific options.
|
|
36
|
+
|
|
37
|
+
- Mappings using square brackets. They are created using configurable target suffix and can be selectively disabled.
|
|
38
|
+
|
|
39
|
+
Each mapping supports |[count]|. Mappings are created in Normal mode; for targets which move cursor in current buffer also Visual and Operator-pending (with dot-repeat) modes are supported.
|
|
40
|
+
|
|
41
|
+
Using `lower-suffix` and `upper-suffix` (lower and upper case suffix) for a single target the following mappings are created:
|
|
42
|
+
- `[` + `upper-suffix` : go first.
|
|
43
|
+
- `[` + `lower-suffix` : go backward.
|
|
44
|
+
- `]` + `lower-suffix` : go forward.
|
|
45
|
+
- `]` + `upper-suffix` : go last.
|
|
46
|
+
|
|
47
|
+
- Supported targets (for more information see help for corresponding Lua function):
|
|
48
|
+
|
|
49
|
+
| Target | Mappings | Lua function |
|
|
50
|
+
|---------------------------------------------------|---------------------|------------------------------|
|
|
51
|
+
| Buffer | `[B` `[b` `]b` `]B` | `MiniBracketed.buffer()` |
|
|
52
|
+
| Comment block | `[C` `[c` `]c` `]C` | `MiniBracketed.comment()` |
|
|
53
|
+
| Conflict marker | `[X` `[x` `]x` `]X` | `MiniBracketed.conflict()` |
|
|
54
|
+
| Diagnostic | `[D` `[d` `]d` `]D` | `MiniBracketed.diagnostic()` |
|
|
55
|
+
| File on disk | `[F` `[f` `]f` `]F` | `MiniBracketed.file()` |
|
|
56
|
+
| Indent change | `[I` `[i` `]i` `]I` | `MiniBracketed.indent()` |
|
|
57
|
+
| Jump from jumplist inside current buffer | `[J` `[j` `]j` `]J` | `MiniBracketed.jump()` |
|
|
58
|
+
| Location from location list | `[L` `[l` `]l` `]L` | `MiniBracketed.location()` |
|
|
59
|
+
| Old files | `[O` `[o` `]o` `]O` | `MiniBracketed.oldfile()` |
|
|
60
|
+
| Quickfix entry from quickfix list | `[Q` `[q` `]q` `]Q` | `MiniBracketed.quickfix()` |
|
|
61
|
+
| Tree-sitter node and parents | `[T` `[t` `]t` `]T` | `MiniBracketed.treesitter()` |
|
|
62
|
+
| Undo states from specially tracked linear history | `[U` `[u` `]u` `]U` | `MiniBracketed.undo()` |
|
|
63
|
+
| Window in current tab | `[W` `[w` `]w` `]W` | `MiniBracketed.window()` |
|
|
64
|
+
| Yank selection replacing latest put region | `[Y` `[y` `]y` `]Y` | `MiniBracketed.yank()` |
|
|
65
|
+
|
|
66
|
+
Notes:
|
|
67
|
+
|
|
68
|
+
- The `undo` target remaps `u` and `<C-R>` keys to register undo state after undo and redo respectively. If this conflicts with your setup, either disable `undo` target or make your remaps after calling `MiniBracketed.setup()`. To use `undo` target, remap your undo/redo keys to call `MiniBracketed.register_undo_state()` after the action.
|
|
69
|
+
|
|
70
|
+
## Installation
|
|
71
|
+
|
|
72
|
+
This plugin can be installed as part of 'mini.nvim' library (**recommended**) or as a standalone Git repository.
|
|
73
|
+
|
|
74
|
+
There are two branches to install from:
|
|
75
|
+
|
|
76
|
+
- `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).
|
|
77
|
+
- `stable` will be updated only upon releases with code tested during public beta-testing phase in `main` branch.
|
|
78
|
+
|
|
79
|
+
Here are code snippets for some common installation methods (use only one):
|
|
80
|
+
|
|
81
|
+
<details>
|
|
82
|
+
<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>
|
|
83
|
+
|
|
84
|
+
**Full library**
|
|
85
|
+
|
|
86
|
+
Follow ['mini.nvim' installation](https://nvim-mini.org/mini.nvim#installation).
|
|
87
|
+
|
|
88
|
+
**Standalone plugin**
|
|
89
|
+
|
|
90
|
+
Main branch:
|
|
91
|
+
|
|
92
|
+
```lua
|
|
93
|
+
vim.pack.add({ 'https://github.com/nvim-mini/mini.bracketed' })
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
Stable branch:
|
|
97
|
+
|
|
98
|
+
```lua
|
|
99
|
+
vim.pack.add({
|
|
100
|
+
{ src = 'https://github.com/nvim-mini/mini.bracketed', version = 'stable' },
|
|
101
|
+
})
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
</details>
|
|
105
|
+
|
|
106
|
+
<details>
|
|
107
|
+
<summary>With <a href="https://nvim-mini.org/mini.nvim/readmes/mini-deps">mini.deps</a> (before Neovim 0.12)</summary>
|
|
108
|
+
|
|
109
|
+
**Full library**
|
|
110
|
+
|
|
111
|
+
Follow [recommended 'mini.deps' installation](https://nvim-mini.org/mini.nvim/readmes/mini-deps#installation).
|
|
112
|
+
|
|
113
|
+
**Standalone plugin**:
|
|
114
|
+
|
|
115
|
+
Main branch:
|
|
116
|
+
|
|
117
|
+
```lua
|
|
118
|
+
add('nvim-mini/mini.bracketed')
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
Stable branch:
|
|
122
|
+
|
|
123
|
+
```lua
|
|
124
|
+
add({ source = 'nvim-mini/mini.bracketed', checkout = 'stable' })
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
</details>
|
|
128
|
+
|
|
129
|
+
<details>
|
|
130
|
+
<summary>With <a href="https://github.com/folke/lazy.nvim">folke/lazy.nvim</a></summary>
|
|
131
|
+
|
|
132
|
+
**Full library**
|
|
133
|
+
|
|
134
|
+
Follow ['mini.nvim' installation](https://nvim-mini.org/mini.nvim#installation).
|
|
135
|
+
|
|
136
|
+
**Standalone plugin**
|
|
137
|
+
|
|
138
|
+
Main branch:
|
|
139
|
+
|
|
140
|
+
```lua
|
|
141
|
+
{ 'nvim-mini/mini.bracketed', version = false },
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
Stable branch:
|
|
145
|
+
|
|
146
|
+
```lua
|
|
147
|
+
{ 'nvim-mini/mini.bracketed', version = '*' },
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
</details>
|
|
151
|
+
|
|
152
|
+
**Important**: don't forget to call `require('mini.bracketed').setup()` to enable its functionality.
|
|
153
|
+
|
|
154
|
+
**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:
|
|
155
|
+
|
|
156
|
+
- Enable corresponding git global config value: `git config --system core.longpaths true`. Then try to reinstall.
|
|
157
|
+
- Install plugin in other place with shorter path.
|
|
158
|
+
|
|
159
|
+
## Default config
|
|
160
|
+
|
|
161
|
+
```lua
|
|
162
|
+
-- No need to copy this inside `setup()`. Will be used automatically.
|
|
163
|
+
{
|
|
164
|
+
-- First-level elements are tables describing behavior of a target:
|
|
165
|
+
--
|
|
166
|
+
-- - <suffix> - single character suffix. Used after `[` / `]` in mappings.
|
|
167
|
+
-- For example, with `b` creates `[B`, `[b`, `]b`, `]B` mappings.
|
|
168
|
+
-- Supply empty string `''` to not create mappings.
|
|
169
|
+
--
|
|
170
|
+
-- - <options> - table overriding target options.
|
|
171
|
+
--
|
|
172
|
+
-- See `:h MiniBracketed.config` for more info.
|
|
173
|
+
|
|
174
|
+
buffer = { suffix = 'b', options = {} },
|
|
175
|
+
comment = { suffix = 'c', options = {} },
|
|
176
|
+
conflict = { suffix = 'x', options = {} },
|
|
177
|
+
diagnostic = { suffix = 'd', options = {} },
|
|
178
|
+
file = { suffix = 'f', options = {} },
|
|
179
|
+
indent = { suffix = 'i', options = {} },
|
|
180
|
+
jump = { suffix = 'j', options = {} },
|
|
181
|
+
location = { suffix = 'l', options = {} },
|
|
182
|
+
oldfile = { suffix = 'o', options = {} },
|
|
183
|
+
quickfix = { suffix = 'q', options = {} },
|
|
184
|
+
treesitter = { suffix = 't', options = {} },
|
|
185
|
+
undo = { suffix = 'u', options = {} },
|
|
186
|
+
window = { suffix = 'w', options = {} },
|
|
187
|
+
yank = { suffix = 'y', options = {} },
|
|
188
|
+
}
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
## Similar plugins
|
|
192
|
+
|
|
193
|
+
- [tpope/vim-unimpaired](https://github.com/tpope/vim-unimpaired)
|