vim-multicursor icon indicating copy to clipboard operation
vim-multicursor copied to clipboard

vim-multicursor doesn't support placing cursors at arbitrary locations

Open habibalamin opened this issue 10 years ago • 3 comments

I want to be able to click a key to 'drop' a cursor at any place in the file, ala Ctrl-click/Cmd-click on Sublime Text. Maybe have the dropped cursors be a different colour from the main cursor. Once all the cursors have been placed, the user should be able to go into insert mode as usual to start editing.

habibalamin avatar Jan 08 '15 17:01 habibalamin

I suspect either I'm misunderstanding you, or you've misread the documentation.

vim-multicursor does in fact support placing cursors at arbitrary locations, see :help MultiCursorPlaceCursor() and the following section, :help MultiCursorManual(). Essentially, map something to place a cursor, then once you've placed all the desired cursors, map something else to tell the plugin to start utilizing them. Once you've done that, you should be able to use them as you normally would, including insert mode. Note that insert mode does not yet update "live" - not until you've <esc>'d it to completion. Live updating is something I'd like to add later.

paradigm avatar Feb 03 '15 22:02 paradigm

Whoops, I commented in the wrong tab. I was wondering why it couldn't find the docs for MultiCursorManual(). This is the one I have installed. I was looking at multiple options at the time. If this gets live updating or the other gets 'cursor drops', I will be happy.

habibalamin avatar Feb 05 '15 00:02 habibalamin

Sadly there's a number of things keeping me from being able to work on this, but once I've gotten past those I fully intend to add such things. Until I've gotten past those blockers and caught up feature wise, terryma's implementation is a perfectly reasonable one to use.

paradigm avatar Feb 20 '15 00:02 paradigm