Skip to content

Commit

Permalink
defaults: Revert 'mouse=a'
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
justinmk committed Jan 28, 2017
1 parent 5527754 commit 4ef1335
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion runtime/doc/vim_diff.txt
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/nvim/options.lua
Expand Up @@ -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',
Expand Down

0 comments on commit 4ef1335

Please sign in to comment.