Skip to content
Discussion options

You must be logged in to vote

To appear on the right, set your options for terminal:

return {
    'folke/snacks.nvim',
    priority = 1000,
    lazy = false,
    ---@type snacks.Config
    opts = {
        terminal = { 
            enabled = true,
            win= {position="right", width=0.2},
        },
...

Or, add it to the command:
:lua Snacks.terminal.open(nil, { win = { position = "right" }})

You can use 'width' and 'height' to set how much space the terminal window consumes.

Replies: 1 comment 2 replies

Comment options

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

@MrPandey01
Comment options

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