code: def _get_vi_mode(cli):
      
      return {
          InputMode.INSERT: 'I',
          InputMode.NAVIGATION: 'N',
          InputMode.REPLACE: 'R',
          InputMode.INSERT_MULTIPLE: 'M'
      }[cli.vi_state.input_mode]
docs: Get the current vi mode for display.