mirror of
				https://github.com/tmux-plugins/tmux-sensible.git
				synced 2025-11-04 00:16:03 +00:00 
			
		
		
		
	Remove all mouse-related options
This commit is contained in:
		@@ -2,6 +2,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
### master
 | 
					### master
 | 
				
			||||||
- bugfix: prevent exiting tmux if 'reattach-to-user-namespace' is not installed
 | 
					- bugfix: prevent exiting tmux if 'reattach-to-user-namespace' is not installed
 | 
				
			||||||
 | 
					- remove all mouse-related options
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### v1.1.0, 2014-08-30
 | 
					### v1.1.0, 2014-08-30
 | 
				
			||||||
- bugfix: determine the default shell from the $SHELL env var on OS X
 | 
					- bugfix: determine the default shell from the $SHELL env var on OS X
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -44,11 +44,6 @@ Inspired by [vim-sensible](https://github.com/tpope/vim-sensible).
 | 
				
			|||||||
    # upgrade $TERM
 | 
					    # upgrade $TERM
 | 
				
			||||||
    set -g default-terminal "screen-256color"
 | 
					    set -g default-terminal "screen-256color"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # 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
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    # emacs key bindings in tmux command prompt (prefix + :) are better than
 | 
					    # emacs key bindings in tmux command prompt (prefix + :) are better than
 | 
				
			||||||
    # vi keys, even for vim users
 | 
					    # vi keys, even for vim users
 | 
				
			||||||
    set -g status-keys emacs
 | 
					    set -g status-keys emacs
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -96,11 +96,6 @@ main() {
 | 
				
			|||||||
		tmux set-option -g default-terminal "screen-256color"
 | 
							tmux set-option -g default-terminal "screen-256color"
 | 
				
			||||||
	fi
 | 
						fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	# 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
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	# emacs key bindings in tmux command prompt (prefix + :) are better than
 | 
						# emacs key bindings in tmux command prompt (prefix + :) are better than
 | 
				
			||||||
	# vi keys, even for vim users
 | 
						# vi keys, even for vim users
 | 
				
			||||||
	tmux set-option -g status-keys emacs
 | 
						tmux set-option -g status-keys emacs
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user