seems to freeze when going to insert mode
i use
macOS 10.13.3 neovim 0.2.2
Could not reproduce the issue. Could you please provide us with:
- the minimal
init.vimto reproduce the bug - the keys to press to reproduce the bug
Thanks in advance!
i tested this minimal init.vim (ran :PlugClean too):
call plug#begin('~/.config/nvim/plugged')
Plug 'terryma/vim-multiple-cursors'
call plug#end()
i was still able to get the error. it seems to happen more on larger files(250 lines) or when many cursors are created, such as around 10. (it also got it to work, using new files and <3 cursors) keys to press:
- esc
- v
- l (move one space to highlight a pattern)
- C-n (times 10)
- i . it freezes here
thanks!!
You never press <C-n> ?
On Sun, Apr 8, 2018, 4:10 PM Lakeisha [email protected] wrote:
i tested this minimal init.vim (ran :PlugClean too): call plug#begin('~/.config/nvim/plugged') Plug 'terryma/vim-multiple-cursors' call plug#end()
i was still able to get the error. it seems to happen more on larger files(250 lines) or when many cursors are created, such as around 10. keys to press:
- esc
- v
- l (move one space to highlight a pattern)
- 10
- i . it freezes here
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/terryma/vim-multiple-cursors/issues/263#issuecomment-379590394, or mute the thread https://github.com/notifications/unsubscribe-auth/AKVDAjmy6LD5c3ZcKxbOnHoSCwM2JA-Kks5tmpjogaJpZM4TLptG .
yes i press C-n 10 times, i took the angle brackets away from that part of my comment, github was not rendering the text.
@1ak31sha I was still not able to reproduce. My setup:
Btw, please note that -after pressing <C-n> a couple of times- i won't go to insert mode, but I will.
Indeed, when invoking vim-multiple-cursors by selecting a pattern, you switch to Visual mode, not Normal mode. You can refer to the README or the vim help :help vim-multiple-cursors
If that did not fix your issue and you think there is a real bug, please:
- make sure to be up to date
- provide me with the exact file and the exact pattern that trigger the bug
Thanks in advance :smile:
shift-i seems to be working!! thanks so much!!!
Thank you 1ak31sha. I am having the same problem and your workaround worked.
I also have this problem, and while Shift-I does work, but if I accidentally press i vim freezes completely and I must close my terminal. For that reason I cannot use this plugin with the risk of losing work in any unsaved buffers when I must kill the terminal to recover. A minimal recipe is:
<A-n>
i
(vim is now completely frozen).
Vim freezes completely when I press i, something to prevent this?
I have the same problem described by @mfiano should this issue not be reopened? I cannot use this plugin with the risk pressing i causes.
@tbhockey no need to reopen this. I updated the FAQ: https://github.com/terryma/vim-multiple-cursors#faq
Just pressing shift-i after you pressed i, exactly like in visual mode.
That should do it.
That definitely clears things up, thanks!
Nice tips from you guys here. However, my issue right about now is when I press (for an opening bracket/parentheses "(" ), vim freezes completely, which closing my terminal would only be an alternative solution to continue my work but by doing so, I often loose a lot of work. Any ideas please?
If somebody happen to have frozen vim (I use neovim but I guess it's the same kind of bug) you can press