Skip to content

Commit fea747e

Browse files
authored
fix(fzf-lua): <C-n> wasn't properly closing fzf prompt
It was getting stuck and new node buffer was opening in the fzf buffer.
1 parent e3693be commit fea747e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lua/neorg/modules/external/roam/module.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,7 @@ module.public = {
340340
vim.fn.mkdir(vault_dir, "p")
341341

342342
-- Create and open a new Neorg file with the generated title token
343+
vim.cmd("q")
343344
vim.cmd("edit " .. vault_dir .. "/" .. os.date("%Y%m%d%H%M%S-") .. title_token .. ".norg")
344345
vim.cmd([[Neorg inject-metadata]])
345346

0 commit comments

Comments
 (0)