How to set different layout for files and grep #1332
-
I would like to set a flex layout for file-related actions (files, git_files, oldfiles, etc.) and a horizontal layout for grep actions (live_grep, grep_word, etc.). Currently, there is only an option to set a default layout for everything, and the only way I've managed to achieve this is by manually adding winopts in each keymap through the api. Is there an alternative way to achieve this? Thank you in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You can either do this in the keymap (as you have), or add |
Beta Was this translation helpful? Give feedback.
You can either do this in the keymap (as you have), or add
winopts
for each picker during setup, I.e.files.winopts
,grep.winopts
(which will affect all grep pickers), etc.