Skip to content

Commit

Permalink
ptpyvim - Attempt to make quiting without saving easier
Browse files Browse the repository at this point in the history
  • Loading branch information
clach04 committed Dec 20, 2023
1 parent 3ab6f57 commit f5dc95a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion puren_tonbo/tools/ptpyvim.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,)


Expand Down Expand Up @@ -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')
Expand Down

0 comments on commit f5dc95a

Please sign in to comment.