Skip to content

DimitrisDimitropoulos/nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

✨ Custom Neovim config

This config begun from the NvChad minimal config, at this point the config is very different and follows a distinct structure only a few items remain the same. This configuration of neovim does not try to replace vscode, but to simply add modern useful features into vim-neovim, like LSP, IDE completion, statusline, dashboard and other moderate ui features. I believe that i have maintained the original spirit of vim and neovim, while adding these features.

Important

It is suggested to have some dependencies when using this config for the best experience. Most of the functionality will be kept if they are not installed, except for fzf-lua, which requires fzf to work. For windows prefer safe installation methods like winget or scoop. On linux use your distro's package manager like apt or dnf

  • xclip for clipboard on X11
  • fd ripgrep fzf for the picker either fzf-lua or telescope
  • zathura or SumatraPDF for pdf functionality when previewing LaTeX documents
  • pwsh.exe if you want to use it as the shell for windows usage

🔥 Showcase

2024-07-25-14:25:58 2024-07-25-18:50:21

⚒️ Features of this configuration

  1. Based on the lazy.nvim plugin manager
  2. Snippets utilizing both json and lua formats, enabling support for other editors like vscode
  3. Default spell for greek and english
  4. Langmap for greek input
  5. Language Servers for multiple languages
  6. Custom keybinds neatly organized per use-case
  7. Telescope extensions for improved performance
  8. Powerful system with autocommands and a working ftplugin system
  9. Scripts to backup and restore your Lazy lock-files, in bash and pwsh
  10. Custom efm language server with formatters and linters, no plugin dependencies
  11. Heavy use of lua wherever feasible
  12. LaTeX preview based on texlab with zathura on linux and SumatraPDF on windows
  13. Custom treesitter queries for highlighting lua and LaTeX
  14. Powerful native snippets framework, with framework agnostic autocompletion

🚀 Installation

Before installing make sure to backup your config, plugins, data and cache. Then remove it, or better rename it to something like .bak, for more context see here. Then just clone this repo to the appropriate folder and just open it. The plugins and treesitter parsers will be installed automatically and then you can open Mason and install manual or with the MasonInstallAll command.

For more detailed instructions based on the LazyVim:

On Linux

# required
mv ~/.config/nvim{,.bak}

# optional but recommended
mv ~/.local/share/nvim{,.bak}
mv ~/.local/state/nvim{,.bak}
mv ~/.cache/nvim{,.bak}

Then

git clone https://github.com/DimitrisDimitropoulos/nvim.git ~/.config/nvim
nvim

On Windows with PowerShell

# required
Move-Item $env:LOCALAPPDATA\nvim $env:LOCALAPPDATA\nvim.bak

# optional but recommended
Move-Item $env:LOCALAPPDATA\nvim-data $env:LOCALAPPDATA\nvim-data.bak

Then

git clone https://github.com/DimitrisDimitropoulos/nvim.git $env:LOCALAPPDATA\nvim
nvim

After launching all plugins make sure to run a :checkhealth command and install all the dependencies you may lack like xclip, pwsh.exe, rg, fd and fzf

🔌 Plugins

🚗 TODO

Releases

No releases published

Packages

No packages published