vimsheet.command_completer
Tab-completion engine for command mode.
Completion contexts
Command name :w<tab> :fetch<tab>
File / path arg :w /tmp/<tab> :e ./dat<tab>
Range + command :A1:B5 fetch<tab> :A1 sort<tab>
Formula function =@SU<tab> (inside insert/edit buffer)
Sheet name :delsheet <tab> :renamesheet <tab>
Theme name :load theme <tab>
Sort order :sort A <tab>
Plot type :plot <tab>
- class vimsheet.command_completer.CommandCompleter(app)[source]
Bases:
objectStateful tab completer for the command buffer.
Call
tab()each time Tab is pressed; callreset()on any non-Tab key so the next Tab re-analyses the current buffer.- Parameters:
app (VimSheetApp)
- __init__(app)[source]
- Parameters:
app (VimSheetApp)
- Return type:
None