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`
|
||||
to check base and all plugins
|
||||
- `:Lazy` to bring up package manager UI
|
||||
- `:Mason` to show Mason UI
|
||||
- `:verbose set expandtab?` check where `expandtab` has been set last
|
||||
|
||||
#### Navigation
|
||||
|
|
@ -104,8 +105,8 @@ This is how it looks like:
|
|||
|
||||
##### Code editing
|
||||
|
||||
- `leader+i` re-indent whole file
|
||||
- `leader+o` re-format whole file or visual with `conform.nvim`
|
||||
- `leader`+`i` re-indent whole file
|
||||
- `leader`+`o` re-format whole file or visual with `conform.nvim`
|
||||
- `i` insert mode at cursor position
|
||||
- `I` insert mode at the **beginning of the line**
|
||||
- `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 line mode
|
||||
- `Ctrl+v` visual block mode
|
||||
- `Ctrl`+`v` visual block mode
|
||||
|
||||
##### Tab navigation
|
||||
|
||||
(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
|
||||
|
||||
##### Window navigation
|
||||
|
||||
- `Ctrl+wq` close window
|
||||
- `Ctrl+ws` split window horizontally
|
||||
- `Ctrl+wv` split window vertically
|
||||
- `Ctrl+<h/j/k/l>` switch between split windows
|
||||
- `Ctrl`+`wq` close window
|
||||
- `Ctrl`+`ws` split window horizontally
|
||||
- `Ctrl`+`wv` split window vertically
|
||||
- `Ctrl`+`<h/j/k/l>` switch between split windows
|
||||
- `Ctrl`+`w=` equalize split window width and height
|
||||
|
||||
##### Buffer navigation
|
||||
|
||||
- `Space+Space` shows open buffers (via `Telescope buffers`)
|
||||
- `Space`+`Space` shows open buffers (via `Telescope buffers`)
|
||||
- `:bd` close current buffer
|
||||
|
||||
### Telescope
|
||||
|
||||
#### Navigation in live_grep, find_files, git_status and file_browser
|
||||
|
||||
- `↓` or `Ctrl+n` scroll down (**n**ext) file list
|
||||
- `↑` or `Ctrl+p` scroll up (**p**revious) file list
|
||||
- `Ctrl+d` scroll **d**own in preview
|
||||
- `Ctrl+u` scroll **u**p in preview
|
||||
- `Ctrl+/` help
|
||||
- `↓` or `Ctrl`+`n` scroll down (**n**ext) file list
|
||||
- `↑` or `Ctrl`+`p` scroll up (**p**revious) file list
|
||||
- `Ctrl`+`d` scroll **d**own in preview
|
||||
- `Ctrl`+`u` scroll **u**p in preview
|
||||
- `Ctrl`+`/` help
|
||||
|
||||
### Treesitter
|
||||
|
||||
- `:TSUpdate` update all parsers
|
||||
- `:TSModuleInfo` show installed parsers
|
||||
|
||||
### LSP
|
||||
|
||||
- `LspInfo` show attached LSP client info
|
||||
|
||||
## Open issues/TODOs
|
||||
|
||||
- ollama integration <https://github.com/nomnivore/ollama.nvim>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue