-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Multiple cursors ? #101
Comments
This was one of my favourite features of Sublime Text and one of the reasons I kept coming back to it. Sublime Text's vim emulation plugin was built from the start to be compatible with it, but one can hope that Evil might be able to work with it someday. |
Maybe a valid approach would be to develop from the ground up an |
Another point of view similar to trishume: http://www.reddit.com/r/vim/comments/2mqjks/the_one_thing_i_miss_from_sublime_text_atom/ |
@trishume We could try to add |
That would be an option that might help some users. It certainly wouldn't help me though, since Spacemacs is so great I know a grand total of 1 normal emacs command: |
To rename symbols: |
To rename symbols, I use |
What are the differences between iedit and auto-highlight-symbol ( |
It doesn't have scope (line,function, object, whatever..) It just checks for coincidences in the current buffer... But also Iedit lets you edit multiple ocurrences of a region (and even a rectangle region) So that spacemacs/init spacemacs/config are two different symbols, but if you select in a region "spacemacs" then both will be edited. (this cannot be achieved with ahs). For scoping though, you can specify how many lines above or below of the current selection you want your customizations to take effect |
I've made a short video to demonstrate how In this video, I was renaming variable This video is in swf format, you should be able to open it with any browser. Made it in a hurry, don't know how to convert to gif yet. |
There're definitely overlapping of function between
|
I must be using iedit wrong because I didn't know about the scoping feature! D: ok, removing ahs for me now.... The only thing that affects me is that well symbols are not highlighted :P, and that sometimes iedit screws up the undo tree :( |
Thank you for the video this is super useful. You forget to mention the navigation features of For me the only useful addition of I will experiment with this a little bit to see if I can make all these things to work together consistently. |
^ that was something that I was trying to do but my elisp knowledge kinda limit me :( If you do that .. that would be awesum |
Another approach is to keep |
In terms of navigating between variable occurrences, short answer is yes. there's In my opinion, I think couples reasons that |
|
I mean, they have pretty much the same functionality, except |
I added an issue for this (see above). |
Will this actually work now with the spacemacs/ground-control? :) |
any news regarding this issue? was someone able to make multiple-cursors play nice with spacemacs? |
A layer for this could totally happen now for use by holy-mode people. |
I will do some work on this, I might be able to do something interesting even for vim users. |
Hi @syl20bnr, did you manage to make EVIL and multiple-cursors play nice together? |
Not for now, I tried a long time ago and it was not really usable. One known trick is to only use it in insert state but it is pretty limited. Or you learn some basic emacs key bindings and you switch to emacs state while in multiple cursor. |
Thanks for answering! |
has there been any more work around a multi-cursor mode for evil users in spacemacs? |
+1 this is a deal breaker for many people |
+1 |
Progress is being made here: #2669 |
👍 |
I'm closing this in favour of #2669. |
I wish we could integrate consistently multiple cursors from @magnars.
I don't need it so often with the tools available in Spacemacs and the macros but sometimes it would be extremely useful and no doubt that if we could have it in our tool belt we could find a lot of cool use cases for it.
The tricky part is to make it play well with
evil
. There is a long opened issue on this topic here.Are there any ST users here who can relate about their experience with multiple cursors ?
The text was updated successfully, but these errors were encountered: