add window split to readme
This commit is contained in:
parent
cbd4c176ef
commit
a5c4561711
1 changed files with 20 additions and 14 deletions
34
README.md
34
README.md
|
|
@ -92,6 +92,7 @@ This is how it looks like:
|
||||||
- `:checkhealth <pluginname>` check for problems of a plugin. Use `:checkhealth`
|
- `:checkhealth <pluginname>` check for problems of a plugin. Use `:checkhealth`
|
||||||
to check base and all plugins
|
to check base and all plugins
|
||||||
- `:Lazy` to bring up package manager UI
|
- `:Lazy` to bring up package manager UI
|
||||||
|
- `:Mason` to show Mason UI
|
||||||
- `:verbose set expandtab?` check where `expandtab` has been set last
|
- `:verbose set expandtab?` check where `expandtab` has been set last
|
||||||
|
|
||||||
#### Navigation
|
#### Navigation
|
||||||
|
|
@ -104,8 +105,8 @@ This is how it looks like:
|
||||||
|
|
||||||
##### Code editing
|
##### Code editing
|
||||||
|
|
||||||
- `leader+i` re-indent whole file
|
- `leader`+`i` re-indent whole file
|
||||||
- `leader+o` re-format whole file or visual with `conform.nvim`
|
- `leader`+`o` re-format whole file or visual with `conform.nvim`
|
||||||
- `i` insert mode at cursor position
|
- `i` insert mode at cursor position
|
||||||
- `I` insert mode at the **beginning of the line**
|
- `I` insert mode at the **beginning of the line**
|
||||||
- `a` insert mode **one character after the current** one
|
- `a` insert mode **one character after the current** one
|
||||||
|
|
@ -117,42 +118,47 @@ This is how it looks like:
|
||||||
|
|
||||||
- `v` visual mode at cursor position
|
- `v` visual mode at cursor position
|
||||||
- `V` visual mode line mode
|
- `V` visual mode line mode
|
||||||
- `Ctrl+v` visual block mode
|
- `Ctrl`+`v` visual block mode
|
||||||
|
|
||||||
##### Tab navigation
|
##### Tab navigation
|
||||||
|
|
||||||
(Don't use tabs by default, but use buffers instead).
|
(Don't use tabs by default, but use buffers instead).
|
||||||
|
|
||||||
- `Ctrl+t` to open a file in e.g. a Telescope finder in a new tab
|
- `Ctrl`+`t` to open a file in e.g. a Telescope finder in a new tab
|
||||||
- `gt` or `gT` to switch between open tabs
|
- `gt` or `gT` to switch between open tabs
|
||||||
|
|
||||||
##### Window navigation
|
##### Window navigation
|
||||||
|
|
||||||
- `Ctrl+wq` close window
|
- `Ctrl`+`wq` close window
|
||||||
- `Ctrl+ws` split window horizontally
|
- `Ctrl`+`ws` split window horizontally
|
||||||
- `Ctrl+wv` split window vertically
|
- `Ctrl`+`wv` split window vertically
|
||||||
- `Ctrl+<h/j/k/l>` switch between split windows
|
- `Ctrl`+`<h/j/k/l>` switch between split windows
|
||||||
|
- `Ctrl`+`w=` equalize split window width and height
|
||||||
|
|
||||||
##### Buffer navigation
|
##### Buffer navigation
|
||||||
|
|
||||||
- `Space+Space` shows open buffers (via `Telescope buffers`)
|
- `Space`+`Space` shows open buffers (via `Telescope buffers`)
|
||||||
- `:bd` close current buffer
|
- `:bd` close current buffer
|
||||||
|
|
||||||
### Telescope
|
### Telescope
|
||||||
|
|
||||||
#### Navigation in live_grep, find_files, git_status and file_browser
|
#### Navigation in live_grep, find_files, git_status and file_browser
|
||||||
|
|
||||||
- `↓` or `Ctrl+n` scroll down (**n**ext) file list
|
- `↓` or `Ctrl`+`n` scroll down (**n**ext) file list
|
||||||
- `↑` or `Ctrl+p` scroll up (**p**revious) file list
|
- `↑` or `Ctrl`+`p` scroll up (**p**revious) file list
|
||||||
- `Ctrl+d` scroll **d**own in preview
|
- `Ctrl`+`d` scroll **d**own in preview
|
||||||
- `Ctrl+u` scroll **u**p in preview
|
- `Ctrl`+`u` scroll **u**p in preview
|
||||||
- `Ctrl+/` help
|
- `Ctrl`+`/` help
|
||||||
|
|
||||||
### Treesitter
|
### Treesitter
|
||||||
|
|
||||||
- `:TSUpdate` update all parsers
|
- `:TSUpdate` update all parsers
|
||||||
- `:TSModuleInfo` show installed parsers
|
- `:TSModuleInfo` show installed parsers
|
||||||
|
|
||||||
|
### LSP
|
||||||
|
|
||||||
|
- `LspInfo` show attached LSP client info
|
||||||
|
|
||||||
## Open issues/TODOs
|
## Open issues/TODOs
|
||||||
|
|
||||||
- ollama integration <https://github.com/nomnivore/ollama.nvim>
|
- ollama integration <https://github.com/nomnivore/ollama.nvim>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue