Bug 423223 - Vi Keybindings - 'zz', 'zt', 'zb'
Summary: Vi Keybindings - 'zz', 'zt', 'zb'
Status: NEW
Alias: None
Product: Orion (Archived)
Classification: ECD
Component: Editor (show other bugs)
Version: 4.0   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Silenio Quarti CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2013-12-04 14:34 EST by Stephen Jahns CLA
Modified: 2015-05-08 10:26 EDT (History)
2 users (show)

See Also:
s.t.jahns: review? (ken_walker)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Jahns CLA 2013-12-04 14:34:41 EST
'zz' should scroll editor such that the current line is centered in the editor, 'zt' should scroll such that the current line is at the top of the editor, and 'zb' should scroll such that the current line is at the bottom.
Comment 1 Stephen Jahns CLA 2013-12-04 14:41:16 EST
Implmentation here - https://github.com/stjahns/orion.client/commit/ed9e9e28369924c4713cd4d13a108a60ebbe4f57
Commit also includes fixes for 423221 and 423221 which also depended on the same 'PrefixMode' that was added to vi.js
Comment 2 Stephen Jahns CLA 2013-12-04 14:41:37 EST
*423222 and 423221