AutoYADM commit: 2024-12-23 20:15:02
This commit is contained in:
parent
7004183350
commit
2eb9212831
3 changed files with 23 additions and 13 deletions
|
@ -127,3 +127,4 @@ PipeWire
|
||||||
neovide
|
neovide
|
||||||
Fullscreen
|
Fullscreen
|
||||||
dh
|
dh
|
||||||
|
colemak
|
||||||
|
|
Binary file not shown.
|
@ -52,12 +52,22 @@ set -g @plugin 'tmux-plugins/tmux-yank'
|
||||||
# pretty minimal status
|
# pretty minimal status
|
||||||
set -g @plugin 'niksingh710/minimal-tmux-status'
|
set -g @plugin 'niksingh710/minimal-tmux-status'
|
||||||
|
|
||||||
|
# Theme Settings
|
||||||
|
set -g @minimal-tmux-use-arrow false
|
||||||
|
set -g @minimal-tmux-status "top"
|
||||||
|
set -g @minimal-tmux-right true
|
||||||
|
set -g @minimal-tmux-justify "centre"
|
||||||
|
set -g @minimal-tmux-bg "#933737"
|
||||||
|
set -g @minimal-tmux-fg "#000000"
|
||||||
|
|
||||||
### Session management -- TODO: configure later
|
### Session management -- TODO: configure later
|
||||||
|
|
||||||
# set -g @plugin 'tmux-plugins/tmux-resurrect'
|
# set -g @plugin 'tmux-plugins/tmux-resurrect'
|
||||||
# set -g @plugin 'tmux-plugins/tmux-continuum'
|
# set -g @plugin 'tmux-plugins/tmux-continuum'
|
||||||
|
|
||||||
### NAVIGATION KEYBINDINGS
|
### NAVIGATION KEYBINDINGS
|
||||||
|
#
|
||||||
|
### Note: m:n:e:i are h:j:k:l on colemak-dh
|
||||||
|
|
||||||
# focus panes
|
# focus panes
|
||||||
bind -n M-m select-pane -L
|
bind -n M-m select-pane -L
|
||||||
|
@ -88,43 +98,42 @@ bind Right resize-pane -R 5
|
||||||
bind Up resize-pane -U 5
|
bind Up resize-pane -U 5
|
||||||
bind Down resize-pane -D 5
|
bind Down resize-pane -D 5
|
||||||
|
|
||||||
bind v copy-mode
|
# Focus windows
|
||||||
bind u next-window
|
bind u next-window
|
||||||
bind l previous-window
|
bind l previous-window
|
||||||
|
|
||||||
|
# Swap active pane with direction
|
||||||
bind -n M-j swap-pane -t left
|
bind -n M-j swap-pane -t left
|
||||||
bind -n M-l swap-pane -D
|
bind -n M-l swap-pane -D
|
||||||
bind -n M-u swap-pane -U
|
bind -n M-u swap-pane -U
|
||||||
bind -n M-y swap-pane -t right
|
bind -n M-y swap-pane -t right
|
||||||
|
|
||||||
# m to mark a pane, M to "swap" it with current pane
|
# m to mark a pane, M to "swap" it with current pane
|
||||||
|
# Note: this does not "unmark" the marked pane!
|
||||||
bind M swap-pane
|
bind M swap-pane
|
||||||
|
|
||||||
|
# Unbind these resizing defaults
|
||||||
|
# as they conflict with Neovim
|
||||||
unbind -n M-Left
|
unbind -n M-Left
|
||||||
unbind -n M-Right
|
unbind -n M-Right
|
||||||
unbind -n M-Up
|
unbind -n M-Up
|
||||||
unbind -n M-Down
|
unbind -n M-Down
|
||||||
|
|
||||||
# Theme Settings
|
# Toggle status bar
|
||||||
set -g @minimal-tmux-use-arrow false
|
bind-key b set-option status
|
||||||
set -g @minimal-tmux-status "top"
|
|
||||||
set -g @minimal-tmux-right true
|
|
||||||
set -g @minimal-tmux-justify "centre"
|
|
||||||
set -g @minimal-tmux-bg "#933737"
|
|
||||||
set -g @minimal-tmux-fg "#000000"
|
|
||||||
bind-key t set-option status
|
|
||||||
|
|
||||||
|
|
||||||
|
# Enable vi keys in copy mode
|
||||||
set-window-option -g mode-keys vi
|
set-window-option -g mode-keys vi
|
||||||
|
|
||||||
|
# Copy mode
|
||||||
|
# TODO: binding to cancel copy mode without selecting
|
||||||
|
bind v copy-mode
|
||||||
bind-key -T copy-mode-vi v send-keys -X begin-selection
|
bind-key -T copy-mode-vi v send-keys -X begin-selection
|
||||||
bind-key -T copy-mode-vi C-v send-keys -X rectangle-toggle
|
bind-key -T copy-mode-vi C-v send-keys -X rectangle-toggle
|
||||||
bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
|
bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
|
||||||
|
|
||||||
bind-key b set-option status
|
|
||||||
|
|
||||||
# Do not preserve the current working directory for new windows
|
# Do not preserve the current working directory for new windows
|
||||||
bind c new-window -c ""
|
bind c new-window -c ""
|
||||||
|
|
||||||
|
# WARN: This line must come last!
|
||||||
run '/usr/share/tmux-plugin-manager/tpm'
|
run '/usr/share/tmux-plugin-manager/tpm'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue