Created
April 19, 2013 00:15
-
-
Save L1fescape/5417198 to your computer and use it in GitHub Desktop.
My settings for splitting in vim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Splits | |
" switching splits | |
nnoremap <C-J> <C-W><C-J> | |
nnoremap <C-K> <C-W><C-K> | |
nnoremap <C-L> <C-W><C-L> | |
nnoremap <C-H> <C-W><C-H> | |
" resizing splits | |
map = <c-w>+ | |
map - <c-w>- | |
map + <c-w>< | |
map _ <c-w>> | |
" new splits | |
map <Bar> <c-w>v | |
map \ <c-w>n | |
" open new splits to right and bottom | |
set splitbelow | |
set splitright |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment