about summary refs log tree commit diff
path: root/lua/sketchbook/config.lua
diff options
context:
space:
mode:
authoriurii plugatarov <[email protected]>2024-08-03 01:23:05 +0200
committeriurii plugatarov <[email protected]>2024-08-03 01:23:05 +0200
commit8132961a78def44238bb257bd96f4774fc87ca84 (patch)
tree55280641a5ebcd4d0bd4217f648d7433cad5888e /lua/sketchbook/config.lua
parent614b50a5cd2efcd1d88aa72c5a36aa4ef238dbfd (diff)
downloadsketchbook.nvim-main.tar.gz
remove templating main
Diffstat (limited to '')
-rw-r--r--lua/sketchbook/config.lua8
1 files changed, 0 insertions, 8 deletions
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 = "<leader>tnn",
 		update_index = "<leader>tui",
 		search_notes = "<leader>tns",
 		list_notes = "<leader>tnl",
-		select_template = "<leader>tmp",
 		toggle_quick_note = "<leader>qc",
 		create_quick_note = "<leader>nq",
 		open_entire_quick_note = "<leader>qo",
@@ -50,12 +48,6 @@ function M.set_keymaps()
 	)
 	vim.api.nvim_set_keymap(
 		"n",
-		keymaps.select_template,
-		':lua require("sketchbook.select_template").select_template()<CR>',
-		{ noremap = true, silent = true, desc = "Select a note template" }
-	)
-	vim.api.nvim_set_keymap(
-		"n",
 		keymaps.create_quick_note,
 		':lua require("sketchbook.quick_note").create_quick_note_window()<CR>',
 		{ noremap = true, silent = true, desc = "Create a quick note buffer" }