This is a neovim config
that was created by combining some of my neovim config
in addition to other people's configs who will be mentioned in the
Special Thanks section. Feel free to copy this configuration
and use it, fork it, etc. If you would like something implemented in this main
config
open a PR.
This neovim config
has lsp-zero
installed. There's autocompletion support for various languages including:
- HTML
- CSS
- Java Script
- Latex
- Bash
- Markdown
It also provides spell-check for the English language.
If you'd like support for more languages you can install their servers using
the :Mason
command after setting up this config
. [Null-ls] helps formatting, but
you will have to have the formatter installed (e.g Prettier for JS)
This neovim config
has [fugitive] and [gitsigns] plugins installed to provide
aesthetics to the buffer window in addition to git functionality. You can use
[fugitive] by using the binding <leader>gs
which will let you stage your changes
and commit them.
There's nothing really here except that syntax highlighting is done by [treesitter].
You can build Latex files using the hotkey <space>lb
. Latex support is
provided by [vimtex]. It opens zathura
by default to view the rendered PDF.
You can preview markdown files in your browser by pressing the binding
<space>mp
. The config
uses [markdown-preview] for this purpose.
Easily switch between buffers with [harpoon]. Check after/plugin/harpoon.lua
for the full list of keybindings.
You can comment by highlighting the lines you want to comment and then press gc
to comment. In normal mode, to comment a line, press gcc
.
You can easily use the terminal inside neovim with this config
. Press the binding
<C-\>
in normal mode to launch toggleterm.
For aesthetic purposes, lualine is installed. You can change its theme by
editing after/plugin/lualine.lua
. You can check for available lualine themes
here.
Use <space>e
to open nvim-tree and browse your files there.
You can use telescope by pressing the binding <space>pf
to switch search
and open files FAST. You can also use <space>ps
to search for a specific string
of text in the files of the directory you're currently in.
cargo
npm
These dependencies are required by Mason
to install appropriate LSP servers.
- Backup your existing neovim
config
$ mv ~/.config/nvim ~/.config/nvim.bak
- Clone this repository
$ git clone https://github.com/gontoblez/
- Rename the cloned directory and move it to
$HOME/.config/
$ mv $HOME/.config/nvim