7
|
1 When using a dvorak keyboard this file may be of help to you.
|
|
2 These mappings have been made by Lawrence Kesteloot <kesteloo@cs.unc.edu>.
|
|
3 What they do is that the most often used keys, like hjkl, are put in a more
|
|
4 easy to use position.
|
|
5 It may take some time to learn using this.
|
|
6
|
|
7 Put these lines in your .vimrc:
|
|
8 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|
|
9 " Key to go into dvorak mode:
|
|
10 map ,d :source ~/.dvorak
|
|
11 " Key to get out of dvorak mode:
|
|
12 map ,q :source ~/.qwerty
|
|
13 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|
|
14
|
|
15 write these lines into the file ~/.dvorak:
|
|
16 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|
|
17 " Dvorak keyboard, only in insert mode and ex mode.
|
|
18 " You may want to add a list of map's too.
|
|
19 imap! a a
|
|
20 imap! b x
|
|
21 imap! c j
|
|
22 imap! d e
|
|
23 imap! e .
|
|
24 imap! f u
|
|
25 imap! g i
|
|
26 imap! h d
|
|
27 imap! i c
|
|
28 imap! j h
|
|
29 imap! k t
|
|
30 imap! l n
|
|
31 imap! m m
|
|
32 imap! n b
|
|
33 imap! o r
|
|
34 imap! p l
|
|
35 imap! q '
|
|
36 imap! r p
|
|
37 imap! s o
|
|
38 imap! t y
|
|
39 imap! u g
|
|
40 imap! v k
|
|
41 imap! w ,
|
|
42 imap! x q
|
|
43 imap! y f
|
|
44 imap! z ;
|
|
45 imap! ; s
|
|
46 imap! ' -
|
|
47 imap! " _
|
|
48 imap! , w
|
|
49 imap! . v
|
|
50 imap! / z
|
|
51 imap! A A
|
|
52 imap! B X
|
|
53 imap! C J
|
|
54 imap! D E
|
|
55 imap! E >
|
|
56 imap! F U
|
|
57 imap! G I
|
|
58 imap! H D
|
|
59 imap! I C
|
|
60 imap! J H
|
|
61 imap! K T
|
|
62 imap! L N
|
|
63 imap! M M
|
|
64 imap! N B
|
|
65 imap! O R
|
|
66 imap! P L
|
|
67 imap! Q "
|
|
68 imap! R P
|
|
69 imap! S O
|
|
70 imap! T Y
|
|
71 imap! U G
|
|
72 imap! V K
|
|
73 imap! W <
|
|
74 imap! X Q
|
|
75 imap! Y F
|
|
76 imap! Z :
|
|
77 imap! < W
|
|
78 imap! > V
|
|
79 imap! ? Z
|
|
80 imap! : S
|
|
81 imap! [ /
|
|
82 imap! ] =
|
|
83 imap! { ?
|
|
84 imap! } +
|
|
85 imap! - [
|
|
86 imap! _ {
|
|
87 imap! = ]
|
|
88 imap! + }
|
|
89 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|
|
90
|
|
91 write these lines into the file ~/.qwerty
|
|
92 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|
|
93 " Qwerty keyboard
|
|
94 unmap! a
|
|
95 unmap! b
|
|
96 unmap! c
|
|
97 unmap! d
|
|
98 unmap! e
|
|
99 unmap! f
|
|
100 unmap! g
|
|
101 unmap! h
|
|
102 unmap! i
|
|
103 unmap! j
|
|
104 unmap! k
|
|
105 unmap! l
|
|
106 unmap! m
|
|
107 unmap! n
|
|
108 unmap! o
|
|
109 unmap! p
|
|
110 unmap! q
|
|
111 unmap! r
|
|
112 unmap! s
|
|
113 unmap! t
|
|
114 unmap! u
|
|
115 unmap! v
|
|
116 unmap! w
|
|
117 unmap! x
|
|
118 unmap! y
|
|
119 unmap! z
|
|
120 unmap! ;
|
|
121 unmap! '
|
|
122 unmap! \"
|
|
123 unmap! ,
|
|
124 unmap! .
|
|
125 unmap! /
|
|
126 unmap! A
|
|
127 unmap! B
|
|
128 unmap! C
|
|
129 unmap! D
|
|
130 unmap! E
|
|
131 unmap! F
|
|
132 unmap! G
|
|
133 unmap! H
|
|
134 unmap! I
|
|
135 unmap! J
|
|
136 unmap! K
|
|
137 unmap! L
|
|
138 unmap! M
|
|
139 unmap! N
|
|
140 unmap! O
|
|
141 unmap! P
|
|
142 unmap! Q
|
|
143 unmap! R
|
|
144 unmap! S
|
|
145 unmap! T
|
|
146 unmap! U
|
|
147 unmap! V
|
|
148 unmap! W
|
|
149 unmap! X
|
|
150 unmap! Y
|
|
151 unmap! Z
|
|
152 unmap! <
|
|
153 unmap! >
|
|
154 unmap! ?
|
|
155 unmap! :
|
|
156 unmap! [
|
|
157 unmap! ]
|
|
158 unmap! {
|
|
159 unmap! }
|
|
160 unmap! -
|
|
161 unmap! _
|
|
162 unmap! =
|
|
163 unmap! +
|
|
164 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|