File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
lua/neorg/modules/external/roam Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -607,7 +607,8 @@ module.public = {
607607 actions = {
608608 [" default" ] = {
609609 function (selected , _ )
610- vim .cmd (" new " .. text_string_matches_dict [selected [1 ]][" file" ])
610+ vim .cmd (" q" )
611+ vim .cmd (" edit " .. text_string_matches_dict [selected [1 ]][" file" ])
611612 vim .cmd (" :" .. text_string_matches_dict [selected [1 ]][" line" ])
612613 end ,
613614 },
@@ -917,7 +918,8 @@ module.public = {
917918 actions = {
918919 [" default" ] = {
919920 function (selected , _ )
920- vim .cmd (" new " .. backlink_text_matches_dict [selected [1 ]][" file" ])
921+ vim .cmd (" q" )
922+ vim .cmd (" edit " .. backlink_text_matches_dict [selected [1 ]][" file" ])
921923 vim .cmd (" :" .. backlink_text_matches_dict [selected [1 ]][" line" ])
922924 end ,
923925 },
You can’t perform that action at this time.
0 commit comments