Skip to content

wiki:index is linking me to the index of the directory (journal) and not index of the wiki #160

@anshulxyz

Description

@anshulxyz

Description

Hi Karl 👋

wiki:index is linking me to the index of the directory (journal) and not index of the wiki. Is this the expected behavior.

  1. expected behaviour: I expect that clicking wiki:index from my ~/wiki/journal/2021-06-10.md file would take me to ~/wiki/index.md
  2. observed behaviour: it linked me to the ~/wiki/jounral/index.md instead
  3. The steps required to reproduce the issue
    3.1 Open Vim, <leader>ww to go to wiki index
    3.2 Open today's journal, <leader>w<leader>w
    3.3 Write in the file wiki:index
    3.4 In normal mode, <cr> on wiki:index

my wiki directory currently looks like this

wiki
├── journal
│   └── 2021-06-10.md
└── index.md

my vimrc settings

let g:wiki_root = '~/wiki'
let g:wiki_filetypes = ['md']
let g:wiki_global_load = 0
let g:wiki_link_extension = '.md'
Screen.Recording.2021-06-10.at.1.44.59.PM.mov

PS

I was able to link to the root index.md file using [[/index.md|index]] link.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions