commit | 1106953c24adfa497e0c5b2e76dcadd2e187121a | [log] [tgz] |
---|---|---|
author | Michael Zhou <moz@google.com> | Tue Aug 20 19:04:22 2013 -0700 |
committer | Michael Zhou <moz@google.com> | Tue Aug 20 20:24:04 2013 -0700 |
tree | dc20fb44b675ea4a5d0485345f8fcadda948b9e9 | |
parent | 54c8d27a15d635a519d062f9a518f95b6106d222 [diff] |
Use "gj" and "gk" to fix navigation in vim mode As per the vim mode author's suggestion (see https://github.com/marijnh/CodeMirror/pull/1743#issuecomment-22989545 ), remap "j" and "Down" to "gj", "k" and "Up" to "gk". This is a common practice among vim users and only makes a trivial difference on wrapped lines. Removed inferior navigational hacks. Change-Id: I5a089b8ddc1237f3f93dd30c98858896a53f9111