Skip to content

Commit

Permalink
Shifting home row 1 to the right in tmux and vim
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Lago committed Mar 6, 2017
1 parent 6eb0575 commit 59d8d6a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,20 @@ bind | split-window -h
bind - split-window -v

# Switch between panes with Vim-style "arrows"
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind j select-pane -L
bind k select-pane -D
bind l select-pane -U
bind \; select-pane -R

# Cycle through windows with C-a C-h or C-a C-l
bind -r C-h select-window -t :-
bind -r C-l select-window -t :+

# Resize panels
bind -r H resize-pane -L 2
bind -r J resize-pane -D 2
bind -r K resize-pane -U 2
bind -r L resize-pane -R 2
bind -r J resize-pane -L 2
bind -r K resize-pane -D 2
bind -r L resize-pane -U 2
bind -r : resize-pane -R 2

###################################################
# COLORS #
Expand Down
5 changes: 5 additions & 0 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -162,3 +162,8 @@ let g:Powerline_symbols = "fancy"
let g:airline_theme='wombat'
" indentLine color
let g:indentLine_color_term = 237
" Shift home row 1 to the right
noremap ; l
noremap l k
noremap k j
noremap j h

0 comments on commit 59d8d6a

Please sign in to comment.