Reputation: 8178
d$ works just fine.
I've remmapped $ to -
But d- now deletes to the beginning of the previous line.
My remap:
nnoremap - $
vnoremap - $
Upvotes: 1
Views: 67
Reputation: 45157
You may want to use an operator pending mode mapping:
onoremap - $
I would also suggest you use xnoremap - $
instead of vnoremap
so that you avoid a mapping in selection mode.
Upvotes: 3