MyNeoVimConfig/README.md

40 lines
1.3 KiB
Markdown
Raw Normal View History

2023-07-06 07:17:32 +00:00
# My NeoVim Config
This is just a dump of my NVim config.
2024-02-21 05:23:00 +00:00
## 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.
2023-07-06 07:41:47 +00:00
## Installing This Config
2023-07-06 07:17:32 +00:00
2023-07-06 07:24:52 +00:00
1. Clone the repo into `$HOME/.config/nvim`.
2023-07-06 07:51:48 +00:00
2. Invoke `git submodule update --init --recursive --depth=1` in
2023-07-06 07:24:52 +00:00
`$HOME/.config/nvim`.
2023-07-06 07:17:32 +00:00
2023-08-06 10:05:10 +00:00
## Updating This Config
1. `git pull` or `git fetch` and merge.
2. `git submodule update --init --recursive`
2023-09-06 05:03:15 +00:00
3. Open nvim and invoke `:TSUpdate` to update tree-sitter.
2023-08-06 10:05:10 +00:00
2023-07-06 07:17:32 +00:00
## Enabling LSP
In NeoVim, ~~invoke `:call loadlsp#loadlspall()`, then reload the current open
2024-02-21 06:00:50 +00:00
files with `:e`~~ use the `<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.
2023-07-06 07:39:20 +00:00
`loadlsp#loadlspall()` is a custom function that can be found
[here](https://git.seodisparate.com/stephenseo/MyNeoVimConfig/src/branch/main/pack/packages/start/loadlsp/autoload/loadlsp.vim).
2023-07-06 07:50:04 +00:00
## Other Notes
2024-02-21 06:18:09 +00:00
You can view currently registered normal-mode shortcuts with `:nmap`.
2023-07-06 07:50:04 +00:00
If you want to improve/support/file-an-issue about this config, send it to:
stephen AT seodisparate DOT com