Note: This is only a starter configuration to get started with Neovim with Efficiency & Enjoyment.
After installation, you should remove the .git
folder so that you can add your own repo later and fully customise(ricing) your Neovim on your own liking & preferences.
- Make sure you know some basic vim commands.
- Nerd Fonts
- Neovim 0.10 or above (Not including nightly)
- gcc (GNU C Compiler)
- node.js
- A clipboard tool is necessary for the integration with the system clipboard (see
:help clipboard-tool
for supported solutions)xclip
is recommended for WSL users.
- Terminal with true color support (for the default theme, otherwise it is dependent on the theme you are using)
- Optional Requirements:
Efficienvim is available in two different versions.
- The
main
branch is the default one that's the ordinary (easy to rewrite) version. It is the branch you are looking for if you want to get config as template and customise in beast mode based on your specific needs. It usesNeotree
plugin as its file-explorer(which is auto-opened at the left-side of the Neovim window at startup) instead of theNetrw
file-explorer that comes with Neovim. It doesn't have any dashboard that comes up start up. - The
enhanced
branch is the more advanced (with more plugins as better features) and (user-friendlier) version. It usesOil.nvim
(you will be able to edit the file system like a regular buffer) andNvim-tree
plugins as its file-explorers. It has a beautiful dashboard which opens at startup.
Efficienvim is supported better on MacOS, Linux & WSL. If you use Windows then installing in WSL is Recommended.
mv ~/.config/nvim ~/.config/nvim.bak
mv ~/.local/share/nvim ~/.local/share/nvim.bak
git clone https://github.com/Debajyati/Efficienvim ~/.config/nvim
nvim
git clone -b main --single-branch https://github.com/Debajyati/Efficienvim ~/.config/nvim # Installing the only the ordinary version (branchname - 'main')
nvim
Or,
git clone -b enhanced --single-branch https://github.com/Debajyati/Efficienvim ~/.config/nvim # Installing the only the enhanced version (branchname - 'enhanced')
nvim
Rename-Item -Path $env:LOCALAPPDATA\nvim -NewName $env:LOCALAPPDATA\nvim.bak
Rename-Item -Path $env:LOCALAPPDATA\nvim-data -NewName $env:LOCALAPPDATA\nvim-data.bak
git clone https://github.com/Debajyati/Efficienvim $env:LOCALAPPDATA\nvim
nvim
git clone -b main --single-branch https://github.com/Debajyati/Efficienvim $env:LOCALAPPDATA\nvim # Installing the only the ordinary version (branchname - 'main')
nvim
Or,
git clone -b enhanced --single-branch https://github.com/Debajyati/Efficienvim $env:LOCALAPPDATA\nvim # Installing the only the enhanced version (branchname - 'enhanced')
nvim
Always run :checkhealth
after any configuration changes to diagnose any problem with the configuration (if any) so that necessary steps can be taken.
Enter :LspInstall
or :MasonInstall
followed by the name of the server you want to install
Example: :LspInstall clangd
or :MasonInstall clangd
for C/C++
Enter :TSInstall
followed by the name of the language you want to install
Example: :TSInstall c
for c language
Efficienvim won't come with DAP(Debug Adapter Protocol).
If you want debugging support you would need to install nvim-dap
& nvim-dap-ui
first with lazy.nvim(the plugin manager Efficienvim uses) or any other plugin that gives debugger support in Neovim.
-
:Lazy
- opens the Lazy.nvim ui(A graphical status window) -
:Lazy check
- checks for plugin updates -
:Lazy update
- applies any pending plugin updates -
:Lazy clean
- removes any disabled or unused plugins -
:Lazy sync
- updates and clean plugins
Run :h Lazy
for more info.
-
:Mason
- opens a graphical status window -
:MasonUpdate
- updates all managed registries -
:MasonInstall <package> ...
- installs/re-installs the provided packages -
:MasonUninstall <package> ...
- uninstalls the provided packages -
:MasonUninstallAll
- uninstalls all packages -
:MasonLog
- opens the mason.nvim log file in a new tab window
Run :h Mason
for more info.
.
├── init.lua
├── lazy-lock.json
└── lua
└── config
├── autocmds.lua
├── keymaps.lua
├── lazy.lua
├── lspsettings.lua
├── noicesettings.lua
└── options.lua
find.files.telescope.mp4
lf.within.neovim.mp4
oil.nvim.mp4
telescope.git.files.mp4
change.colorscheme.with.live.preview.-.Trim.1.mp4
Kudos to the entire neovim community out there, all the plugin authors & the following repositories that made me know, how to properly configure Neovim.