Can we add a buffer_id as a parameter to Snacks.terminal.toggle()
? So I can open the terminal buffer I want by specify the buffer id.
#386
LintaoAmons
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Or I haven't gotten the
Snacks.terminal
workflow, since most of them say,The terminal id is based on the cmd, cwd, env and vim.v.count1 options. opts.create defaults to true.
But what if the user wants to have multiple terminals with the same cwd/env
I want to write a picker to have some sort of preview to allow users to select the terminal they are trying to get
So my basic idea is to find the terminal buffer numbers and then provide them to telescope then after the user select the entry, it calls
Snack.terminal.toggle(buf_nu)
Beta Was this translation helpful? Give feedback.
All reactions