vimsheet.controller.edit_handler

Edit mode key handler — vi-style line editing of existing cell content.

class vimsheet.controller.edit_handler.EditHandler(app)[source]

Bases: object

Handles all key events while in Edit mode.

Parameters:

app (VimSheetApp)

__init__(app)[source]
Parameters:

app (VimSheetApp)

Return type:

None

enter(at_end=True)[source]

Switch app to Edit mode, loading current cell content.

Parameters:

at_end (bool)

Return type:

None

handle(key)[source]
Parameters:

key (str)

Return type:

None