Rectified .bashrc - shopt and not . Tmux, use for in-window cursor nav, for changing window.

This commit is contained in:
Pratik Tripathy
2020-12-16 11:02:33 +05:30
parent 5c05b59c39
commit 1bf3fcb1c2
4 changed files with 28 additions and 11 deletions

View File

@@ -4,15 +4,15 @@ set-option -g prefix C-a
unbind-key C-a
bind-key C-a send-prefix
# Use Alt-arrow keys to switch panes
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
# Use Shift-arrow keys to switch panes
bind -n S-Left select-pane -L
bind -n S-Right select-pane -R
bind -n S-Up select-pane -U
bind -n S-Down select-pane -D
# Shift arrow to switch windows
bind -n S-Left previous-window
bind -n S-Right next-window
# Alt arrow to switch windows
bind -n M-Left previous-window
bind -n M-Right next-window
# Set easier window split keys
bind-key v split-window -h