summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lua/core/init.lua11
-rw-r--r--lua/plugins/orgmode.lua2
2 files changed, 10 insertions, 3 deletions
diff --git a/lua/core/init.lua b/lua/core/init.lua
index c098add..a84627f 100644
--- a/lua/core/init.lua
+++ b/lua/core/init.lua
@@ -63,8 +63,8 @@ end
cd_to_git_root()
-- Quickly compile and preview files
-vim.keymap.set("n", "<leader>c", "<cmd>make<cr>")
-vim.keymap.set("n", "<leader>o", "<cmd>!opout %<cr>")
+vim.keymap.set("n", "<leader>pc", "<cmd>make<cr>") -- P.roject C.ompile
+vim.keymap.set("n", "<leader>pp", "<cmd>!opout %<cr>") -- P.roject P.review
-- Make sure I don't accidentally delete with 'S' when not using an LSP:
vim.keymap.set("n", "S", "<nop>")
-- Stop hurting my pinky with <C-w>:
@@ -72,3 +72,10 @@ vim.keymap.set("n", "<leader>w", "<C-w>")
-- Quickly navigate between Tabs
vim.keymap.set("n", "<Bslash>", "<cmd>tabnext<cr>")
vim.keymap.set("n", "<C-\\>", "<cmd>tabnew<cr>")
+
+-- TEST
+-- vim.api.nvim_create_autocmd("InsertLeave", {
+-- callback = function()
+-- print("hello")
+-- end,
+-- })
diff --git a/lua/plugins/orgmode.lua b/lua/plugins/orgmode.lua
index 5e82b99..6bbacad 100644
--- a/lua/plugins/orgmode.lua
+++ b/lua/plugins/orgmode.lua
@@ -37,7 +37,7 @@ return {
org_agenda_files = "~/Dropbox/org/**/*",
org_default_notes_file = "~/Dropbox/org/index.org",
calendar_week_start_day = 0,
- org_tags_column = 100,
+ org_tags_column = 80,
emacs_config = {
-- executable_path = '/opt/homebrew/bin/emacs',
config_path = "$HOME/.config/emacs/early-init.el",