mirror of
https://github.com/lloeki/vimfiles.git
synced 2025-12-06 05:24:39 +01:00
meta key in vim
This commit is contained in:
parent
00c5774e71
commit
8112d2efd9
1 changed files with 12 additions and 13 deletions
25
vimrc
25
vimrc
|
|
@ -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 [1;3D <C-Left>
|
map OD <M-Left>
|
||||||
"noremap [1;3C <C-Right>
|
map OC <M-Right>
|
||||||
"noremap [H <Home>
|
noremap [D <C-Left>
|
||||||
"noremap [F <End>
|
noremap [C <C-Right>
|
||||||
"noremap [1;5D <Home>
|
"OSX control key
|
||||||
"noremap [1;5C <End>
|
noremap [1;5D <Home>
|
||||||
"noremap! [1;3D <C-Left>
|
noremap [1;5C <End>
|
||||||
"noremap! [1;3C <C-Right>
|
|
||||||
"noremap! [H <Home>
|
" make meta move on words like control
|
||||||
"noremap! [F <End>
|
noremap <M-Left> <C-Left>
|
||||||
"noremap! [1;5D <Home>
|
noremap <M-Right> <C-Right>
|
||||||
"noremap! [1;5C <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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue