A simple way to have only one edgy sidebar open #143
pixlmint
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This configuration makes edgy.nvim behave like sidebars in JetBrains IDEs/ VSCode, where only one panel per side can be open at a time. Opening a new panel automatically closes whichever one is currently visible on that side.
The mechanism is a small wrapper function called from keymaps: it closes the active panel on the target side, then opens the requested one. If the requested panel is already open, it simply closes it (toggle behavior).
Note: Panels must be opened via the configured keybinds for this to work. Calling the open command directly bypasses the wrapper, so edgy.nvim will just use its default behavior and create a new split.
View my Configuration
Beta Was this translation helpful? Give feedback.
All reactions