Gerald Lai wrote:
On Mon, 15 May 2006, Robert MannI wrote:
[snip]
Now my question, this is the current way I'm doing this:
-----------------
" Remap for DVORAK
noremap t j
noremap j t
noremap n k
noremap k n
noremap s l
noremap l s
noremap T J
noremap J T
noremap N K
noremap K N
noremap S L
noremap L S
------------------
This is kinda long for just swapping three keys. Is there any shorter
way?
Short of using a shorter alias for "noremap" or a function, the answer
is no :) Vim favors being more configurable over brevity.
HTH.
--
Gerald
However, you might be interested in using (or creating) a keymap.
See
:help 'keymap'
:help mbute-keymap
and what follows the latter until (but not including) the heading "10.
Using UTF-8".
Best regards,
Tony.