Skip to content

Commit 8aa3105

Browse files
committed
feat: add got to definition description
1 parent 5f4fe67 commit 8aa3105

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

blog/2024-06-22-vim-tips.md

+29
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,35 @@ or if multiple windows are opened close them all
3737
:qa
3838
```
3939

40+
### Navigatig
41+
42+
Beyond normal vim movements like scrolling with
43+
```
44+
ctrl + f
45+
```
46+
and scrolling backward with
47+
```
48+
ctrl + b
49+
```
50+
there are several especially useful if you edit code
51+
52+
*gd* or *gD* for go to definition of a function variable etc.
53+
54+
After that you can use go back to last cursor position with
55+
56+
```
57+
ctl+o
58+
```
59+
60+
and forward to last position with
61+
62+
63+
```
64+
ctl+i
65+
```
66+
67+
68+
4069
### Split windows and navigate between them
4170

4271
The magic command to split vertically is :vsplit command

0 commit comments

Comments
 (0)