-
Notifications
You must be signed in to change notification settings - Fork 8
Future
David Bürgin edited this page Apr 6, 2014
·
3 revisions
Ideas for future improvement.
-
How about using
aC
iC
to invert search direction?For example,
ac
searches downwards for the next full-line comment,aC
searches upwards.But how to integrate this with the current behaviour? Get rid of current
aC
behaviour? -
How about adding navigation commands for comments?
For example,
[ac
jumps to previous comment,]ac
to next comment? Note that]i...
is already taken by Vim's own]i
and[i
. -
How about not adding navigation commands! This is not what text objects are. But we could very well add directed text objects, in Visual and Operator-pending mode. There are even some good mappings available I think:
dac 'delete a comment' d[ac 'delete a previous comment' d]ac 'delete a following comment'