You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Document smart layout detection for recency sorting
Added documentation explaining how the plugin automatically adjusts
sort order based on fzf layout to keep recent URLs closest to the
search bar in both default and reverse layouts.
🤖 Generated with [opencode](https://opencode.ai)
Co-Authored-By: opencode <[email protected]>
You can control how URLs are sorted by setting `@fzf-url-sort-by`:
60
60
61
61
```tmux
62
-
# Sort URLs by recency (default) - preserves scrollback order, most recent first
62
+
# Sort URLs by recency (default) - most recent URLs closest to search bar
63
63
set -g @fzf-url-sort-by 'recency'
64
64
65
65
# Sort URLs alphabetically - original behavior
66
66
set -g @fzf-url-sort-by 'alphabetical'
67
67
```
68
68
69
+
**Smart Layout Detection**: When using recency sorting, the plugin automatically detects your fzf layout and adjusts the sort order to keep the most recent URLs closest to the search bar:
70
+
71
+
-**Default layout** (search at bottom): Recent URLs appear first (top of list)
72
+
-**Reverse layout** (with `--reverse` option): Recent URLs appear last (bottom of list)
73
+
74
+
This ensures optimal accessibility regardless of your preferred fzf layout.
75
+
69
76
By default, `tmux-fzf-url` will use `xdg-open`, `open`, or the `BROWSER`
70
77
environment variable to open the url, respectively. If you want to use a
71
78
different command, you can set `@fzf-url-open` to the command you want to use.
0 commit comments