-
I'm new to snacks, only using explorer. Can't find any option to set it to right side. return {
"folke/snacks.nvim",
opts = {
explorer = {},
picker = {
sources = {
explorer = {
layout = { preset = "sidebar", preview = false },
},
},
},
layout = {
sidebar = { position = "right" },
},
},
} unfortunately, sidebar is still positioned to the left side. |
Beta Was this translation helpful? Give feedback.
Answered by
folke
Feb 1, 2025
Replies: 2 comments 6 replies
-
add position right in here: |
Beta Was this translation helpful? Give feedback.
6 replies
-
In case someone wants the final config: return {
"folke/snacks.nvim",
opts = {
picker = {
sources = {
explorer = {
layout = {
layout = {
position = "right",
},
},
},
},
},
},
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
so under opts.picker.sources.explorer.layout.layout.position = "right"
(notice layout twice)