1

With VIM you can change until an underscore for eg: ct_

But is there a way to select multiple characters?

Say for example you may want to change until the first underscore or dash -.

Is it possible to do this with vim?

1 Answer 1

2

You will need search for that:

c/[_-]<CR>    " forward search
c?[_-]<CR>    " backward search

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .