Skip to content
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

lightspeed with vim-multiple-cursors #167

Open
Leandros opened this issue Sep 27, 2022 · 0 comments
Open

lightspeed with vim-multiple-cursors #167

Leandros opened this issue Sep 27, 2022 · 0 comments

Comments

@Leandros
Copy link

Leandros commented Sep 27, 2022

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant