Skip to content
Snippets Groups Projects
Verified Commit 0881c006 authored by Mohcine Chraibi's avatar Mohcine Chraibi
Browse files
parents 79992b64 274aa62c
Branches
No related tags found
No related merge requests found
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
......
![](tmux_screen.png)
Screenshot | Demo
:-------------------------:|:-------------------------:
<img src="tmux_screen.png" alt="drawing" width="400"/> | [![Demo](https://img.youtube.com/vi/Dd7ybndVGLQ/0.jpg)](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`
![](tmux1.mov)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment