1
0
Fork 0

colorscheme update + some tmux updates

This commit is contained in:
Arthur Khachaturov 2024-08-20 02:20:14 +03:00
parent 59daa951f9
commit 3db255cc32
No known key found for this signature in database
GPG key ID: CAC2B7EB6DF45D55
12 changed files with 153 additions and 432 deletions

View file

@ -1,22 +1,29 @@
# Change prefix key to C-a, found in in GNU Screen
unbind-key C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# Sane splits
# moving
bind u previous-window
bind i next-window
bind n new-window -c "#{pane_current_path}"
bind n "new-window -c '#{pane_current_path}'"
bind k split-window -v -c "#{pane_current_path}"
bind l split-window -h -c "#{pane_current_path}"
# splits
bind h "split-window -hb -c '#{pane_current_path}'"
bind j "split-window -v -c '#{pane_current_path}'"
bind k "split-window -v -b -c '#{pane_current_path}'"
bind l "split-window -h -c '#{pane_current_path}'"
# Rebind command key to ;
bind \; command-prompt
bind ';' "command-prompt"
# Reload config on C-r
bind C-r source-file ~/.config/tmux/tmux.conf
bind C-r "source-file ~/.config/tmux/tmux.conf"
# session binds
bind C-n "new-session -c '#{pane_current_path}' -s '#{b:pane_current_path}'"
bind C-x "set-option -g detach-on-destroy on; kill-session"
bind X "set-option -g detach-on-destroy off; kill-session; set-option -g detach-on-destroy on"
# vim: ft=tmux