From c62a0eb97d5ae29c2eb50ee4043cbcd65a69c1f0 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Sun, 24 Feb 2019 11:57:49 -0700 Subject: [PATCH] MAINT: minor cleanup --- README.md | 2 ++ tmux.conf | 14 +++++--------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 1d29143..5f115c0 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ $ sudo zypper install \ the_silver_searcher \ cmus \ + docker \ + gcc \ git \ htop \ mr \ diff --git a/tmux.conf b/tmux.conf index b090942..a763286 100644 --- a/tmux.conf +++ b/tmux.conf @@ -23,11 +23,7 @@ bind c new-window -c "#{pane_current_path}" bind % split-window -h -c "#{pane_current_path}" bind '"' split-window -c "#{pane_current_path}" -# hjkl pane traversal -bind h select-pane -L -bind j select-pane -D -bind k select-pane -U -bind l select-pane -R +set-window-option -g mode-keys vi set-option -g status-bg colour18 set-option -g status-fg colour136 @@ -35,7 +31,7 @@ set -g status-justify centre set -g status-left-length 50 set -g status-right-length 140 set -g status-left '#[fg=green]#H#[default] session:#S' -set -g status-right 'tw: #(task status:pending project: count) #[fg=white,bg=default]%a %l:%M:%S %p#[default] #[fg=blue]%m-%d-%Y' +set -g status-right '#[fg=white,bg=default]%a %l:%M:%S %p#[default] #[fg=blue]%Y-%m-%d' set-option -g renumber-windows on set -sg escape-time 0 @@ -44,6 +40,6 @@ set-option -g destroy-unattached 'off' # Enable mouse control (clickable windows, panes, resizable panes) set -g mouse on -# TODO: look into this -bind-key -Tcopy-mode-vi 'v' send -X begin-selection -bind-key -Tcopy-mode-vi 'y' send -X copy-pipe-and-cancel pbcopy +bind-key -T copy-mode-vi 'v' send -X begin-selection +bind-key -T copy-mode-vi 'y' send -X copy-selection +bind-key -T copy-mode-vi 'r' send -X rectangle-toggle