tpope / vim-unimpaired

unimpaired.vim: Pairs of handy bracket mappings

Home Page:https://www.vim.org/scripts/script.php?script_id=1590

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shifting delay with the new angle bracket mappings in visual mode

carloabelli opened this issue · comments

I use < and > in visual mode frequently to shift code.

Unfortunately the new angle bracket mappings introduced in bdd88b9 cause a slight but noticeable delay.

Is there a way to opt-out of the new angle bracket mappings?

For years we have had <p and >p mappings. Those don't cause a delay?

Since those are normal mode mappings they do not cause a delay when shifting in visual mode.

Crap, I hadn't considered that. I might have to revert that change.

This is particularly painful if you vnoremap > >gv and vnoremap < <gv for quickly repeated indenting

@tpope did you forget to also revert bdd88b9?

Dang it.

Thanks, works great now!