diff --git a/todo/widget.go b/todo/widget.go index 7ce923e56..9d8723c51 100644 --- a/todo/widget.go +++ b/todo/widget.go @@ -130,7 +130,8 @@ func (widget *Widget) keyboardIntercept(event *tcell.EventKey) *tcell.EventKey { return nil case "o": // Open the file - wtf.OpenFile(widget.filePath) + confDir, _ := cfg.ConfigDir() + wtf.OpenFile(fmt.Sprintf("%s/%s", confDir, widget.filePath)) return nil }