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

Make [e and ]e reselect text when used in visual mode

opened this issue · comments

Hi!

In my configuration I mapped > and < to reselect text after indentation when used in visual mode with the following

xnoremap < <gv
xnoremap > >gv

I would like to do the same with the [e and ]e mappings.

I tried with

xnoremap [e [egv
xnoremap ]e ]egv

but it doesn't work. Is there a way to do with a mapping or is it necessary to change the plugin itself?