summaryrefslogtreecommitdiff
path: root/lua/aotrix/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'lua/aotrix/plugins')
-rw-r--r--lua/aotrix/plugins/build.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/lua/aotrix/plugins/build.lua b/lua/aotrix/plugins/build.lua
index 0bcf713..c940993 100644
--- a/lua/aotrix/plugins/build.lua
+++ b/lua/aotrix/plugins/build.lua
@@ -124,7 +124,7 @@ return {
local Input = require("nui.input")
local input = Input({
position = "50%",
- size = {width = 20},
+ size = {width = 120},
border = {
style = "single",
text = {top = "[Howdy?]", top_align = "center"}
@@ -158,8 +158,8 @@ return {
-- mount/open the component
input:mount()
- -- unmount component when cursor leaves buffer
- input:on(event.BufLeave, function() input:unmount() end)
+ input:map("n", "<Esc>", function() input:unmount() end,
+ {noremap = true})
end