meta key in vim

This commit is contained in:
Loic Nageleisen 2011-06-09 05:12:15 -07:00
parent 00c5774e71
commit 8112d2efd9

25
vimrc
View file

@ -121,19 +121,18 @@ let g:CommandTMatchWindowReverse=1
"let g:CommandTAcceptSelectionTabMap='<CR>'
"let g:CommandTAcceptSelectionMap='<C-r>'
" xterm escape codes for osx-like cursor motion
"noremap  <C-Left>
"noremap  <C-Right>
"noremap  <Home>
"noremap  <End>
"noremap  <Home>
"noremap  <End>
"noremap!  <C-Left>
"noremap!  <C-Right>
"noremap!  <Home>
"noremap!  <End>
"noremap!  <Home>
"noremap!  <End>
"xterm key combos
map OD <M-Left>
map OC <M-Right>
noremap  <C-Left>
noremap  <C-Right>
"OSX control key
noremap  <Home>
noremap  <End>
" make meta move on words like control
noremap <M-Left> <C-Left>
noremap <M-Right> <C-Right>
" highlight background for >80
"highlight OverLength ctermbg=red ctermfg=white guibg=#592929