Skip to content

lightspeed with vim-multiple-cursors #167

Open
@Leandros

Description

@Leandros

Using lightspeed.nvim while in multiple cursors mode results in hanging up neovim. The only way to get out of that is Ctrl-C or kill -9.

The easiest way to fix this would be to provide an override option to disable lightspeed.nvim (and restore default mappings) by toggling a variable.

That's what other plugins are doing. For example, from my .vimrc:

function! Multiple_cursors_before()
    let g:yankring_record_enabled = 0
    if exists("AutoPairsToggle")
      call AutoPairsToggle()
    endif
endfunction
function! Multiple_cursors_after()
    let g:yankring_record_enabled = 1
    if exists("AutoPairsToggle")
      call AutoPairsToggle()
    endif
endfunction

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions