Manually change the targeted buffer for a given view? (for pinned mode) #578
louis-vinchon
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My niche issue
I use the
pinned
option to keep the symbols view open for a given buffer, but sometimes I would like to manually change which buffer I see the symbols of.I have played with the API and I haven't found a way to do so other than closing and reopening the view altogether, causing it to flicker.
e.g. Here's a custom symbols toggle function I settled on for now:
A mapping:
I played with
refresh
andtoggle_refresh
just in case but it didn't work, as expected? I didn't look like this was their intended purpose.Request
Could we get a builtin way to set the targeted buffer for a given mode?
I guess it may be useful for any of the views, not just the symbols one.
This should give an "in-between" the "free" mode where the view constantly changes whenever you switch buffers, and the currently "pinned" mode where the target buffer is set until the death of the view.
Beta Was this translation helpful? Give feedback.
All reactions