Arijit Basu
70cb745c9f
Implement and expose xplr.util
...
Closes: https://github.com/sayanarijit/xplr/issues/517
2 years ago
Arijit Basu
15979e4974
Release v0.20.0
2 years ago
Arijit Basu
49c4729047
Improve CLI errors
2 years ago
Arijit Basu
01060ed025
Add $XPLR_INITIAL_PWD and 'gi' key binding
...
This will allow enable workspace like features, without using vroot.
2 years ago
Arijit Basu
74318435e8
Update version
2 years ago
Arijit Basu
553f6b9bc6
Fix doc
2 years ago
Arijit Basu
71bd2e2776
Add more vroot options
...
- ToggleVroot
- UnsetVroot
Along with key bindings.
2 years ago
Arijit Basu
94154c56df
Consistent help text
2 years ago
Arijit Basu
5c4dec05ed
Don't restrict saving location outside vroot
2 years ago
Arijit Basu
289556f452
Add builtin vroot mode
...
Also fix ResetVroot
2 years ago
Arijit Basu
eba9de5a44
Improve vroot indicator
2 years ago
Arijit Basu
e3a5f3c044
Add messages SetVroot and ResetVroot
2 years ago
Arijit Basu
a62b72bf2a
Add support for --vroot
...
--vroot helps isolating navigation of an xplr session inside a specific
directory. However, interaction still requires passing full paths
(`/tmp/vroot`). Shell scripts and Lua functions can still access files
outside the virtual root.
This PR also fixes unwanted dot (.) and extra slash (//) issues in paths.
2 years ago
Arijit Basu
00ffd077aa
Upgarde version
2 years ago
Arijit Basu
bafe15e25e
Add more hooks
2 years ago
Arijit Basu
fc798aad97
Update version
2 years ago
Arijit Basu
deb28fa14a
Add initial support for hooks
...
A new optional section of the configuration defined using the lua return
statement, which can be used to define append only things, such as hooks
and callbacks, specific to each config file.
Example
```lua
version = "0.0.0"
return {
-- Adds messages to pass when xplr loads (similar to `--on-load`)
on_load = {
{ LogInfo = "Hello xplr user," },
{ LogSuccess = "Configuration successfully loaded!" },
}
}
```
2 years ago
Arijit Basu
723dd6ec2c
Even better error messages
2 years ago
Arijit Basu
4a34780eb4
Improve errors messages `-m` and `-M`
2 years ago
Arijit Basu
b05e702536
Actually validate the passed message
2 years ago
Arijit Basu
baa8759d68
Minor performance improvement
2 years ago
Arijit Basu
52c8e05a1e
Fix clippy error
2 years ago
Arijit Basu
65eee2dc90
Use serde_yaml::with::singleton_map_recursive
2 years ago
Arijit Basu
77852b435f
Error on missing *-msg-in arguments
2 years ago
Arijit Basu
060544a2b8
Minor fixes
2 years ago
Arijit Basu
e51818dfc1
Fix cargo release
2 years ago
Arijit Basu
f8b16a7ddd
Rebase main
2 years ago
Arijit Basu
85c4253782
Upgrade version
2 years ago
Arijit Basu
1d829c36e6
Implement -M, --print-msg-in
...
To help with creating safe arguments for --on-load.
e.g.
```
xplr --on-load $(xplr -M 'ChangeDirectory: %q' "${HOME:?}")
```
2 years ago
Arijit Basu
7c730557f2
Shell escape SRC and TARGET for logging
2 years ago
Arijit Basu
93e9b2b2ae
There's no end of arguments for -m
2 years ago
Arijit Basu
3fb174cdc0
Allow using -m outside of xplr shell for debugging
...
Also validate the message before passing.
2 years ago
Arijit Basu
111a648818
Shell escape file paths in logs
2 years ago
Arijit Basu
1e820030a0
Implement subcommand -m / --pipe-msg-in
2 years ago
Arijit Basu
bffe1d43ec
Escape newline in selection list
2 years ago
Arijit Basu
fbe6b2be10
Improve parsing CLI arguments
2 years ago
Arijit Basu
88fe71779b
Add best practices section
2 years ago
Arijit Basu
91e3990df1
Rename messages
2 years ago
Arijit Basu
7b8f38df5b
Update is_readonly
2 years ago
Jeremy Cantrell
2b5755aa8a
An attempt at safer message passing.
2 years ago
Arijit Basu
895d55ca23
Minor improvement
2 years ago
Arijit Basu
1d20039fae
Improve log rendering
2 years ago
Arijit Basu
c93202b649
Minor improvements
2 years ago
Arijit Basu
89b3731b56
Fix serialization error
2 years ago
Arijit Basu
ae714e9713
Update xplr.desktop
2 years ago
Arijit Basu
a4f98f0b63
Add tri-pane.xplr
2 years ago
Arijit Basu
bd478ff64b
Update serde_yaml to 0.9
2 years ago
Arijit Basu
57483bef41
Use fuzzy search instead of regex search
...
Ref: https://github.com/sayanarijit/xplr/issues/496
2 years ago
Arijit Basu
93bd53bbcb
Add quick scrolling
...
Not ideal, but better than nothing.
Closes: https://github.com/sayanarijit/xplr/issues/509
2 years ago
Arijit Basu
81e83365f2
Document how to try out the hacks.
2 years ago