lazygit + docs

This commit is contained in:
2026-06-28 14:29:32 +02:00
parent 7521292d38
commit 26c53fe210
5 changed files with 30 additions and 5 deletions
+14 -5
View File
@@ -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: