targets.vim icon indicating copy to clipboard operation
targets.vim copied to clipboard

Allow not only trailing whitespaces in Arround Pair command

Open davidsierradz opened this issue 8 years ago • 0 comments

Hi, nice plugin, it would be nice if you can also include not only trailing whitespaces in the A Arround Pair command, for example is very common to include trailing commas or semicolons for objects or arrays in Javascript or PHP like so:

foo: [
  {
     x: 1,
  },
  {
     x: 2,
  },
];

If I want to select the first object, I would use vA{ inside the object, it selects the previous spaces, it would be nice if also selects the trailing comma.

davidsierradz avatar Dec 05 '17 17:12 davidsierradz