nit
This commit is contained in:
parent
046f061657
commit
e3d3ab6bf6
|
|
@ -44,4 +44,4 @@ copyq &
|
||||||
|
|
||||||
xrdb -merge ~/.config/Xresources
|
xrdb -merge ~/.config/Xresources
|
||||||
|
|
||||||
exec "${1:-awesome}"
|
exec ${@:-awesome}
|
||||||
|
|
|
||||||
|
|
@ -92,16 +92,15 @@ bind -T copy-mode-vi y send -X copy-selection
|
||||||
unbind -T copy-mode-vi MouseDragEnd1Pane
|
unbind -T copy-mode-vi MouseDragEnd1Pane
|
||||||
|
|
||||||
# use arrow keys when scrolling on certain commands
|
# use arrow keys when scrolling on certain commands
|
||||||
tmux_commands_with_legacy_scroll="nano less more man git"
|
|
||||||
bind -T root WheelUpPane \
|
bind -T root WheelUpPane \
|
||||||
if-shell -Ft= '#{?mouse_any_flag,1,#{pane_in_mode}}' \
|
if-shell -Ft= '#{?mouse_any_flag,1,#{pane_in_mode}}' \
|
||||||
'send -Mt=' \
|
'send -Mt=' \
|
||||||
'if-shell -t= "#{?alternate_on,true,false} || echo \"#{tmux_commands_with_legacy_scroll}\" | grep -q \"#{pane_current_command}\"" \
|
'if-shell -t= "#{?alternate_on,true,false} || echo \"nano less more man git journalctl\" | grep -q \"#{pane_current_command}\"" \
|
||||||
"send -t= Up Up Up" "copy-mode -et="'
|
"send -t= Up Up Up" "copy-mode -et="'
|
||||||
bind -T root WheelDownPane \
|
bind -T root WheelDownPane \
|
||||||
if-shell -Ft = '#{?pane_in_mode,1,#{mouse_any_flag}}' \
|
if-shell -Ft = '#{?pane_in_mode,1,#{mouse_any_flag}}' \
|
||||||
'send -Mt=' \
|
'send -Mt=' \
|
||||||
'if-shell -t= "#{?alternate_on,true,false} || echo \"#{tmux_commands_with_legacy_scroll}\" | grep -q \"#{pane_current_command}\"" \
|
'if-shell -t= "#{?alternate_on,true,false} || echo \"nano less more man git journalctl\" | grep -q \"#{pane_current_command}\"" \
|
||||||
"send -t= Down Down Down" "send -Mt="'
|
"send -t= Down Down Down" "send -Mt="'
|
||||||
|
|
||||||
### plugins
|
### plugins
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue