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