mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-11-22 03:16:31 +00:00
More tmux
This commit is contained in:
parent
b88282a451
commit
921ebb8e8d
@ -27,15 +27,13 @@ setw -g mouse-select-window on
|
|||||||
setw -g mouse-select-pane on
|
setw -g mouse-select-pane on
|
||||||
|
|
||||||
# easy splitting
|
# easy splitting
|
||||||
if-shell "vertest `tmux -V` '>=' 1.9" 'bind | split-window -h -c "#{pane_current_path}"'
|
if-shell "source ./.bash_funcs && vertest `tmux -V | sed 's/[^0-9\.]*//g'` '>=' 1.9" 'bind | split-window -h -c "#{pane_current_path}"'
|
||||||
if-shell "vertest `tmux -V` '>=' 1.9" 'bind - split-window -c "#{pane_current_path}"'
|
if-shell "source ./.bash_funcs && vertest `tmux -V | sed 's/[^0-9\.]*//g'` '>=' 1.9" 'bind - split-window -c "#{pane_current_path}"'
|
||||||
if-shell "vertest `tmux -V` '>=' 1.9" 'bind _ split-window -c "#{pane_current_path}"'
|
if-shell "source ./.bash_funcs && vertest `tmux -V | sed 's/[^0-9\.]*//g'` '>=' 1.9" 'bind _ split-window -c "#{pane_current_path}"'
|
||||||
# old versions (some won't recognize new vertest function"
|
# old versions (some won't recognize new vertest function"
|
||||||
if-shell "vertest `tmux -V` '<' 1.9 || [ $? -eq 127 ]" 'bind | split-window -h'
|
if-shell "source ./.bash_funcs && vertest `tmux -V | sed 's/[^0-9\.]*//g'` '<' 1.9 || [ $? -eq 127 ]" 'bind | split-window -h'
|
||||||
if-shell "vertest `tmux -V` '<' 1.9 || [ $? -eq 127 ]" 'bind - split-window'
|
if-shell "source ./.bash_funcs && vertest `tmux -V | sed 's/[^0-9\.]*//g'` '<' 1.9 || [ $? -eq 127 ]" 'bind - split-window'
|
||||||
if-shell "vertest `tmux -V` '<' 1.9 || [ $? -eq 127 ]" 'bind _ split-window'
|
if-shell "source ./.bash_funcs && vertest `tmux -V | sed 's/[^0-9\.]*//g'` '<' 1.9 || [ $? -eq 127 ]" 'bind _ split-window'
|
||||||
|
|
||||||
run-shell "source ./.bash_funcs && vertest `tmux -V` '>' 1.9 && touch tmux.true || touch tmux.false"
|
|
||||||
|
|
||||||
# act like vim
|
# act like vim
|
||||||
setw -g mode-keys vi
|
setw -g mode-keys vi
|
||||||
|
Loading…
Reference in New Issue
Block a user