mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
defaults: Revert 'mouse=a' (#6022)
This default causes too much confusion for terminal users. Until a better approach is implemented, revert to the traditional default. Better solution would be: - Implement a right-click menu for TUI - Set 'mouse=a' *only* if clipboard is working. Closes #5938
This commit is contained in:
parent
5527754f95
commit
81525dc5c3
@ -47,7 +47,6 @@ these differences.
|
||||
- 'langnoremap' is set by default
|
||||
- 'laststatus' defaults to 2 (statusline is always shown)
|
||||
- 'listchars' defaults to "tab:> ,trail:-,nbsp:+"
|
||||
- 'mouse' defaults to "a"
|
||||
- 'nocompatible' is always set
|
||||
- 'nrformats' defaults to "bin,hex"
|
||||
- 'sessionoptions' doesn't include "options"
|
||||
|
@ -1572,7 +1572,7 @@ return {
|
||||
full_name='mouse',
|
||||
type='string', list='flags', scope={'global'},
|
||||
varname='p_mouse',
|
||||
defaults={if_true={vi="", vim="a"}}
|
||||
defaults={if_true={vi="", vim=""}}
|
||||
},
|
||||
{
|
||||
full_name='mousefocus', abbreviation='mousef',
|
||||
|
@ -438,6 +438,8 @@ describe('clipboard usage', function()
|
||||
end)
|
||||
|
||||
it('handles middleclick correctly', function()
|
||||
execute('set mouse=a')
|
||||
|
||||
local screen = Screen.new(30, 5)
|
||||
screen:attach()
|
||||
insert([[
|
||||
|
Loading…
Reference in New Issue
Block a user