Skip to content

Help with Snacks.input Config #284

Answered by folke
jblsp asked this question in Q&A
Dec 13, 2024 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

Just pushed some updates. You can achieve what you want with:

      input = {
        prompt_pos = "left",
        icon_pos = "left",
        expand = false,
      },
      styles = {
        input = {
          border = "none",
          row = -1,
          width = 0,
          wo = {
            winhighlight = "NormalFloat:StatusLine",
          },
        },
      },

Best not to use position="bottom", since that would open a split.

Replies: 2 comments 1 reply

Comment options

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

Answer selected by jblsp
Comment options

You must be logged in to vote
0 replies
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