You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The behaviour that I experience when running Neorg workspace school is the opening of a new workspace
named school, placing my cursor into index.norg.
When I write some text in the index file and save/write the file, I get the following error:
E212: Can't open file for writing: no such file or directory
Terminal.2023-09-06.11-18-08.mp4
Expected behavior
The behaviour I expected was for the file to be written/saved normally. In the tutorial videos on YouTube, it's
mentioned that Neorg will automatically create the necessary directories for you.
Then the directories are created as expected. This leads me to believe that the issue is that Neorg has trouble creating
nested directories unless the parents are specifically listed as work spaces.
Steps to reproduce
Use Neovim 0.9.1 on Windows 11
Install Neorg using Lazy with the following setup:
Enter insert mode within the newly opened index.norg
Write some text, hit <Esc> and run :w
Potentially conflicting plugins
I think it's unlikely that this issue is caused by conflicting plugins, but below is a screenshot of all
the plugins I have installed:
Other information
I noticed a previously closed issue here. It seemed like it was
unresolved (or at least the resolution wasn't mentioned there) and was related to the journal command. The setup is
not the same as mine, but I wonder if the journal command creates multiple directories?
This issue also linked to a discussion page here,
which I didn't find helpful in resolving this issue. Maybe the solution for the journal command could be applied here
as well.
Help
Yes, but I don't know how to start. I would need guidance (check question below)
Implementation help
I would need to know:
Is this expected behaviour (in other words, this isn't an issue)
Where to check for the core.dirman functionality that creates workspace directories (I presume at least that it's core.dirman which does this)
The text was updated successfully, but these errors were encountered:
linguini1
added
the
bug
Issues related to bugs. Please attach a severity, a priority and category with this label.
label
Sep 6, 2023
Prerequisites
Neovim Version
NVIM v0.9.1
Neorg setup
Actual behavior
The behaviour that I experience when running
Neorg workspace school
is the opening of a new workspacenamed school, placing my cursor into
index.norg
.When I write some text in the index file and save/write the file, I get the following error:
Terminal.2023-09-06.11-18-08.mp4
Expected behavior
The behaviour I expected was for the file to be written/saved normally. In the tutorial videos on YouTube, it's
mentioned that Neorg will automatically create the necessary directories for you.
Said tutorial
Interestingly, if I change my setup function to this:
Then the directories are created as expected. This leads me to believe that the issue is that Neorg has trouble creating
nested directories unless the parents are specifically listed as work spaces.
Steps to reproduce
:Neorg workspace school
index.norg
<Esc>
and run:w
Potentially conflicting plugins
I think it's unlikely that this issue is caused by conflicting plugins, but below is a screenshot of all
the plugins I have installed:
Other information
I noticed a previously closed issue here. It seemed like it was
unresolved (or at least the resolution wasn't mentioned there) and was related to the
journal
command. The setup isnot the same as mine, but I wonder if the
journal
command creates multiple directories?This issue also linked to a discussion page here,
which I didn't find helpful in resolving this issue. Maybe the solution for the
journal
command could be applied hereas well.
Help
Yes, but I don't know how to start. I would need guidance (check question below)
Implementation help
I would need to know:
core.dirman
functionality that creates workspace directories (I presume at least that it'score.dirman
which does this)The text was updated successfully, but these errors were encountered: