Skip to content

tree-1917/Dvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dvim

Dvim is a high-performance, personalized Neovim distribution built on the AstroNvim framework. It is specifically tailored for Cloud & DevOps Engineers, featuring a robust snippet system for infrastructure management and a streamlined developer experience.


Features

  • DevOps Optimized: Pre-configured with custom snippets for Terraform, Kubernetes, Ansible, Helm, and GitHub Actions.
  • Intelligent Snippets: Context-aware LuaSnip system that loads specific CI/CD snippets only when editing .gh.yml files.
  • Multi-Language Support: First-class support for Python (Django), PHP (Laravel), Node.js, and Lua.
  • Modular Architecture: Clean structure separating plugin configurations, custom UI elements, and reusable snippets.
  • Global Utilities: Custom header system to maintain consistent project documentation across all file types.

Installation

1. Backup Your Current Configuration

Before installing Dvim, move your existing Neovim configuration and data directories to avoid conflicts:

mv ~/.config/nvim ~/.config/nvim.bak
mv ~/.local/share/nvim ~/.local/share/nvim.bak
mv ~/.local/state/nvim ~/.local/state/nvim.bak
mv ~/.cache/nvim ~/.cache/nvim.bak

2. Clone the Repository

Clone Dvim into your Neovim configuration directory:

git clone https://github.com/tree-1917/Dvim ~/.config/nvim

3. Initialize

Launch Neovim. Lazy.nvim will automatically install all required plugins:

nvim

Configuration Structure

  • lua/plugins/ — Custom plugin overrides and additions, including luasnip.lua.
  • lua/snippets/ — Core productivity snippets.
    • actions.lua — GitHub Actions CI/CD snippets.
    • util_snip.lua — Global utilities such as file headers.
    • infrastructure/ — Snippets for Terraform, AWS, Azure, and GCP.
  • lua/polish.lua — Autocommands, filetype detection, and final customizations.

Custom Keybindings & Snippets

Trigger Description Scope
header Inserts a styled project header block Global
gh-basic Standard GitHub Actions workflow .gh.yml
job-docker Docker build and push job skeleton .gh.yml
gh-laravel-skel Complete Laravel CI pipeline .gh.yml

Contributing

Dvim is designed for Cloud and DevOps workflows. Contributions to the lua/snippets/ directory for new infrastructure providers, platforms, or automation tools are welcome. Feel free to fork the repository and submit a pull request.

About

Dvim is more powerful system with powerful snippets system .

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages