work add's
This commit is contained in:
parent
5a6669a5fc
commit
bb68ddcc34
4 changed files with 64 additions and 10 deletions
26
config/tmux
26
config/tmux
|
@ -108,3 +108,29 @@ if-shell "test '#{$TMUX_VERSION_MAJOR} -gt 1 -o \( #{$TMUX_VERSION_MAJOR} -eq 1
|
|||
if-shell "test '#{$TMUX_VERSION_MAJOR} -gt 1 -o \( #{$TMUX_VERSION_MAJOR} -eq 1 -a #{$TMUX_VERSION_MINOR} -ge 8 \)'" "unbind '\"'; bind '\"' split-window -v -c '#{pane_current_path}'"
|
||||
if-shell "test '#{$TMUX_VERSION_MAJOR} -gt 1 -o \( #{$TMUX_VERSION_MAJOR} -eq 1 -a #{$TMUX_VERSION_MINOR} -ge 8 \)'" 'unbind v; bind v split-window -h -c "#{pane_current_path}"'
|
||||
if-shell "test '#{$TMUX_VERSION_MAJOR} -gt 1 -o \( #{$TMUX_VERSION_MAJOR} -eq 1 -a #{$TMUX_VERSION_MINOR} -ge 8 \)'" 'unbind %; bind % split-window -h -c "#{pane_current_path}"'
|
||||
|
||||
|
||||
# Make mouse useful in copy mode
|
||||
setw -g mode-mouse on
|
||||
|
||||
# Allow mouse to select which pane to use
|
||||
set -g mouse-select-pane on
|
||||
|
||||
# Allow mouse dragging to resize panes
|
||||
set -g mouse-resize-pane on
|
||||
|
||||
# Allow mouse to select windows
|
||||
set -g mouse-select-window on
|
||||
|
||||
# Allow xterm titles in terminal window, terminal scrolling with scrollbar, and setting overrides of C-Up, C-Down, C-Left, C-Right
|
||||
# (commented out because it disables cursor navigation in vim)
|
||||
#set -g terminal-overrides "xterm*:XT:smcup@:rmcup@:kUP5=\eOA:kDN5=\eOB:kLFT5=\eOD:kRIT5=\eOC"
|
||||
|
||||
# Scroll History
|
||||
set -g history-limit 90000
|
||||
|
||||
# Set ability to capture on start and restore on exit window data when running an application
|
||||
setw -g alternate-screen on
|
||||
|
||||
# Lower escape timing from 500ms to 50ms for quicker response to scroll-buffer access.
|
||||
set -s escape-time 50
|
Loading…
Add table
Add a link
Reference in a new issue