dot

packages and services management
Log | Files | Refs | README

commit 81143947a46d258f4235feeb27f24760053c91d5
parent 5cfacb4a65616b646a05a126712dc9cbbc03c724
Author: josuah <mail@josuah.net>
Date:   Tue,  4 Oct 2016 18:33:10 -0400

Cleanup of tmux and pam_environment

Diffstat:
Mshell/.pam_environment | 2+-
Mtmux/.tmux.conf | 49+++++++++++++++++++++++++------------------------
2 files changed, 26 insertions(+), 25 deletions(-)

diff --git a/shell/.pam_environment b/shell/.pam_environment @@ -15,7 +15,7 @@ EDITOR DEFAULT=vim ALTERNATE_EDITOR DEFAULT=vi VISUAL DEFAULT=${EDITOR} FCEDIT DEFAULT=${EDITOR} -PAGER DEFAULT="less -FIRM" +PAGER DEFAULT="less -Ri" BROWSER DEFAULT=w3m FILTER DEFAULT=peax diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf @@ -6,31 +6,19 @@ #=============================================================================== -# GLOBAL OPTIONS 2016-10-03 -#------------------------------------------------------------------------------- -set -g base-index 1 -set -g pane-base-index 1 -set -g renumber-windows on -set -g display-time 2000 -set -g repeat-time 500 -set -g detach-on-destroy off - - # KEYBINDINGS 2016-10-04 -# ------------------------------------------------------------------------------ - -set -g status-keys vi +#------------------------------------------------------------------------------- -set -g prefix C-Space -unbind C-b +set -g status-keys vi +set -g prefix C-Space +unbind C-b bind C-Space send-key C-Space # Copy mode bind -t vi-copy v begin-selection bind -t vi-copy C-v rectangle-toggle -bind -t vi-copy y copy-pipe 'xclip -i' -bind -n PPage if-shell -F '#{alternate_on}' \ - 'send-keys PPage' 'copy-mode -e; send-keys PPage' +bind -t vi-copy y copy-pipe 'xclip -i' +bind -n PPage if -F '#{alternate_on}' 'send PPage' 'copy -e; send PPage' # Pane management bind -r k select-pane -U @@ -42,8 +30,8 @@ bind -r C-k resize-pane -U 3 bind -r C-j resize-pane -D 3 bind -r C-h resize-pane -L 8 bind -r C-l resize-pane -R 8 -bind % split-window -h -c '#{pane_current_path}' -bind '"' split-window -v -c '#{pane_current_path}' +bind % split -h -c '#{pane_current_path}' +bind '"' split -v -c '#{pane_current_path}' # Window management bind -r < swap-window -t - @@ -56,10 +44,20 @@ bind C new-window # Sessions management bind -n C-z detach -bind S new-session \; send-keys ". ~/.tmux/new-session\n" +bind S new-session\; send "~/.tmux/new-session\n" # Reload config -bind r source-file ~/.tmux.conf\; display-message "Config loaded" +bind r source ~/.tmux.conf\; display "Config loaded" + + +# GLOBAL OPTIONS 2016-10-03 +#------------------------------------------------------------------------------- +set -g base-index 1 +set -g pane-base-index 1 +set -g renumber-windows on +set -g display-time 2000 +set -g repeat-time 500 +set -g detach-on-destroy off # GLOBAL APPEARANCE 2016-10-04 @@ -71,14 +69,14 @@ set -g message-command-style bg=green # Display-panes mode set -g display-panes-colour white -set -g display-panes-active-style fg=green +set -g display-panes-active-colour green # Clock mode set -g clock-mode-colour green set -g clock-mode-style 24 # Menus -set -g mode-style bold,fg=green +set -g mode-style bold,bg=green,fg=black # STATUS 2016-10-04 @@ -88,6 +86,9 @@ set -g mode-style bold,fg=green set -g status-position top set -g status-justify centre +# Global +set -g status-style '' + # Left set -g status-left " #S " set -g status-left-style bold,fg=white