Skip to content

v0.4.0 — zoom & wrap-around navigation

Choose a tag to compare

@lmilojevicc lmilojevicc released this 07 Jul 19:18

Seamless zoom and wrap-around navigation between Neovim splits and Herdr panes.

Highlights

  • Zoomed pane nav fixed & extended

    • Moving between plain Herdr panes while zoomed now unzooms then focuses the neighbour (previously the source pane stayed zoomed).
    • The unzoom runs only for plain Herdr panes — moving between Neovim splits no longer unzooms (fixes a regression from 0.3.0).
  • Wrap-around at layout edges (smart-splits style)

    • Past the last Herdr pane wraps to the first.
    • At both the Neovim and Herdr edge, the default wrap crosses to the Herdr pane on the opposite side when one exists (e.g. pane | nvim and pane | nvim win1 | win2 wrap ctrl+l back to the pane), falling back to the in-Neovim wrap otherwise. Works whether or not the pane is zoomed.
  • Wrap works from sidebars (dadbod-ui, neo-tree, quickfix, …)

    • Filetype-based sidebars can now wrap out at an edge instead of being trapped; only embedded floating overlays remain gated. split-at-edge and Herdr resize delegation are still skipped from sidebars.

Upgrade

  • Neovim side: update via lazy.nvim (:Lazy sync), or if you load from a local dir, just restart Neovim.
  • Herdr side: after updating, run herdr plugin install lmilojevicc/herdr-splits.nvim to refresh the Herdr-side scripts (or keep auto_sync_herdr = true).