update some tmux and vim config
This commit is contained in:
@@ -19,7 +19,8 @@ bind-key -n M-l select-pane -R
|
||||
# pane / window modifications
|
||||
bind-key -n M-z resize-pane -Z
|
||||
# use `set automatic-rename on` to reset
|
||||
bind-key -n M-, command-prompt "rename-window '%%'"
|
||||
bind-key -n M-, command-prompt -p "Rename window:" "rename-window '%%'"
|
||||
bind-key -n M-< set automatic-rename on
|
||||
|
||||
# new windows
|
||||
bind-key -n M-c new-window -c "#{pane_current_path}"
|
||||
@@ -36,8 +37,13 @@ bind-key -n M-8 select-window -t 8
|
||||
bind-key -n M-9 select-window -t 9
|
||||
|
||||
# swap panes
|
||||
bind-key -n 'M-{' swap-pane -D
|
||||
bind-key -n 'M-}' swap-pane -U
|
||||
bind-key -n 'M-[' swap-pane -D
|
||||
bind-key -n 'M-]' swap-pane -U
|
||||
|
||||
# move panes to and from windows
|
||||
bind-key -n 'M-t' command-prompt -p "Send pane to:" "join-pane -t :'%%'"
|
||||
bind-key -n 'M-#' select-layout even-horizontal
|
||||
bind-key -n 'M-$' select-layout even-vertical
|
||||
|
||||
# resize panes
|
||||
bind-key -n 'M-Left' resize-pane -L
|
||||
@@ -59,7 +65,7 @@ set -g base-index 1
|
||||
setw -g pane-base-index 1
|
||||
|
||||
# styling
|
||||
set -g status-position top
|
||||
set -g status-position bottom
|
||||
|
||||
# using https://github.com/edkolev/tmuxline.vim
|
||||
# open vim, `:TmuxLineSnapshot`, save to ~/.tmux.theme
|
||||
|
||||
Reference in New Issue
Block a user