mirror of
https://github.com/amix/vimrc
synced 2025-06-16 01:25:00 +08:00
Updated plugins
This commit is contained in:
@ -1,7 +1,5 @@
|
||||
# vim-multiple-cursors
|
||||
[](https://travis-ci.org/terryma/vim-multiple-cursors)
|
||||
[](http://issuestats.com/github/terryma/vim-multiple-cursors)
|
||||
[](http://issuestats.com/github/terryma/vim-multiple-cursors)
|
||||
|
||||
## Contents
|
||||
- [About](#about)
|
||||
@ -197,6 +195,25 @@ augroup MultipleCursorsSelectionFix
|
||||
augroup END
|
||||
```
|
||||
|
||||
### **Q** deoplete insert giberrish, how to fix this?
|
||||
**A** use the `Multiple_cursors` functions, add this in your vimrc:
|
||||
|
||||
```VimL
|
||||
func! Multiple_cursors_before()
|
||||
if deoplete#is_enabled()
|
||||
call deoplete#disable()
|
||||
let g:deoplete_is_enable_before_multi_cursors = 1
|
||||
else
|
||||
let g:deoplete_is_enable_before_multi_cursors = 0
|
||||
endif
|
||||
endfunc
|
||||
func! Multiple_cursors_after()
|
||||
if g:deoplete_is_enable_before_multi_cursors
|
||||
call deoplete#enable()
|
||||
endif
|
||||
endfunc
|
||||
```
|
||||
|
||||
#### **Q** is it also working on Mac?
|
||||
**A** On Mac OS, [MacVim](https://code.google.com/p/macvim/) is known to work.
|
||||
|
||||
|
Reference in New Issue
Block a user