summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAotrix <[email protected]>2026-08-29 17:49:17 +0200
committerAotrix <[email protected]>2026-08-29 17:49:17 +0200
commitdc88d257f0175e2c9870bbe1e4a8ecd68ca7d4e9 (patch)
tree0945628ef02b5320ea0e8a11b21b59674cb1028a
parent772d3c328bd76ce3d8b952c10cd46bd382ca578b (diff)
Changed shortcut to trigger the input and output panels
-rw-r--r--lua/aotrix/build.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/aotrix/build.lua b/lua/aotrix/build.lua
index cda2f79..7a25326 100644
--- a/lua/aotrix/build.lua
+++ b/lua/aotrix/build.lua
@@ -57,7 +57,7 @@ function Compile_and_run_cpp()
vim.cmd(input_bufnr .. "wincmd w")
end
- vim.cmd("vertical resize 70%")
+ vim.cmd("vertical resize 40%")
local file = vim.fn.bufnr(filename)
vim.cmd(file .. "wincmd w")
@@ -74,5 +74,5 @@ function Compile_and_run_cpp()
-- vim.cmd("edit " .. output_file)
end
-vim.api.nvim_set_keymap("n", "mt", ":lua Compile_and_run_cpp()<CR>",
+vim.api.nvim_set_keymap("n", "mb", ":lua Compile_and_run_cpp()<CR>",
{noremap = true, silent = true})