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:CommandTAcceptSelectionMap='<C-r>'
|
||||
|
||||
" xterm escape codes for osx-like cursor motion
|
||||
"noremap [1;3D <C-Left>
|
||||
"noremap [1;3C <C-Right>
|
||||
"noremap [H <Home>
|
||||
"noremap [F <End>
|
||||
"noremap [1;5D <Home>
|
||||
"noremap [1;5C <End>
|
||||
"noremap! [1;3D <C-Left>
|
||||
"noremap! [1;3C <C-Right>
|
||||
"noremap! [H <Home>
|
||||
"noremap! [F <End>
|
||||
"noremap! [1;5D <Home>
|
||||
"noremap! [1;5C <End>
|
||||
"xterm key combos
|
||||
map OD <M-Left>
|
||||
map OC <M-Right>
|
||||
noremap [D <C-Left>
|
||||
noremap [C <C-Right>
|
||||
"OSX control key
|
||||
noremap [1;5D <Home>
|
||||
noremap [1;5C <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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue