3 ms·
> Really? Even if you haven't selected the line? Absolutely, works for the entire line, no matter where you are. > But it's still faster to type dd than Ctrl
by rootlocus 9y ago
> Really? Even if you haven't selected the line?
Absolutely, works for the entire line, no matter where you are.
> But it's still faster to type dd than Ctrl + D
Don't be overly pedantic. I could say Ctrl + D is faster because dd means: 'press d' + 'release d' + 'press d' while Ctrl + d means 'press Ctrl' + 'press d', or I could say that you don't have to change modes to use Ctrl + D, but you could say your finger is already on d, you're more comfortable, etc. The difference in speed is quite negligible.
> https://stackoverflow.com/a/9616315 https://stackoverflow.com/a/9616315
Using cscopes sure is better than dumb text search, but apparently doesn't know the difference I asked about. From the comments:
> Now that I've spent a bit of time with cscope, it seems to me that cscope does not differentiate variables of the same name that belong to different classes. class_b::var may be returned even though I'm only looking for class_a::var. I'm using C++. Am I doing anything wrong?
Maybe it works better for other languages. However, my point is: if you think "There hasn't been one feature that and IDE has that I used, which can't be achieved in vim (or via a plugin)", then I don't think you've used JetBrains IDEs.