Merge pull request #178 from matze/use-env-editor

Try $VISUAL and $EDITOR for config['editor']
This commit is contained in:
Manuel Ebert 2014-06-25 00:49:02 +02:00
commit 97286722ab

View file

@ -23,7 +23,7 @@ default_config = {
'journals': {
"default": os.path.expanduser("~/journal.txt")
},
'editor': "",
'editor': os.getenv('VISUAL') or os.getenv('EDITOR') or "",
'encrypt': False,
'default_hour': 9,
'default_minute': 0,