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

Mutiple cursors #29

Open
nblackburn opened this issue May 14, 2015 · 1 comment
Open

Mutiple cursors #29

nblackburn opened this issue May 14, 2015 · 1 comment
Milestone

Comments

@nblackburn
Copy link

Support for multiple cursors is a must in modern day editors.

Holding Ctrl and clicking would create more cursors which could be controlled as a single cursor would.

@msipos
Copy link
Owner

msipos commented May 17, 2015

It would be a little tricky to do this for 1.0 fully, there's quite a few basic assumptions in the code that expect 1 cursor...

However, now I am thinking an easy way to implement this would be to add metadata about "additional cursors". So, for 1.0, I imagine you will have 1 cursor, and it's your main one (for instance, scrolling follows that one), but you can have a notion of added cursors that repeat what the main one is doing but scrolling does not follow them.

Of course, we can have these added cursors all controllable from the JS plugin system. So your plugins can make and destroy extra cursors.

One problem is, holding Ctrl while clicking already does something (jump-to-file, eventually it will do jump-to-symbol-definition). Any ideas for an alternative?

Thanks, I like this idea a lot!

@msipos msipos added this to the Version 1.0 milestone May 17, 2015
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

2 participants