You are not logged in.

#1 2020-04-04 16:35:44

kxmel
Member
Registered: 2020-04-04
Posts: 2

[Solved]Neovim display command weird

Hello,

I recently installed Arch for the first time and i have some problems with nvim

1586017911-selection-001.png

I don't know why i have this kind of menu and not the habitual command line suggestion.

Thank you

Last edited by kxmel (2020-04-07 15:04:41)

Offline

#2 2020-04-05 17:19:02

twelveeighty
Member
From: Alberta, Canada
Registered: 2011-09-04
Posts: 1,096

Re: [Solved]Neovim display command weird

How did you install NeoVim exactly? Because that is nvim-qt (or some other GUI variant), not NeoVim. And if you check the help/documentation, you'll notice that it's typically a feature you can turn off. With nvim-qt ,it's --no-ext-popupmenu.

Offline

#3 2020-04-05 19:58:58

ryanzyy
Member
Registered: 2017-07-31
Posts: 8

Re: [Solved]Neovim display command weird

Is this just the default command line menu when you run nvim in tty.

I just switched to neovim from vim recently and never thought this kind of menu is a 'bug'.

Offline

#4 2020-04-05 20:31:38

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved]Neovim display command weird

ryanzyy wrote:

Is this just the default command line menu when you run nvim in tty.

Nope. Not in any version I have used over the last couple of years on Arch.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2020-04-05 22:18:39

ryanzyy
Member
Registered: 2017-07-31
Posts: 8

Re: [Solved]Neovim display command weird

It's from 'vim-plugged'.

Plug<Tab> -> displays a menu
colors<Tab> -> no menu just auto-completing

Offline

#6 2020-04-05 22:20:40

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved]Neovim display command weird

So, an AUR package? Nothing to do with vanilla or default neovim...

OP: how did you install Arch?

Last edited by jasonwryan (2020-04-05 22:21:22)


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2020-04-05 23:28:23

ryanzyy
Member
Registered: 2017-07-31
Posts: 8

Re: [Solved]Neovim display command weird

ryanzyy wrote:

It's from 'vim-plugged'.

Plug<Tab> -> displays a menu
colors<Tab> -> no menu just auto-completing

Sorry this was wrong.
It was because colors only have 1 match, namely, colorscheme.

I also get this menu after removing ~/.config/nvim/init.vim and ~/.vimrc

I installed neovim using pacman

Offline

#8 2020-04-06 00:00:39

ryanzyy
Member
Registered: 2017-07-31
Posts: 8

Re: [Solved]Neovim display command weird

It seems to be built-in and default:

https://github.com/neovim/neovim/pull/10384

Offline

#9 2020-04-06 00:51:35

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved]Neovim display command weird

So, with full completions, as below, it remains the standard vim horizontal menu... That's why I don't see it.

set wildmenu                            " enhanced tab-completion shows all matching cmds in a popup menu
set wildmode=list:longest,full          " full completion options

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#10 2020-04-07 10:05:46

kxmel
Member
Registered: 2020-04-04
Posts: 2

Re: [Solved]Neovim display command weird

jasonwryan wrote:

So, with full completions, as below, it remains the standard vim horizontal menu... That's why I don't see it.

set wildmenu                            " enhanced tab-completion shows all matching cmds in a popup menu
set wildmode=list:longest,full          " full completion options

That work thank you so much

Offline

Board footer

Powered by FluxBB