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

Filename became directory #50

Closed
twoeightdev opened this issue Mar 4, 2022 · 1 comment
Closed

Filename became directory #50

twoeightdev opened this issue Mar 4, 2022 · 1 comment

Comments

@twoeightdev
Copy link

Hi sir, my when i do :Calendar and pick a date, the file name is written as directory like this: /diary/2022/03/17.md

here is my configuration:

vim.g.calendar_diary = "~/.config/dev/personal/diary"

Expected result: /diary/2022-03-17.md

@hotoo
Copy link
Contributor

hotoo commented Mar 4, 2022

#44 PR is not merged, but you can use https://github.com/hotoo/calendar-vim and config in vimrc:

Plug 'hotoo/calendar-vim'
let g:calendar_diary_path_pattern = '{YYYY}-{MM}-{DD}{EXT}'

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

No branches or pull requests

2 participants