add .tmux.conf
This commit is contained in:
parent
0b907c80de
commit
d129f4ea5b
@ -5,8 +5,7 @@ alias vi='vim'
|
|||||||
alias clc='clear'
|
alias clc='clear'
|
||||||
alias a='acpi'
|
alias a='acpi'
|
||||||
alias su='sudo -i'
|
alias su='sudo -i'
|
||||||
#alias matlab='matlab -nodesktop'
|
|
||||||
alias gist='git status'
|
alias gist='git status'
|
||||||
alias src='source ~/.bashrc'
|
alias src='source ~/.bashrc'
|
||||||
alias apt=nala
|
alias apt=nala
|
||||||
alias sudo='sudo '
|
alias sudo='sudo ' # allow more aliases after using sudo
|
||||||
|
40
.tmux.conf
Normal file
40
.tmux.conf
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
# modify prefix from C-b to C-f
|
||||||
|
unbind C-b
|
||||||
|
set-option -g prefix C-f
|
||||||
|
bind-key C-f send-prefix
|
||||||
|
|
||||||
|
# modify pane change
|
||||||
|
bind j select-pane -D
|
||||||
|
bind k select-pane -U
|
||||||
|
bind h select-pane -L
|
||||||
|
bind l select-pane -R
|
||||||
|
|
||||||
|
#modify split commands
|
||||||
|
bind r split-window -h
|
||||||
|
unbind '"'
|
||||||
|
bind b split-window -v
|
||||||
|
unbind '%'
|
||||||
|
|
||||||
|
#modify new window
|
||||||
|
unbind 'c'
|
||||||
|
bind w new-window
|
||||||
|
|
||||||
|
#change session
|
||||||
|
#unbind 's'
|
||||||
|
#bind c change-session
|
||||||
|
|
||||||
|
#modify paste mode entry
|
||||||
|
bind Space copy-mode
|
||||||
|
|
||||||
|
#relod config
|
||||||
|
bind z source-file ~/.tmux.conf
|
||||||
|
|
||||||
|
#clear history
|
||||||
|
bind c clear-history
|
||||||
|
|
||||||
|
#bigger buffer
|
||||||
|
set-option -g history-limit 5000
|
||||||
|
|
||||||
|
set-window-option -g mode-keys vi
|
||||||
|
|
||||||
|
#bind -t vi-copy y copy-pipe 'xclip -in -selection clipboard'
|
Loading…
x
Reference in New Issue
Block a user