Skip to content

wayjam/vim-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NeoVim Config

License: MIT GitHub repo size

Modern NeoVim config.

Prerequisites

  • NeoVim(0.8+)

Installation

Clone this repo and put it to ~/.config/nvim :

mkdir -p ~/.config
cd ~/.config
git clone https://github.com/wayjam/vim-config.git nvim

Note: Symlink for "regular" vim: ln -s ~/.config/nvim ~/.vim

Feature

Plugin Manager

Using lazy.nvim as plugin manager.

Update Plugin(the plugins are not updated automatically):

:Lazy

LSP && Dap && Formatter

Using the Neovim's built-in language server client with nvim-lspconfig, and you can install lsp server with Mason:

:Mason

Complete

Configured nvim-cmp with LusSnip and friendly-snippets.

Customize

Lua file in customize/before will source before all pre-configured plugins, Lua file in customize/after will source after all pre-configured plugins.

Upgrade

cd ~/.config/nvim
git pull --ff --ff-only

Troubleshooting

treesitter compile: error trying to exec 'cc1plus': execvp: No such file or directory

Just get g++ installed and then treesitter works.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Releases

No releases published

Packages

No packages published