feat: toggleterm keybindings

This commit is contained in:
n3oney 2023-04-05 00:06:30 +02:00
commit 0938859c18
No known key found for this signature in database
GPG key ID: C786693DE727850E
2 changed files with 8 additions and 1 deletions

View file

@ -14,7 +14,7 @@ in {
vim.luaConfigRC.toggleterm = nvim.dag.entryAnywhere ''
require("toggleterm").setup({
open_mapping = [[<c-t>]],
open_mapping = '${cfg.mappings.open}',
direction = '${toString cfg.direction}',
-- TODO: this should probably be turned into a module that uses the lua function if and only if the user has not set it
size = function(term)