My nvim config that I use on my Windows machine.
Using,
- lazy.nvim: Plugin Manager
- alpha-nvim: NeoVim Homepage
- nvim-autopairs: Makes using brackets easier
- vim-fugitive: Git inside NeoVim
- indent-blankline.nvim: Indentation
- williamboman/mason.nvim: LSP Manager
- williamboman/mason-lspconfig.nvim: Bridge for Mason and NeoVim LSP
- neovim/nvim-lspconfig: NeoVim LSP
- https://github.com/hrsh7th/nvim-cmp: Completion Engine
- iamcco/markdown-preview.nvim: Markdown Preview
- tomtom/tcomment_vim: Commenting
- nvim-telescope/telescope.nvim: Fuzzy file finding
- folke/todo-comments.nvim: Fancy TODO: comments
- folke/tokyonight.nvim: Colourscheme (customised)
- nvim-treesitter/nvim-treesitter: Syntax Highlighting
- mbbill/undotree: Improved Undo
- folke/which-key.nvim: Key Hints
Using lazy.vim
to create a modular structure in /lua
,
plugins/
contains all the plugin.lua
files and the/unused
directory for unused pluginsmanager.lua
to setuplazy.vim
remaps.lua
for key remappingssets.lua
for general settings
- Install NeoVim.
- Execute in terminal (Windows Powershell):
git clone https://github.com/ymich9963/nvim-config $HOME\AppData\Local\nvim
- Powershell 7 (
pwsh.exe
) is used for the terminal of choice. Remove the line insets.lua
for systems with nopwsh.exe
.
- Install NeoVim using the AppImage to get the latest version.
- Execute in terminal:
git clone https://github.com/ymich9963/nvim-config ~/.config/nvim
.
- Run
:Lazy sync
to make sure everything is working - For
markdown-preview
execute,cd $HOME\AppData\Local\nvim-data\lazy\markdown-preview.nvim\app\
andnpm install
- Setting up the LSP required combining the example given in the Mason docs by executing
:h mason-lspconfig-automatic-server-setup
and the setup provided bynvim-cmp
.