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

vim commands instead of multiple cursors #45

Open
practicalli-johnny opened this issue Apr 15, 2024 · 0 comments
Open

vim commands instead of multiple cursors #45

practicalli-johnny opened this issue Apr 15, 2024 · 0 comments

Comments

@practicalli-johnny
Copy link
Contributor

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.

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