Last edit
Summary: see also
Changed: 25c25
< * http://www.emacswiki.org/cgi-bin/wiki/ApplyFunctionOnMultipleRegions
to
> * EmacsWiki:ApplyFunctionOnMultipleRegions
Once again there was this situation where a colleague of mine said: "There should be an editor which does this and that...". About five minutes later I had a first naive implementation and about 30 minutes later the full library is there.
In this case the colleague wished he could select several lines which are not connected and the selection should stay visible. Then later he would insert the concatenation of all those selection at another position in the buffer.
So, here you go:
multiselect-add-selection-or-line
.multiselect-insert-selection
which will concatenate all the selections in the order you made them ignoring the ordering within the buffer.multiselect-remove-selection-at-point
)I don't use this package myself, I just wrote it for fun. It may contain bugs and show unintuitive behaviour. Drop me a note if you want to use this and it doesn't do what you think it should.
Get multiselect.el, put
(require 'multiselect)
into your init-file and maybe call
(multiselect-install-default-keybindings)
Or your own keybindings.