This repository includes the configuration files needed for my Neovim setup.
It is recommended to use this as a base for your own Neovim configuration instead of just blindly copying it.
REQUIRED DEPENDENCIES:
- NodeJS (Nvm recommended)
- Git
Recommended Dependencies
- RipGrep (Telescope FuzzyFinder)
- gcc (System GNU C compiler for treesitter)
- g++ (System GNU C++ compiler for treesitter)
- make (for native fzf to work)
- xclip (for clipboard between vm and host)
# Ubuntu
sudo apt install -y git ripgrep gcc g++ make
# Opensuse
sudo zypper install -y git ripgrep gcc gcc-c++ make
1.) Install latest neovim appimage
# Download nvim.appimage from the link above
chmod u+x nvim.appimage
./nvim.appimage
# OPTIONAL: Expose neovim globally
sudo mkdir /neovim && sudo mv nvim.appimage /neovim
sudo ln -s /neovim/nvim.appimage /usr/bin/nvim
nvim
1.2.) If your distro doesn't have FUSE
./nvim.appimage --appimage-extract
./squashfs-root/usr/bin/nvim
# OPTIONAL: Expose neovim globally
sudo mv squashfs-root/ /neovim/
sudo ln -s /neovim/squashfs-root/usr/bin/nvim /usr/bin/nvim
2.) Open Neovim and let it install the plugins
# You might need to repeat this step a few times
# If problems arise, check the health of your neovim installation
nvim --version
nvim # :checkhealth
- nvim-lua/plenary.nvim
- nvim-tree/nvim-web-devicons
- onsails/lspkind.nvim - Nice icons for LSP
- navarasu/onedark.nvim - Currently using
- folke/tokyonight.nvim
- tpope/vim-surround - "ys", "ds" and "cs"
- tpope/vim-commentary - "gc" or "gcc"
- christoomey/vim-tmux-navigator - Seamless navigation between Neovim and Tmux
- nvim-telescope/telescope.nvim - File finder
- folke/trouble.nvim - Navigating diagnostics
- neovim/nvim-lspconfig - Easier way to configure LSP servers
- williamboman/mason.nvim - LSP server manager
- williamboman/mason-lspconfig.nvim - Bridges gap between mason & lspconfig
- L3MON4D3/LuaSnip - Snippet Engine
- github/copilot.nvim - Github Copilot integration
- hrsh7th/nvim-cmp - Autocompletion engine
- hrsh7th/cmp-nvim-lsp - LSP completion
- hrsh7th/cmp-buffer - Buffer's text completion
- hrsh7th/cmp-path - File path completion
- hrsh7th/cmp-cmdline - Command line completion
- saadparwaiz1/cmp_luasnip - Snippet completion
- lewis6991/gitsigns.nvim - Git decorations
- mbbill/undotree - Visualize undo history and switch between old undos
- folke/noice.nvim - Improves the command-line access
- rcarriga/nvim-notify - Notifications for Neovim
- www.chiarulli.me/Neovim/20-live-server - For automatically refreshing the browser
npm install -g live-server
# preview a folder
live-server some-directory/
# or a singular file
live-server some-file.html