mirror of https://github.com/bjeanes/dotfiles.git
Command-mode text manipulation shortcuts
parent
a7ce6deb31
commit
08846621e1
|
@ -5,3 +5,7 @@ set transparency=4
|
||||||
if has("gui_macvim")
|
if has("gui_macvim")
|
||||||
macmenu Window.Toggle\ Full\ Screen\ Mode key=<D-CR>
|
macmenu Window.Toggle\ Full\ Screen\ Mode key=<D-CR>
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
" Mac OS X style command line editing
|
||||||
|
cnoremap <A-Backspace> <C-W>
|
||||||
|
cnoremap <D-Backspace> <C-U>
|
||||||
|
|
|
@ -45,3 +45,10 @@ imap nn <Leader> |
|
||||||
|
|
||||||
map <Esc> <nop> |
|
map <Esc> <nop> |
|
||||||
imap <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>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue