feat(tmux): use verbose subcommands for clarity
This commit is contained in:
parent
8c873f7469
commit
58150fb99b
2 changed files with 8 additions and 7 deletions
|
|
@ -48,17 +48,18 @@ bind -r Down resizep -D 5
|
|||
unbind \'; bind \' splitw -hc '#{pane_current_path}'
|
||||
unbind \-; bind \- splitw -vc '#{pane_current_path}'
|
||||
|
||||
unbind y; bind y if -F '#{pane_in_mode}' 'send -X cancel' 'copy-mode'
|
||||
unbind /; bind / if -F '#{pane_in_mode}' { send -X cancel } { copy-mode ; command-prompt -p '/' { send -X search-forward -- '%%' } }
|
||||
unbind ?; bind ? if -F '#{pane_in_mode}' { send -X cancel } { copy-mode ; command-prompt -p '?' { send -X search-backward -- '%%' } }
|
||||
unbind y; bind y if -F '#{pane_in_mode}' 'send-keys -X cancel' 'copy-mode'
|
||||
unbind /; bind / if -F '#{pane_in_mode}' { send-keys -X cancel } { copy-mode ; command-prompt -p '/' { send -X search-forward -- '%%' } }
|
||||
unbind ?; bind ? if -F '#{pane_in_mode}' { send-keys -X cancel } { copy-mode ; command-prompt -p '?' { send -X search-backward -- '%%' } }
|
||||
|
||||
bind -T copy-mode-vi v send -X begin-selection
|
||||
bind -T copy-mode-vi y send -X copy-pipe-and-cancel 'test -n "$WAYLAND_DISPLAY" && wl-copy || xclip -in -sel c'
|
||||
bind -T copy-mode-vi v send-keys -X begin-selection
|
||||
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'test -n "$WAYLAND_DISPLAY" && wl-copy || xclip -in -sel c'
|
||||
|
||||
unbind b; bind b set status\; refresh -S
|
||||
unbind m; bind m set -g mouse\; run 'mux bar'\; refresh -S
|
||||
unbind m; bind m set -g mouse\; run-shell 'mux bar'\; refresh -S
|
||||
|
||||
unbind ^; bind ^ last-window
|
||||
unbind w; bind w kill-pane;
|
||||
|
||||
unbind e; bind e neww -n 'tmux.conf' "sh -c 'nvim $XDG_CONFIG_HOME/nix/config/tmux/tmux.conf; tmux source $XDG_CONFIG_HOME/tmux/tmux.conf'"
|
||||
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@ in
|
|||
enable = true;
|
||||
vt = 1;
|
||||
settings.default_session = {
|
||||
command = "${tuigreet} --time --asterisks --cmd '${lib.getExe config.users.users.barrett.shell} --login' --theme 'border=dark-gray;text=white;prompt=blue;time=dark-gray;action=dark-gray;button=blue;container=black;input=white'";
|
||||
command = "${tuigreet} --time --asterisks --cmd 'sh -c \"exec $(getent passwd $(id -un) | cut -d: -f7) -l\"' --theme 'border=dark-gray;text=white;prompt=blue;time=dark-gray;action=dark-gray;button=blue;container=black;input=white'";
|
||||
user = "greeter";
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue