mirror of
				https://github.com/tmux-plugins/tmux-sensible.git
				synced 2025-11-04 00:16:03 +00:00 
			
		
		
		
	@@ -5,6 +5,7 @@
 | 
			
		||||
- set `mode-mouse on` by default
 | 
			
		||||
- do not make any decision about the prefix, just enhance it
 | 
			
		||||
- update `README.md`. List options set in the plugin.
 | 
			
		||||
- do *not* set `mode-mouse on` by default because some users don't like it
 | 
			
		||||
 | 
			
		||||
### v1.0.0, 2014-07-30
 | 
			
		||||
- initial work on the plugin
 | 
			
		||||
 
 | 
			
		||||
@@ -44,8 +44,7 @@ Inspired by [vim-sensible](https://github.com/tpope/vim-sensible).
 | 
			
		||||
    # upgrade $TERM
 | 
			
		||||
    set -g default-terminal "screen-256color"
 | 
			
		||||
 | 
			
		||||
    # enable all mouse features for terminals that support it
 | 
			
		||||
    setw -g mode-mouse on
 | 
			
		||||
    # enable mouse features for terminals that support it
 | 
			
		||||
    set -g mouse-resize-pane on
 | 
			
		||||
    set -g mouse-select-pane on
 | 
			
		||||
    set -g mouse-select-window on
 | 
			
		||||
 
 | 
			
		||||
@@ -80,8 +80,7 @@ main() {
 | 
			
		||||
		tmux set-option -g default-terminal "screen-256color"
 | 
			
		||||
	fi
 | 
			
		||||
 | 
			
		||||
	# enable all mouse features for terminals that support it
 | 
			
		||||
	tmux set-window-option -g mode-mouse on
 | 
			
		||||
	# enable mouse features for terminals that support it
 | 
			
		||||
	tmux set-option -g mouse-resize-pane on
 | 
			
		||||
	tmux set-option -g mouse-select-pane on
 | 
			
		||||
	tmux set-option -g mouse-select-window on
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user