diff --git a/editor.py b/editor.py index 6fc73f1..b44ad3c 100755 --- a/editor.py +++ b/editor.py @@ -46,6 +46,9 @@ def get_editor_args(editor): elif editor == 'nano': return ['-R'] + + elif editor == 'code': + return ["-w", "-n"] else: return []