4 ms·
Or am I missing something? Indeed you are. The / command in vim is a motion. This means it can be combined with any command that expects a motion as input. For
by chongli 12y ago
Or am I missing something?
Indeed you are. The / command in vim is a motion. This means it can be combined with any command that expects a motion as input. For one example of this, try typing "d/foo<CR>" (excluding quotes). This will delete all text from the cursor to the first occurrence of foo.
- EdwardDiego 12y agoI'll have to remember that. Cheers.