Usage
After installing Vi Mongo, you can run it by typing vi-mongo
in your terminal.
Key Shortcuts
In any moment you can press ?
to see the help page with all available shortcuts. Keybindings are mostly inspired by Vim, but some of them are costumized for efficiency.
Resizing Terminal
Resizing the terminal while running Vi Mongo should work fine, as it's based on tview library which is fully rezisable, but if you encounter any issues, please file an issue on GitHub.
Configuration
All configuration files will be stored in the ~/.config/vimongo
directory, but it depends on the system settings as the environment variable XDG_CONFIG_HOME
can be set to different directories. For more information, refer to the XDG Base Directory.
Configuration Files
Vi Mongo uses three main configuration files:
config.yaml
: General application settings[style].yaml
: UI styling configuration in thestyles
directorykeybindings.json
: Keyboard shortcuts configuration
For detailed configuration instructions, visit the Configuration Guide.
Troubleshooting
If you encounter any issues while using Vi Mongo feel free to open a new issue on our GitHub repository.
Possible issues:
- Keybindings not working as expected (refer to Configuration Guide)
- Icons missing or not properly displayed - this is very common problem in terminal applications, either change them in the config file or install Nerd Font/Icons
- General performance issues (for very large databases and collections)
- Regex search not working the same as in MongoDB documentation (eg,
/pattern/
will not work as expected, use{ "$regex": "pattern", "$options": "i" }
instead). Fix listed in the Roadmap - MongoDB types are not yet properly tested so have in mind that some types like
BSONSymbol
orCode
can be misssing or not displayed properly.
Additional Resources
By following these guidelines, you should be able to effectively use Vi Mongo for your MongoDB management needs. If you have any further questions or need assistance, please refer to the documentation or reach out to me e-mail.