mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
Problem: The Dvorak support is a bit difficult to install. Solution: Turn it into an optional package.
17 lines
513 B
VimL
17 lines
513 B
VimL
" When using a dvorak keyboard this file may be of help to you.
|
|
" These mappings have been made by Lawrence Kesteloot <kesteloo@cs.unc.edu>.
|
|
" What they do is that the most often used keys, like hjkl, are put in a more
|
|
" easy to use position.
|
|
" It may take some time to learn using this.
|
|
|
|
if exists("g:loaded_dvorak_plugin")
|
|
finish
|
|
endif
|
|
let g:loaded_dvorak_plugin = 1
|
|
|
|
" Key to go into dvorak mode:
|
|
map ,d :runtime dvorak/enable.vim<CR>
|
|
|
|
" Key to get out of dvorak mode:
|
|
map ,q :runtime dvorak/disable.vim<CR>
|