Hi there: I am going to re-open this thread rather than posting a new one.
The command Quick Add Next is really great. Unfortunately, though, it does not reproduce fully the behavior of Ctrl+D (or command+D) in Sublime, that is important for the workflow of many.
The main problem for me is the following: Ctrl+D in Sublime recognizes all subsequent occurrences of a text block/piece of text that is currently selected, e.g. all four occurrences of CVD will be selected in the following text block:
CVD
Tab1.CVD
Tab1CVD
Tab1_CVD
Whereas command Quick Add Next would only select the first two: it appears to only recognize text blocks that are bordered by either spaces or dots, but not text blocks that are bordered by anything else, including underscores.
This can be a problem: in my workflow I produce different versions of the same objects that differ only by a couple letters (say, the above objects may refer to CardioVascular Disease and I might want to quickly produce another set of objects where CVD becomes PD, Pulmonary Disease; or simply change Tab1, Regression1 into Tab2, Regression2 and so on).
The fact that a dot is recognized as a "valid border" does not fit well any of R's coding style guides (Hadley Wickham's, Google's, etc.), because, as people more expert than I am know well, dots are meaningful in R and should only be used for class-specific S3 functions. Underscores are preferred by Hadley, camelcase by most other guides.
My questions are:
- Is it possible to reconfigure the "bordering character" used by
Quick Add Next from dot to, say, underscore?
- Is there any solution for this problem that I am not aware of or you could suggest?
In addition, Ctrl+D / command+D in Sublime also have two other awesome features which are being able to go back one step when you select by mistake one occurrence too many (using Ctrl+U for "Undo") and even skipping one occurrence and going on to the next (using Ctrl+K for "Kill" ), as described here. But I guess that that would be asking for too much (would it?) and I would be already extremely happy with solving the issue above!
Thanks in advance 