131

GitHub - mg979/vim-visual-multi: Multiple cursors project for vim/neovim (wip)

 6 years ago
source link: https://github.com/mg979/vim-visual-multi
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

Wiki

Work in progress. Most functionalities shold work as expected and described in the documentation. Testers are welcome.


Some random pics:


Insert mode with autocomplete, alignment

Imgur


Select operator, here shown with 'wellle/targets.vim' plugin: sib, sia, saa + selection shift

Imgur


Add numbering with expression

Imgur


Synched column transposition

Imgur


Unsynched transposition (cycle all regions, also in different lines)

Imgur


Shift regions left and right (M-S-<>)

Imgur


Edit test: join lines(J), change motion at cursors, append(a), visual command at cursors

Imgur


Place cursors at words:

Imgur


Select inside/around brackets/quotes/etc:

Imgur


Alternate cursor/extend mode, motions (even %), reverse direction (as in visual mode) and extend from the back. At any time you can switch from extend to cursor mode and viceversa.

Imgur


Indipendent anchoring

Imgur


Find words under cursor, add new words (patterns stack), navigate regions, skip them, add regions with regex(works with cursors too).

Imgur


Select all

Imgur


Normal/Ex commands at cursors

Imgur


Macros. Shorter lines are skipped when adding cursors above/below.

Imgur


Another macro example that uses vim-sneak and vim-surround

Imgur


First editing functions: yank, delete, paste from register, paste block from yanked regions

Imgur


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK