Skip to content

Weekly Diary Integration incomplete #1425

@fancsali

Description

@fancsali

Prior to submitting a new issue make sure to complete these steps:

  • Include the VimWiki settings from your .vimrc
let g:vimwiki_list = [
    \ {'path': '~/vimwiki/', 'syntax': 'markdown', 'ext': '.md', 'auto_diary_index': 1, 'diary_caption_level': 6, 'auto_tags': 1, 'listsyms': ' .X'},
    \ {'path': '~/vimwiki-test/', 'syntax': 'markdown', 'ext': '.md', 'auto_diary_index': 1, 'diary_caption_level': 6, 'auto_tags': 1, 'listsyms': ' .X', 'diary_frequency': 'weekly'}
    \ ]
  • Include the syntax you are using (default / Markdown / MediaWiki) -- Markdown
  • Provide a detailed description of the problem including steps to reproduce the issue.

Switching Vimwiki to use weekly diary the usual Vimwiki features and workflows break:

  • \w\w will create/open a file named based on the Monday of the week: so on 2024-08-14 it's create diary/2024-08-12.md - which is correct, however should really be `diary/2024-W33

  • Using \w\m and \w\y still creates daily.

  • Using the \cal integration would still go to the daily pages.

  • In fact it'd be nice if the weekly setup would create a page with 5 or 7 H1s, and then the above feature jumped to the relevant heading in the weekly file
    NOTE: I created an empty test wiki under ~/vimwiki-test to isolate the issue.

  • Include the output of :VimwikiShowVersion.

Version: 2024.01.24
Os: Linux
Vim: 901
Branch: dev
Revision: 705ad1e
Date: 2024-06-25 15:23:41 +0100

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions