Commit Graph

889 Commits (e15c1e8a8ce331e4336d1c5cfd407878da525ee5)
 

Author SHA1 Message Date
Arijit Basu e15c1e8a8c
Lock ratatui 5 months ago
Arijit Basu 8afdf9e478
Fix node type resolution (#714)
Fixes #712 and #713.
5 months ago
Abhinav Natarajan a48dae008c Fix node type resolution
Fix node_type for directory with extension
5 months ago
Arijit Basu ad8afa9d38 Update deps 5 months ago
Arijit Basu c2a11059c8
Add yazi an alternative 5 months ago
Arijit Basu 6d7ccce282 Pass scrolltop in custom Lua function 5 months ago
Arijit Basu 90df0a2b5a vimlike_scrolling -> paginated_scrolling
Inspired by @ElSamhaa 's PR https://github.com/sayanarijit/xplr/pull/704
5 months ago
Arijit Basu ce52bcdf94 Revert vimlike scrolling
Use stateful ui widget.
5 months ago
Arijit Basu 6fb0781fe4 xplr.util.lscolor shouldn't return nil
Closes: https://github.com/sayanarijit/xplr/issues/705

Also update xplr version.
5 months ago
Arijit Basu c1bb251fef
Adds Vim-Like Scrolling to XPLR (#704)
- Added through a setting `vimlike_scrolling` which is turned off by
default
- A hard-coded _(for now)_ cushion of `5` lines that allows for
previewing the next lines while scrolling
- A separate struct `ScrollState` with getters and setters for the
`current_focus` field to disallow setting the field without updating the
`last_focus` field
6 months ago
Arijit Basu 976530ba70
Gen docs 6 months ago
Arijit Basu 96da7e1da8
Fix linting 6 months ago
Arijit Basu 96ffe8680b
Fix ScrollUpHalf 6 months ago
Ahmed ElSamhaa 1600ad9a9c Makes the preview cushion dynamic now, and sets an initial value 5 for it 6 months ago
Ahmed ElSamhaa 2a3d056bf1 Clarifies some comments 6 months ago
Ahmed ElSamhaa 91276f6871 Removes an unnecessary condition 6 months ago
Ahmed ElSamhaa 00bd54abe9 Removes unnecessary mut from the calc_skipped_rows fn 6 months ago
Ahmed ElSamhaa 95621af9eb Increases the preview_cushion to 5 like in vim 6 months ago
Ahmed ElSamhaa 5240b3904b Rolls back changes to the open terminal file 6 months ago
Ahmed ElSamhaa a6fb695ff9 Refactors the calc_skipped_rows function to make it even more readable 6 months ago
Ahmed ElSamhaa fd40de26e7 Adds tests for the ScrollState calc_skipped_rows fn 6 months ago
Ahmed ElSamhaa 87805509c5 Refactors the calc_skipped_rows function to make it more readable 6 months ago
Ahmed ElSamhaa 4aa367ca7c Makes the current_focus field private to limit usage to its setters and getters 6 months ago
Ahmed ElSamhaa 01606e0e60 Adds corresponding config setting for vimlike_scrolling 6 months ago
Ahmed ElSamhaa e834242f5d Adds vim-like scrolling 6 months ago
alice 7c6dffc2c6
cargo: allow building with system lua (#703)
useful for distros
6 months ago
har7an d5217f6677
cargo: Revert version update on `ansi-to-tui` (#702)
which causes custom styling to be lost on the currently selected line.
6 months ago
Arijit Basu 0285f0824c
Disable snap build 6 months ago
Arijit Basu a6b19425ae
Release v0.21.6 (#701)
- Snap build
- xplr.util.debug()
- `c` and `m` key bindings for quick copy and move.
- ScrollUpHalf fix
- Dependency updates
6 months ago
Arijit Basu 9db8b2cc19
Upgrade dependencies (#700) 6 months ago
mikoloism 68500f3a8e
[Feat] support `snapcraft` build package to releases (#697)
* build(snap): support snapcraft package

- add `snap/snapcraft.yaml` file

NOTE: under `devmode` until fit to release

* ci(gh-action): support `snapcraft` build and publish to `gh-release` page
7 months ago
Arijit Basu ded2e108bf
Add xplr.util.debug
Also update version
8 months ago
Arijit Basu 6e8f3da971
Quick copy and quick move (#692)
* Quick copy and quick move

- Press `c` to quickly copy the focused or selected path
- Press `m` to quickly move the focused or selected path
8 months ago
Arijit Basu d76a70fed4
Fix ScrollUpHalf 8 months ago
Arijit Basu 16673963aa
Minor fix 8 months ago
Arijit Basu b0ef9a5190
Remove unnecessary config example for now 8 months ago
Arijit Basu b70337708c
Minor fix 8 months ago
Arijit Basu 9127d15494
Use tree-view as example 8 months ago
Arijit Basu 66d9f7e586
Minor doc fix 8 months ago
Arijit Basu eab47a9044
Fix nixpkgs link 8 months ago
Arijit Basu a9e3752f56
Minor doc fix 8 months ago
Arijit Basu 470bea1265
NixOS install instructions 8 months ago
Arijit Basu cc578aaf0a
Add initial pwd to history 9 months ago
Arijit Basu 50e81853fe
Update version 9 months ago
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>
9 months ago
Arijit Basu 75dabeb283
Add support for function keys upto F24 9 months ago
Arijit Basu 1629398adf
Sync branch (#677)
- Selection indicator in input and logs pane title for people who hide
the selection pane.
10 months ago
Arijit Basu dd8bb74dd4
Update Arch Linux package URL in install.md (#676)
The old URL returns 404 now.
10 months ago
Felix Yan 1dc5eae8fc
Update Arch Linux package URL in install.md
The old URL returns 404 now.
10 months ago
Arijit Basu 484b94a961
Add selection indicator in input and logs panel 11 months ago