Quick Start
Quick Start¶
Step 1: One-line install of microNeo
curl -fsSL https://raw.githubusercontent.com/sollawen/microNeo/master/tools/install.sh | sh
Works perfectly on Linux/Mac. Windows requires full shell support and hasn't been tested.
If you hit raw.githubusercontent.com being rate-limited (HTTP 429) or unreachable, you can use this jsDelivr mirror instead:
curl -fsSL https://cdn.jsdelivr.net/gh/sollawen/microNeo@master/tools/install.sh | sh
Step 2: Detect which AI agents you have
microneo --check-agent
- You only need to run this once — microNeo will remember which AIs are installed on your machine.
- Of course, if you install another AI agent later, just run this command again.
- Currently supports OpenCode, Pi, and Claude. However, since Claude is not open source, it works but isn't perfect.
Step 3: Start using microNeo
# Run microNeo in the current directory.
# microNeo has a fully-featured FileManager for easy navigation through the directory tree.
microneo
# Open a specific file with microNeo
microneo README.md
- Open any file — a Markdown doc, source code, JSON, YAML, or any text file.
- Edit the file like in any other editor; shortcuts are similar to VS Code.
Alt-Enteropens a dialog with the AI at the current cursor; pressAlt-Enteragain to send the message to the AI agent.- If you're running multiple AI agents at the same time, press
Alt-Iin the message box to pick the one you want to talk to.
Common Operations While Editing¶
Common Hotkeys¶
| Action | Shortcut | Action | Shortcut | Action | Shortcut |
|---|---|---|---|---|---|
| Save | Ctrl-S | Undo | Ctrl-Z | Copy | Ctrl-C |
| Quit | Ctrl-Q | Search | Ctrl-F | Cut | Ctrl-X |
| Select | Shift-Up/Down | Send message to AI | Alt-Enter | Paste | Ctrl-V |
| Command Mode | Ctrl-E | Help | Ctrl-G |
- Most shortcuts are the same as in VS Code.
- Press
Ctrl-Gto see more shortcuts and commands.
Talking to an AI agent¶
- Open a Markdown document with microNeo and select the part of the text you want to comment on.
- Press
Alt-Enterto open the input box and write your thoughts. - When ready, press
Alt-Enteragain to send it. The AI will receive your comment.
Talking to multiple AI agents¶
If you run multiple AI agents at the same time (e.g., one opencode and two pi), each one picks a name for itself at startup.
- Default names are
Alpha, Bravo, Charlie... - If you don't like the defaults, edit
~/.config/aibp/aibp-names.jsonin your config directory and put any names you like, e.g.Tony, Bruce, Peter, Carol.
When you press Alt-Enter in the editor and more than one AI is present, microNeo automatically opens a menu to let you pick which AI to talk to.
- Your selection is remembered by microNeo. The next time you press
Alt-Enter, it'll automatically use the same AI. - To switch to a different AI mid-session, while typing in the dialog, press
Alt-iand pick a different AI from the menu.
Switching Color Theme¶
In microNeo, press Ctrl-E to open the command line at the bottom, type :theme, and hit Enter — a menu will appear letting you pick a different theme.
Opening a New File¶
In microNeo, press Ctrl-O to pick a new file.
Up/Downarrows — move the cursorRight arrow— enter the subdirectoryLeft arrow— go to the parent directoryEnter— open the file
Set as Default Editor¶
- microNeo is small and fast, making it a great default editor for these tools.
- Works seamlessly with
Claude Code,Yazi, and other tools that respect$EDITOR. - Since
microNeois a long name, it's recommended to set an alias in your.zshrcor.bashrcfor easier typing.
export EDITOR=microneo
alias edit='microneo'
Replacing the cd Command in Your Shell¶
- The
cdcommand on Linux/Mac is painful when you're navigating deep directory hierarchies. - So microNeo borrows yazi's approach: you can switch directories inside the FileManager, and when you quit microNeo, your shell automatically
cds into the directory of the last file you were on.
How to use it
Add the following to your .zshrc / .bashrc:
function m() {
local tmp="$(mktemp -t "microneo-cwd.XXXXXX")" cwd
command microneo "$@" --cwd-file="$tmp"
IFS= read -r -d '' cwd < "$tmp"
[ "$cwd" != "$PWD" ] && [ -d "$cwd" ] && builtin cd -- "$cwd"
rm -f -- "$tmp"
}
Then just use the m command in your shell to open microNeo and pick a file to edit. When you quit, your shell's working directory will automatically switch to wherever that file lives.