-
I was rewriting my config with lazy and looked at the keys = {
{ "-", function() require("oil").toggle_float() end },
}, but it doesn't look that clean with the whole function inside there, and if i were to format the function over three lines the indentation would become messy. So is there any other way of configuring the keymap.I also have the |
Beta Was this translation helpful? Give feedback.
Answered by
iton0
Jul 26, 2024
Replies: 1 comment 2 replies
-
@gu5e try this: keys = {
{ '-', '<cmd>Oil --float<cr>' },
}, |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
realguse
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@gu5e try this: