Initial commit
This commit is contained in:
commit
ca62ea79ee
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
*~
|
12
README.md
Normal file
12
README.md
Normal file
@ -0,0 +1,12 @@
|
||||
tmux.conf
|
||||
=========
|
||||
|
||||
Configuration files for tmux
|
||||
|
||||
Usage
|
||||
-----
|
||||
|
||||
Source the appropriate file from config in the file ~/.tmux.conf, e.g.
|
||||
```
|
||||
source ~/.tmux/config/tmux-i3.conf
|
||||
```
|
11
config/tmux-i3.conf
Normal file
11
config/tmux-i3.conf
Normal file
@ -0,0 +1,11 @@
|
||||
# Status bar --------------------------------------
|
||||
|
||||
# center align the window list
|
||||
set -g status-justify centre
|
||||
|
||||
# set the status bar
|
||||
set -g status-left ""
|
||||
set -g status-right ""
|
||||
|
||||
# Source the common settings ----------------------
|
||||
source ~/.tmux/config/tmux.conf
|
13
config/tmux-plasma.conf
Normal file
13
config/tmux-plasma.conf
Normal file
@ -0,0 +1,13 @@
|
||||
# Status bar --------------------------------------
|
||||
|
||||
# center align the window list
|
||||
set -g status-justify centre
|
||||
|
||||
# set the status bar
|
||||
set -g status-left "[#S@#H]"
|
||||
set -g status-right "| #[fg=cyan]#(cat /proc/loadavg | cut -d \" \" -f 1,2,3)#[default] | %H:%M %a %d-%b-%Y"
|
||||
set -g status-left-length 15
|
||||
set -g status-right-length 75
|
||||
|
||||
# Source the common settings ----------------------
|
||||
source ~/.tmux/config/tmux.conf
|
13
config/tmux-tty.conf
Normal file
13
config/tmux-tty.conf
Normal file
@ -0,0 +1,13 @@
|
||||
# Status bar --------------------------------------
|
||||
|
||||
# center align the window list
|
||||
set -g status-justify centre
|
||||
|
||||
# set the status bar
|
||||
set -g status-left "[#S@#H]"
|
||||
set -g status-right "| #[fg=cyan]#(cat /proc/loadavg | cut -d \" \" -f 1)#[default] | #[fg=cyan]W: #($HOME/Programs/Wireless-Status-Query/Wireless-Status-Query.sh)#[default] | #[fg=cyan]#($HOME/Programs/Battery-Capacity-Query/Battery-Capacity-Query.sh -full)#[default] | %H:%M %a %d-%b-%Y"
|
||||
set -g status-left-length 15
|
||||
set -g status-right-length 75
|
||||
|
||||
# Source the common settings ----------------------
|
||||
source ~/.tmux/config/tmux.conf
|
90
config/tmux.conf
Normal file
90
config/tmux.conf
Normal file
@ -0,0 +1,90 @@
|
||||
# Global options ----------------------------------
|
||||
|
||||
# Set tmux to use 256 colours
|
||||
set -g default-terminal "xterm-256color"
|
||||
#"screen-256color"
|
||||
|
||||
# Start windows and panes at 1, not 0
|
||||
set -g base-index 1
|
||||
setw -g pane-base-index 1
|
||||
|
||||
# super useful when using "grouped sessions" and multi-monitor setup
|
||||
setw -g aggressive-resize on
|
||||
|
||||
# Custom bindings ---------------------------------
|
||||
|
||||
# Change prefix to Ctrl-a like in Screen
|
||||
unbind C-b
|
||||
set -g prefix C-a
|
||||
bind C-a send-prefix
|
||||
|
||||
# confirm before killing a window or the server
|
||||
bind-key C-d confirm kill-pane
|
||||
bind-key C-k confirm kill-window
|
||||
bind-key M-k confirm kill-server
|
||||
|
||||
# toggle statusbar
|
||||
bind-key b set-option status
|
||||
|
||||
# map Vi movement keys as pane movement keys
|
||||
bind-key j select-pane -L
|
||||
bind-key k select-pane -D
|
||||
bind-key l select-pane -U
|
||||
bind-key \; select-pane -R
|
||||
|
||||
bind -n F1 select-window -t 1
|
||||
bind -n F2 select-window -t 2
|
||||
bind -n F3 select-window -t 3
|
||||
bind -n F4 select-window -t 4
|
||||
bind -n F5 select-window -t 5
|
||||
bind -n F6 select-window -t 6
|
||||
bind -n F7 select-window -t 7
|
||||
bind -n F8 select-window -t 8
|
||||
bind -n F9 select-window -t 9
|
||||
bind -n F10 select-window -t 10
|
||||
bind -n F11 select-window -t 11
|
||||
bind -n F12 select-window -t 12
|
||||
|
||||
# Colors ------------------------------------------
|
||||
|
||||
# default statusbar colors
|
||||
set -g status-fg white
|
||||
set -g status-bg blue
|
||||
set -g status-attr default
|
||||
|
||||
# default window title colors
|
||||
set-window-option -g window-status-fg white
|
||||
set-window-option -g window-status-bg default
|
||||
set-window-option -g window-status-attr default
|
||||
|
||||
# active window title colors
|
||||
set-window-option -g window-status-current-fg black
|
||||
set-window-option -g window-status-current-bg green
|
||||
set-window-option -g window-status-current-attr default
|
||||
|
||||
# default pane border colors
|
||||
set -g pane-border-fg default
|
||||
set -g pane-border-bg default
|
||||
|
||||
# active pane border colors
|
||||
set -g pane-active-border-fg blue
|
||||
set -g pane-active-border-bg default
|
||||
|
||||
# command/message line colors
|
||||
#set -g message-fg white
|
||||
#set -g message-bg black
|
||||
#set -g message-attr bright
|
||||
|
||||
# Plugin manager ----------------------------------
|
||||
|
||||
# List of plugins
|
||||
#set -g @plugin 'tmux-plugins/tpm'
|
||||
#set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
|
||||
set -g @tpm_plugins ' \
|
||||
tmux-plugins/tpm \
|
||||
tmux-plugins/tmux-sensible \
|
||||
'
|
||||
|
||||
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
1
plugins/tmux-sensible
Submodule
1
plugins/tmux-sensible
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 526110eb9b60825d3276afba97ffa4cedb4b0ab9
|
1
plugins/tpm
Submodule
1
plugins/tpm
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit b4c89884e0a8a97fdc1fd470688677867e14e801
|
Loading…
Reference in New Issue
Block a user