diff options
author | Oxbian <got.dacs@slmail.me> | 2023-12-02 22:03:41 +0100 |
---|---|---|
committer | Oxbian <got.dacs@slmail.me> | 2023-12-02 22:03:41 +0100 |
commit | 6c5f19bf6524fc38c4288858f9f03c0fbc325556 (patch) | |
tree | ff16fe3d4429b0309756eab4f38e4908d04204c0 /README.md | |
parent | 900c5ae36832b3426596b59cb89b6e5c1f87e38b (diff) | |
download | vimrc-6c5f19bf6524fc38c4288858f9f03c0fbc325556.tar.gz vimrc-6c5f19bf6524fc38c4288858f9f03c0fbc325556.zip |
ADD: CoC Lsp, and update README
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 28 |
1 files changed, 13 insertions, 15 deletions
@@ -22,18 +22,17 @@ This config has just the necessary plugins installed: ### Themes - [OneDark](https://github.com/joshdick/onedark.vim) onedark theme. +- [Zenbones](https://github.com/mcchrish/zenbones.nvim) zenbones theme. ### Graphics utilities - [Vim which key](https://github.com/liuchengxu/vim-which-key) show leader keybinds in a GUI. - [Vim gitgutter](https://github.com/airblade/vim-gitgutter) to see diff between files with git. +- [Css color](https://github.com/ap/vim-css-color) preview css colors. ### LSP -- [Vim-lsp](https://github.com/prabirshrestha/vim-lsp) linter & formatter for language. -- [Vim-lsp settings](https://github.com/mattn/vim-lsp-settings) easily setup lsp servers for languages. -- [Asyncomplete](https://github.com/prabirshrestha/asyncomplete.vim) async autocompletion -- [Asyncomplete & lsp-vim](https://github.com/prabirshrestha/asyncomplete-lsp.vim) use vim-lsp as source for autocompletion lsp server. +- [CoC](https://github.com/neoclide/coc.nvim) a LSP plugin that work like VsCode LSP, and in Node (yeah I don't like it too but no choice...). - [Vim Wakatime](https://github.com/wakatime/vim-wakatime) to have wakatime time tracking in vim. ### Languages utilities @@ -112,18 +111,17 @@ Hunks are the difference between your file and the git file. ### LSP -For help, use `:help vim-lsp`. +For help, use `:help coc`. Keybinds: -- `<leader>ld` go to the definition, -- `<leader>lnd` go to the next diagnostic, -- `<leader>lpd` go to the previous diagnostic, -- `<leader>lf` go to the reference, -- `<leader>lr` rename element, -- `<leader>ls` stop lsp server, -- `<leader>lp` peek a view to the definition, -- `<leader>la` code action, -- `<leader>lh` lsp hover, -- `<leader>ldf` format document. +- `<leader>gd` go to the definition, +- `<leader>gn` go to the next diagnostic, +- `<leader>gp` go to the previous diagnostic, +- `<leader>gr` go to the reference, +- `<leader>gR` rename element, +- `<leader>gy` type definition, +- `<leader>gi` go to implementation, +- `<leader>gh` documentation, +- `<leader>gf` format document. ## Linters & fixers |