noctuid / rect-ext.el

Adds commands to simulate widening and narrowing for rectangles
GNU General Public License v3.0
5 stars 1 forks source link

use single quotes in place of backtticks in the evil ex range definition #3

Open ninrod opened 7 years ago

ninrod commented 7 years ago

Currently one have to escape the range indicators with backticks instead of single quotes for the B command to work:

:`<,`>B s/old/new/g

this is less than ideal because once a text is selected, after pressing : emacs already writes '<,'> for you, so you have to backspace all that and write the new range expression again yourself.

noctuid commented 7 years ago

I'll add a wrapper that will automatically insert :`<,`>B for visual block mode. The backticks are necessary for it to be characterwise (or else you get the position at the beginning of the line).