Skip to content

Commit 65cde33

Browse files
terokarvinenTero Karvinen
andauthored
Add micro-run, palettero and micro-cheat plugins (#101)
Co-authored-by: Tero Karvinen <teropkg@gmx.com>
1 parent b43a7ab commit 65cde33

File tree

5 files changed

+124
-2
lines changed

5 files changed

+124
-2
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ This repository contains the 'channel.json' file which lists all official micro
3333
| `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: |
3434
| `detectindent` | Automatically detect indentation settings | https://github.com/dmaluka/micro-detectindent | :heavy_check_mark: |
3535
| `lsp` | An basic LSP client implementation | https://github.com/AndCake/micro-plugin-lsp | :heavy_check_mark: |
36-
36+
| `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: |
37+
| `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: |
38+
| `cheat` | F1 cheatsheet for the language you're editing: Python, Go, Lua... | https://github.com/terokarvinen/micro-cheat | :heavy_check_mark: |
3739

3840
## Adding your own plugin
3941

channel.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,5 +78,15 @@
7878
"https://raw.githubusercontent.com/micro-editor/plugin-channel/master/plugins/micro-detectindent.json",
7979

8080
// lsp plugin
81-
"https://raw.githubusercontent.com/micro-editor/plugin-channel/master/plugins/micro-plugin-lsp.json"
81+
"https://raw.githubusercontent.com/micro-editor/plugin-channel/master/plugins/micro-plugin-lsp.json",
82+
83+
// run plugin
84+
"https://raw.githubusercontent.com/micro-editor/plugin-channel/master/plugins/micro-run.json",
85+
86+
// palettero plugin
87+
"https://raw.githubusercontent.com/micro-editor/plugin-channel/master/plugins/palettero.json",
88+
89+
// cheat plugin
90+
"https://raw.githubusercontent.com/micro-editor/plugin-channel/master/plugins/micro-cheat.json"
91+
8292
]

plugins/micro-cheat.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
[{
2+
"Name": "cheat",
3+
"Description": "F1 for cheatsheet related to the type of file you're editing: Lua, Go, Python...",
4+
"Website": "https://terokarvinen.com/micro",
5+
"Tags": ["cheatsheet", "help", "docs", "Lua", "Go", "Python", "reference"],
6+
"License": "MIT license",
7+
"Versions": [
8+
{
9+
"Version": "0.0.4",
10+
"Url": "https://github.com/terokarvinen/micro-cheat/archive/v0.0.4.zip",
11+
"Require": {
12+
"micro": ">=2.0.0"
13+
}
14+
},
15+
{
16+
"Version": "0.0.3",
17+
"Url": "https://github.com/terokarvinen/micro-cheat/archive/v0.0.3.zip",
18+
"Require": {
19+
"micro": ">=2.0.0"
20+
}
21+
},
22+
{
23+
"Version": "0.0.2",
24+
"Url": "https://github.com/terokarvinen/micro-cheat/archive/v0.0.2.zip",
25+
"Require": {
26+
"micro": ">=2.0.0"
27+
}
28+
},
29+
{
30+
"Version": "0.0.1",
31+
"Require": {
32+
"micro": ">=2.0.0"
33+
}
34+
}
35+
]
36+
}]

plugins/micro-run.json

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
[{
2+
"Name": "runit",
3+
"Description": "Press F5 to save and run, F12 to make, F9 to make in background.",
4+
"Website": "https://github.com/terokarvinen/micro-run",
5+
"Tags": ["run", "execute", "Go", "Python", "Bash", "Lua", "F5"],
6+
"License": "MIT license",
7+
"Versions": [
8+
{
9+
"Version": "0.0.8",
10+
"Url": "https://github.com/terokarvinen/micro-run/archive/v0.0.8.zip",
11+
"Require": {
12+
"micro": ">=2.0.0"
13+
}
14+
},
15+
{
16+
"Version": "0.0.7",
17+
"Url": "https://github.com/terokarvinen/micro-run/archive/v0.0.7.zip",
18+
"Require": {
19+
"micro": ">=2.0.0"
20+
}
21+
},
22+
{
23+
"Version": "0.0.6",
24+
"Url": "https://github.com/terokarvinen/micro-run/archive/v0.0.6.zip",
25+
"Require": {
26+
"micro": ">=2.0.0"
27+
}
28+
},
29+
{
30+
"Version": "0.0.5",
31+
"Url": "https://github.com/terokarvinen/micro-run/archive/v0.0.5.zip",
32+
"Require": {
33+
"micro": ">=2.0.0"
34+
}
35+
},
36+
{
37+
"Version": "0.0.4",
38+
"Url": "https://github.com/terokarvinen/micro-run/archive/v0.0.4.zip",
39+
"Require": {
40+
"micro": ">=2.0.0"
41+
}
42+
}
43+
]
44+
}]

plugins/palettero.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
[{
2+
"Name": "palettero",
3+
"Description": "Command palette Ctrl-P - fuzzy search commands and textfilters",
4+
"Website": "https://terokarvinen.com/tags/micro-editor/",
5+
"Tags": ["command palette", "fzf", "menu"],
6+
"License": "GNU General Public License v3",
7+
"Versions": [
8+
{
9+
"Version": "0.0.5",
10+
"Url": "https://github.com/terokarvinen/palettero/archive/0.0.5.zip",
11+
"Require": {
12+
"micro": ">=2.0.0"
13+
}
14+
},
15+
{
16+
"Version": "0.0.4",
17+
"Url": "https://github.com/terokarvinen/palettero/archive/v0.0.4.zip",
18+
"Require": {
19+
"micro": ">=2.0.0"
20+
}
21+
},
22+
{
23+
"Version": "0.0.2",
24+
"Url": "https://github.com/terokarvinen/palettero/archive/v0.0.2.zip",
25+
"Require": {
26+
"micro": ">=2.0.0"
27+
}
28+
}
29+
]
30+
}]

0 commit comments

Comments
 (0)