diff --git a/puren_tonbo/tools/ptpyvim.py b/puren_tonbo/tools/ptpyvim.py index 63925a0..d970bfb 100755 --- a/puren_tonbo/tools/ptpyvim.py +++ b/puren_tonbo/tools/ptpyvim.py @@ -20,12 +20,12 @@ from pyvim.io.backends import ENCODINGS, _auto_decode from pyvim.io import EditorIO +import pyvim.help import puren_tonbo - is_py3 = sys.version_info >= (3,) @@ -174,6 +174,8 @@ def edit(locations, password=None): GZipFileIO(), # Should come before FileIO. FileIO(), ] # TODO use existing and inject PureTonboFileIO? where?/how? + pyvim.help.HELP_TEXT += '\nTo quit issue\n\n :qa\n\nSee https://github.com/prompt-toolkit/pyvim/issues/148' + pyvim.editor.HELP_TEXT = pyvim.help.HELP_TEXT # see run_pyvim.py default_pyvimrc = os.path.expanduser('~/.pyvimrc')