From 9d48d105e14c6386cad4400fb916f8947ab29adb Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Tue, 6 Mar 2018 11:44:48 +0300 Subject: [PATCH] Stop using tmux: it no longer works with non-utf8 locales See https://github.com/tmux/tmux/issues/1211 Back to GNU screen then. --- .tmux.conf | 98 ------------------------------------------------------ 1 file changed, 98 deletions(-) delete mode 100644 .tmux.conf diff --git a/.tmux.conf b/.tmux.conf deleted file mode 100644 index 72b57b5..0000000 --- a/.tmux.conf +++ /dev/null @@ -1,98 +0,0 @@ -# Start window numbers at 1 to match keyboard order with tmux window order -set-option -g base-index 1 -set-option -g pane-base-index 1 -# Renumber windows sequentially after closing any of them -set-option -g renumber-windows on - -# Keyboard -set-window-option -g mode-keys vi -# Pass [Ctrl]+[PgUp/PgDn] -set-window-option -g xterm-keys on -# Don't wait for [Esc] to allow fast switching from insert mode to normal in vim -# Set (and export) environment variable SLOWTERM to override. -if-shell "test -z $SLOWTERM" "set-option -gs escape-time 0" - -# Mouse -#set-option -g mouse on - -# Rather than constraining window size to the maximum size of any client -# connected to the *session*, constrain window size to the maximum size of any -# client connected to *that window*. Much more reasonable. -set-window-option -g aggressive-resize on - -# Activity monitoring -set-option -g visual-activity on -set-window-option -g monitor-activity on - -# Clock color -set-window-option -g clock-mode-colour black - -# Attempt to set the client terminal title -set-option -g set-titles on -# Terminal emulator window title -set-option -g set-titles-string 'tmux #S.#I.#P #T' # session, window number, pane number, title - -set-option -g message-style bg=black,fg=white - -# Soften status bar color from black on harsh green to black on cyan -set-option -g status-style bg=cyan,fg=black - -set-option -g pane-active-border-style bg=default,fg=red -set-option -g pane-border-style bg=default,fg=blue - -set-window-option -g mode-style bg=black - -set-window-option -g window-status-activity-style fg=yellow -set-window-option -g window-status-bell-style fg=red -set-window-option -g window-status-current-style bg=blue,fg=white -set-window-option -g window-status-style bg=cyan,fg=black - -set-option -g status-left '[#S.#I.#P]' - -# set-option -g status-interval 5 -# set-option -g status-right '%H:%M' -set-option -g status-right '' - -# Increase scrollback lines -set-option -g history-limit 1000 - -# Set the command prefix to match GNU screen (CTRL+a) -# set-option -g prefix C-a -# -# Use C-a C-a key to send prefix instead of the default -# unbind-key C-b -# bind-key C-a send-prefix -# -# C-a for last-window -# bind-key C-a last-window - -# R to reload config without restart -bind-key R source-file ~/.tmux.conf \; display "Configuration reloaded!" - -# vim-like navigation -unbind-key h; bind-key h select-pane -L -unbind-key j; bind-key j select-pane -D -unbind-key k; bind-key k select-pane -U -unbind-key l; bind-key l select-pane -R - -bind H resize-pane -L 10 -bind J resize-pane -D 10 -bind K resize-pane -U 10 -bind L resize-pane -R 10 - -bind -r C-h select-window -t :- -bind -r C-l select-window -t :+ - -# Use vertical and horizontal chars to split the screen -bind-key | split-window -h -bind-key - split-window -v - -bind-key -t vi-copy v begin-selection -bind-key -t vi-copy y copy-selection -bind-key -t vi-copy r rectangle-toggle -bind P paste-buffer - -# Copy tmux copy buffer to X clipboard -bind -t vi-copy C-y copy-pipe "xclip -i" -# Copy X clipboard to tmux paste buffer -bind C-p run-shell "xclip -o | tmux load-buffer -; tmux paste-buffer" -- 2.39.5