From 8132961a78def44238bb257bd96f4774fc87ca84 Mon Sep 17 00:00:00 2001 From: iurii plugatarov Date: Sat, 3 Aug 2024 02:23:05 +0300 Subject: remove templating --- lua/sketchbook/config.lua | 8 -------- 1 file changed, 8 deletions(-) (limited to 'lua/sketchbook/config.lua') diff --git a/lua/sketchbook/config.lua b/lua/sketchbook/config.lua index 0f52993..9cd4ce8 100644 --- a/lua/sketchbook/config.lua +++ b/lua/sketchbook/config.lua @@ -3,13 +3,11 @@ local M = {} -- Default configuration M.defaults = { notes_directory = "~/notes", - templates_directory = "~/notes/templates/", keymaps = { create_note = "tnn", update_index = "tui", search_notes = "tns", list_notes = "tnl", - select_template = "tmp", toggle_quick_note = "qc", create_quick_note = "nq", open_entire_quick_note = "qo", @@ -48,12 +46,6 @@ function M.set_keymaps() ':lua require("sketchbook.search_notes").search_notes()', { noremap = true, silent = true, desc = "Search notes" } ) - vim.api.nvim_set_keymap( - "n", - keymaps.select_template, - ':lua require("sketchbook.select_template").select_template()', - { noremap = true, silent = true, desc = "Select a note template" } - ) vim.api.nvim_set_keymap( "n", keymaps.create_quick_note, -- cgit 1.4.1-2-gfad0