Commit Graph

556 Commits (main)

Author SHA1 Message Date
Arijit Basu 805e1594ed
Fix vim scrolling 3 days ago
Arijit Basu 41648ced34 Linting fixes 3 days ago
Abhinav Natarajan a48dae008c Fix node type resolution
Fix node_type for directory with extension
6 days ago
Arijit Basu 6d7ccce282 Pass scrolltop in custom Lua function 1 week ago
Arijit Basu 90df0a2b5a vimlike_scrolling -> paginated_scrolling
Inspired by @ElSamhaa 's PR https://github.com/sayanarijit/xplr/pull/704
1 week ago
Arijit Basu ce52bcdf94 Revert vimlike scrolling
Use stateful ui widget.
1 week ago
Arijit Basu 6fb0781fe4 xplr.util.lscolor shouldn't return nil
Closes: https://github.com/sayanarijit/xplr/issues/705

Also update xplr version.
1 week 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
4 weeks ago
Arijit Basu 96da7e1da8
Fix linting 4 weeks ago
Arijit Basu 96ffe8680b
Fix ScrollUpHalf 4 weeks ago
Ahmed ElSamhaa 1600ad9a9c Makes the preview cushion dynamic now, and sets an initial value 5 for it 1 month ago
Ahmed ElSamhaa 2a3d056bf1 Clarifies some comments 1 month ago
Ahmed ElSamhaa 91276f6871 Removes an unnecessary condition 1 month ago
Ahmed ElSamhaa 00bd54abe9 Removes unnecessary mut from the calc_skipped_rows fn 1 month ago
Ahmed ElSamhaa 95621af9eb Increases the preview_cushion to 5 like in vim 1 month ago
Ahmed ElSamhaa 5240b3904b Rolls back changes to the open terminal file 1 month ago
Ahmed ElSamhaa a6fb695ff9 Refactors the calc_skipped_rows function to make it even more readable 1 month ago
Ahmed ElSamhaa fd40de26e7 Adds tests for the ScrollState calc_skipped_rows fn 1 month ago
Ahmed ElSamhaa 87805509c5 Refactors the calc_skipped_rows function to make it more readable 1 month ago
Ahmed ElSamhaa 4aa367ca7c Makes the current_focus field private to limit usage to its setters and getters 1 month ago
Ahmed ElSamhaa 01606e0e60 Adds corresponding config setting for vimlike_scrolling 1 month ago
Ahmed ElSamhaa e834242f5d Adds vim-like scrolling 1 month ago
Arijit Basu 0285f0824c
Disable snap build 2 months ago
Arijit Basu 9db8b2cc19
Upgrade dependencies (#700) 2 months ago
Arijit Basu ded2e108bf
Add xplr.util.debug
Also update version
3 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
3 months ago
Arijit Basu d76a70fed4
Fix ScrollUpHalf 3 months ago
Arijit Basu 16673963aa
Minor fix 3 months ago
Arijit Basu cc578aaf0a
Add initial pwd to history 4 months ago
Arijit Basu 50e81853fe
Update version 4 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>
4 months ago
Arijit Basu 75dabeb283
Add support for function keys upto F24 4 months ago
Arijit Basu 484b94a961
Add selection indicator in input and logs panel 6 months ago
Arijit Basu 22b5fca8d9 Update version 9 months ago
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
9 months ago
Lewis Cook 6df168f8c1 init: Fix error upon deleting file on non-GNU systems 9 months ago
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
10 months ago
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
10 months ago
Arijit Basu 94ba22bbcc
Upgrade 10 months ago
Arijit Basu 54d6d19003
Also enter symlink dir 10 months ago
Dugan Chen 4aeb3dd7c8 Use built-in node method 10 months ago
Dugan Chen 5626422ba4 Silently fail to 'enter' regular files 10 months ago
Arijit Basu 1941355128
Imrove builds
- Add more build targets
- Allow cross compile (if you have the resources, I don't)
- Fix failing nixos tests
10 months ago
Arijit Basu 2f78691333
Update/upgrade deps 10 months ago
Arijit Basu bc7f3cbbcf
Minor update 10 months ago
Arijit Basu ad50342260
Fix focus on back 10 months ago
Arijit Basu 313c61db96
Optimize get_current_dir
Closes: https://github.com/sayanarijit/xplr/issues/628
10 months ago
Arijit Basu 255517c2a9
Also respect general.table.headers.cols[*].style 10 months ago
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
10 months ago
Arijit Basu d282032b3d
Fix symlink base again 10 months ago