build core, basic and go variants and add template
This commit is contained in:
10
basic/nvim/plugconf/vimux.lua
Normal file
10
basic/nvim/plugconf/vimux.lua
Normal 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
|
||||
Reference in New Issue
Block a user