/dotfiles

my productivity workflow dotfiles (Vim, Neovim, and much more)

Primary LanguageLuaBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Hello. Bonjour

Screenshots

NeoVim (Catppuccin) Screenshot 1 NeoVim (Catppuccin-Mocha) Screenshot 2 NeoVim (Darcula) Screenshot 3 Vim (Darcula) Screenshot 4

My name is Eric Nantel. I am a SENIOR Rendering Architect.

Do you wish to make your life simpler as a developer?

If the answer is yes, please keep reading. πŸ˜„

I created this repository for anyone who wants to install my Vim or NeoVim setup on their computer, while I am still learning their plugins. Btw, I might try Emacs one day, but not today. πŸ˜„

Step 1

Be sure to read the 'Getting started' πŸ“– below, so that you have everything I would have installed, as a developer, prior to Vim or NeoVim on your machine.

Step 2

Your system might already have Vi or Vim and/or Git installed. Regardless, use a package manager and install the following packages:

  • git (unless you have it already)
  • vim or neovim
  • gcc or llvm (on Windows)
  • cmake
  • ninja (ninja-build for Apt)
  • nodejs
  • yarn
  • python3
  • lua (lua5.4 or newer if asked by Apt)
  • ruby (possibly installed by Homebrew on MacOS for Vim)
  • php
  • curl (used as key-only by Homebrew on MacOS)
  • bat (optional)
  • delta (optional - named git-delta by Homebrew)
  • eza (optional - still named exa by Apt)
  • ripgrep (optional)
  • fzf (optional)
  • htop (optional - install ntop if using Scoop - requires sudo privileges on MacOS)
  • neofetch (optional)
  • make (optional - renamed gmake by Homebrew on MacOS)

Then open a Terminal application and type the command 'vim' or 'nvim' to see if you have it installed. To close vim/neovim, press ':q' to return to the console.

Please consider reading the Getting started documentation πŸ“– above.

Step 3

Open a Terminal application and go to this repository directory.

Run the following Shell script (.sh) to install my config:

  • For Vim
    sh install_vim_config.sh
  • For NeoVim
    sh install_neovim_config.h

If you have an error, that means your terminal or emulator cannot read Shell scripts (.sh) or execute Unix commands. If you are using Windows 11, I suggest you to install WSL 2 (Windows Subsystem Linux 2). Or it could be that you have not installed git yet on your machine.

Close the Terminal application to apply config changes; or run the following commands:

  • For GNU/Linux
    source ~/.vimrc
    source ~/.bashrc
  • For MacOS
    source ~/.vimrc
    source ~/.zshrc

Please consider reading the Getting started documentation πŸ“– above.

Step 4

Open Vim or NeoVim in a Terminal application to install the plugins.

If you see an error in the Terminal console for Vim, ignore it and press a key to continue.

Enter the following command(s) in Normal mode:

  • For Vim only (NeoVim uses Lazy)
    :PlugInstall

Conclusion

Hopefully, everything went as planned. You might need to quit (:q) and reopen Vim or NeoVim to see the changes.

Let's code faster ! πŸ˜„

⭐ Please consider following me on GitHub or social medias. πŸ‘

Top

Copyright(c) 2024 - Eric Nantel