You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/VIM_COMPATIBILITY.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,7 @@ the corresponding integration tests.
49
49
| Visual character |**supported**| Motions, supported text objects, yank/delete/change/paste, and Unicode selections. |
50
50
| Visual line |**supported**| Linewise yank/delete/change/paste, including whole-document and interior replacements. |
51
51
| Visual block |**supported**| Block delete/change/insert, one-transaction replay, undo/redo, and dot-repeat for block insert. |
52
+
| Mouse selection |**supported**| Left-click positions the cursor; dragging enters characterwise Visual mode, and release retains the selection for motions, `y`, `d`, `c`, Escape, and `gv`. Double-click selects words or matching delimiters, triple-click selects lines, and quadruple-click selects a block; dragging extends the chosen shape. Shift-left adjusts the nearest selection endpoint, and Alt-left creates a block from the existing cursor. Insert-origin selection returns to Insert when it ends. Viewport-edge dragging scrolls the originating window. Modifier gestures require the terminal to deliver those modifiers. Terminal-native selection and Neovim's right-click popup behavior are outside this support. |
52
53
| Multi-cursor selections |**supported**| In Normal mode, `Ctrl-n` selects successive whole-word occurrences; from a single-line characterwise Visual selection, it uses the exact selected text and immediately adds the next literal occurrence. `Ctrl-Up` / `Ctrl-Down` add vertical cursors while preserving display columns. `n` / `N` navigate matches, `q` skips, and `Q` removes the active selection. `Tab` toggles extend mode; Shift-arrows and `h`, `l`, `w`, `e`, `0`, and `$` extend complete Unicode graphemes, and `o` reverses each anchor. `c`, `i`, `a`, `d`, `x`, `y`, `p`, and `P` apply across selections. Insert, change, delete, and paste are grouped into one undoable edit. |
53
54
| Restore Visual selection |**supported**|`gv` restores the previous buffer-local Visual area with its character, line, or block shape and original direction. In Visual mode it exchanges the current and previous areas. Selection metadata survives session recovery, while `<` and `>` continue to track edits. |
54
55
| Visual indent |**supported**|`[count]>` and `[count]<` shift every covered line right or left by `count × shiftwidth` in one undoable transaction for character, line, and block selections. Empty lines remain empty, indentation saturates at column zero, `.` repeats the shift over the same number of lines from the current line, and `gv` restores the shifted range. |
0 commit comments