From e830931ff421e4380d5de8b1926842000ba9be34 Mon Sep 17 00:00:00 2001 From: Squibid Date: Sat, 31 May 2025 03:32:58 -0400 Subject: wozers --- lua/conf/binds.lua | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'lua/conf/binds.lua') diff --git a/lua/conf/binds.lua b/lua/conf/binds.lua index 6eb3519..ca7990f 100644 --- a/lua/conf/binds.lua +++ b/lua/conf/binds.lua @@ -1,5 +1,4 @@ -local misc = require("core.misc") -local map = misc.map +local map = core.misc.map -- vim binds vim.g.mapleader = " " -- set leader key @@ -25,20 +24,20 @@ map("n", "x", function() -- execute order 111 local perm = vim.fn.getfperm(fn) if string.match(perm, "x", 3) then vim.notify("Removed executable flags", vim.log.levels.INFO, { - title = misc.appid + title = core.misc.appid }) vim.fn.setfperm(fn, string.sub(fn, 1, 2).."-"..string.sub(fn, 4, 5).."-" ..string.sub(fn, 7, 8).."-") else vim.notify("Add executable flags", vim.log.levels.INFO, { - title = misc.appid + title = core.misc.appid }) vim.fn.setfperm(fn, string.sub(fn, 1, 2).."x"..string.sub(fn, 4, 5).."x" ..string.sub(fn, 7, 8).."x") end else vim.notify("File doesn't exist", vim.log.levels.INFO, { - title = misc.appid + title = core.misc.appid }) end end, { desc = "toggle executable flag of the file" }) -- cgit v1.2.1