everyone I'm trying to achieve a behaviour described here Fundamentals of multiple-cursors.
Particulraly the following comment:
Edit several places simultaneously. Either mark several instances of a string like before, but cancel the selection (but not the cursors) immediately using C-g
The only problem is that there is not detailed explanation or description of the commands to achieve that.
Can someone please give an example on can I accomplish that? Thanks in advance!
var1 = 17
new_var = myvar + 34
function(input)
Let's say I want to edit and
var1
,myvar
andinput
how can I achieve that?Many thanks!
– Kirk Walla Aug 25 '18 at 21:00mc/add-cursor-on-click
which you can bind to a mouse button (with modifiers, say). There is also theace-mc
package that usesace-jump
style selection of multiple cursor locations. – Omar Aug 28 '18 at 05:29