From d5708fc0b8e568ea2187f76d12ac20dbae84d60c Mon Sep 17 00:00:00 2001 From: Luna Komorebi Date: Sat, 31 Aug 2024 16:03:31 +0200 Subject: [PATCH] postmortem templates for vim --- config/nvim/init.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/nvim/init.lua b/config/nvim/init.lua index 835fda6..bcd01db 100644 --- a/config/nvim/init.lua +++ b/config/nvim/init.lua @@ -963,3 +963,8 @@ require("lazy").setup({ -- The line beneath this is called `modeline`. See `:help modeline` -- vim: ts=2 sts=2 sw=2 et +-- +-- templates for postmortems +vim.cmd([[ + autocmd BufNewFile postmortem-*.md 0r ~/Templates/postmortem-templates/templates/postmortem-template-srebook.md +]])