Coder Social home page Coder Social logo

Comments (15)

keystoneclimber avatar keystoneclimber commented on July 17, 2024 1

Just to clarify something for others that are as confused as I was...
When you use your assigned key binding to "toggle_terminus_panel" for the 1ST TIME ONLY, it will open to the path of your currently selected tab. Subsequent uses of the same key binding will merely toggle between hiding the existing panel, and showing it, but will not destroy it. Switching to a tab with a different path and "toggling" the terminus panel once more will still show the preexisting terminus panel for the previous path for which it was created. In order to create a new terminus panel for the path of the current tab you must first close (rather than toggle) the previous panel (Terminus: Close or Ctrl + w) then toggle a new one.
This functionality is far from intuitive, at least for me.

from terminus.

randy3k avatar randy3k commented on July 17, 2024

It should be

    { "keys": ["alt+`"],
        "command": "toggle_terminus_panel",
        "args": {
            "cwd": "${file_path:${folder}}"
        }
    }

from terminus.

musm avatar musm commented on July 17, 2024

I mistyped the original post. That does not work either.

from terminus.

randy3k avatar randy3k commented on July 17, 2024

It should work. (Note that it will toggle exiting terminal pane if there is any)

from terminus.

musm avatar musm commented on July 17, 2024

It doesn't work with the terminus panel but it does work when opening terminus in a new pane

from terminus.

randy3k avatar randy3k commented on July 17, 2024

You are all correct.

from terminus.

randy3k avatar randy3k commented on July 17, 2024

By the way, I meant panel when I said pane...

from terminus.

musm avatar musm commented on July 17, 2024

Sorry I don't understand what you mean. Did you mean to reopen this issue?

It seems clear that this is a bug since I cannot pass cwd when Terminus is started using the Terminus panel.

from terminus.

randy3k avatar randy3k commented on July 17, 2024

Does it work if there is no Terminus Panel?

from terminus.

randy3k avatar randy3k commented on July 17, 2024

Let’s reopen it

from terminus.

randy3k avatar randy3k commented on July 17, 2024

I am still lost. toggle_terminus_panel is used to toggle an already opened Terminus panel.
If no panel is found, it uses the provided settings to open a panel.

So what's your issue now?

from terminus.

musm avatar musm commented on July 17, 2024

Apologies and sorry for the noise, this seems to now work. I meant to update a previous issue with the log file. I may have had an outdated settings.

from terminus.

randy3k avatar randy3k commented on July 17, 2024

Great.

from terminus.

randy3k avatar randy3k commented on July 17, 2024

You could create a new panel via the command Terminus: Open Default Shell in Panel. The toggle_terminus_panel command will then toggle the newly opened panel.

from terminus.

keystoneclimber avatar keystoneclimber commented on July 17, 2024

The functionality that I'm trying to achieve is one of two things, either...
open / close in the panel using the same key binding
or
the ability to use Esc to close the panel

Are either of these possible? Also, is is possible to set up a shell config for cmder?

from terminus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.