markdown · 2733 bytes Raw Blame History

Micro Editor Configuration Reference

Current keybinds, plugins, and workflow for the micro editor setup.

Core Keybinds

Keybind Action
Ctrl-E Command bar (help, plugin list, open, etc.)
Ctrl-S Save file
Ctrl-Q Close buffer/quit
Ctrl-O Open file (fallback)

File Management

FZF File Finder:

Keybind Action
Alt-f Fuzzy file finder (mfzf)

Current settings:

  • Uses custom mfzf wrapper (git-aware)
  • Preview with bat -f -p {}
  • Opens in new tab
  • Shows relative paths
  • External clipboard integration

Inside fzf:

  • Type to filter, ↑/↓ or Ctrl-j/k to navigate
  • Enter to open, Tab/Shift-Tab for multi-select

Command Palette

Keybind Action
Ctrl-P Command palette (palettero)
Ctrl-Space Command palette (alt binding)

Usage:

  • Fuzzy search any micro/plugin command
  • Type command names ("jump", "tree", "help", "pipe jq .") and run
  • Great for command discovery and one-liners

LSP Integration

Keybind Action
Alt-d Go to definition
Alt-k Show hover info
Alt-r Show references

Note: Requires LSP servers installed and configured

Build & Run System

Keybind Action
F5 Run current file
F12 Make (foreground)
F9 Make (background)

Features:

  • Auto-detects file type/shebang
  • Makefile support for projects
  • Language-aware execution

File Tree

Keybind Action
Ctrl-b Toggle file tree

Usage:

  • Navigate with arrows, open with Enter
  • Add "filemanager.openonstart": true to auto-open

Code Navigation

Keybind Action
F4 Jump to symbol/heading

Features:

  • Functions, classes, Markdown headings
  • Fuzzy search within current buffer

Comments

Keybind Action
Alt-/ Toggle comment
Ctrl-_ Toggle comment (alt)

Uses comment.lua plugin

Plugin Configuration

Current plugins:

  • fzfinder - Fuzzy file finding with mfzf
  • palettero - Command palette
  • comment - Smart commenting
  • LSP integration - Language server support
  • runit - File execution
  • jumptag - Symbol navigation
  • makeup - Build system

Useful Commands:

  • pipe jq . - Pretty-print JSON
  • pipe yq -P - JSON→YAML conversion
  • pipe sort -u - Sort unique lines
  • pipe sed -E 's/[[:space:]]+$//' - Strip trailing whitespace

Settings Summary

  • External clipboard integration
  • Custom mfzf command for file finding
  • Bat preview integration
  • New tab opening for files
  • Relative path display
View source
1 # Micro Editor Configuration Reference
2
3 Current keybinds, plugins, and workflow for the micro editor setup.
4
5 ## Core Keybinds
6
7 | Keybind | Action |
8 |---------|--------|
9 | `Ctrl-E` | Command bar (`help`, `plugin list`, `open`, etc.) |
10 | `Ctrl-S` | Save file |
11 | `Ctrl-Q` | Close buffer/quit |
12 | `Ctrl-O` | Open file (fallback) |
13
14 ## File Management
15
16 **FZF File Finder:**
17 | Keybind | Action |
18 |---------|--------|
19 | `Alt-f` | Fuzzy file finder (mfzf) |
20
21 **Current settings:**
22 - Uses custom `mfzf` wrapper (git-aware)
23 - Preview with `bat -f -p {}`
24 - Opens in new tab
25 - Shows relative paths
26 - External clipboard integration
27
28 **Inside fzf:**
29 - Type to filter, `↑/↓` or `Ctrl-j/k` to navigate
30 - `Enter` to open, `Tab/Shift-Tab` for multi-select
31
32 ## Command Palette
33
34 | Keybind | Action |
35 |---------|--------|
36 | `Ctrl-P` | Command palette (palettero) |
37 | `Ctrl-Space` | Command palette (alt binding) |
38
39 **Usage:**
40 - Fuzzy search any micro/plugin command
41 - Type command names ("jump", "tree", "help", "pipe jq .") and run
42 - Great for command discovery and one-liners
43
44 ## LSP Integration
45
46 | Keybind | Action |
47 |---------|--------|
48 | `Alt-d` | Go to definition |
49 | `Alt-k` | Show hover info |
50 | `Alt-r` | Show references |
51
52 *Note: Requires LSP servers installed and configured*
53
54 ## Build & Run System
55
56 | Keybind | Action |
57 |---------|--------|
58 | `F5` | Run current file |
59 | `F12` | Make (foreground) |
60 | `F9` | Make (background) |
61
62 **Features:**
63 - Auto-detects file type/shebang
64 - Makefile support for projects
65 - Language-aware execution
66
67 ## File Tree
68
69 | Keybind | Action |
70 |---------|--------|
71 | `Ctrl-b` | Toggle file tree |
72
73 **Usage:**
74 - Navigate with arrows, open with `Enter`
75 - Add `"filemanager.openonstart": true` to auto-open
76
77 ## Code Navigation
78
79 | Keybind | Action |
80 |---------|--------|
81 | `F4` | Jump to symbol/heading |
82
83 **Features:**
84 - Functions, classes, Markdown headings
85 - Fuzzy search within current buffer
86
87 ## Comments
88
89 | Keybind | Action |
90 |---------|--------|
91 | `Alt-/` | Toggle comment |
92 | `Ctrl-_` | Toggle comment (alt) |
93
94 *Uses comment.lua plugin*
95
96 ## Plugin Configuration
97
98 **Current plugins:**
99 - **fzfinder** - Fuzzy file finding with mfzf
100 - **palettero** - Command palette
101 - **comment** - Smart commenting
102 - **LSP integration** - Language server support
103 - **runit** - File execution
104 - **jumptag** - Symbol navigation
105 - **makeup** - Build system
106
107 **Useful Commands:**
108 - `pipe jq .` - Pretty-print JSON
109 - `pipe yq -P` - JSON→YAML conversion
110 - `pipe sort -u` - Sort unique lines
111 - `pipe sed -E 's/[[:space:]]+$//'` - Strip trailing whitespace
112
113 ## Settings Summary
114
115 - External clipboard integration
116 - Custom mfzf command for file finding
117 - Bat preview integration
118 - New tab opening for files
119 - Relative path display