Skip to content

Commit

Permalink
fix: normal toggleterm
Browse files Browse the repository at this point in the history
  • Loading branch information
willruggiano committed Jul 12, 2023
1 parent 05ec65d commit 48857b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/toggleterm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ return function()
local nnoremap = require("bombadil.lib.keymap").nnoremap

nnoremap("<space><space>", function()
toggleterm.toggle_command("size=20", vim.api.nvim_get_current_tabpage())
toggleterm.toggle_command("size=20", vim.v.count)
end, { desc = "Toggle terminal" })
end

0 comments on commit 48857b7

Please sign in to comment.