Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: Extension for vim-visual-multi #1933

Closed
jamespharvey20 opened this issue Jun 9, 2019 · 0 comments
Closed

Request: Extension for vim-visual-multi #1933

jamespharvey20 opened this issue Jun 9, 2019 · 0 comments

Comments

@jamespharvey20
Copy link

jamespharvey20 commented Jun 9, 2019

(Similar to #1932 but different plugin)

vim-visual-multi is similar to vim-multiple-cursors, that allows multiple selections, so you can prepend/append to or replace all of them, and so much more. The link has gifs that show exactly what I mean.

It doesn't have as many users as vim-multiple-cursors, but looks like for many it may wind up being a replacement for it and several other addons for quite a few people.

When that plugin is "active", meaning there are multiple selections, it basically adds 2 new modes, cursor and extend mode.

I think it would be great if vim-airline had an extension so the mode could show CURSOR (or C for a short name) or EXTEND (or E for a short name) instead of NORMAL/N. Cursor mode is similar to normal mode, and extend mode is similar to visual mode. [1]

g:Vm.is_active shows if one of vim-visual-multi's "new" modes are active, and g:Vm.extend_mode differentiates between cursor and extend modes.

I opened an issue in vim-visual-multi, originally asking how to differentiate between its modes, but then I edited it once I found it. If any input is need from the author, that might be a good place to ask for it.

Not sure how hard it would be to set custom colors for these modes in vim-airline, whether done through the themes, or left up to the user to custom define.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant