Arijit Basu
d4edf3302f
Gen docs
2022-11-30 03:04:40 +05:30
Arijit Basu
c382768f23
Implement xplr.util.to/from_json/yaml
...
Closes: https://github.com/sayanarijit/xplr/issues/541
2022-11-30 03:04:40 +05:30
Arijit Basu
6558ba8092
Hide counts if 0
...
Closes https://github.com/sayanarijit/xplr/issues/542
2022-11-30 02:27:45 +05:30
Arijit Basu
91c87a3901
Fix creating file with spaces
...
Fixes: https://github.com/sayanarijit/xplr/issues/544
2022-11-29 23:40:20 +05:30
Arijit Basu
25798009ad
Fix displaying multispace characters
...
Ref: https://github.com/sayanarijit/tui-input/pull/14
2022-11-18 23:43:51 +05:30
Arijit Basu
104dc0534b
Minor doc fixes
2022-11-13 12:12:26 +05:30
Arijit Basu
919a492131
Packaging instructions in readme
2022-11-13 11:57:36 +05:30
Arijit Basu
399fd183d4
Update docs
2022-11-13 11:52:54 +05:30
Arijit Basu
053615b041
Fix linting errors
2022-11-13 02:06:04 +05:30
Arijit Basu
76224c42e1
Fix Nix cache push
2022-11-12 21:28:39 +05:30
Arijit Basu
ca4f4f3f45
Fix nix build second attempt
2022-11-12 20:58:59 +05:30
Arijit Basu
a0c19025dd
Fix nix build
2022-11-12 20:41:42 +05:30
Arijit Basu
69db7fa9e6
Push Binary Cache for Nix
2022-11-12 19:41:04 +05:30
Arijit Basu
555bc02e10
Update lua-function-calls.md
2022-11-12 18:19:16 +05:30
Arijit Basu
bbb1026ff8
Add nix flake
2022-11-12 02:35:02 +05:30
Arijit Basu
aea17b415b
Update writing-plugins.md
2022-11-07 13:06:05 +05:30
Arijit Basu
7e70487511
Use default values for some fields
2022-11-07 11:40:23 +05:30
Arijit Basu
15e7123aba
Update awesome-hacks.md
2022-11-04 23:50:43 +05:30
Arijit Basu
133ba120af
Update .github/workflows/cd.yml
2022-10-30 01:55:55 +05:30
Orhun Parmaksız
77164ff98a
fix(cd): use external gzip for compressing the git source
2022-10-30 01:55:55 +05:30
Arijit Basu
ea8a1fcd46
Update xplr.util.md
2022-10-29 10:03:35 +05:30
Arijit Basu
70cb745c9f
Implement and expose xplr.util
...
Closes: https://github.com/sayanarijit/xplr/issues/517
2022-10-29 02:46:31 +05:30
Arijit Basu
15979e4974
Release v0.20.0
2022-10-29 02:46:31 +05:30
Arijit Basu
49c4729047
Improve CLI errors
2022-10-28 17:16:34 +05:30
Arijit Basu
01060ed025
Add $XPLR_INITIAL_PWD and 'gi' key binding
...
This will allow enable workspace like features, without using vroot.
2022-10-28 11:23:12 +05:30
Arijit Basu
74318435e8
Update version
2022-10-27 23:22:11 +05:30
Arijit Basu
553f6b9bc6
Fix doc
2022-10-27 23:05:48 +05:30
Arijit Basu
71bd2e2776
Add more vroot options
...
- ToggleVroot
- UnsetVroot
Along with key bindings.
2022-10-27 23:00:10 +05:30
Arijit Basu
94154c56df
Consistent help text
2022-10-27 21:54:06 +05:30
Arijit Basu
5c4dec05ed
Don't restrict saving location outside vroot
2022-10-27 21:47:25 +05:30
Arijit Basu
289556f452
Add builtin vroot mode
...
Also fix ResetVroot
2022-10-27 21:39:48 +05:30
Arijit Basu
eba9de5a44
Improve vroot indicator
2022-10-27 18:28:49 +05:30
Arijit Basu
e3a5f3c044
Add messages SetVroot and ResetVroot
2022-10-27 17:05:32 +05:30
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.
2022-10-27 17:05:32 +05:30
Arijit Basu
00ffd077aa
Upgarde version
2022-10-27 12:00:30 +05:30
Arijit Basu
bafe15e25e
Add more hooks
2022-10-27 11:22:36 +05:30
Arijit Basu
fc798aad97
Update version
2022-10-27 00:55:12 +05:30
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!" },
}
}
```
2022-10-27 00:55:12 +05:30
Arijit Basu
723dd6ec2c
Even better error messages
2022-10-27 00:55:12 +05:30
Arijit Basu
4a34780eb4
Improve errors messages -m
and -M
2022-10-26 17:43:05 +05:30
Arijit Basu
b05e702536
Actually validate the passed message
2022-10-26 14:24:55 +05:30
Arijit Basu
baa8759d68
Minor performance improvement
2022-10-26 14:23:29 +05:30
Arijit Basu
52c8e05a1e
Fix clippy error
2022-10-26 14:04:19 +05:30
Arijit Basu
65eee2dc90
Use serde_yaml::with::singleton_map_recursive
2022-10-26 13:59:39 +05:30
Arijit Basu
77852b435f
Error on missing *-msg-in arguments
2022-10-26 11:54:43 +05:30
Arijit Basu
060544a2b8
Minor fixes
2022-10-26 10:34:38 +05:30
Arijit Basu
e51818dfc1
Fix cargo release
2022-10-26 04:30:56 +05:30
Arijit Basu
f8b16a7ddd
Rebase main
2022-10-26 04:15:33 +05:30
Arijit Basu
85c4253782
Upgrade version
2022-10-26 04:15:33 +05:30
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:?}")
```
2022-10-26 04:15:33 +05:30