add mapping for obsidian links

This commit is contained in:
Paul Trowbridge 2024-11-04 12:14:33 -05:00
parent 64a0f6da0c
commit d347569e2f

View File

@ -17,6 +17,8 @@ vim.api.nvim_set_keymap('n', '<leader>mt', ':lua require("custom_telescope").sea
vim.api.nvim_set_keymap('n', '<leader>tt', ':ObsidianTag<CR>', { noremap = true, silent = true })
-- Add a keybinding for calling ObsidianBacklinks
vim.api.nvim_set_keymap('n', '<leader>lb', ':ObsidianBacklinks<CR>', { noremap = true, silent = true })
-- Add a keybinding for calling ObsidianLink
vim.api.nvim_set_keymap('v', '<leader>fl', ':ObsidianLink<CR>', { noremap = true, silent = true })
-- Configure Telescope to scroll files with ctrl+j/k
local actions = require('telescope.actions')