I've been a long time fan of the
f motions to modify text up to or including some character. For more complicated criteria, I've started using
/ followed by a search string to modify text up to a certain phrase.
For example, if I had:
delete this text, but not this.
on a line I could do
0d/not this to delete everything except
not this.. This is usually exactly how I want it to work, but every now and then I'd like the pattern to be included in the edit. So, in my previous example, it would have deleted everything except the period.
Is this possible using a similar construct? I'd prefer it to be without the use of additional plugins, but such answer are also welcome.