From 783683efc3f2b0efd32fac3f685094b39de32c89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Flo=C3=9Fmann?= Date: Wed, 11 Mar 2026 09:58:27 +0100 Subject: [PATCH] try orgmode again --- lua/plugins/astrocore.lua | 11 ++++++++--- lua/plugins/orgmode.lua | 4 ++-- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/lua/plugins/astrocore.lua b/lua/plugins/astrocore.lua index 894d619..7839ba2 100644 --- a/lua/plugins/astrocore.lua +++ b/lua/plugins/astrocore.lua @@ -71,12 +71,17 @@ return { desc = "Close buffer from tabline", }, - ["W"] = { desc = "VimWiki"}, - ["W"] = { desc = "Diary"}, + -- [""] = { function() require("smart-splits").move_cursor_left() end, desc = "Move to left split" }, + -- [""] = { function() require("smart-splits").move_cursor_down() end, desc = "Move to below split" }, + -- [""] = { function() require("smart-splits").move_cursor_up() end, desc = "Move to above split" }, + -- [""] = { function() require("smart-splits").move_cursor_right() end, desc = "Move to right split" }, + + -- ["W"] = { desc = "VimWiki" }, + -- ["W"] = { desc = "Diary" }, -- tables with just a `desc` key will be registered with which-key if it's installed -- this is useful for naming menus - -- ["b"] = { desc = "Buffers" }, + ["O"] = { desc = "Org-mode" }, -- setting a mapping to false will disable it -- [""] = false, diff --git a/lua/plugins/orgmode.lua b/lua/plugins/orgmode.lua index 788edfb..382d99f 100644 --- a/lua/plugins/orgmode.lua +++ b/lua/plugins/orgmode.lua @@ -10,8 +10,8 @@ return { org_default_notes_file = "~/orgfiles/refile.org", mappings = { global = { - org_capture = "gC", - org_agenda = "gA", + org_capture = "Oc", + org_agenda = "Oa", }, }, }