[Feature]: Custom at_edge
behaviour (user-defined function)
#85
Labels
enhancement
New feature or request
at_edge
behaviour (user-defined function)
#85
Similar Issues
Description
I just had a (weird?) idea to open nvim-tree automatically when I try to move left from the leftmost window, similar for the other edges. It might be cool to allow the user to pass a function as the at_edge parameter and call it with some information like which edge we hit. The function should return wrap, split or any other future behaviour, or 'none'/nil for which smart-splits wouldn't do anything (but from inside at_edge I would call
NvimTreeOpen
and focus it)The text was updated successfully, but these errors were encountered: