summaryrefslogtreecommitdiff
path: root/config/essentials/nvim/lua/user
diff options
context:
space:
mode:
Diffstat (limited to 'config/essentials/nvim/lua/user')
-rw-r--r--config/essentials/nvim/lua/user/remap.lua3
-rw-r--r--config/essentials/nvim/lua/user/zk.lua20
2 files changed, 12 insertions, 11 deletions
diff --git a/config/essentials/nvim/lua/user/remap.lua b/config/essentials/nvim/lua/user/remap.lua
index e194ffa..fadca21 100644
--- a/config/essentials/nvim/lua/user/remap.lua
+++ b/config/essentials/nvim/lua/user/remap.lua
@@ -77,7 +77,8 @@ end, { noremap = true })
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 })
+vim.keymap.set("n", "<C-s>s", "<cmd>setlocal spell!<cr>", { noremap = true })
+vim.keymap.set("n", "<C-s>g", "z=1<cr><cr>", { noremap = true })
-- -- open terminal in file's parent director
-- -- this needs to be asynchrous
diff --git a/config/essentials/nvim/lua/user/zk.lua b/config/essentials/nvim/lua/user/zk.lua
index 7e15fa3..98476ca 100644
--- a/config/essentials/nvim/lua/user/zk.lua
+++ b/config/essentials/nvim/lua/user/zk.lua
@@ -48,52 +48,52 @@ require("telekasten").setup({
},
BusinessEnglish = {
home = home .. "/" .. "BusinessEnglish",
- template_new_note = home .. "/" .. "templates/new_note.md",
+ template_new_note = home .. "/" .. "templates/school.md",
new_note_filename = "title",
},
DataEssentials = {
home = home .. "/" .. "DataEssentials",
- template_new_note = home .. "/" .. "templates/new_note.md",
+ template_new_note = home .. "/" .. "templates/school.md",
new_note_filename = "title",
},
SoftwareDesign = {
home = home .. "/" .. "SoftwareDesign",
- template_new_note = home .. "/" .. "templates/new_note.md",
+ template_new_note = home .. "/" .. "templates/school.md",
new_note_filename = "title",
},
BusinessCommunication = {
home = home .. "/" .. "BusinessCommunication",
- template_new_note = home .. "/" .. "templates/new_note.md",
+ template_new_note = home .. "/" .. "templates/school.md",
new_note_filename = "title",
},
AIEssentials = {
home = home .. "/" .. "AIEssentials",
- template_new_note = home .. "/" .. "templates/new_note.md",
+ template_new_note = home .. "/" .. "templates/school.md",
new_note_filename = "title",
},
NETEssentials = {
home = home .. "/" .. "NETEssentials",
- template_new_note = home .. "/" .. "templates/new_note.md",
+ template_new_note = home .. "/" .. "templates/school.md",
new_note_filename = "title",
},
iTalent = {
home = home .. "/" .. "iTalent",
- template_new_note = home .. "/" .. "templates/new_note.md",
+ template_new_note = home .. "/" .. "templates/school.md",
new_note_filename = "title",
},
ScalingNetworks = {
home = home .. "/" .. "ScalingNetworks",
- template_new_note = home .. "/" .. "templates/new_note.md",
+ template_new_note = home .. "/" .. "templates/school.md",
new_note_filename = "title",
},
RoutingSwitchingEssentials = {
home = home .. "/" .. "RoutingSwitchingEssentials",
- template_new_note = home .. "/" .. "templates/new_note.md",
+ template_new_note = home .. "/" .. "templates/school.md",
new_note_filename = "title",
},
SoftwareDesignAndQualityAssurance = {
home = home .. "/" .. "SoftwareDesignAndQualityAssurance",
- template_new_note = home .. "/" .. "templates/new_note.md",
+ template_new_note = home .. "/" .. "templates/school.md",
new_note_filename = "title",
},
C = {