Commit Graph

358 Commits

Author SHA1 Message Date
Arijit Basu
2437fd67cf Fix distorted screen when opening files in GUI
Fixes: https://github.com/sayanarijit/xplr/issues/111
2021-04-27 23:58:00 +05:30
Arijit Basu
8ddc000895 Make config private 2021-04-26 12:45:07 +05:30
Arijit Basu
2470827aac Organize tests 2021-04-26 12:45:07 +05:30
Arijit Basu
f38398e900 Make internals private 2021-04-26 12:45:07 +05:30
Arijit Basu
33e500a16d Move pipe writing logic from runner to app
Ref: https://github.com/sayanarijit/xplr/issues/103
2021-04-26 12:45:07 +05:30
Arijit Basu
eca35c73a2 Update version 2021-04-24 22:22:32 +05:30
Arijit Basu
d0c5801474 Fix terminal output redirection when piping stdout
Now, when you do `xplr > out.txt` and invoke the terminal, the stdout
won't be redirected.
2021-04-24 08:57:26 +05:30
Arijit Basu
680aeb053c
Add packaging status 2021-04-23 15:18:43 +05:30
Arijit Basu
d81111c134 Reduce col_spacing to 1 2021-04-23 14:53:20 +05:30
Arijit Basu
014043d330 Fix formatting the global help menu 2021-04-23 12:58:07 +05:30
Arijit Basu
76a3c22f99 Add test for config incompatibility error
Make sure https://github.com/sayanarijit/xplr/issues/97 hever happens
again.
2021-04-23 11:25:02 +05:30
Arijit Basu
e9b5dfe478 Fix incompatible config version
Fixes: https://github.com/sayanarijit/xplr/issues/97
2021-04-23 11:04:58 +05:30
Arijit Basu
36c2c9cc2b
Update version 2021-04-23 00:17:43 +05:30
Arijit Basu
1a08318593 Improve CPU usage attempt 2
Fixes: https://github.com/sayanarijit/xplr/issues/10
2021-04-22 22:53:31 +05:30
Arijit Basu
871a4c79aa
Fix divide by zero error 2021-04-22 11:50:43 +05:30
Arijit Basu
371d572d50
Add discord badge 2021-04-22 08:22:18 +05:30
Arijit Basu
1ffa85f30f Do not exit on permission denial
While trying to enter restricted directories, log error instead or
exiting.
2021-04-21 08:28:02 +05:30
Arijit Basu
2e541fbf04
Minor UI improvement 2021-04-20 21:35:06 +05:30
Arijit Basu
ad3dd8eec2
Update version 2021-04-20 21:20:28 +05:30
Arijit Basu
785c20de13 Sync pwd
Sync session's $PWD with `xplr`'s current directory.
If you use alacritty, every window will open in `xplr`'s current
directory.
2021-04-20 20:56:16 +05:30
Arijit Basu
c11099f651 Fix follow symlink behavior.
Use `gf` to follow symlinks instead of `enter`/`l`.

Or use the message `FollowSymlink`.
2021-04-19 23:23:28 +05:30
Arijit Basu
87cd6ff015 Fix global help menu not displaying sort & filter 2021-04-19 21:01:20 +05:30
Arijit Basu
f8fb6913c9 Rework README.md, Cargo.toml 2021-04-19 19:20:51 +05:30
Arijit Basu
1f99e8ba99 Follow file symlinks
Follow symlink to files to it's parent directory.

Also, hide file size for directories.

Ref: https://github.com/sayanarijit/xplr/issues/84
2021-04-19 18:32:00 +05:30
Arijit Basu
1783834a2e Fix ctrl-l breaking UI
Also improve the filter mode key bindings

Fixes: https://github.com/sayanarijit/xplr/issues/88
2021-04-19 17:23:42 +05:30
Arijit Basu
ca13ebb193 Added inode size
Also supports sorting by inode size.

Closes: https://github.com/sayanarijit/xplr/issues/84
2021-04-19 14:48:45 +05:30
Arijit Basu
b53f0c21bb Improve read-only mode
Do not include non-read-only actions in the in read-only mode. i.e. do
not display non-read-only actions in help menu.

Ref: https://github.com/sayanarijit/xplr/issues/22
2021-04-19 14:33:42 +05:30
Arijit Basu
21f87d6a08 Add read-only mode
Ref: https://github.com/sayanarijit/xplr/issues/22
2021-04-19 10:27:27 +05:30
Arijit Basu
4d21a89050 Use ctrl-r to refresh, ctrl-l to clear selection 2021-04-19 00:58:04 +05:30
Arijit Basu
e70fa57228 Fix selection
Fixes: https://github.com/sayanarijit/xplr/issues/81
2021-04-19 00:58:04 +05:30
Arijit Basu
9fce3b1d14 Fix space input 2021-04-19 00:45:41 +05:30
Arijit Basu
1bb2622f24 Improve key inputs
Add support proper implementations of -

- backspace
- ctrl-w
- ctrl-u

Also, improved sort and filter behavior.

Fixes: https://github.com/sayanarijit/xplr/issues/77
2021-04-19 00:00:43 +05:30
Maxim Baz
468cf7f3df Allow empty icons 2021-04-18 20:24:13 +05:30
Arijit Basu
f582f49ad8 Make search and filter case insensitive 2021-04-18 16:57:33 +05:30
Arijit Basu
1546ba0a75 Add filter key binding 2021-04-18 16:57:33 +05:30
Arijit Basu
a8896740c8 Add sorting support
Also improve filtering.

Closes: https://github.com/sayanarijit/xplr/issues/58
2021-04-18 16:14:17 +05:30
Arijit Basu
1dc25c4998
Remove default.nix 2021-04-15 16:41:23 +05:30
Arijit Basu
bbd5c1ba8b
Map V to ctrl-a 2021-04-15 15:58:39 +05:30
Arijit Basu
3ab9bcb4c9 Fix UI style priority
Fixes: https://github.com/sayanarijit/xplr/issues/68
2021-04-15 15:55:06 +05:30
Arijit Basu
54bad4aa09 Add mode selection commands
- SelectAll
- SelectPath
- UnSelectAll
- UnSelectPath
- ToggleSelectAll
- ToggleSelectionByPath
2021-04-15 14:36:52 +05:30
Arijit Basu
1dba3d5e8e Fix overwriting of default config.
This fixes the overwriting of default configuration.

Also, add tests to validate the new logic.

Fixes: https://github.com/sayanarijit/xplr/issues/68
2021-04-15 13:55:42 +05:30
Arijit Basu
0c82a645d9 Add history pipe 2021-04-14 21:16:16 +05:30
Arijit Basu
d0342260fe Add support for NO_COLOR
Also, add `general.logs` to the config.

Ref: https://no-color.org/
2021-04-14 08:38:00 +05:30
Arijit Basu
af1cda5762 Better symlink support
Closes: https://github.com/sayanarijit/xplr/issues/37
2021-04-13 08:48:50 +05:30
Arijit Basu
0d4cd29a08 Fix panic on permission denied
Issue:
$PWD watch service panics when visiting restricted directories.

Fix:
Log error instead of panic.
2021-04-13 08:01:20 +05:30
Arijit Basu
ea42b1969a Improve scrolling behaviour
Closes: https://github.com/sayanarijit/xplr/issues/54
2021-04-12 21:51:59 +05:30
Maxim Baz
d63d612339 add desktop file 2021-04-12 19:39:01 +05:30
Arijit Basu
c640edc4d9
Improve number mode clear behaviour 2021-04-12 12:16:59 +05:30
Arijit Basu
49ffd8e1f1 Fix exit error codes
Also remove cucumber-rust (will try https://github.com/rust-rspec/rspec)

Fixes: https://github.com/sayanarijit/xplr/issues/33
2021-04-12 11:13:31 +05:30
Arijit Basu
55e1a6a0fa Add basic history navigation
Use `ctrl-i` (tab) and `ctrl-o` to navigate history.

Closes: https://github.com/sayanarijit/xplr/issues/49
2021-04-12 11:03:57 +05:30