Created
July 4, 2010 05:49
-
-
Save paul/463192 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
" disable arrow keys | |
map <down> <nop> | |
map <left> <nop> | |
map <right> <nop> | |
map <up> <nop> | |
imap <down> <nop> | |
imap <left> <nop> | |
imap <right> <nop> | |
imap <up> <nop> | |
" Make arrow keys useful again | |
map <down> <ESC>:bn<RETURN> | |
map <right> <ESC>:Tlist<RETURN> | |
map <left> <ESC>:NERDTreeToggle<RETURN> | |
map <up> <ESC>:bp<RETURN> | |
" Make space be : in normal mode | |
nnoremap <Space> : | |
" Window navigation | |
nmap <C-J> <C-W><C-J> | |
nmap <C-K> <C-W><C-K> | |
nmap <C-L> <C-W><C-L> | |
nmap <C-H> <C-W><C-H> | |
map <C-l> <C-w>l | |
map <C-h> <C-w>h | |
map <C-j> <C-w>j | |
map <C-k> <C-w>k | |
map <C-tab> <C-w>p |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment