Ease of use tmux
This commit is contained in:
parent
339e1fbca0
commit
1840bb4ff8
2 changed files with 18 additions and 6 deletions
|
@ -1,12 +1,25 @@
|
||||||
# Correct tab numbering
|
# Config
|
||||||
|
## Correct numbering
|
||||||
set -g base-index 1
|
set -g base-index 1
|
||||||
|
set -g pane-base-index 1
|
||||||
# Move tabs to top
|
set -g renumber-windows on
|
||||||
|
## Activity Monitoring
|
||||||
|
setw -g monitor-activity on
|
||||||
|
set -g visual-activity on
|
||||||
|
## Move tabs to top
|
||||||
set-option -g status-position top
|
set-option -g status-position top
|
||||||
|
|
||||||
# Mappings
|
# Mappings
|
||||||
bind-key v split-window -h
|
## <Leader> |,- Split panes
|
||||||
bind-key s split-window -v
|
bind-key \ split-window -h
|
||||||
|
bind-key - split-window -v
|
||||||
|
## <Leader> h,j,k,l to switch pane
|
||||||
|
bind h select-pane -L
|
||||||
|
bind j select-pane -D
|
||||||
|
bind k select-pane -U
|
||||||
|
bind l select-pane -R
|
||||||
|
## <Leader>r to reload
|
||||||
bind r source-file ~/.tmux.conf
|
bind r source-file ~/.tmux.conf
|
||||||
|
|
||||||
|
# Theme
|
||||||
source-file ~/dotfiles/tmux/.tmux.theme
|
source-file ~/dotfiles/tmux/.tmux.theme
|
||||||
|
|
|
@ -3,7 +3,6 @@ export ZSH=~/.oh-my-zsh
|
||||||
ZSH_THEME="kardan"
|
ZSH_THEME="kardan"
|
||||||
|
|
||||||
ENABLE_CORRECTION="true"
|
ENABLE_CORRECTION="true"
|
||||||
COMPLETION_WAITING_DOTS="true"
|
|
||||||
|
|
||||||
[[ -s ~/.autojump/etc/profile.d/autojump.sh ]] && source ~/.autojump/etc/profile.d/autojump.sh
|
[[ -s ~/.autojump/etc/profile.d/autojump.sh ]] && source ~/.autojump/etc/profile.d/autojump.sh
|
||||||
autoload -U compinit && compinit -u
|
autoload -U compinit && compinit -u
|
||||||
|
|
Loading…
Add table
Reference in a new issue