Commit Graph

851 Commits

Author SHA1 Message Date
Arijit Basu
bb7053baa9
Better preview 2024-01-17 12:48:45 +05:30
Arijit Basu
19df482b4d
Implement preview pane
Display preview in the selection pane when selection is empty.

Adds:

- xplr.util.preview
- xplr.fn.builtin.fmt_general_preview_renderer
- xplr.config.general.panel_ui.preview
2024-01-16 17:37:45 +05:30
Arijit Basu
2ce7a91b71
Fix ScrollUpHalf 2024-01-13 20:29:47 +05:30
Arijit Basu
3a9739da32
Minor fix 2024-01-03 17:29:34 +05:30
Arijit Basu
cc578aaf0a
Add initial pwd to history 2024-01-03 17:19:16 +05:30
Arijit Basu
50e81853fe
Update version 2024-01-03 16:35:37 +05:30
Arijit Basu
414b45e4fd
Sync branch (#687)
* Update awesome-plugins.md

* Update awesome-plugins.md

* Visit deep level branches (#686)

* Visit deep level branches

- Press `)` to pass `NextVisitedDeepBranch`
- Press `(` to pass `LastVisitedDeepBranch`

* Last -> Previous

* Upgrade pkgs

* Clippy fixes

* Fix clippy err

---------

Co-authored-by: Dmitry Savosh <d.savosh@gmail.com>
2024-01-03 16:28:02 +05:30
Arijit Basu
75dabeb283
Add support for function keys upto F24 2024-01-03 16:17:47 +05:30
Arijit Basu
1629398adf
Sync branch (#677)
- Selection indicator in input and logs pane title for people who hide
the selection pane.
2023-11-21 22:08:55 +05:30
Arijit Basu
dd8bb74dd4
Update Arch Linux package URL in install.md (#676)
The old URL returns 404 now.
2023-11-21 22:04:16 +05:30
Felix Yan
1dc5eae8fc
Update Arch Linux package URL in install.md
The old URL returns 404 now.
2023-11-21 14:59:35 +02:00
Arijit Basu
484b94a961
Add selection indicator in input and logs panel 2023-11-14 10:53:22 +05:30
Arijit Basu
50d9d1c54b
New plugin (#666) 2023-09-17 22:09:40 +05:30
Dugan Chen
c7c3d2d7f6 Link to the one-table-column theme 2023-09-17 06:56:21 +05:30
Arijit Basu
1441275860
Avoid duplicate strip call (#664)
Fixes: https://github.com/sayanarijit/xplr/issues/662
2023-08-12 14:01:39 +05:30
Arijit Basu
8af1647c09
v0.21.3 (#661) 2023-08-07 23:47:41 +05:30
Arijit Basu
22b5fca8d9 Update version 2023-08-07 23:40:19 +05:30
Arijit Basu
4a3f18100d Display current mode help menu on top
Also, add global key binding f1.
Also, update deps.

Closes: https://github.com/sayanarijit/xplr/issues/655
2023-08-07 23:28:37 +05:30
Lewis Cook
6df168f8c1 init: Fix error upon deleting file on non-GNU systems 2023-07-30 09:30:50 +05:30
Arijit Basu
eeb7b5d684
Update README.md 2023-07-27 10:37:05 +05:30
Arijit Basu
9a7ff5846d
Fix android build (#657)
* Fix android build

Ref: https://github.com/khvzak/mlua/issues/267#issuecomment-1644559018

* Update docs

* Fix typos by cheating a bit

* Instruction first
2023-07-21 21:54:07 +05:30
Arijit Basu
1b2226512f
Imrove builds (#650)
- Add more build targets
- Allow cross compile (if you have the resources, I don't)
- Fix failing nixos tests
2023-07-19 04:14:00 +05:30
Arijit Basu
56472998f5
Don't give up yet 2023-07-19 04:07:24 +05:30
Arijit Basu
bf7ae3f748
Give up on the new platforms 2023-07-19 01:10:20 +05:30
Arijit Basu
94ba22bbcc
Upgrade 2023-07-18 22:54:05 +05:30
Arijit Basu
567a6201a8
Silently fail to 'enter' regular files (#654)
Silently fail to "Enter" regular files. Entering only makes sense for
directories.

This fixes
https://github.com/sayanarijit/xplr/issues/653#issue-1806818324

I don't know Rust at all, so I make no claims to the code quality. But I
have tested this change and it does work.
2023-07-17 22:08:06 +05:30
Arijit Basu
54d6d19003
Also enter symlink dir 2023-07-17 22:06:54 +05:30
Dugan Chen
4aeb3dd7c8 Use built-in node method 2023-07-16 23:28:24 -07:00
Dugan Chen
5626422ba4 Silently fail to 'enter' regular files 2023-07-16 22:46:40 -07:00
Arijit Basu
1941355128
Imrove builds
- Add more build targets
- Allow cross compile (if you have the resources, I don't)
- Fix failing nixos tests
2023-07-16 16:38:09 +05:30
Arijit Basu
2f78691333
Update/upgrade deps 2023-07-16 01:18:23 +05:30
Arijit Basu
a2fbf759dd
Strip 2023-07-16 01:01:12 +05:30
Arijit Basu
bc7f3cbbcf
Minor update 2023-07-16 01:01:12 +05:30
Arijit Basu
ad50342260
Fix focus on back 2023-07-16 01:01:12 +05:30
Arijit Basu
313c61db96
Optimize get_current_dir
Closes: https://github.com/sayanarijit/xplr/issues/628
2023-07-16 01:01:12 +05:30
Arijit Basu
255517c2a9
Also respect general.table.headers.cols[*].style 2023-07-16 01:01:11 +05:30
Arijit Basu
9844ae1476
Respect low priority styles
- xplr.config.general.selection.item.style
- xplr.config.general.table.row.style
- xplr.config.general.table.row.cols[*].style
- xplr.config.general.table.header.cols[*].style

Ref: https://github.com/sayanarijit/xplr/issues/640
2023-07-16 01:01:11 +05:30
Arijit Basu
d282032b3d
Fix symlink base again 2023-07-16 01:01:11 +05:30
Arijit Basu
ba26752f6c
Use correct base for symlink for alternate layouts 2023-07-16 01:01:11 +05:30
Arijit Basu
0cc8723e8e
Document on_selection_change 2023-07-16 01:01:11 +05:30
Arijit Basu
2f3c2ea0e4
Fix lint 2023-07-16 01:01:11 +05:30
Arijit Basu
219ee68152
Update sum-type.md 2023-07-15 07:55:28 +05:30
Arijit Basu
859d888bde
Improve sum type docs 2023-07-15 01:48:38 +05:30
Arijit Basu
f84d9d5c6a
More fixes 2023-07-15 01:22:16 +05:30
Arijit Basu
3fcfb1dbef
Fix sum type doc 2023-07-15 01:08:06 +05:30
Arijit Basu
4c51f0affe
Document sum types for hackers (#647)
* Document sum types for hackers

So you don't have to learn rust to configure xplr.

* Fix typos
2023-07-13 18:42:21 +05:30
Arijit Basu
9d1bd99fd4
Implement on_selection_change
Also optimize navigation with selection items.
Refresh selection only when it's required.

Closes: https://github.com/sayanarijit/xplr/issues/635
2023-07-06 21:57:52 +05:30
Arijit Basu
8209988ba6
Add tree-view.xplr 2023-07-05 11:49:40 +05:30
Arijit Basu
33c5aa9f14
Bring back enqueue 2023-07-03 18:06:53 +05:30
Arijit Basu
cae50e4bcf
Remove unnecessary enqueue step 2023-07-03 10:24:58 +05:30