lazygit + docs
This commit is contained in:
@@ -37,6 +37,11 @@ Telescope shortcuts:
|
||||
- `<leader>fb` list buffers
|
||||
- `<leader>fh` browse help tags
|
||||
|
||||
Git shortcuts:
|
||||
|
||||
- `:Git` to run commands directly (`:Git status`, `:Git log --oneline`)
|
||||
- `<leader>lg` open LazyGit
|
||||
|
||||
Oil usage:
|
||||
|
||||
- `<leader>dl` opens the file browser
|
||||
@@ -70,7 +75,13 @@ Cycle through windows:
|
||||
Leave terminal mode and return to normal mode:
|
||||
|
||||
```vim
|
||||
<Esc>
|
||||
<C-Esc>
|
||||
```
|
||||
|
||||
or
|
||||
|
||||
```vim
|
||||
<\\-Esc>
|
||||
```
|
||||
|
||||
## LSP
|
||||
@@ -87,9 +98,7 @@ Useful Mason commands:
|
||||
:checkhealth mason
|
||||
```
|
||||
|
||||
`ts_ls` provides TypeScript and JavaScript language server support after Mason installs `typescript-language-server`.
|
||||
|
||||
When an LSP server is attached to the current buffer:
|
||||
Useful LSP commands:
|
||||
|
||||
- `gd` go to definition
|
||||
- `gD` go to declaration
|
||||
@@ -109,7 +118,7 @@ Diagnostics:
|
||||
|
||||
## Tree-sitter
|
||||
|
||||
Tree-sitter is managed with `nvim-treesitter` via `vim.pack`. `tree-sitter-cli` and a C compiler is required to be installed.
|
||||
`tree-sitter-cli` and a C compiler is required to be installed.
|
||||
|
||||
Useful commands:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user