Skip to content

Latest commit

Β 

History

History
118 lines (88 loc) Β· 4.23 KB

File metadata and controls

118 lines (88 loc) Β· 4.23 KB

init.lua ⚑

Welcome to the init.lua repository! This project is a configuration file for Neovim, written in Lua, to supercharge your development experience. πŸš€


🌟 Features

  • Lightweight and Fast: Optimized for a blazing-fast editing experience.
  • Written in Lua: Harnessing the full power of Lua for Neovim configuration.
  • Customizable: Easy-to-modify and extend to suit your workflow.
  • Modern Plugins: Leverages the latest and greatest plugins in the Neovim ecosystem.

πŸ“‚ Directory Structure

.
β”œβ”€β”€ init.lua                       # Main Neovim config file – loads core setup and plugins
β”œβ”€β”€ lua
β”‚   β”œβ”€β”€ config
β”‚   β”‚   β”œβ”€β”€ autocmds.lua           # Custom auto commands (e.g., format on save, highlight yank)
β”‚   β”‚   β”œβ”€β”€ keymaps.lua            # All your custom keybindings
β”‚   β”‚   β”œβ”€β”€ lazy.lua               # Plugin manager setup and plugin loading logic
β”‚   β”‚   └── options.lua            # General Neovim options (e.g., line numbers, tabs, UI)
β”‚   β”œβ”€β”€ sakidoa                    # just a personal phrase
β”‚   β”‚   β”œβ”€β”€ discipline.lua         # Optional plugin or module for keeping code discipline (e.g., WIP features)
β”‚   β”‚   β”œβ”€β”€ hsl.lua                # Utility for color manipulation using HSL values
β”‚   β”‚   └── lsp.lua                # Customizations for LSP (servers, handlers, etc.)
β”‚   β”œβ”€β”€ plugins
β”‚   β”‚   β”œβ”€β”€ coding.lua             # Plugins focused on coding productivity (e.g., snippets, autocomplete)
β”‚   β”‚   β”œβ”€β”€ colorscheme.lua        # Color scheme and theme plugins
β”‚   β”‚   β”œβ”€β”€ editor.lua             # Core editor enhancements (commenting, indenting, etc.)
β”‚   β”‚   β”œβ”€β”€ lsp.lua                # Language Server Protocol setup (installers, configs)
β”‚   β”‚   β”œβ”€β”€ tmux-navigation.lua    # Seamless navigation between tmux and Neovim splits
β”‚   β”‚   β”œβ”€β”€ treesitter.lua         # Treesitter config for syntax highlighting and parsing
β”‚   β”‚   └── ui.lua                 # UI/UX improvements (statusline, filetree, notifications)
β”‚   └── util
β”‚       └── debug.lua              # Helper functions for debugging Lua/Nvim configurations
└── README.md                      # Project documentation and setup guide

πŸš€ Getting Started

Sigue estos pasos para comenzar con esta configuraciΓ³n:

1. Make a backup of your current Neovim files:

# ConfiguraciΓ³n principal
mv ~/.config/nvim{,.bak}

# Datos compartidos y temporales
mv ~/.local/share/nvim{,.bak}
mv ~/.local/state/nvim{,.bak}
mv ~/.cache/nvim{,.bak}

2. Clone this repo

git clone https://github.com/cristiandelahooz/init.lua.git ~/.config/nvim

3. Remove the .git folder, so you can add it to your own repo later

rm -rf ~/.config/nvim/.git

4. Start Neovim πŸš€

nvim

image

πŸ› οΈ Customization

You can easily tweak the configuration to match your preferences:

  • Add Plugins: Add plugins to the plugins section.
  • Change Keymaps: Modify key mappings in the keymaps section.
  • Adjust Settings: Update settings in the init.lua file.

🀝 Contributing

Contributions are welcome! Feel free to open an issue or submit a pull request if you have ideas or improvements.

  1. Fork the repository.
  2. Create a new branch: git checkout -b feature/your-feature-name.
  3. Commit your changes: git commit -m 'Add your message here'.
  4. Push to the branch: git push origin feature/your-feature-name.
  5. Open a Pull Request.

πŸ“Œ Important Note:

This repository is originally based on the great work by @craftzdog.
Many configurations and structural ideas were adapted and customized from his public dotfiles.



πŸ“„ License

This project is licensed under the MIT License.

🌐 Connect