Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove noautocmd when opening a new note #151

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

shubhamshuklaer
Copy link

  1. Because of noautocmd other plugins like minibufexpl fails because
    they depend on events fired during ":edit" call.
  2. Without noautocmd we get the annoying message saying "Changed note
    title to match filename". To remove that I removed BufNewFile event
    in the filetypedetect augroup. This will only cause problem when you
    start a new note using ":edit path_to_new_note". I feel no one
    would be doing that as it is much easier to use ":Note title" or ":edit
    note:title" to create a new note named title.

1) Because of noautocmd other plugins like minibufexpl fails because
they depend on events fired during ":edit" call.
2) Without noautocmd we get the annoying message saying "Changed note
title to match filename".  To remove that I removed BufNewFile event
in the filetypedetect augroup. This will only cause problem when you
start a new note using ":edit path_to_new_note". I feel no one
would be doing that as it is much easier to use ":Note title" or ":edit
note:title" to create a new note named title.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant