-
How do i define a keymap to open oil.toggle_float here? return {
"stevearc/oil.nvim",
event = "VeryLazy",
opts = {
skip_confirm_for_simple_edits = true,
view_options = {
show_hidden = true,
},
float = {
padding = 4,
},
},
} |
Beta Was this translation helpful? Give feedback.
Answered by
realguse
Jul 26, 2024
Replies: 1 comment
-
I figured it out: return {
"stevearc/oil.nvim",
keys = {
{ "-", function() require("oil").toggle_float() end },
},
opts = {
skip_confirm_for_simple_edits = true,
view_options = {
show_hidden = true,
},
float = {
padding = 4,
},
},
}
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
realguse
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I figured it out: