Bug 423223

Summary: Vi Keybindings - 'zz', 'zt', 'zb'
Product: [ECD] Orion (Archived) Reporter: Stephen Jahns <s.t.jahns>
Component: EditorAssignee: Silenio Quarti <Silenio_Quarti>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: ken_walker, Silenio_Quarti
Version: 4.0Keywords: triaged
Target Milestone: ---Flags: s.t.jahns: review? (ken_walker)
Hardware: PC   
OS: Mac OS X   
Whiteboard:

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