Thank you so much! I think there are too many beginner vim videos out there so I wanted to cater for vim users who have a bit more experience under their belt (that and newbies who aren't afraid of diving into the deep end heheh)
Such and amaing video (Y) Kudos for clearly breaking down and organizing all the use-cases for text-objects. I think I am gonna some of these myself :D Very information video. Thankyou for sharing
Here are some timestamps, makes skipping to the right part an awful lot easier ;-) 0:00 - Intro 0:41 - a = Arguments 1:58 - b - Brackets (various) 2:51 - c - Comments 3:22 - d - Docstrings 3:42 - e - Examples (Code Fences) 4:29 - f - Functions 5:48 - g - Git Chunk 7:04 - gn - Go Next (Aside) 7:43 - h - Left Character 8:13 - i - Indentation Level 9:28 - j - Junction of next word segment 11:18 - k - Opposite of j 11:25 - l - Character object to right 11:57 - m - Modified 12:30 - n - Number 12:54 - o - Objects (classes) 13:59 - p - Paragraph 14:33 - q - Quotes 15:03 - r - README headers 15:29 - s - Sentences 16:16 - t - Tags 17:19 - un - Universe 17:50 - v - Value (in key-value pairs) 18:41 - w - Word 19:13 - x - HTML/XML attributes 19:44 - y - Y-dimension blank lines 20:07 - z - Key in key/value pairs
Very useful explanation. Thanks. I prefer the inbuilt as much as possible. You don't have motion 'gs' for replace word, maybe use something else? vnoremap gs "zy:s/z//g nnoremap gs "zyiw:s/z//g
@@jkinsellaDidn't check his code but there are plugins like mini.operators or substitute.nvim that add a replace operator. The c will juste remove a piece of text and put you in insert mode, those plugins allow you to yank some text then do something like si) instead of vi) then p. And on top of that the substituted text isn't getting copied.
New subscriber here. Thank you for such an indepth video. These type of content is very rare.
Thank you so much! I think there are too many beginner vim videos out there so I wanted to cater for vim users who have a bit more experience under their belt (that and newbies who aren't afraid of diving into the deep end heheh)
Great
Such and amaing video (Y) Kudos for clearly breaking down and organizing all the use-cases for text-objects. I think I am gonna some of these myself :D
Very information video. Thankyou for sharing
Here are some timestamps, makes skipping to the right part an awful lot easier ;-)
0:00 - Intro
0:41 - a = Arguments
1:58 - b - Brackets (various)
2:51 - c - Comments
3:22 - d - Docstrings
3:42 - e - Examples (Code Fences)
4:29 - f - Functions
5:48 - g - Git Chunk
7:04 - gn - Go Next (Aside)
7:43 - h - Left Character
8:13 - i - Indentation Level
9:28 - j - Junction of next word segment
11:18 - k - Opposite of j
11:25 - l - Character object to right
11:57 - m - Modified
12:30 - n - Number
12:54 - o - Objects (classes)
13:59 - p - Paragraph
14:33 - q - Quotes
15:03 - r - README headers
15:29 - s - Sentences
16:16 - t - Tags
17:19 - un - Universe
17:50 - v - Value (in key-value pairs)
18:41 - w - Word
19:13 - x - HTML/XML attributes
19:44 - y - Y-dimension blank lines
20:07 - z - Key in key/value pairs
Thank you so much!
T y
Brilliant video, my mind has expanded. Cheers 🍻
Some of those can now be done with treesitter and thus don't require an external dependancy
Excellent stuff! Thank you!
Side note, what’s your file finder plugin?
FZF
where can i get this markdown file, i was busy copying it over but you skipped past some parts of the document i couldnt see
Nice video, thank you
How to achieve the bracket part?
Very useful explanation. Thanks. I prefer the inbuilt as much as possible.
You don't have motion 'gs' for replace word, maybe use something else?
vnoremap gs "zy:s/z//g
nnoremap gs "zyiw:s/z//g
Ooooh what does this do? How does its behaviour differ from `caw` built in?
@@jkinsellaDidn't check his code but there are plugins like mini.operators or substitute.nvim that add a replace operator.
The c will juste remove a piece of text and put you in insert mode, those plugins allow you to yank some text then do something like si) instead of vi) then p. And on top of that the substituted text isn't getting copied.
Use capital P in visual to paste without changing the copied register
In Jesus' Name Amen ✝️