neovim-qt: Unable to use mouse scroll with neovim nightly
When running with neovim nightly, mouse scroll not works.
Reproduce
- Run
nvim-qt --nvim path/to/nvim.appimage path/to/neovim-qt/README.md
Environment
- neovim-qt version: master(v0.2.16.9999)
nvim --version
NVIM v0.5.0-499-g1407899c3
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/gcc-5 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/home/travis/build/neovim/bot-ci/build/neovim/build/config -I/home/travis/build/neovim/bot-ci/build/neovim/src -I/home/travis/build/neovim/bot-ci/build/neovim/.deps/usr/include -I/usr/include -I/home/travis/build/neovim/bot-ci/build/neovim/build/src/nvim/auto -I/home/travis/build/neovim/bot-ci/build/neovim/build/include
Compiled by travis@travis-job-972e54f4-eecf-497b-a5fe-df9ad4e11565
Features: +acl +iconv +tui
See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "
/home/travis/build/neovim/bot-ci/build/neovim/build/nvim.AppDir/usr/share/nvim
"
Run :checkhealth for more info
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 17 (1 by maintainers)
I’m not opposed to making
set mouse=a
the default… I just don’t know of a safe way to do it.Sure, that’s a good idea. We can add an entry to the README and Wiki.
Good point, I updated
set mouse=a
comment above.We don’t have enough control to properly enable this setting from
neovim-qt
. The optiontermguicolors
is a different classification of options, see:h ui-option
.Consider the following:
set mouse=
in myinit.vim
to disable this feature. This works today.mouse=a
the default option inneovim-qt
vianvim_gui_shim.vim
init.vim
->nvim_gui_shim.vim
->ginit.vim
mouse=
was ignored.There was some discussion of making
mouse=a
the default for neovim, where they have the ability to detect the explicitly set vs un-set case.