Replies: 3 comments 12 replies
-
I'm wondering why this could be useful, as I personally have never wanted to do anything else except type a query when opening a picker. Could you please share your use case? :) |
Beta Was this translation helpful? Give feedback.
-
To add further to my last comment, I use |
Beta Was this translation helpful? Give feedback.
-
You can use this: Snacks.picker.files({ on_show = function() vim.cmd.stopinsert() end }) |
Beta Was this translation helpful? Give feedback.
-
In telescope there's the
initial_mode
prop that will set the mode for the opened picker.InFor some pickers, I think it makes sense to open them in normal mode (i.e., when searching for a word) over the insert mode.snacks.Picker
, I've found that some pickers are opened in normal mode while other in insert. I cannot find how to customize such option.Could you point me to the docs where it's defined?
Beta Was this translation helpful? Give feedback.
All reactions