Changed pane swithing keybinds to something more vim-like and started useing vim
This commit is contained in:
parent
45e50fb744
commit
def1a9a238
18
tmux.conf
18
tmux.conf
|
@ -2,13 +2,13 @@
|
|||
|
||||
#use ctrl-a instead of ctrl-b
|
||||
unbind C-b
|
||||
set -g prefix C-q
|
||||
set -g prefix C-a
|
||||
|
||||
#alt-arrow for switching 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
|
||||
bind -n M-h select-pane -L
|
||||
bind -n M-l select-pane -R
|
||||
bind -n M-k select-pane -U
|
||||
bind -n M-j select-pane -D
|
||||
|
||||
#notify when something happens in another windows
|
||||
setw -g monitor-activity on
|
||||
|
@ -27,11 +27,9 @@ set -g set-titles-string '#T'
|
|||
set-option -g set-titles on
|
||||
|
||||
#setup tabs controls
|
||||
bind -n S-down new-window
|
||||
bind -n S-left prev
|
||||
bind -n S-right next
|
||||
bind -n C-left swap-window -t -1
|
||||
bind -n C-right swap-window -t +1
|
||||
bind -n C-j new-window
|
||||
bind -n C-h prev
|
||||
bind -n C-l next
|
||||
|
||||
#enable aggressive-resize
|
||||
setw -g aggressive-resize on
|
||||
|
|
2
tmux/dev
2
tmux/dev
|
@ -8,7 +8,7 @@ split-window -h -c "$pane_current_path"
|
|||
select-pane -t 0
|
||||
|
||||
send-keys -t 0 'cd src' C-m
|
||||
send-keys -t 0 'nano -F' C-m
|
||||
send-keys -t 0 'vim' C-m
|
||||
|
||||
send-keys -t 1 'cd src' C-m
|
||||
send-keys -t 1 'clear' C-m
|
||||
|
|
Loading…
Reference in New Issue
Block a user