[vim/vim] termux ycm mouse openating (#7007)

67 views
Skip to first unread message

qq108201645

unread,
Sep 24, 2020, 2:49:55 AM9/24/20
to vim/vim, Subscribed

Uploading Screenshot_2020-09-24-14-37-19-994_com.termux.png…


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Christian Brabandt

unread,
Sep 24, 2020, 3:12:13 AM9/24/20
to vim/vim, Subscribed

is that a question? Please describe what problem you have. And please fill out the template

qq108201645

unread,
Sep 24, 2020, 5:56:46 AM9/24/20
to vim/vim, Subscribed

这是一个问题吗?请描述您遇到的问题。并请填写模板

I use termux to install vim and ycm, and the prompts generated on ycm can only be selected by keys.
It would be great if you could add a mouse support

Christian Brabandt

unread,
Sep 24, 2020, 6:37:03 AM9/24/20
to vim/vim, Subscribed

I don't understand. Googling tells me, that termux is a terminal emulator for android. I suppose you can touch and type buttons on the keyboard, right? And you want to use the mouse to directly select an item in the popup menu? Is that what you are asking?

Dominique Pellé

unread,
Sep 24, 2020, 7:01:03 AM9/24/20
to vim/vim, Subscribed

My understanding of this issue is that we cannot select an item in the pum (popup menu) by the mouse, even with set mouse=a. Clicking on an item in the pum just closes the pum and selects the active item, regardless of where we click. I suppose that the bug reporter expected that clicking with the mouse on an item in the pum selects the item where we click. That said, the bug report is clearly not detailed enough. I don't think that the ycm (YouCompleteMe) plugin or termux are relevant here.

puremo...@gmail.com

unread,
Sep 24, 2020, 9:25:02 AM9/24/20
to vim_dev
 > I don't think that the ycm (YouCompleteMe) .. relevant here.

Confirmed. YCM just calls complete() with completeopt+=noselect set

qq108201645

unread,
Sep 24, 2020, 9:41:37 AM9/24/20
to vim/vim, Subscribed

我对此问题的理解是,即使使用,我们也无法通过鼠标在pum(弹出菜单)中选择一个项目set mouse=a。单击pum中的一个项目只会关闭pum并选择活动项目,无论我们单击何处。我想错误报告者希望用鼠标单击pum中的某个项目会选择我们单击的项目。也就是说,错误报告显然不够详细。我认为ycm(YouCompleteMe)插件或termux与此处无关。

i see ,thanks

qq108201645

unread,
Sep 24, 2020, 9:41:41 AM9/24/20
to vim/vim, Subscribed

Closed #7007.

Christian Brabandt

unread,
Sep 24, 2020, 2:05:55 PM9/24/20
to vim/vim, Subscribed

If our understanding was correct, I think this is a valid request. Just takes some time until someone can look into it.

Christian Brabandt

unread,
Sep 24, 2020, 2:05:59 PM9/24/20
to vim/vim, Subscribed

Reopened #7007.

qq108201645

unread,
Sep 24, 2020, 11:14:27 PM9/24/20
to vim/vim, Subscribed

我不明白 Googling告诉我,termux是android的终端模拟器。我想您可以触摸并键入键盘上的按钮,对吗?您想使用鼠标直接在弹出菜单中选择一个项目吗?那是你的要求吗?

I don't understand. Googling tells me, that termux is a terminal emulator for android. I suppose you can touch and type buttons on the keyboard, right? And you want to use the mouse to directly select an item in the popup menu? Is that what you are asking?

Yes ,

I don't understand. Googling tells me, that termux is a terminal emulator for android. I suppose you can touch and type buttons on the keyboard, right? And you want to use the mouse to directly select an item in the popup menu? Is that what you are asking?

Yes ,That's nice
5ea3a5ba32fe59b4

qq108201645

unread,
Sep 24, 2020, 11:15:55 PM9/24/20
to vim/vim, Subscribed

我不明白 Googling告诉我,termux是android的终端模拟器。我想您可以触摸并键入键盘上的按钮,对吗?您想使用鼠标直接在弹出菜单中选择一个项目吗?那是你的要求吗?

I don't understand. Googling tells me, that termux is a terminal emulator for android. I suppose you can touch and type buttons on the keyboard, right? And you want to use the mouse to directly select an item in the popup menu? Is that what you are asking?

Yes ,That's nice
-5b8f5dd4ab738f52

qq108201645

unread,
Sep 25, 2020, 12:17:01 AM9/25/20
to vim/vim, Subscribed

My understanding of this issue is that we cannot select an item in the pum (popup menu) by the mouse, even with set mouse=a. Clicking on an item in the pum just closes the pum and selects the active item, regardless of where we click. I suppose that the bug reporter expected that clicking with the mouse on an item in the pum selects the item where we click. That said, the bug report is clearly not detailed enough. I don't think that the ycm (YouCompleteMe) plugin or termux are relevant here.

I refer to part of the ycm source code
I don't understand vimscipt and python.
I guess, the window is branched by vim. vimscipt api to handle.

Ben Jackson

unread,
Sep 25, 2020, 5:54:25 AM9/25/20
to vim/vim, Subscribed

for the record, if you just typed x5 it would have filtered down to a few candidates.

qq108201645

unread,
Sep 25, 2020, 12:31:34 PM9/25/20
to vim/vim, Subscribed

very nice,Cheers

qq108201645

unread,
Feb 22, 2021, 1:14:48 PM2/22/21
to vim/vim, Subscribed

Closed #7007.

qq108201645

unread,
Feb 24, 2021, 11:46:51 AM2/24/21
to vim/vim, Subscribed

Uploading -63fa45ffd37d0d0c.gif…

qq108201645

unread,
Feb 24, 2021, 11:49:24 AM2/24/21
to vim/vim, Subscribed

-63fa45ffd37d0d0c

qq108201645

unread,
Feb 24, 2021, 11:49:24 AM2/24/21
to vim/vim, Subscribed

Reopened #7007.

qq108201645

unread,
Feb 24, 2021, 12:06:42 PM2/24/21
to vim/vim, Subscribed

  • [ ]
    录制_2021_02_25_01_02_17_679
    can't use mouse select
Reply all
Reply to author
Forward
0 new messages