In vim, is it possible to select content between the brackets inclusive of the brackets similar to
yi{ yi(
But I want to include the brackets.
vim
In vim, is it possible to select content between the brackets inclusive of the brackets similar to
yi{ yi(
But I want to include the brackets.
Best Answer
You can move the cursor over one bracket, and do
vf{
orvf(
to bring you into visual mode and then select everything until (and including) the bracket.