Logo

index : nvim-config

---

  • summary
  • about
  • tree
  • log
  • branches
<< path: root/public/nvim-config.git/html/README.md blob: 001f1e2a4bb7cd5f0893af52f6fc206690f21f20 [raw] [clear marker]

        
0# My Neovim config
1## Shortcuts
2
3```text
4 ~Misc
5File explorer <space>pv
6Fuzzy finder <space>pf
7Grep search <space>ps
8
9Brackets around word N: yswb
10Brackets around mark V: S)
11 *curly brackets V: S}
12Delete delimiters N: ds<delimiter>
13
14Move line up V: K
15 down V: J
16
17half-page down N: <C-d>
18half-page up N: <C-u>
19page up N: <C-b>
20page down N: <C-f>
21
22Copy to OS clipboard V: <space>c
23
24Show vertical diff :vert diffs <filename>
25
26Convert \ to / V: <space>win
27```
28
29```text
30 ~Tabs
31New tab N: <space>t or :tab split
32New tab on file N: <space>f or Ctrl+W+gf
33```
34
35```text
36 ~Comments
37Comment line out N: gcc
38Combine motions N: gc<motion>
39Comment marked V: gc
40Uncomment N: gcgc
41```
42
43```text
44 ~Panes
45New pane :new
46 :vnew
47
48Split pane :sp
49 :vsp
50
51Change pane <C-w>hjkl (or arrow keys)
52Close pane :q
53
54Move panes: <C-w>HJKL
55
56Change pane size <space>, (horizontal)
57 <space>.
58 <space>+ (vertical)
59 <space>#
60
61Reset pane size <space>-
62```
63
64```text
65 ~Module :Ex
66Toggle hidden files gh
67Create file %
68Create directory d
69Delete file/directory D
70Rename file/directory R
71
72Assign target dir mt
73Mark file/dir for cp/mv mf
74Copy marked to target mc
75Move marked to target mm
76Run ext. cmd on marked mx
77```
78
79```text
80 ~Module fugitive
81Open Git cmd <space>gs
82
83stage (add) file s
84unstage u
85toggle stage/unstage -
86unstage everything U
87
88create commit cc
89amend commit (w/ msg) ca
90amend commit (w/o msg) ce
91
92toggle inline diff =
93insert inline diff >
94
95Git diff split dd
96close diff buffer dq
97
98open in new hsplit gO
99open in new tab O
100```
101
102```text
103 ~Module telescope
104Find files <space>pf
105Find files (git) <C-p>
106Grep <space>ps
107```
108
109```text
110 ~CTAGS
111Go to definition gd
112Open definition K
113 in new pane
114Jump back <C-o> or <C-t>
115```
116
117
Copyright 2026  E766CB298A6D1E64 | Git-Thing heavily inspired by cgit