https://github.com/david-else/neovim-config
neovim-config
https://github.com/david-else/neovim-config
Last synced: about 1 year ago
JSON representation
neovim-config
- Host: GitHub
- URL: https://github.com/david-else/neovim-config
- Owner: David-Else
- Created: 2023-01-31T15:01:04.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-01-31T15:01:33.000Z (over 3 years ago)
- Last Synced: 2025-02-17T04:26:54.456Z (over 1 year ago)
- Language: Lua
- Size: 20.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Neovim custom key mappings
```
General LSP
------- ---
jk = escape gD = jumps to the declaration
ctrl-s = save gd = jumps to the definition
gh/gl/gs = goto line start/end/1st char k = displays hover information
p = paste from 0 register ctrl-k = displays signature info
ts = open terminal below gi = lists all implementations
tv = open terminal to the right in the quickfix window
qa = quit all gr = list all symbol references
c = toggle colorcolumn wa = add workspace folder
n = toggle line numbers wr = remove workstation folder
z = toggle zen mode wl = list workstation folders
d = toggle diagnostics D = jump to type definition
r = rename all symbol references
fzf.vim a = selects a code action
-------
f = open file explorer
b = open buffers Diagnostics
h = open file history -----------
/ = ripgrep search results e = show diagnostics from line
l = sets the location list
ctrl-/ = toggle preview window [d = move to previous diagnostic
ctrl-t/x/v = open in new tab/split/vert ]d = move to next diagnostic
Comment-nvim
------------
NORMAL VISUAL
gcc = toggles line using linewise comment gc = Toggles the region using linewise comment
gbc = toggles line using blockwise comment gb = Toggles the region using blockwise comment
```
For all the Vim/Neovim built in shortcuts please check out
https://www.elsewebdevelopment.com/ultimate-vim-keyboard-shortcuts/
### Neovim plugins
This is a list of all the plugins used, please follow the links to read about
how to operate them.
- [nvim-treesitter](https://github.com/nvim-treesitter/nvim-treesitter) - Nvim
Treesitter configurations and abstraction layer
- [nvim-lspconfig](https://github.com/neovim/nvim-lspconfig) - Quickstart
configurations for the Nvim LSP client
- [nvim-cmp](https://github.com/hrsh7th/nvim-cmp/) - Auto completion plugin for
Nvim written in Lua
- [nvim-lightbulb](https://github.com/kosayoda/nvim-lightbulb) - Shows a
lightbulb whenever a `textDocument/codeAction` is available at the current
cursor position
- [nvim-markdown-preview](https://github.com/davidgranstrom/nvim-markdown-preview) -
Markdown preview in the browser using pandoc/live-server through Neovim's
job-control API
- [zen-mode.nvim](https://github.com/folke/zen-mode.nvim) - Distraction-free
coding for Neovim
- [null-ls.nvim](https://github.com/jose-elias-alvarez/null-ls.nvim) - Use
Neovim as a language server to inject LSP diagnostics, code actions, and more
via Lua
- [comment.nvim](https://github.com/numToStr/Comment.nvim) - Comment stuff out
- [fzf.vim](https://github.com/junegunn/fzf.vim) - fzf vim wrapper