From 7878395c4da7fa36fda9fd1d6d745bd824656a2c Mon Sep 17 00:00:00 2001 From: Adam Hellberg Date: Sun, 26 Jan 2025 06:00:43 +0100 Subject: [PATCH] [nvim] Add mapping to toggle precognition --- nvim/.config/nvim/lua/plugins/mappings.lua | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 nvim/.config/nvim/lua/plugins/mappings.lua diff --git a/nvim/.config/nvim/lua/plugins/mappings.lua b/nvim/.config/nvim/lua/plugins/mappings.lua new file mode 100644 index 0000000..8b2e4d3 --- /dev/null +++ b/nvim/.config/nvim/lua/plugins/mappings.lua @@ -0,0 +1,16 @@ +return { + { + "AstroNvim/astrocore", + ---@type AstroCoreOpts + opts = { + mappings = { + n = { + ["tP"] = { + function() require("precognition").toggle() end, + desc = "Toggle precognition" + } + } + } + } + } +} -- 2.51.2