Skip to content

Jump to and generate wikilinks for obsidian notes in vim/neovim.

Notifications You must be signed in to change notification settings

Tokubara/vim-obsidian-link

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 

Repository files navigation

Based on this repo

Jump to and generate wikilinks for obsidian notes in vim/neovim.

Support following links:

  • [[^ieYae2]]
  • [[#heading]]
  • [[perl#heading]], [[perl.md#heading]](.md extension can be omitted)
  • [[perl#^ieYae2]]
  • [[/Users/quebec/a.py:32]], line number
  • [[picture.png]], open in system apps

Press enter key to navigate.

You can generate links with :GenLinkID(generate [[^ieYae2]]), :GenLinkLine(generate [[/Users/quebec/a.py:32]]), :GenLinkHeading(generate [[perl#heading]]), :GenLinkEmpty(generate [[/Users/quebec/a.py]])

I have problems with importing modules. So in mdnav.py, I write sys.path.append("/Users/quebec/box/obsidian/vim/mdnav/ftplugin/markdown/"), this should be changed to your path(Or tell me how to fix this, thanks). You can change commands and maps in mdnav.vim.

open_in_os_extensions in parse_path determines which extensions should be opened with system apps. I should write in mdnav.vim, but I have not fixed it.

About

Jump to and generate wikilinks for obsidian notes in vim/neovim.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published