def enter_history(self, cli):
        cli.vi_state.input_mode = InputMode.NAVIGATION

        def done(result):
            if result is not None:
                cli.buffers[DEFAULT_BUFFER].document = result

            cli.vi_state.input_mode = InputMode.INSERT

        cli.run_sub_application(create_history_application(
            self, cli.buffers[DEFAULT_BUFFER].document), done)
Get config value for section/option.
dataset/ETHPy150Open jonathanslenders/ptpython/ptpython/python_input.py/PythonInput.enter_history--crossover with--dataset/ETHPy150Open openstack-infra/git-restack/git_restack/cmd.py/git_config_get_value