1.3 KiB
1.3 KiB
My NeoVim Config
This is just a dump of my NVim config.
Things to note before using
Normal mode "q" (macro shortcut) is disabled by default. If you want to enable
use of this shortcut, you can disable it in the init.lua
config file.
Installing This Config
- Clone the repo into
$HOME/.config/nvim
. - Invoke
git submodule update --init --recursive --depth=1
in$HOME/.config/nvim
.
Updating This Config
git pull
orgit fetch
and merge.git submodule update --init --recursive
- Open nvim and invoke
:TSUpdate
to update tree-sitter.
Enabling LSP
In NeoVim, invoke use the :call loadlsp#loadlspall()
, then reload the current open
files with :e
<leader>l
(backslash and l) shortcut and LSP
functionality will be enabled for the currently open file. If you have more
than one buffer open, you may have to reopen them (with :e) for lsp plugins to
take effect.
loadlsp#loadlspall()
is a custom function that can be found
here.
Other Notes
You can view currently registered normal-mode shortcuts with :nmap
.
If you want to improve/support/file-an-issue about this config, send it to:
stephen AT seodisparate DOT com