Skip to content

Integrated terminal #3794

Answered by brneor
apiening asked this question in Q&A
Jan 30, 2023 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

You can try something like

lvim.builtin.which_key.mappings["t"] = {
  name = "+Terminal",
  f = { "<cmd>ToggleTerm<cr>", "Floating terminal" },
  v = { "<cmd>2ToggleTerm size=30 direction=vertical<cr>", "Split vertical" },
  h = { "<cmd>2ToggleTerm size=30 direction=horizontal<cr>", "Split horizontal" },
}

Got it from here.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@apiening
Comment options

Answer selected by apiening
Comment options

You must be logged in to vote
2 replies
@apiening
Comment options

@mcp292
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants