Remap vim arrow keys to something useful
00516b1b8095238dd570e8e78b2efdac97980500
1 parent
7773fcf4
.vimrc
+6 -1
| 81 | 81 | noremap <C-h> ^ |
|
| 82 | 82 | noremap <C-l> $ |
|
| 83 | 83 | noremap j gj |
|
| 84 | 84 | noremap k gk |
|
| 85 | 85 | ||
| 86 | - | " \m to make |
|
| 86 | + | " Remap arrow keys to something useful |
|
| 87 | + | nnoremap <left> :bprev<CR> |
|
| 88 | + | nnoremap <right> :bnext<CR> |
|
| 89 | + | nnoremap <up> :tabnext<CR> |
|
| 90 | + | nnoremap <down> :tabprev<CR> |
|
| 91 | + | ||
| 87 | 92 | map <Leader>m :make<Return> |
|
| 88 | 93 | ||
| 89 | 94 | " Syntax coloring |
|
| 90 | 95 | set t_Co=256 |
|
| 91 | 96 | syntax enable |