Hi guys, does anyone use textobj-lastpat plugin? http://www.vim.org/scripts/script.php?script_id=2355
I tried it and it seems to have a bug: the text object omits the last character in a match. For example, if I start with the following text foo bar baz Then I do /bar<CR> The word "bar" is highlighted and the cursor is at first "b" character (as expected), but when I try, say da/ I end up with this foo r baz I would expect the following result: foo baz Is this behavior correct? And if so, how can I achieve what I want, i.e. have a text object that encompasses the whole match? Thx for help! Karol -- View this message in context: http://vim.1045645.n5.nabble.com/textobj-lastpat-plugin-text-object-not-capturing-last-character-of-the-match-tp5712850.html Sent from the Vim - General mailing list archive at Nabble.com. -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php