preservim/vim-textobj-sentence: Improving on Vim's native sentence text object and motion
github.com·1d·
Discuss: r/neovim
📝Text Editors
Preview
Report Post

vim-textobj-sentence

Improving on Vim’s native sentence text object and motion

Detecting sentences can be tricky, esp. when the words and punctuation of a sentence are interspersed with abbreviations, “quotations,” (parentheses), [brackets], the __markup__ from **lightweight** markup languages, and hard line breaks.

While Vim’s native sentence text object is quite capable, its behavior remains hard-coded and cannot be extended. Thus arises the need for a specialized text object offered by this plugin.

Features of this plugin:

  • Sophisticated sentence text object, supporting selection, motion, and jump
  • Implemented with regular expressions via the vim-textobj-user plugin
  • Supports sentences containing common abbreviatio…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help