targets.vim
targets.vim copied to clipboard
repeat motion in visual mode does not extend selection
starting from the inner-most parenthesis.
aaa(bbb(ccc)ddd)eee
^
use vi(:
aaa(bbb(ccc)ddd)eee
└vi(┘
using i( again. expected behaviour is for the selection to extend to the outer parenthesis. this is the default behaviour of vim:
aaa(bbb(ccc)ddd)eee
└───vi(i(───┘
instead, with targets.vim, it stays at the first parenthesis:
aaa(bbb(ccc)ddd)eee
└───┘
vi(i(