build core, basic and go variants and add template

This commit is contained in:
Dietrich Rink
2023-06-01 00:54:51 +02:00
parent 76e695ebbb
commit dd67e62569
31 changed files with 800 additions and 2 deletions

View File

@@ -0,0 +1,10 @@
-- Keyboard shortcuts
if vim.env.TMUX ~= nil then
vim.keymap.set('n', '<f5>', function()
vim.cmd.write()
local file = vim.api.nvim_buf_get_name(0)
local command = vim.g.vimux_command or 'make'
vim.fn.VimuxRunCommand(command:format(file))
end)
vim.keymap.set('n', '<f6>', vim.fn.VimuxCloseRunner, { silent = true })
end