Skip to content

Commit

Permalink
fix(obsidian-nvim): remove annoying notification about "gf" mapping (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
RayJameson authored Aug 28, 2023
1 parent f073e0f commit e50eef7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lua/astrocommunity/note-taking/obsidian-nvim/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,8 @@ and

to match your vault location.

We set `mappings` to an empty table, because `gf` is used for lazy loading in `keys`
if you don't want `gf` for lazy loading, you should remove `keys` and `mappings` tables


The plugin may also nag and ask you to create a `templates` directory in the vault. You can use `mkdir templates` to create an empty directory.
1 change: 1 addition & 0 deletions lua/astrocommunity/note-taking/obsidian-nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ return {
dir = vim.env.HOME .. "/obsidian-vault", -- specify the vault location. no need to call 'vim.fn.expand' here
use_advanced_uri = true,
finder = "telescope.nvim",
mappings = {},

templates = {
subdir = "templates",
Expand Down

0 comments on commit e50eef7

Please sign in to comment.