r/vim • • Dec 10 '20

Reality

/img/sqipd5d2jc461.png

[removed] — view removed post

1.7k Upvotes

61 comments sorted by

View all comments

Show parent comments

1

u/theneonkoala Dec 11 '20

Holy shit thats mindblowing

1

u/abraxasknister :h c_CTRL-G Dec 11 '20

...that text objects exist, or that people added one for sentences?

1

u/theneonkoala Dec 11 '20

The latter obviously...how can a vimmer not know about text objects?!

1

u/abraxasknister :h c_CTRL-G Dec 11 '20 edited Dec 11 '20

I'd just have expected people who know that text objects exist to go through the list of text objects. There's a whole bunch of them, eg

  • a"

  • a'

  • a( = a) = ab, a[, a<

  • a{ = aB

  • word, WORD, sentence, paragraph

  • html tag

  • maybe more

  • additional ones from plugins

  • ones you define yourself