/nvim

My neovim configuration 100% written in lua.

Primary LanguageLua

nvim

Intro

Stars Size Activity

drawing

Neovim is a hyperextensible Vim-based text editor fully compatible with Vim's editing model and Vimscript v1.

This is my configuration of nvim highly inspired in LunarVim.

Project

Neovim look

drawing

File Explorer

drawing

Word Explorer

drawing

Tree

drawing

Terminal

drawing

Clone

git clone git@github.com:mlanca-c/nvim.git ~/.config/nvim

Plugins

  • packer.nvim -- Plugin/package management for Neovim.
  • popup.nvim -- An implementation of the Popup API from vim in Neovim.
  • plenary.nvim -- Useful lua functions for Neovim.
  • nvim-cmp -- A completion engine plugin for neovim written in Lua.
  • cmp-buffer -- A nvim-cmp source for buffer words.
  • cmp-path -- A nvim-cmp source for filesystem paths.
  • cmp-cmdline -- A nvim-cmp source for vim's cmdline.
  • cmp_luasnip -- A luasnip completion source for nvim-cmp.
  • cmp-nvim-lsp -- A nvim-cmp source for neovim's built-in language server client.
  • LuaSnip -- A snippet Engine for Neovim written in Lua.
  • friendly-snippets -- Snippets collection for a set of different programming languages for faster development.
  • nvim-lspconfig -- A collection of common configurations for Neovim's built-in language server client.
  • nvim-lsp-installer -- Neovim plugin that allows you to seamlessly install LSP servers locally.
  • null-ls.nvim -- Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua.
  • sonokai -- A high Contrast & Vivid Color Scheme based on Monokai Pro
  • nvcode-color-schemes.vim -- A bunch of generated colorschemes (treesitter supported).
  • nvim-treesitter -- A Neovim Treesitter configuration and abstraction layer.
  • nvim-ts-context-commentstring -- Neovim treesitter plugin for setting the commentstring based on the cursor location in a file.
  • telescope.nvim -- Find, Filter, Preview, Pick. All lua, all the time.
  • gitsigns.nvim -- Git integration for buffers.
  • nvim-tree.lua -- A file explorer tree for neovim written in lua.
  • nvim-web-devicons -- A lua fork of vim-devicons. This plugin provides the same icons as well as colors for each icon.
  • which-key.nvim -- Create key bindings that stick. WhichKey is a lua plugin for Neovim 0.5 that displays a popup with possible keybindings of the command you started typing.

Next Steps

Intall and Configure these plugins:

  • project.nvim -- An all in one Neovim plugin that provides superior project management.
  • impatient.nvim -- Speed up loading Lua modules in Neovim to improve startup time.
  • indentline -- Indent guides for Neovim.
  • alpha -- A lua powered greeter like vim-startify/dashboard-nvim.
  • nvim-scrollbar
  • Multiple cursor support.
  • Create Documentation for this neovim onfiguration.

Install nvim

Ubuntu

sudo add-apt-repository ppa:neovim-ppa/unstable
sudo apt-get update
sudo apt-get install neovim

macOS

Download nvim-macos.tar.gz
Extract: tar xzvf nvim-macos.tar.gz
Run ./nvim-osx64/bin/nvim

Windows

Download nvim-win64.zip
Extract the zip.
Run nvim-qt.exe

References