terminal mind mapper
A simple, lightweight mind mapping application that runs in your terminal
β οΈ Work in Progress β This project is functional and usable, but actively being improved. Expect rough edges, incomplete features, and ongoing refactoring. Feedback and contributions are welcome!
Installation β’ Usage β’ Features β’ Keybindings β’ Status & Roadmap
tmmpr is a Linux terminal application that lets you create, organize, and connect notes on an infinite canvas. Think of it as a digital whiteboard in your terminal where you can freely place notes anywhere and draw connections between them.
The application is entirely keyboard-driven, offering efficient navigation and control through vim-inspired keybindings. Perfect for brainstorming, project planning, or organizing complex ideas.
Current State: The core functionality works wellβyou can create maps, add notes, draw connections, and save your work. However, this is an active work in progress with planned improvements to code quality and feature completeness. See Project Status & Roadmap below.
- πΊοΈ Infinite Canvas - Place notes anywhere on a positive coordinate system (0,0 to infinity)
- π Visual Connections - Draw and manage connections between notes with customizable colors and sides
- β¨οΈ Vim-Inspired Navigation - Efficient keyboard-driven interface with hjkl movement
- π― Multiple Modes:
- Normal Mode - viewport navigation and general commands
- Visual Mode - select and manage notes
- Visual (Move) Mode - reposition notes on the canvas
- Visual (Connection) Mode - manage note connections
- Edit Mode - text editing with optional modal (vim-inspired) editing
- πΎ Auto-Save - Configurable auto-save intervals to prevent data loss
- π Backup System - Automatic backups with customizable intervals (daily, weekly, etc.)
- π¨ Customizable - Color-coded notes and connections, adjustable settings
This project maintains ~54% test coverage, focusing on business logic, state management, and input handling. The terminal UI layer (/src/ui/) is validated through manual testing and real-world usage rather than automated tests, as UI testing in terminal applications often provides limited value relative to the maintenance cost.
You can find extensive test suites throughout the codebase:
- State management tests:
/src/states/*/tests/ - Input handling tests:
/src/input/map/tests/ - Utility function tests:
/src/utils/tests/
Download the latest release from the Releases page:
# Download the latest release
wget https://github.com/tanciaku/tmmpr/releases/latest/download/tmmpr-linux-x86_64.tar.gz
# Extract and run
tar -xzf tmmpr-linux-x86_64.tar.gz
./tmmpr
# Optional: move to your PATH
sudo mv tmmpr /usr/local/bin/cargo install tmmprparu -S tmmpr# Run without installing
nix run github:tanciaku/tmmpr
# Install to your profile
nix profile install github:tanciaku/tmmprgit clone https://github.com/tanciaku/tmmpr.git
cd tmmpr
cargo build --release
# Binary will be at ./target/release/tmmpr- OS: Linux (primary support)
- Rust: 1.85.0 or higher (requires Rust 2024 edition)
- Terminal: Any terminal emulator with Unicode support
Simply run the application from your terminal:
tmmprYou'll be greeted with a start screen where you can:
- Create a new mind map
- Open an existing map file
- Access recent files
π View In-App Help: Press
?orF1from the Map Screen to open the interactive help pages with all keybindings and detailed explanations.
π‘ Zooming: Since tmmpr runs in your terminal, zooming is controlled by adjusting your terminal emulator's font size. Most terminals use Ctrl + + / Ctrl + - (or Cmd + + / Cmd + - on macOS). The specific shortcuts vary by terminal emulator (GNOME Terminal, Konsole, iTerm2, Alacritty, etc.), so consult your terminal's documentation if needed.
π Click to expand full keybindings reference β¬οΈ
General Commands:
F1/?- Toggle help screenq- Quit to start screen (if saved) or show confirm discard menus- Save map fileo- Open settings
Viewport Navigation:
h/Left Arrow- Move viewport left by 1H/Shift+Left Arrow- Move viewport left by 5j/Down Arrow- Move viewport down by 1J/Shift+Down Arrow- Move viewport down by 5k/Up Arrow- Move viewport up by 1K/Shift+Up Arrow- Move viewport up by 5l/Right Arrow- Move viewport right by 1L/Shift+Right Arrow- Move viewport right by 5
Note Operations:
a- Add a new note and switch to Edit Modev- Select closest note to center of screen and switch to Visual Mode
General Commands:
ESC- Switch back to Normal Modei- Switch to Edit Modem- Switch to Move statec- Switch to Connection state (edit existing connections)C- Add a new connection from the selected noted- Delete the selected note (shows confirmation prompt)e- Cycle through note colors
Note Focus Switching:
h/Left Arrow- Switch focus to note on the leftj/Down Arrow- Switch focus to note belowk/Up Arrow- Switch focus to note abovel/Right Arrow- Switch focus to note on the right
m- Switch back to Visual Mode normal stateESC- Switch back to Normal Modeh/Left Arrow- Move note left by 1H/Shift+Left Arrow- Move note left by 5j/Down Arrow- Move note down by 1J/Shift+Down Arrow- Move note down by 5k/Up Arrow- Move note up by 1K/Shift+Up Arrow- Move note up by 5l/Right Arrow- Move note right by 1L/Shift+Right Arrow- Move note right by 5
Connection Management:
c- Confirm connection placement and switch to Visual Moder- Rotate connection start/end siden- Cycle through available connections on this noted- Delete selected connectione- Cycle through connection colors
Target Note Selection:
h/Left Arrow- Switch focus to note on the leftj/Down Arrow- Switch focus to note belowk/Up Arrow- Switch focus to note abovel/Right Arrow- Switch focus to note on the right
Normal Edit Mode (Default):
- Any character,
Enter,Backspace, Arrow keys for typing/editing ESC- Exit Edit Mode (returns to Normal Mode)
Modal Edit Mode (when enabled in settings):
Edit Normal Mode:
- Navigation:
h/j/k/l(left/down/up/right) g- Go to beginningG- Go to endw- Next wordb- Previous wordi- Enter Insert Modea- Move cursor after current character and enter Insert Modex- Delete characterESC- Exit Edit Mode (returns to main Normal Mode)
Edit Insert Mode:
- Any character,
Enter,Backspace, Arrow keys for typing/editing ESC- Switch to Edit Normal Mode
The application is fully functional for its core purpose - creating, organizing, and managing mind maps in the terminal. Most features work as intended.
Code Quality:
- Code structure and approaches could use refactoring throughout the application
Edit Mode (Vim-style):
- Normal mode is very limited compared to vim
- No Visual mode within the text editor
- Block cursor placement issues in Normal mode
Upcoming Features:
- Library API for node graph functionality (programmatic usage)
- Enhanced Edit Mode (fixing block cursor issue, expanded vim commands, visual selection, better text operations)
- Export functionality (convert maps to other formats like markdown)
- Import functionality (templates and config files for recurring structures)
- Image support
Access settings by pressing o from the map screen. Configurable options include:
- Map Changes Auto Save Interval - Automatic save frequency (or disable)
- Backups Interval - How often to create backups when opening files
- Runtime Backups Interval - Create backups during long editing sessions
- Default Connection Sides - Default start/end sides for connections
- Modal Edit Mode - Enable vim-inspired modal editing (note: currently limited)
Issue: Terminal display looks wrong
- Ensure your terminal supports Unicode characters
- Try resizing your terminal window
Issue: Files not saving
- Check file permissions in your working directory
- Verify disk space availability
Issue: Keybindings not working
- Check that your terminal is not intercepting key combinations
- Some terminals may not support all key combinations
Contributions, feedback, and suggestions are highly welcome! This project is actively being improved, and your input can help shape its direction.
Ways to contribute:
- π Report bugs - Open an issue with details about what you encountered
- π‘ Suggest features - Share ideas for new functionality or improvements
- π§ Submit pull requests - Code improvements, bug fixes, or documentation updates
- π Improve documentation - Help clarify usage, add examples, or improve comments
- π§ͺ Testing feedback - Report issues with specific terminals, edge cases, or workflows
Areas needing help:
- Code refactoring and structural improvements
No contribution is too smallβwhether it's fixing a typo or tackling a major refactor!
This project is licensed under the MIT License
Concept inspired by: Obsidian Canvas
Built with β€οΈ using Rust π¦ and Ratatui π
Enjoy mapping your thoughts! πΊοΈ


