All Projects → mg979 → Vim Visual Multi

mg979 / Vim Visual Multi

Licence: mit
Multiple cursors plugin for vim/neovim

Labels

Projects that are alternatives of or similar to Vim Visual Multi

EyeControlledCursor
Controlling mouse cursor from eye.
Stars: ✭ 36 (-96.92%)
Mutual labels:  cursor
React Native Input Scroll View
Perfect TextInput ScrollView
Stars: ✭ 323 (-72.35%)
Mutual labels:  cursor
Bibata extra cursor
🚀 More Bibata 🌈
Stars: ✭ 33 (-97.17%)
Mutual labels:  cursor
fastener
Functional Zipper for manipulating JSON
Stars: ✭ 54 (-95.38%)
Mutual labels:  cursor
ng-caret-aware
AngularJS directive for caret aware elements
Stars: ✭ 12 (-98.97%)
Mutual labels:  cursor
Paginator
Cursor-based pagination for Elixir Ecto
Stars: ✭ 374 (-67.98%)
Mutual labels:  cursor
hyper-blink
Let Hyper's cursor blink.
Stars: ✭ 46 (-96.06%)
Mutual labels:  cursor
Crossline
A small, self-contained, zero-config, MIT licensed, cross-platform, readline and libedit replacement.
Stars: ✭ 53 (-95.46%)
Mutual labels:  cursor
Mongoose Paginate V2
A cursor based custom pagination library for Mongoose with customizable labels.
Stars: ✭ 283 (-75.77%)
Mutual labels:  cursor
Readline Utils
This repository has been archived, use Enquirer instead.
Stars: ✭ 15 (-98.72%)
Mutual labels:  cursor
multi-cursor
🎉
Stars: ✭ 44 (-96.23%)
Mutual labels:  cursor
markee
Visual text selection
Stars: ✭ 22 (-98.12%)
Mutual labels:  cursor
Postgresql cursor
ActiveRecord PostgreSQL Adapter extension for using a cursor to return a large result set
Stars: ✭ 384 (-67.12%)
Mutual labels:  cursor
macOS-cursors-for-Windows
Tested in Windows 10 & 11, 4K, 125%, 150%, 200%. With 2 versions, 2 types and 3 different sizes!
Stars: ✭ 578 (-50.51%)
Mutual labels:  cursor
Crossterm
Cross platform terminal library rust
Stars: ✭ 1,023 (-12.41%)
Mutual labels:  cursor
toggler
Atom plugin - Toggle words and symbols
Stars: ✭ 21 (-98.2%)
Mutual labels:  cursor
Sideways.vim
A Vim plugin to move function arguments (and other delimited-by-something items) left and right.
Stars: ✭ 370 (-68.32%)
Mutual labels:  cursor
Vscode Smoothtype
VS Code extension to add cursor transitions while typing, similar to MS Office and the Windows 10 Mail app.
Stars: ✭ 54 (-95.38%)
Mutual labels:  cursor
Control User Cursor
Alter user cursor behavior. Simulates users cursor and can apply transformations to it.
Stars: ✭ 1,050 (-10.1%)
Mutual labels:  cursor
Switch.vim
A simple Vim plugin to switch segments of text with predefined replacements
Stars: ✭ 506 (-56.68%)
Mutual labels:  cursor

vim-visual-multi

It's called vim-visual-multi in analogy with visual-block, but the plugin works mostly from normal mode.

Basic usage:

  • select words with Ctrl-N (like Ctrl-d in Sublime Text/VS Code)
  • create cursors vertically with Ctrl-Down/Ctrl-Up
  • select one character at a time with Shift-Arrows
  • press n/N to get next/previous occurrence
  • press [/] to select next/previous cursor
  • press q to skip current and get next occurrence
  • press Q to remove current cursor/selection
  • start insert mode with i,a,I,A

Two main modes:

  • in cursor mode commands work as they would in normal mode
  • in extend mode commands work as they would in visual mode
  • press Tab to switch between «cursor» and «extend» mode

Most vim commands work as expected (motions, r to replace characters, ~ to change case, etc). Additionally you can:

  • run macros/ex/normal commands at cursors
  • align cursors
  • transpose selections
  • add patterns with regex, or from visual mode

And more... of course, you can enter insert mode and autocomplete will work.

Installation

With vim-plug:

Plug 'mg979/vim-visual-multi', {'branch': 'master'}

Documentation

:help visual-multi

For some specific topic it's often:

:help vm-some-topic

Tutorial

To run the tutorial:

vim -Nu path/to/visual-multi/tutorialrc

Wiki

The wiki was the first documentation for the plugin, but many pictures are outdated and contain wrong mappings. Still, you can take a look.

You could read at least the Quick Start.


Some (sometimes very old) random pics:


Insert mode with autocomplete, alignment (mappings in pic have changed, don't trust them)

Imgur


Undo/Redo edits and selections

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


Select inside/around brackets/quotes/etc:

Imgur


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

Imgur


Synched column transposition

Imgur


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

Imgur


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

Imgur


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

Imgur


Normal/Visual/Ex commands at cursors

Imgur


Macros. Shorter lines are skipped when adding cursors vertically.

Imgur


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

Imgur


Case conversion

Imgur

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].