patch 7.4.1672
Problem: The Dvorak support is a bit difficult to install. Solution: Turn it into an optional package.
This commit is contained in:
16
runtime/pack/dist/opt/dvorak/plugin/dvorak.vim
vendored
Normal file
16
runtime/pack/dist/opt/dvorak/plugin/dvorak.vim
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
" 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>
|
||||
Reference in New Issue
Block a user