code: def ask_input(self, prompt):
          
          self._vim.command('call inputsave()')
          self._vim.command('let user_input = input("{} ")'.format(prompt))
          self._vim.command('call inputrestore()')
          response = self._vim.eval('user_input')
          self._vim.command('unlet user_input')
          return response
docs: Prompt user for input and return the entered value.