##// END OF EJS Templates
Add %paste to automatically paste clipboard contents....
Add %paste to automatically paste clipboard contents. Function contributed by Robert Kern, thanks! Original code mostly unmodified, but I added 4 actual tests with a mock clipboard function so at least the core functionality can be auto-tested, even if we can't test real clipboards across platforms.

File last commit:

r1251:99658885
r2106:dc120bd3 merge
Show More
seteditor.py
15 lines | 113 B | text/x-python | PythonLexer
import os
editor = r'q:/opt/np/notepad++.exe'
e = os.environ
e['EDITOR'] = editor
e['VISUAL'] = editor