vim-visual-multi
vim-visual-multi copied to clipboard
Merge regions
Describe the issue:
Suppose I have a table where every cell is a VM region.
I now want to unite some adjacent regions. I couldn't find how to do it and \m didn't work.
One would expect that visual selection of a section that intersects two different regions, and pressing \\m
would merge the two sections.
It is more of a feature request. Thanks. Btw, there could be other possibilities, maybe better, or I might have missed such option.
\\m
(merge regions) works from normal mode, not from visual mode. It merges overlapping regions, not simply adjacent ones.
From visual mode you should use \\a
(visual add) to merge the regions you want, it should merge the regions found below.