diff --git a/.tmux.conf b/.tmux.conf index be94740dfe423b9e181c2ddb173b41f0cc6f02e3..de5c82fafd44bd1d31d4c14a6963bb81ab96b216 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -1,6 +1,6 @@ -ZSH=`which zsh` -set-option -g default-shell $ZSH -set-option -g default-command "which reattach-to-user-namespace > /dev/null && reattach-to-user-namespace -l $ZSH" +#ZSH=`which zsh` +#set-option -g default-shell $ZSH +#set-option -g default-command "which reattach-to-user-namespace > /dev/null && reattach-to-user-namespace -l $ZSH" set -g default-terminal "screen-256color" setw -g automatic-rename off @@ -12,11 +12,11 @@ set -g prefix C-a bind r source-file ~/.tmux.conf \; display "Reloaded!" bind-key c new-window -c "#{pane_current_path}" # utf-8 settings -set -g status-utf8 on -setw -g utf8 on +#set -g status-utf8 on +#setw -g utf8 on # Make mouse useful in copy mode -setw -g mode-mouse on +#setw -g mode-mouse on # key bindings for splitting unbind % @@ -87,9 +87,9 @@ set -g status-right "#(~/.tmuxDir/itunes_status.sh) #[fg=#57575e]│ #[fg=white] set-option -g status-position top set-option -g status on set-option -g status-interval 5 -setw -g c0-change-trigger 10 -setw -g c0-change-interval 100 -set-option -g status-utf8 on +#setw -g c0-change-trigger 10 +#setw -g c0-change-interval 100 +#set-option -g status-utf8 on set-option -g status-justify "centre" set-option -g status-left-length 90 set-option -g status-right-length 350 @@ -100,7 +100,7 @@ setw -g monitor-activity on setw -g window-status-activity-attr bold #,blink,underscore # window options -set -g mouse-select-pane on +#set -g mouse-select-pane on setw -g automatic-rename # Don't actually ring the bell (but still set the window attributes in diff --git a/README.md b/README.md index 4f0eb6a515520fc6f36075e35ade453dac9f0c4d..749fc1a316b7c6d46867cc0552545f1786a794dc 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,12 @@ - +Screenshot | Demo +:-------------------------:|:-------------------------: +<img src="tmux_screen.png" alt="drawing" width="400"/> | [](https://www.youtube.com/watch?v=Dd7ybndVGLQ "Demo tmux") -# Configuration of tmux + + + + +# Installation Clone project and copy files to HOME @@ -55,5 +61,10 @@ tmux - `Ctrl-s`: searching forwards - `Ctrl-r`: searching backwards +## Attach / Detach sessions + +- `Ctrl-a d`: detach session +- To attach again to a *detached* session start tmux in a terminal as `tmux attach` + + -