readme updates
This commit is contained in:
@@ -51,17 +51,14 @@ Oil usage:
|
||||
- `<A-h>` also goes to the parent directory
|
||||
- `<A-l>` opens the selected file or enters the selected directory
|
||||
- `<C-p>` previews the selected entry
|
||||
- `go` opens the file in external viewer
|
||||
- `gx` opens the file in external viewer
|
||||
|
||||
## Window Navigation
|
||||
|
||||
Move between windows with:
|
||||
|
||||
```vim
|
||||
<C-h> left
|
||||
<C-j> down
|
||||
<C-k> up
|
||||
<C-l> right
|
||||
<C-hjkl>
|
||||
```
|
||||
|
||||
Cycle through windows:
|
||||
@@ -72,24 +69,16 @@ Cycle through windows:
|
||||
|
||||
## Terminal
|
||||
|
||||
Leave terminal mode and return to normal mode:
|
||||
|
||||
```vim
|
||||
<C-Esc>
|
||||
```
|
||||
|
||||
or
|
||||
Two options to leave terminal mode and return to normal mode:
|
||||
|
||||
```vim
|
||||
<\\-Esc>
|
||||
|
||||
<C-Esc>
|
||||
```
|
||||
|
||||
## LSP
|
||||
|
||||
Mason is installed through `vim.pack` together with `mason-lspconfig.nvim` and `nvim-lspconfig`.
|
||||
|
||||
This config automatically installs and enables the managed language servers on first start. The current managed set is `bashls`, `clangd`, `jsonls`, `lua_ls`, `marksman`, `taplo`, `ts_ls`, and `yamlls`.
|
||||
|
||||
Useful Mason commands:
|
||||
|
||||
```vim
|
||||
@@ -113,8 +102,8 @@ Diagnostics:
|
||||
- `gle` display error information
|
||||
- `gie` toggle inline errors
|
||||
- `gve` toggle virtual line errors
|
||||
- `g]` jump to next error
|
||||
- `g[` jump to previous error
|
||||
- `]g` jump to next error
|
||||
- `[g` jump to previous error
|
||||
|
||||
## Tree-sitter
|
||||
|
||||
|
||||
Reference in New Issue
Block a user