123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162 |
- # HEADER: ___ _ ___ _ _
- # HEADER: | _ \_ _ _ __ _ __ ___| |_ / __|___ _ _| |_ _ _ ___| |
- # HEADER: | _/ || | '_ \ '_ \/ -_) _| | (__/ _ \ ' \ _| '_/ _ \ |
- # HEADER: |_| \_,_| .__/ .__/\___|\__| \___\___/_||_\__|_| \___/_|
- # HEADER: |_| |_|
- # $Id: screen-keys.conf,v 1.6 2010/02/02 21:34:16 nicm Exp $
- #
- # By Nicholas Marriott. Public domain.
- #
- # This configuration file binds many of the common GNU screen key bindings to
- # appropriate tmux key bindings. Note that for some key bindings there is no
- # tmux analogue and also that this set omits binding some commands available in
- # tmux but not in screen.
- #
- # Note this is only a selection of key bindings and they are in addition to the
- # normal tmux key bindings. This is intended as an example not as to be used
- # as-is.
- # Set window notifications
- setw -g monitor-activity on
- set -g visual-activity on
- # Highlight active window
- set-window-option -g window-status-current-style bg=cyan
- set-window-option -g mode-keys vi
- unbind Escape
- # Set the prefix to ^A.
- unbind C-b
- set -g prefix ^A
- bind a send-prefix
- # Bind appropriate commands similar to screen.
- # lockscreen ^X x
- unbind ^X
- bind ^X lock-server
- unbind x
- bind x lock-server
- # screen ^C c
- unbind ^C
- bind ^C new-window
- bind c new-window
- # detach ^D d
- unbind ^D
- bind ^D detach
- # displays *
- unbind *
- bind * list-clients
- # next ^@ ^N sp n
- unbind ^@
- bind ^@ next-window
- unbind ^N
- bind ^N next-window
- unbind " "
- bind " " next-window
- unbind n
- bind n next-window
- # title A
- unbind A
- bind A command-prompt "rename-window %%"
- # other ^A
- unbind ^A
- bind ^A last-window
- # prev ^H ^P p ^?
- unbind ^H
- bind ^H previous-window
- unbind ^P
- bind ^P previous-window
- unbind p
- bind p previous-window
- unbind BSpace
- bind BSpace previous-window
- # windows ^W w
- unbind ^W
- bind ^W list-windows
- unbind w
- bind w list-windows
- # kill K k
- unbind K
- bind K confirm-before "kill-window"
- unbind k
- bind k confirm-before "kill-window"
- # redisplay ^L l
- unbind ^L
- bind ^L refresh-client
- unbind l
- bind l refresh-client
- # split -v |
- unbind |
- bind | split-window -h
- # split -h _
- unbind _
- bind _ split-window
- # Set color to tmux
- set -g default-terminal "screen-256color"
- # Set synchronize
- unbind ^s
- bind ^s set-window-option synchronize-panes\; display-message "synchronize-panes is now #{?pane_synchronized,on,off}"
- # " windowlist -b
- unbind '"'
- bind '"' choose-window
- set -g history-limit 1000000
- set-option -g bell-action any
- set-option -g set-titles on
- set-option -g set-titles-string '#H:#S.#I.#P #W #T' # window number,program name,active (or not)
- set-option -g visual-bell on
- # Global setting for status line
- set-option -g status-justify left
- set-option -g status-left-length 40
- set-option -g status-style bg=#444444,fg=white
- set-option -g pane-active-border-style bg=yellow,fg=black
- set-option -g pane-border-style bg=yellow,fg=white
- setw -g window-status-style bg=default,fg=white
- setw -g window-status-current-style bg=cyan,fg=black
- setw -g window-status-activity-style bg=default,fg=red
- set -g status-left '#[fg=green][#[fg=yellow]#H#[fg=black]:#[fg=white]#S #[fg=green]][#[default]'
- set -g status-right '#[fg=green]][ #[fg=black]%Y-%m-%d #[fg=white]%R#[fg=green]]'
- # Style for display messages
- set-option -g message-style bg=yellow,fg=black
- bind r source-file ~/.tmux.conf\; display-message "Reading configuration"
- set -g default-terminal "screen-256color"
- source "/usr/share/powerline/bindings/tmux/powerline.conf"
- # Force utf-8
- set -gq status-utf8 on
- # force tmux to use utf-8
- setw -gq utf8 on
- new -d -s0 '. repo/renv/renv.sh && renv && . repo/bundler-exec/bundler-exec.sh && exec bash'
- neww -d '. repo/renv/renv.sh && renv && . repo/bundler-exec/bundler-exec.sh && exec bash'
- neww -d '. repo/renv/renv.sh && renv && . repo/bundler-exec/bundler-exec.sh && exec bash'
- neww -d '. repo/renv/renv.sh && renv && . repo/bundler-exec/bundler-exec.sh && exec bash'
- neww -d '. repo/renv/renv.sh && renv && . repo/bundler-exec/bundler-exec.sh && exec bash'
- neww -d '. repo/renv/renv.sh && renv && . repo/bundler-exec/bundler-exec.sh && exec bash'
- neww -d '. repo/renv/renv.sh && renv && . repo/bundler-exec/bundler-exec.sh && exec bash'
- neww -d -npodman 'exec /usr/local/bin/podman --log-level debug system service -t 0 unix:///tmp/podman.sock'
|