Moving files from the old tmux repo to this one
This commit is contained in:
commit
9ad29c13ca
14
README.MD
Normal file
14
README.MD
Normal file
@ -0,0 +1,14 @@
|
||||
As the discripion states, I aim to offer a tmux config that makes more sence for me.
|
||||
|
||||
|
||||
To use this config copy the tmux.conf to ~/.tmux.conf, and then run tmux source-file ~/.tmux.conf
|
||||
Now if you want the tmux config to be a the gobal config, you can copy it to /etc/tmux.conf, and then run sudo tmux source-file /etc/tmux.conf
|
||||
|
||||
|
||||
The first change is that Tmux starts at panel 1 instead of panel 0
|
||||
|
||||
The second change is changing the prefix keys from CTRL+b to CTRL+a
|
||||
|
||||
The third change is that instead of using " and % to tile the panels I and - is being used
|
||||
|
||||
And the forth change is changing copy mode from [ to v, as I think it makes sence when vim uses v for more or less the same function
|
20
tmux.conf
Normal file
20
tmux.conf
Normal file
@ -0,0 +1,20 @@
|
||||
# Start windows and panes at 1, not 0
|
||||
set -g base-index 1
|
||||
setw -g pane-base-index 1
|
||||
|
||||
|
||||
# remap prefix from 'C-b' to 'C-a'
|
||||
unbind C-b
|
||||
set-option -g prefix C-a
|
||||
bind-key C-a send-prefix
|
||||
|
||||
|
||||
# split panes using | and -
|
||||
bind I split-window -h
|
||||
bind - split-window -v
|
||||
unbind '"'
|
||||
unbind %
|
||||
|
||||
# New keybinds for copy mode
|
||||
bind v copy-mode
|
||||
unbind [
|
Loading…
x
Reference in New Issue
Block a user