diff --git a/visidata/settings.py b/visidata/settings.py
index <HASH>..<HASH> 100644
--- a/visidata/settings.py
+++ b/visidata/settings.py
@@ -327,4 +327,4 @@ def loadConfigAndPlugins(vd, args):
     loadConfigFile(options.config, getGlobals())
 
 
-BaseSheet.addCommand('gO', 'open-config', 'vd.push(open_txt(options.config))', 'open options.config as text sheet')
+BaseSheet.addCommand('gO', 'open-config', 'vd.push(open_txt(Path(options.config)))', 'open options.config as text sheet')
[open-config-] open_txt expects a Path object

Closes #<I>