Skip to content

Instantly share code, notes, and snippets.

View marksweiss's full-sized avatar

Mark S. Weiss marksweiss

  • Brooklyn, NY
View GitHub Profile
@marksweiss
marksweiss / config.py
Last active September 3, 2017 00:41 — forked from vadviktor/config.py
ptpython config
"""
Configuration example for ``ptpython``.
Copy this file to ~/.ptpython/config.py
"""
from __future__ import unicode_literals
from prompt_toolkit.filters import ViInsertMode
from prompt_toolkit.key_binding.input_processor import KeyPress
from prompt_toolkit.keys import Keys
from pygments.token import Token