mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-11-10 15:35:30 +00:00
feat: toggleterm keybindings
This commit is contained in:
parent
f3aac8cb5a
commit
0938859c18
2 changed files with 8 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue