Don't know where to start with NeoVim? Just want a quick-start template with bare-bones IDE functionality? Or just want to restart your Vim setup but with NeoVim?
Hopefully this makes your life easier!
This template provides a lazy.nvim setup with some bare-bones plugins and lua configurations, lightly organized so that it should be simple to see what's going on if you're new to NeoVim & Lua, but just complex enough to showcase what's possible with the NeoVim LuaJIT runtime.
Make sure that you have:
python
installed, with a working installation ofpip
(e.g.:apt install python py-pip
)- NeoVim version
>= 0.11
(e.g.:brew install neovim
)
MacOS users have it easy, you should just be able to use brew
to install everything.
For other users, you may have to compile neovim
from source.
brew update
brew install neovim python3 ripgrep
Note that this installs python3
globally. python2
may be ok just as long as you have pip
installed (I haven't tested it 🤪 )
- Click the
Use template
button to the top right 👆 - Clone down your new repo
cd
into your repo. Runmake
- this will symlink all files in yourhome
directory to this repository.
Run nvim
, and Lazy
will start up and download everything for you!
Now that you've made your own configuration repository from this template, remember that you can customize it yourself!
Checkout the AWESOME NeoVim Repo for ideas.
If anything goes wrong, you should be able to just run make clean
and start over.
The structure of this template is set up so that you can include it as a submodule in your own dotfiles repo.
Steps:
- make your own copy/fork of this repo (green button at top right of repo)
git submodule add [email protected]:<username>/<renamed-neovim-template-repo> .config/nvim
For a full list of features pre-baked, checkout the key-bindings.lua
file.
A few selling points though!
Leader
is mapped to<Space>
- so for the next couple of shortcuts, you hitSpacebar
for<Leader>
<Leader><Tab>
opens up Nerdtree<Leader>p
opens up fuzzy-file search<Leader>g
opens up a live-grep search UI (via Telescope.nvim)- As stated above -
coq_vim
is installed (insanely fast auto-completion engine)
For a full list of keyboard shortcuts and details checkout the keybindings file
This template tries to keep things minimal. So fonts are omitted, even though some plugins can utilize them. For awesome fonts checkout:
- Nerd Fonts / FontForge
- When using iTerm2, turn on glyphs support