From d377663effdf20179f8291957b1fcf42d752d8b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Richard=20F=C3=A9vrier?= Date: Thu, 17 Oct 2024 22:51:55 +0200 Subject: [PATCH] Add Yazi plugin --- README.md | 65 +++++++++++++++++++++-------------------- channel.json | 14 +++++---- plugins/micro-yazi.json | 24 +++++++++++++++ 3 files changed, 65 insertions(+), 38 deletions(-) create mode 100644 plugins/micro-yazi.json diff --git a/README.md b/README.md index 3d8680a..e5d1807 100644 --- a/README.md +++ b/README.md @@ -4,38 +4,39 @@ This repository contains the 'channel.json' file which lists all official micro ## Plugins -| Plugin | Description | Link | 2.0 Support | -| --------------- | ------------------------------------------------------- | ------------------------------------------------------- | ---------------------------------------- | -| `comment` | Plugin to auto comment or uncomment lines | https://github.com/micro-editor/comment-plugin | :heavy_check_mark: (provided by default) | -| `snippets` | Provides snippets functionality | https://github.com/micro-editor/updated-plugins/tree/master/micro-snippets-plugin | :heavy_check_mark: | -| `go` | Provides `gofmt` and `goimports` support for Go files | https://github.com/micro-editor/go-plugin | :heavy_check_mark: | -| `fish` | Provides `fishfmt` support for Fish files | https://github.com/onodera-punpun/micro-fish-plugin | :heavy_check_mark: | -| `wc` | Plugin to count words/characters | https://github.com/adamnpeace/micro-wc-plugin | :heavy_check_mark: | -| `fzf` | Provides `fzf` support for opening files | https://github.com/samdmarshall/micro-fzf-plugin | :heavy_check_mark: | -| `pony` | Provides auto-indentation for Pony files | https://github.com/Theodus/micro-pony-plugin | :heavy_check_mark: | -| `editorconfig` | EditorConfig Support for micro | https://github.com/10sr/editorconfig-micro | :heavy_check_mark: | -| `crystal` | Provides various `crystal` tools for crystal files | https://github.com/ColinRioux/micro-crystal | :heavy_check_mark: | -| `gotham-colors` | A colorscheme for code that never sleeps in Gotham City | https://github.com/novln/micro-gotham-colors | :heavy_check_mark: (provided by default) | -| `misspell` | Plugin that corrects commonly misspelled words | https://github.com/onodera-punpun/micro-misspell-plugin | :heavy_check_mark: | -| `monokai-dark` | A dark monokai colorscheme | https://github.com/Theodus/micro-monokai-dark | :heavy_check_mark: (provided by default) | -| `manipulator` | Extend text manipulation abilities | https://github.com/NicolaiSoeborg/manipulator-plugin | :heavy_check_mark: | -| `filemanager` | A file manager! | https://github.com/NicolaiSoeborg/filemanager-plugin | :heavy_check_mark: | -| `vcs` | Mark changed lines in Git or Mercurial repositories | https://bitbucket.org/dermetfan/micro-vcs | :heavy_check_mark: (provided by default) | -| `joinLines` | Plugin which joins selected lines or the following with the current | https://github.com/Lisiadito/join-lines-plugin | :heavy_check_mark: | -| `bounce` | Plugin that implements nano-style smart home and bouncing the cursor between matching-brackets | https://github.com/deusnefum/micro-bounce | :heavy_check_mark: | -| `quoter` | Plugin that allows you to add quotes or brackets around selected text | https://github.com/deusnefum/micro-quoter | :heavy_check_mark: | -| `zigfmt` | Provides `zig fmt` integration for Zig files | https://github.com/squeek502/micro-zigfmt | :heavy_check_mark: | -| `jlabbrev` | Provides backslash abbreviations from the julia prompt | https://github.com/MasFlam/jlabbrev | :heavy_check_mark: | -| `nord-colors` | A set of dark and light colorschemes based on Nord | https://github.com/KiranWells/micro-nord-tc-colors | :heavy_check_mark: | -| `autofmt` | Runs `yapf` (or other autoformatters) in place when saving files | https://github.com/a11ce/micro-yapf | :heavy_check_mark: | -| `bookmark` | Bookmark lines and quickly jump between saved positions | https://github.com/haqk/micro-bookmark | :heavy_check_mark: | -| `quickfix` | Adds a functionality similar to VIM quickfix pane | https://github.com/serge-v/micro-quickfix | :heavy_check_mark: | -| `jump` | Jump to any function, class or heading with F4. Go, Markdown, Python, C and in 40 other languages | https://github.com/terokarvinen/micro-jump | :heavy_check_mark: | -| `detectindent` | Automatically detect indentation settings | https://github.com/dmaluka/micro-detectindent | :heavy_check_mark: | -| `lsp` | An basic LSP client implementation | https://github.com/AndCake/micro-plugin-lsp | :heavy_check_mark: | -| `run` | F5 to save and run, F12 to 'make', F9 to 'make' in background. Go, Python, Lua and executable file (#!) supported. Can 'make' whole project even from subdir. | https://github.com/terokarvinen/micro-run | :heavy_check_mark: | -| `palettero` | Command palette - Ctrl-P to fuzzy search & run commands, textfilters and descriptions. Use Python oneliners and grep to edit text. | https://github.com/terokarvinen/palettero | :heavy_check_mark: | -| `cheat` | F1 cheatsheet for the language you're editing: Python, Go, Lua... | https://github.com/terokarvinen/micro-cheat | :heavy_check_mark: | +| Plugin | Description | Link | 2.0 Support | +| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | ---------------------------------------- | +| `comment` | Plugin to auto comment or uncomment lines | https://github.com/micro-editor/comment-plugin | :heavy_check_mark: (provided by default) | +| `snippets` | Provides snippets functionality | https://github.com/micro-editor/updated-plugins/tree/master/micro-snippets-plugin | :heavy_check_mark: | +| `go` | Provides `gofmt` and `goimports` support for Go files | https://github.com/micro-editor/go-plugin | :heavy_check_mark: | +| `fish` | Provides `fishfmt` support for Fish files | https://github.com/onodera-punpun/micro-fish-plugin | :heavy_check_mark: | +| `wc` | Plugin to count words/characters | https://github.com/adamnpeace/micro-wc-plugin | :heavy_check_mark: | +| `fzf` | Provides `fzf` support for opening files | https://github.com/samdmarshall/micro-fzf-plugin | :heavy_check_mark: | +| `pony` | Provides auto-indentation for Pony files | https://github.com/Theodus/micro-pony-plugin | :heavy_check_mark: | +| `editorconfig` | EditorConfig Support for micro | https://github.com/10sr/editorconfig-micro | :heavy_check_mark: | +| `crystal` | Provides various `crystal` tools for crystal files | https://github.com/ColinRioux/micro-crystal | :heavy_check_mark: | +| `gotham-colors` | A colorscheme for code that never sleeps in Gotham City | https://github.com/novln/micro-gotham-colors | :heavy_check_mark: (provided by default) | +| `misspell` | Plugin that corrects commonly misspelled words | https://github.com/onodera-punpun/micro-misspell-plugin | :heavy_check_mark: | +| `monokai-dark` | A dark monokai colorscheme | https://github.com/Theodus/micro-monokai-dark | :heavy_check_mark: (provided by default) | +| `manipulator` | Extend text manipulation abilities | https://github.com/NicolaiSoeborg/manipulator-plugin | :heavy_check_mark: | +| `filemanager` | A file manager! | https://github.com/NicolaiSoeborg/filemanager-plugin | :heavy_check_mark: | +| `vcs` | Mark changed lines in Git or Mercurial repositories | https://bitbucket.org/dermetfan/micro-vcs | :heavy_check_mark: (provided by default) | +| `joinLines` | Plugin which joins selected lines or the following with the current | https://github.com/Lisiadito/join-lines-plugin | :heavy_check_mark: | +| `bounce` | Plugin that implements nano-style smart home and bouncing the cursor between matching-brackets | https://github.com/deusnefum/micro-bounce | :heavy_check_mark: | +| `quoter` | Plugin that allows you to add quotes or brackets around selected text | https://github.com/deusnefum/micro-quoter | :heavy_check_mark: | +| `zigfmt` | Provides `zig fmt` integration for Zig files | https://github.com/squeek502/micro-zigfmt | :heavy_check_mark: | +| `jlabbrev` | Provides backslash abbreviations from the julia prompt | https://github.com/MasFlam/jlabbrev | :heavy_check_mark: | +| `nord-colors` | A set of dark and light colorschemes based on Nord | https://github.com/KiranWells/micro-nord-tc-colors | :heavy_check_mark: | +| `autofmt` | Runs `yapf` (or other autoformatters) in place when saving files | https://github.com/a11ce/micro-yapf | :heavy_check_mark: | +| `bookmark` | Bookmark lines and quickly jump between saved positions | https://github.com/haqk/micro-bookmark | :heavy_check_mark: | +| `quickfix` | Adds a functionality similar to VIM quickfix pane | https://github.com/serge-v/micro-quickfix | :heavy_check_mark: | +| `jump` | Jump to any function, class or heading with F4. Go, Markdown, Python, C and in 40 other languages | https://github.com/terokarvinen/micro-jump | :heavy_check_mark: | +| `detectindent` | Automatically detect indentation settings | https://github.com/dmaluka/micro-detectindent | :heavy_check_mark: | +| `lsp` | An basic LSP client implementation | https://github.com/AndCake/micro-plugin-lsp | :heavy_check_mark: | +| `run` | F5 to save and run, F12 to 'make', F9 to 'make' in background. Go, Python, Lua and executable file (#!) supported. Can 'make' whole project even from subdir. | https://github.com/terokarvinen/micro-run | :heavy_check_mark: | +| `palettero` | Command palette - Ctrl-P to fuzzy search & run commands, textfilters and descriptions. Use Python oneliners and grep to edit text. | https://github.com/terokarvinen/palettero | :heavy_check_mark: | +| `cheat` | F1 cheatsheet for the language you're editing: Python, Go, Lua... | https://github.com/terokarvinen/micro-cheat | :heavy_check_mark: | +| `yazi` | Provides `yazi` support for opening files | https://github.com/RichardFevrier/micro-yazi | :heavy_check_mark: | ## Adding your own plugin diff --git a/channel.json b/channel.json index 6bd00cc..abc0f65 100644 --- a/channel.json +++ b/channel.json @@ -40,25 +40,25 @@ // JoinLines plugin "https://raw.githubusercontent.com/micro-editor/plugin-channel/master/plugins/join-lines-plugin.json", - + // Quoter plugin "https://raw.githubusercontent.com/micro-editor/plugin-channel/master/plugins/micro-quoter.json", - + // Bounce plugin "https://raw.githubusercontent.com/micro-editor/plugin-channel/master/plugins/micro-bounce.json", // zigfmt plugin "https://raw.githubusercontent.com/micro-editor/plugin-channel/master/plugins/micro-zigfmt.json", - + // Aspell plugin "https://raw.githubusercontent.com/micro-editor/plugin-channel/master/plugins/micro-aspell-plugin.json", - + // jlabbrev plugin "https://raw.githubusercontent.com/micro-editor/plugin-channel/master/plugins/jlabbrev.json", // wakatime plugin "https://raw.githubusercontent.com/micro-editor/plugin-channel/master/plugins/micro-wakatime.json", - + // nord colorschemes "https://raw.githubusercontent.com/micro-editor/plugin-channel/master/plugins/micro-nord-tc-colors.json", @@ -87,6 +87,8 @@ "https://raw.githubusercontent.com/micro-editor/plugin-channel/master/plugins/palettero.json", // cheat plugin - "https://raw.githubusercontent.com/micro-editor/plugin-channel/master/plugins/micro-cheat.json" + "https://raw.githubusercontent.com/micro-editor/plugin-channel/master/plugins/micro-cheat.json", + // yazi plugin + "https://raw.githubusercontent.com/micro-editor/plugin-channel/master/plugins/micro-yazi.json" ] diff --git a/plugins/micro-yazi.json b/plugins/micro-yazi.json new file mode 100644 index 0000000..a32bd9c --- /dev/null +++ b/plugins/micro-yazi.json @@ -0,0 +1,24 @@ +[ + { + "Name": "yazi", + "Description": "Yazi filemanager support", + "Website": "https://github.com/RichardFevrier/micro-yazi", + "License": "MIT", + "Tags": [ + "yazi", + "file", + "filemanager", + "finder", + "menu" + ], + "Versions": [ + { + "Version": "1.0.0", + "Url": "https://github.com/RichardFevrier/micro-yazi/archive/v1.0.0.zip", + "Require": { + "micro": ">=2.0.0" + } + } + ] + } +]