1
4
Fork
You've already forked nvim
0

Change BufWrite to BufWritePost #3

Closed
opened 2026年04月05日 20:14:24 +02:00 by tayo · 1 comment

Hey,
Awesome config, I've learnt a bunch from it.
For the autocommand that chmod +x's shell scripts, you probably want to change the event to BufWritePost. This way it works for new files that don't exist before the buffer is written for the first time.

Hope this is helpful.

Hey, Awesome config, I've learnt a bunch from it. For the autocommand that `chmod +x`'s shell scripts, you probably want to change the event to `BufWritePost`. This way it works for new files that don't exist before the buffer is written for the first time. Hope this is helpful.

Thank you for the suggestion! I’m really happy to hear my config has been a helpful resource for you.

I implemented your suggestion in this commit.

If you spot anything else feel free to make a PR!

Thank you for the suggestion! I’m really happy to hear my config has been a helpful resource for you. I implemented your suggestion in this [commit](https://codeberg.org/DimitrisDimitropoulos/nvim/commit/14b3a46765fe607bcb0baf9974a9f3a0e18bf8a4). If you spot anything else feel free to make a PR!
Sign in to join this conversation.
No Branch/Tag specified
main
No results found.
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
DimitrisDimitropoulos/nvim#3
Reference in a new issue
DimitrisDimitropoulos/nvim
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?