Skip to content

v0.5.0 — nav_at_edge: stop at edges on both sides

Latest

Choose a tag to compare

@lmilojevicc lmilojevicc released this 11 Jul 12:52
65f8ce2

Stop at layout edges on both the Herdr and Neovim sides with a single conf-file switch.

Highlights

  • New nav_at_edge conf-file knob in ~/.config/herdr/plugins/config/herdr-splits/herdr-splits.conf controls wrap-across-boundary on BOTH the Herdr pane side and the Neovim edge-wrap side. wrap (default) or stop. One file, one switch.
    • Plain Herdr panes: with stop, navigating past the last pane halts instead of wrapping to the first (tmux-style); wrap preserves smart-splits-style wrap-around.
    • Neovim edge wrap: with at_edge='wrap' in Neovim, stop keeps the wrap inside Neovim (e.g. ctrl+l from the last split cycles to the first split) instead of crossing to the opposite Herdr pane; wrap (default) still crosses. at_edge='stop' halts regardless of nav_at_edge.
  • Backward compatible: with no nav_at_edge (or nav_at_edge=wrap), behaviour is unchanged.

Upgrade

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