demoncloud/dotfile

repository·master·Indexed 18 days ago

https://github.com/demoncloud/dotfile

A modularized Vim/Neovim configuration designed for speed and simplicity, optimized for macOS (specifically the vimR GUI) and Linux. Includes a structured setup with separate files for base configuration, keymaps, plugins, and styling, requiring Python3, Ruby, and NodeJS dependencies.

Tokens
424
Snippets
2
Records
4
Agent score
14%

What's inside demoncloud-dotfile

  1. Understand the dotfile structure

    master

    The configuration is modularized into several specific files to keep the setup simple and easy to maintain. The main files are:

    • .vimrc or sysinit.vim: The main entry point.
    • .base.vim: Universal base configuration.
    • .ignore.vim: Settings for ignored files.
    • .init.vim: Initialization configuration.
    • .keymap.vim: Shortcut and keymap settings.
    • .plug.vim: The list of plugins to be installed.
    • .plug.conf.vim: Configuration settings for the plugins.
    • .style.vim: Colorscheme and visual styling.
  2. Install required dependencies and compatibility packages

    master

    The configuration requires Python3, Ruby, and NodeJS. Additionally, you must install specific compatibility packages for Neovim and other utilities using the following commands:

    Python (Neovim provider): pip2 install neovim or pip3 install neovim

    NodeJS (Neovim provider and ESLint): npm install -g neovim and npm install -g eslint

    Ruby (Neovim provider and MDL): gem install neovim and gem install mdl

    Homebrew (JQ): brew install jq

    pip3 install neovim
    npm install -g neovim
    npm install -g eslint
    gem install neovim
    gem install mdl
    brew install jq
  3. Configure the dotfiles for Windows

    master
    This configuration is primarily designed for macOS and Linux. It is not natively intended for Windows. To use it on Windows, you must manually modify the configuration files to suit your environment.
  4. Install the dotfiles on OSX and Linux

    master

    To install this configuration on macOS or Linux, run the provided installation script and then initialize the plugins within Vim.

    1. Execute the shell script: ./install.sh
    2. Open Vim/Neovim.
    3. Run the command :PlugInstall to install the required plugins.
    ./install.sh
    # Then inside Vim:
    :PlugInstall