From 83b51ebdf4f6c65aa611838c4d6e1f652524bdfb Mon Sep 17 00:00:00 2001 From: Oliver Davies <oliver@oliverdavies.uk> Date: Thu, 14 Sep 2023 19:08:50 +0100 Subject: [PATCH] feat(nvim): add a keymap for switching to the ...alternative file --- config/neovim/after/plugin/projectionist.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/neovim/after/plugin/projectionist.lua b/config/neovim/after/plugin/projectionist.lua index dcdc45cb..81467bbb 100644 --- a/config/neovim/after/plugin/projectionist.lua +++ b/config/neovim/after/plugin/projectionist.lua @@ -52,3 +52,7 @@ local heuristics = { } vim.g.projectionist_heuristics = heuristics + +local nmap = require("opdavies.keymap").nmap + +nmap { "<leader>aa", "<cmd>A<cr>" }