Skip to content

basics: vim commands instead of multiple cursors #45

Open
@practicalli-johnny

Description

@practicalli-johnny

Multiple cursors is a visual way to change multiple lines or matching patterns concurently.

There are many ways to achieve similar results with vim-style editing which are useful to learn

Changing a pattern in multiple places

gn textobject - e.g. gnw to select next word

change the next found occurrence with cgn, skip the next matching word with n, apply the change with . - it seems that cgn is dot-repeatable.

Neovim 0.10 will be introducing multiple cursors feature.

Purists claim there is no need for multiple cursors, as vim can do everything, but finding examples can be challenging.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

Options

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions