From 654fba7374e549dd5148c7bd71a4de22c92bcb6e Mon Sep 17 00:00:00 2001 From: Yasien Mac Mini Date: Tue, 17 Mar 2026 14:29:01 +0200 Subject: [PATCH] readme file update --- README.md | 109 +++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 107 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7a96e50..56eb43b 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,108 @@ -#Mzansi Vim +# Mzansi Vim: The No-Fuss Neovim Kickstart πŸ‡ΏπŸ‡¦ -##Get Started +A pre-configured, performance-oriented Neovim setup designed to get you from zero to coding in minutes. Built for local developers who want a powerful IDE experience without the manual overhead of a 500-line `init.lua`. + +## Key Features + +* **LSP & Auto-completion:** Powered by `mason.nvim` and `nvim-cmp`, featuring out-of-the-box support for Python, Lua, Docker, SQL, and more. +* **First-Class Flutter Support:** Deep integration via `flutter-tools.nvim` for a seamless mobile development workflow. +* **Fast Navigation:** Includes `Harpoon` for rapid file switching and `Telescope` for fuzzy finding across your project. +* **Modern Aesthetics:** Features the `tokyonight` color scheme with enabled transparency and `lualine` for a sleek, functional status bar. +* **Syntax Highlighting:** Robust parsing for over 15 languages via `nvim-treesitter`. +* **Git Integration:** Quick access to Git commands using `vim-fugitive`. + +## ⌨️ Essential Keybindings + +The **Leader Key** is set to `Space`. + +### πŸ“‚ Navigation & Searching +| Action | Keybinding | Description | +| :--- | :--- | :--- | +| **File Explorer** | `cd` | Open the built-in Netrw explorer. | +| **Find Files** | `ff` | Fuzzy find files in your project. | +| **Live Grep** | `fg` | Search for specific text across all files. | +| **Help Tags** | `fh` | Search through Neovim help documentation. | + +### 🎣 Harpoon (Quick-Switching) +| Action | Keybinding | Description | +| :--- | :--- | :--- | +| **Add File** | `a` | Mark the current file in Harpoon. | +| **Harpoon Menu** | `Ctrl + e` | View and manage your marked files. | +| **Harpoon Find** | `fl` | Use Telescope to search your Harpoon list. | +| **Quick Nav** | `Ctrl + h/t/n/s` | Jump instantly to Harpoon files 1, 2, 3, or 4. | + +### πŸ› οΈ LSP & Development +| Action | Keybinding | Description | +| :--- | :--- | :--- | +| **Hover Docs** | `K` | Display documentation for the symbol under cursor. | +| **Go to Definition**| `gd` | Jump to the source code of a function/variable. | +| **References** | `gr` | List all places where a symbol is used. | +| **Rename** | `rn` | Rename all occurrences of the symbol. | +| **Code Actions** | `ca` | Show available fixes or refactors. | + +### Editor Essentials +| Action | Keybinding | Description | +| :--- | :--- | :--- | +| **Confirm Completion**| `Enter` | Accept the current suggestion in the popup menu. | +| **Scroll Docs** | `Ctrl + f / b` | Scroll up/down in the LSP documentation window. | + +## πŸš€ Get Started + +### πŸ“‹ Prerequisites +To ensure all plugins (LSP, Tree-sitter, and Telescope) function correctly, please install the following: + +* **Neovim** (v0.10+ recommended) +* **Git** (For cloning the repo and managing plugins) +* **Tree-sitter & Tree-sitter-cli** (For syntax highlighting) +* **Ripgrep** (Required for Telescope live grep) +* **Node.js & npm** (Required for various LSP servers like `html` and `eslint`) +* **Go** (Required for certain internal tools) + +### πŸ“₯ Installation + +#### 1. Prepare Configuration Directory +Depending on whether you have an existing setup, follow the appropriate step below: + +**For a Fresh Install:** +If you have never configured Neovim, create the configuration folder: +```bash +mkdir -p ~/.config/nvim +``` + +**For an Existing Setup:** +If you have never configured Neovim, create the configuration folder: +```bash +mv ~/.config/nvim ~/.config/nvim.bak +``` + +#### 2. Clone the Repository +Clone the Mzansi Vim configuration into your config folder: + +```bash +cd ~/.config/nvim +git clone https://git.mzansi-innovation-hub.co.za/yaso_meth/mzansi_vim.git +``` + +#### 3. Initialize +Simply launch Neovim: + +```bash +nvim +``` + +## Additional information + +For more details about Mzansi Vim, including usage instructions and updates, please visit the [MIH Gitea repository](https://git.mzansi-innovation-hub.co.za/yaso_meth/mzansi_vim.git). + +### Contributing +Contributions are welcome! If you'd like to improve the package, please fork the repository, make your changes, and submit a pull request. For major changes, please open an issue first to discuss what you would like to change. + +### Reporting Issues/ Feature Requests +If you encounter any bugs or have feature requests, please log an issue on the [MIH Gitea Issues page](https://git.mzansi-innovation-hub.co.za/yaso_meth/mzansi_vim.git). Provide as much detail as possible to help us address the problem promptly. + +### Support and Response +We strive to respond to issues and pull requests in a timely manner. While this package is maintained voluntarily, we appreciate your patience and community involvement. + +If you would like to support the MIH development team directly, please feel free to contribute to the [MIH Project via DonaHub](https://donahub.co.za/campaigns/mih-project) + +Thank you for using the MIH Package Toolkit!