vim-textobj-sentence
vim-textobj-sentence copied to clipboard
Improving on Vim's native sentence text object and motion
I use this to prevent LeTeX environments from interfering with sentence rewrapping (`gqis`). In my after/ftplugin/tex.vim: ``` let g:re_term_user = \ '|\\begin\{[a-zA-Z]*\}' . \ '|\\end\{[a-zA-Z]*\}' call textobj#sentence#init() ```
Include ';' in the first regular expression grouping in `l:re_term`.
First, thanks for this plugin! I found it while looking for something that improves on vim's built-in handling of sentences in LaTeX files. (If you're bored and curious for more...
Hi, I have enjoyed using your plugin but I have a small request. Would it be possible to add a new text object for clauses (or fragments bounded by commas...
Consider the case: > Prof. Plum said, "Hey Mr. Green. Didn't see you there." He casually slid the revolver behind a nearby book. Plum lit his pipe. If the cursor...
I've just installed this on my Vim 7.4 and when I open a file in Vim, I get these messages: ``` Error detected while processing function textobj#sentence#init..textobj#user#plugin..369: line 15: E605:...
I tried adding '(' to the abbreviations, but it does not work. Backtick/Grave does not work either. For example, I'd like things like (.) or `.` or an escaped period...
Sometimes it goes to the end of the current sentence, and other times the next sentence.
Stripped all non-word characters from War and Peace. Hit ( to find first sentence. Hang. Need to find some way to limit regex to avoid hang.