Command-mode text manipulation shortcuts

pull/2/head
Bodaniel Jeanes 2010-11-24 17:37:37 +10:00
parent a7ce6deb31
commit 08846621e1
2 changed files with 11 additions and 0 deletions

View File

@ -5,3 +5,7 @@ set transparency=4
if has("gui_macvim")
macmenu Window.Toggle\ Full\ Screen\ Mode key=<D-CR>
endif
" Mac OS X style command line editing
cnoremap <A-Backspace> <C-W>
cnoremap <D-Backspace> <C-U>

View File

@ -45,3 +45,10 @@ imap nn <Leader> |
map <Esc> <nop> |
imap <Esc> <nop> |
" Emacs-like keys for the command line
cnoremap <C-A> <Home>
cnoremap <C-E> <End>
cnoremap <C-K> <C-U>