Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tmux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mohcine Chraibi
tmux
Commits
0881c006
Verified
Commit
0881c006
authored
6 years ago
by
Mohcine Chraibi
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of
https://gitlab.version.fz-juelich.de/chraibi1/tmux
parents
79992b64
274aa62c
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.tmux.conf
+10
-10
10 additions, 10 deletions
.tmux.conf
README.md
+14
-3
14 additions, 3 deletions
README.md
with
24 additions
and
13 deletions
.tmux.conf
+
10
−
10
View file @
0881c006
ZSH
=`
which
zsh
`
#
ZSH=`which zsh`
set
-
option
-
g
default
-
shell
$
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-option -g default-command "which reattach-to-user-namespace > /dev/null && reattach-to-user-namespace -l $ZSH"
set
-
g
default
-
terminal
"screen-256color"
set
-
g
default
-
terminal
"screen-256color"
setw
-
g
automatic
-
rename
off
setw
-
g
automatic
-
rename
off
...
@@ -12,11 +12,11 @@ set -g prefix C-a
...
@@ -12,11 +12,11 @@ set -g prefix C-a
bind
r
source
-
file
~/.
tmux
.
conf
\;
display
"Reloaded!"
bind
r
source
-
file
~/.
tmux
.
conf
\;
display
"Reloaded!"
bind
-
key
c
new
-
window
-
c
"#{pane_current_path}"
bind
-
key
c
new
-
window
-
c
"#{pane_current_path}"
# utf-8 settings
# utf-8 settings
set
-
g
status
-
utf8
on
#
set -g status-utf8 on
setw
-
g
utf8
on
#
setw -g utf8 on
# Make mouse useful in copy mode
# Make mouse useful in copy mode
setw
-
g
mode
-
mouse
on
#
setw -g mode-mouse on
# key bindings for splitting
# key bindings for splitting
unbind
%
unbind
%
...
@@ -87,9 +87,9 @@ set -g status-right "#(~/.tmuxDir/itunes_status.sh) #[fg=#57575e]│ #[fg=white]
...
@@ -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
-
position
top
set
-
option
-
g
status
on
set
-
option
-
g
status
on
set
-
option
-
g
status
-
interval
5
set
-
option
-
g
status
-
interval
5
setw
-
g
c0
-
change
-
trigger
10
#
setw -g c0-change-trigger 10
setw
-
g
c0
-
change
-
interval
100
#
setw -g c0-change-interval 100
set
-
option
-
g
status
-
utf8
on
#
set-option -g status-utf8 on
set
-
option
-
g
status
-
justify
"centre"
set
-
option
-
g
status
-
justify
"centre"
set
-
option
-
g
status
-
left
-
length
90
set
-
option
-
g
status
-
left
-
length
90
set
-
option
-
g
status
-
right
-
length
350
set
-
option
-
g
status
-
right
-
length
350
...
@@ -100,7 +100,7 @@ setw -g monitor-activity on
...
@@ -100,7 +100,7 @@ setw -g monitor-activity on
setw
-
g
window
-
status
-
activity
-
attr
bold
#,blink,underscore
setw
-
g
window
-
status
-
activity
-
attr
bold
#,blink,underscore
# window options
# window options
set
-
g
mouse
-
select
-
pane
on
#
set -g mouse-select-pane on
setw
-
g
automatic
-
rename
setw
-
g
automatic
-
rename
# Don't actually ring the bell (but still set the window attributes in
# Don't actually ring the bell (but still set the window attributes in
...
...
This diff is collapsed.
Click to expand it.
README.md
+
14
−
3
View file @
0881c006

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
Clone project and copy files to HOME
...
@@ -55,5 +61,10 @@ tmux
...
@@ -55,5 +61,10 @@ tmux
-
`Ctrl-s`
: searching forwards
-
`Ctrl-s`
: searching forwards
-
`Ctrl-r`
: searching backwards
-
`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`

This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment