A very fast Lua based Neovim configuration that uses coc.nvim for intellisense
This is a configuration for Neovim. It's written in Lua, and uses modern plugins like Treesitter, Telescope, and Lualine. It does however not implement the native Neovim LSP. It's very fast, good looking, and has a lot of nice features.
quick.nvim.mp4
- Lualine
- Packer
- Plenary
- Surround
- Telescope
- Tokyo Night
- Treesitter
- coc
- nvim-ts-context-commentstring
- nvim-web-devicons
- vim-commentary
If you want to receive updates as this configuration gets patched, then clone
this repository into your .config
directory, or wherever you keep your
current Neovim configuration.
git clone [email protected]:albingroen/quick.nvim.git ~/.config/nvim
On the other hand, if you want a raw folder with the configuration files, without git connected to it, you can head over to the releases page, and download a release from there.
https://github.com/albingroen/quick.nvim/releases
quick.nvim uses Packer as its Neovim plugin manager.
git clone --depth 1 https://github.com/wbthomason/packer.nvim\
~/.local/share/nvim/site/pack/packer/start/packer.nvim
To install the plugins used by quick.nvim, you need to do so using Packer.
nvim ~/.config/nvim/init.lua
:PackerInstall
PS. If you're having trouble running :PackerInstall
after this, please follow the instructions in this issue: albingroen#2
In order for the Telescope live_grep functionality to work, you need to have ripgrep installed on your machine. Please reference the official ripgrep installation options, but if run Homebrew, you can install it like this.
brew install rg
This configuration uses coc.nvim for intellisense, instead of the built-in Neovim LSP. This is because I think it's not quite mature yet, pretty tricky to configure, and doesn't have a quite as many languages and frameworks supported.
quick.nvim doesn't ship with any default coc plugins though, so you have to install the ones you want to use. For example if you want to use quick.nvim for TypeScript programming, you'll have to install the coc-tsserver plugin like this.
:CocInstall coc-tsserver
<leader> = "<Space/>"
Plugin | Mapping | Action |
---|---|---|
<C-H> | Move one split left | |
<C-J> | Move one split down | |
<C-K> | Move one split up | |
<C-L> | Move one split right | |
<C-N> | Open file explorer | |
<C-S> | Open search & replace | |
<leader-t> | Open a terminal buffer | |
sp | Split window horizontally | |
tj | Move one tab left | |
tk | Move one tab right | |
tn | Create a new tab | |
to | Close all other tabs | |
vs | Split window vertically | |
coc | K | Hover over symbol |
coc | <C-Space> | Open autocompletion |
coc | <CR> | Select autocompletion |
coc | <S-TAB> | Browse previous autocompletion |
coc | <TAB> | Browse next autocompletion |
coc | <leader>. | Open code actions |
coc | <leader>f | Format file with prettier |
coc | <leader>l | Execute code autofix |
coc | <leader>rn | Rename symbol |
coc | gd | Go to definition |
Telescope | <C-B> | Open buffer picker |
Telescope | <C-F> | Open project search |
Telescope | <C-P> | Open file picker |