This commit is contained in:
iris committed 2023-04-10 01:07:55 -04:00
1 parent 1a38f7a6af
commit 8c4fcfdf8b
1 file changed
-12
-12
View File
@@ -25,18 +25,6 @@ m.nmap("<leader>q", vim.diagnostic.setloclist)
-- "alt tab" -- "alt tab"
m.nmap("<leader>n", "<C-6>") m.nmap("<leader>n", "<C-6>")
-- open zathura for current tex
-- I want to make this more generic
-- however,,,,,, I hate regex
-- and lua contains no path utils :)
m.nmap("<leader>ot", function ()
local path = vim.api.nvim_buf_get_name(0)
io.popen("zathura "
..path:match("(.*).tex")
..".pdf"
)
end)
-- TODO: refactor so map() uses a layout file and converts -- TODO: refactor so map() uses a layout file and converts
-- colemak-dh -- colemak-dh
local l = u.layout local l = u.layout