dotfiles

personal dotfiles
git clone anongit@rnpnr.xyz:dotfiles.git
Log | Files | Refs | Feed | Submodules

Commit: 50cc3d33e4f5a11a950492ee3c8c2d7015c91971
Parent: f9e0f19e3bf088d81eef30f243f8eb7d3e9a5d1f
Author: Randy Palamar
Date:   Thu,  9 Feb 2023 10:56:53 -0700

vis: macros.lua: make mappings window local

now macros for different filetypes with the same keybinding won't collide

Diffstat:
M.config/vis/macros.lua | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.config/vis/macros.lua b/.config/vis/macros.lua @@ -35,7 +35,7 @@ local function macros(win) if binds == nil then return end for _, map in pairs(binds) do - vis:map(map[1], map[2], map[3]) + win:map(map[1], map[2], map[3]) end end vis.events.subscribe(vis.events.WIN_OPEN, macros)