Commits

Marlo Simon Noval  committed 0c4f50c

Update resizing a split

  • Participants
  • Parent commits 4360c9d

Comments (0)

Files changed (1)

 set winaltkeys=no
 
 " Maps Alt-[h,j,k,l] to resizing a window split
-map <silent> <A-h> <C-w><
-map <silent> <A-j> <C-W>-
-map <silent> <A-k> <C-W>+
-map <silent> <A-l> <C-w>>
+map <silent> <A-h> <C-w>5<
+map <silent> <A-j> <C-W>5-
+map <silent> <A-k> <C-W>5+
+map <silent> <A-l> <C-w>5>
+map <silent> <S-A-h> <C-w>999<
+map <silent> <S-A-j> <C-W>999-
+map <silent> <S-A-k> <C-W>999+
+map <silent> <S-A-l> <C-w>999>
 
 " Maps Alt-[s.v] to horizontal and vertical split respectively
 map <silent> <A-s> :split<CR>