Get the current vi mode for display.
()
| 95 | |
| 96 | |
| 97 | def _get_vi_mode() -> str: |
| 98 | """Get the current vi mode for display.""" |
| 99 | return { |
| 100 | InputMode.INSERT: "I", |
| 101 | InputMode.NAVIGATION: "N", |
| 102 | InputMode.REPLACE: "R", |
| 103 | InputMode.REPLACE_SINGLE: "R", |
| 104 | InputMode.INSERT_MULTIPLE: "M", |
| 105 | }[get_app().vi_state.input_mode] |
no outgoing calls
no test coverage detected