diff options
Diffstat (limited to 'config/essentials/nvim/lua')
-rw-r--r-- | config/essentials/nvim/lua/user/remap.lua | 14 | ||||
-rw-r--r-- | config/essentials/nvim/lua/user/zk.lua | 9 |
2 files changed, 14 insertions, 9 deletions
diff --git a/config/essentials/nvim/lua/user/remap.lua b/config/essentials/nvim/lua/user/remap.lua index c50d346..e194ffa 100644 --- a/config/essentials/nvim/lua/user/remap.lua +++ b/config/essentials/nvim/lua/user/remap.lua @@ -79,13 +79,13 @@ vim.keymap.set("n", "<Leader>P", "<cmd>PackerSync<cr>", { noremap = true }) -- spelling vim.keymap.set("n", "<Leader><C-s>", "<cmd>setlocal spell!<cr>", { noremap = true }) --- open terminal in file's parent director --- this needs to be asynchrous -vim.keymap.set("n", "<Return>", function () - local cmd = "cd " .. vim.fn.expand("%:p:h") .. "; setsid $TERMINAL" - -- asynchrous go brr - vim.fn.jobstart(cmd, { on_exit = function(job_id, exit_code, event_type) end }) -end, { noremap = true }) +-- -- open terminal in file's parent director +-- -- this needs to be asynchrous +-- vim.keymap.set("n", "<Return>", function () +-- local cmd = "cd " .. vim.fn.expand("%:p:h") .. "; setsid $TERMINAL" +-- -- asynchrous go brr +-- vim.fn.jobstart(cmd, { on_exit = function(job_id, exit_code, event_type) end }) +-- end, { noremap = true }) -- clear registers diff --git a/config/essentials/nvim/lua/user/zk.lua b/config/essentials/nvim/lua/user/zk.lua index 989560a..7e15fa3 100644 --- a/config/essentials/nvim/lua/user/zk.lua +++ b/config/essentials/nvim/lua/user/zk.lua @@ -56,6 +56,11 @@ require("telekasten").setup({ template_new_note = home .. "/" .. "templates/new_note.md", new_note_filename = "title", }, + SoftwareDesign = { + home = home .. "/" .. "SoftwareDesign", + template_new_note = home .. "/" .. "templates/new_note.md", + new_note_filename = "title", + }, BusinessCommunication = { home = home .. "/" .. "BusinessCommunication", template_new_note = home .. "/" .. "templates/new_note.md", @@ -86,8 +91,8 @@ require("telekasten").setup({ template_new_note = home .. "/" .. "templates/new_note.md", new_note_filename = "title", }, - SoftwareDesign2 = { - home = home .. "/" .. "SoftwareDesign2", + SoftwareDesignAndQualityAssurance = { + home = home .. "/" .. "SoftwareDesignAndQualityAssurance", template_new_note = home .. "/" .. "templates/new_note.md", new_note_filename = "title", }, |