*textobj-user* is a Vim plugin to SUPPORT writing user-defined text objects, especially, simple text objects which can be defined by regular expression.
Note that this plugin only provides functions to support writing user-defined text objects, and this plugin does not provide any useful text objects. That is your work.
- |textobj#user#plugin()|: Fix the bug that "*sfile*" is not correctly interpreted in a Unix-like environment on Microsoft Windows such as Git for Windows. (Thank sgur for reporting this problem. See also: https://github.com/kana/vim-textobj-user/pull/5)
- |textobj#user#plugin()|: Fix the bug that "move-n" and "move-p" operations for text objects are not correctly defined if 'ignorecase' is enabled. (Thank h1mesuke for reporting this problem. See also: https://github.com/kana/vim-textobj-user/pull/4)
- |textobj#user#plugin()|: Fix not to define key mappings in Select mode if appropriate. Now it works smoothly with plugins which utilize and depend on the default behavior in Select mode.
- Fix a bug that it was not possible to select any range which starts with the end of a line. - |textobj#user#plugin()|: Fix a bug that it did not accept any function which is not script-local as a value for "*{spec}-function*".
- |textobj#user#select()|: Fix a bug that it didn't select an object which: (1) matches to multiple lines and (2) contains the cursor. - |textobj#user#select()|, |textobj#user#select_pair()|, |textobj#user#plugin()| with "*{spec}-function*": Support |o_v| and others. To use this feature, you have to apply the following patch to Vim: http://github.com/kana/vim/commits/hack/vimvar-motion_force
Fix several bugs. Add textobj#user#plugin() to define key mappings and a command to support writing a plugin which provides various user-defined text objects.
If you have questions or remarks about this site, visit the
vimonline development pages.
Please use this site responsibly.
Questions about Vim should go
to the maillist.
Help Bram help Uganda.