Skip to content

Commit d5d806d

Browse files
committed
tip about gD.
also fixed section of previous commit.
1 parent 991532e commit d5d806d

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

vim notes.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,12 @@
123123

124124
- g/pattern/norm <command> applies that norm command to all lines matching the pattern.
125125

126+
- use :ij <term> to jump to the first instance of term that is not in a comment.
127+
128+
- use :ij! <term> to jump to the first instance of that term.
129+
130+
- use gD to search from the beginning of the file for the word under the cursor.
131+
126132

127133
## visual mode
128134

@@ -180,7 +186,4 @@
180186

181187
- sort! sorts in reverse, sort u removes duplicates, sort n sorts numerically.
182188

183-
- use :ij <term> to jump to the first instance of term that is not in a comment
184-
185-
- use :ij! <term> to jump to the first instance of that term.
186189

0 commit comments

Comments
 (0)