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

选择文本时的奇怪表现(启用了“set guioptions+=a”) #1411

Closed
imbear opened this issue Dec 17, 2019 · 4 comments
Closed

选择文本时的奇怪表现(启用了“set guioptions+=a”) #1411

imbear opened this issue Dec 17, 2019 · 4 comments
Labels
Can't reproduce help wanted Extra attention is needed

Comments

@imbear
Copy link

imbear commented Dec 17, 2019

如图
vim

在窗口用鼠标选择文本的时候,在之前的某个位置开始同步有个类似选择操作

去掉“set guioptions+=a”,或者去掉coc,操作起来就正常了。

自己编译的vim开发版,win10 home+msys2/mingw64:

mingw32-make -f Make_ming.mak ARCH=x86-64 GUI=yes DIRECTX=yes NETBEANS=no PYTHON3=D:/Python38 PYTHON3_VER=38 %1
@fannheyward fannheyward added the help wanted Extra attention is needed label Dec 18, 2019
@chemzqm
Copy link
Member

chemzqm commented Dec 18, 2019

我在 windows 的 gvim 上无法重现,请提供 minimal vimrc

@imbear
Copy link
Author

imbear commented Dec 18, 2019

vimrc

source D:/vim/bundles/vim-plug/plug.vim
silent call plug#begin("D:/vim/bundles")

Plug 'neoclide/coc.nvim', {'tag': '*', 'branch': 'release'}

call plug#end()

set guioptions+=a

gvim.exe --version

VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Dec 17 2019 21:00:59)
MS-Windows 64-bit GUI version
Included patches: 1-14
Compiled by IMBEAR@BEARHOUSE-LP
Huge version with GUI.  Features included (+) or not (-):
+acl                +eval               +multi_lang         -tag_any_white
+arabic             +ex_extra           -mzscheme           -tcl
+autocmd            +extra_search       -netbeans_intg      -termguicolors
+autochdir          -farsi              +num64              +terminal
+autoservername     +file_in_path       -ole                -termresponse
+balloon_eval       +find_in_path       +packages           +textobjects
-balloon_eval_term  +float              +path_extra         +textprop
+browse             +folding            -perl               -tgetent
++builtin_terms     -footer             +persistent_undo    +timers
+byte_offset        +gettext/dyn        +popupwin           +title
+channel            -hangul_input       -postscript         +toolbar
+cindent            +iconv/dyn          +printer            +user_commands
+clientserver       +insert_expand      +profile            +vartabs
+clipboard          +job                -python             +vertsplit
+cmdline_compl      +jumplist           +python3/dyn        +virtualedit
+cmdline_hist       +keymap             +quickfix           +visual
+cmdline_info       +lambda             +reltime            +visualextra
+comments           +langmap            +rightleft          +viminfo
+conceal            +libcall            -ruby               +vreplace
+cryptv             +linebreak          +scrollbind         -vtp
+cscope             +lispindent         +signs              +wildignore
+cursorbind         +listcmds           +smartindent        +wildmenu
+cursorshape        +localmap           +sound              +windows
+dialog_con_gui     -lua                +spell              +writebackup
+diff               +menu               +startuptime        -xfontset
+digraphs           +mksession          +statusline         -xim
+directx            +modify_fname       -sun_workshop       +xpm_w32
-dnd                +mouse              +syntax             -xterm_save
-ebcdic             +mouseshape         +tag_binary         
+emacs_tags         +multi_byte_ime/dyn -tag_old_static     
   system vimrc file: "$VIM\vimrc"
     user vimrc file: "$HOME\_vimrc"
 2nd user vimrc file: "$HOME\vimfiles\vimrc"
 3rd user vimrc file: "$VIM\_vimrc"
      user exrc file: "$HOME\_exrc"
  2nd user exrc file: "$VIM\_exrc"
  system gvimrc file: "$VIM\gvimrc"
    user gvimrc file: "$HOME\_gvimrc"
2nd user gvimrc file: "$HOME\vimfiles\gvimrc"
3rd user gvimrc file: "$VIM\_gvimrc"
       defaults file: "$VIMRUNTIME\defaults.vim"
    system menu file: "$VIMRUNTIME\menu.vim"
Compilation: gcc -I. -Iproto -DWIN32 -DWINVER=0x0600 -D_WIN32_WINNT=0x06
00 -DHAVE_PATHDEF -DFEAT_HUGE -DHAVE_STDINT_H -DMS_WIN64 
-DHAVE_GETTEXT -DHAVE_LOCALE_H -DDYNAMIC_GETTEXT -DFEAT_CSCOPE 
-DFEAT_JOB_CHANNEL -DFEAT_TERMINAL -DFEAT_SOUND -DFEAT_DIRECTX 
-DDYNAMIC_DIRECTX -DFEAT_DIRECTX_COLOR_EMOJI -DFEAT_GUI_MSWIN 
-DFEAT_CLIPBOARD -DFEAT_MBYTE_IME -DDYNAMIC_IME -DDYNAMIC_ICONV 
-pipe -march=x86-64 -Wall -DFEAT_PROPORTIONAL_FONTS -DFEAT_PYTHON3 
-DDYNAMIC_PYTHON3 -DDYNAMIC_PYTHON3_DLL="python38.dll" 
-DFEAT_XPM_W32 -I xpm/x64/include -I xpm/x64/../include -O3 
-fomit-frame-pointer -freg-struct-return
Linking: gcc -I. -Iproto -DWIN32 -DWINVER=0x0600 -D_WIN32_WINNT=0x0600 
-DHAVE_PATHDEF -DFEAT_HUGE -DHAVE_STDINT_H -DMS_WIN64 
-DHAVE_GETTEXT -DHAVE_LOCALE_H -DDYNAMIC_GETTEXT -DFEAT_CSCOPE 
-DFEAT_JOB_CHANNEL -DFEAT_TERMINAL -DFEAT_SOUND -DFEAT_DIRECTX 
-DDYNAMIC_DIRECTX -DFEAT_DIRECTX_COLOR_EMOJI -DFEAT_GUI_MSWIN 
-DFEAT_CLIPBOARD -DFEAT_MBYTE_IME -DDYNAMIC_IME -DDYNAMIC_ICONV 
-pipe -march=x86-64 -Wall -DFEAT_PROPORTIONAL_FONTS -DFEAT_PYTHON3 
-DDYNAMIC_PYTHON3 -DDYNAMIC_PYTHON3_DLL="python38.dll" 
-DFEAT_XPM_W32 -I xpm/x64/include -I xpm/x64/../include -O3 
-fomit-frame-pointer -freg-struct-return -s -municode -mwindows -o gvim.exe 
-lkernel32 -luser32 -lgdi32 -ladvapi32 -lcomdlg32 -lcomctl32 -lnetapi32 -lversion 
-lwsock32 -ld2d1 -ldwrite -Lxpm/x64/lib -lXpm -lwinmm -lole32 -luuid

@chemzqm
Copy link
Member

chemzqm commented Dec 19, 2019

Try remove 'tag': '*' and reinstall coc.nvim.

@chemzqm chemzqm closed this as completed Dec 19, 2019
@imbear
Copy link
Author

imbear commented Dec 19, 2019

删除coc.nvim目录,重新PlugInstall,问题依旧

试着把C:\Users\IMBEAR\AppData\Local\coc\extensions\node_modules下的插件都删除,操作就正常了;
再重新安装coc-yank,问题又出现了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Can't reproduce help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants