keybinds
This commit is contained in:
@@ -11,13 +11,31 @@
|
||||
|
||||
## Tabs
|
||||
|
||||
There are :hsplit, :vsplit commands, also :tabnew
|
||||
Pane movement:
|
||||
- C-h : move to left pane
|
||||
- C-j : move to lower pane
|
||||
- C-k : move to upper pane
|
||||
- C-l : move to right pane
|
||||
|
||||
Do leader-sf, C-t for new tab, C-v for vertical split, C-x for horizontal
|
||||
These keybinds come from telescope defaults. The tab functionality is built into
|
||||
neovim.
|
||||
Pane management:
|
||||
- C-q : close current pane
|
||||
- C-\ : vertical split
|
||||
- C-S-\ : horizontal split
|
||||
- <leader>po : keep current pane only
|
||||
|
||||
Tab cycling: gt, gT
|
||||
Tab management:
|
||||
- <leader>tn : new tab
|
||||
- <leader>tq : close tab
|
||||
- <leader>to : keep current tab only
|
||||
- <leader>th : previous tab
|
||||
- <leader>tl : next tab
|
||||
|
||||
Built-in tab cycling also works:
|
||||
- gt : next tab
|
||||
- gT : previous tab
|
||||
|
||||
Neo-tree:
|
||||
- C-n : toggle Neo-tree
|
||||
|
||||
## Autocompletes
|
||||
|
||||
@@ -33,3 +51,7 @@ C-k to open "documentation"
|
||||
use - to stage
|
||||
use cc to commit
|
||||
write a message and then :wq
|
||||
|
||||
Leader shortcuts:
|
||||
- <leader>gd : vertical git diff
|
||||
- <leader>gc : open fugitive git status
|
||||
|
||||
Reference in New Issue
Block a user