Commit Graph

314 Commits

Author SHA1 Message Date
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
e51818dfc1
Fix cargo release 2022-10-26 04:30:56 +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
Arijit Basu
111a648818 Shell escape file paths in logs 2022-10-26 04:15:33 +05:30
Arijit Basu
1e820030a0 Implement subcommand -m / --pipe-msg-in 2022-10-26 04:15:33 +05:30
Arijit Basu
bffe1d43ec Escape newline in selection list 2022-10-26 04:15:33 +05:30
Arijit Basu
88fe71779b Add best practices section 2022-10-26 04:15:33 +05:30
Arijit Basu
91e3990df1 Rename messages 2022-10-26 04:15:33 +05:30
Arijit Basu
a4f98f0b63
Add tri-pane.xplr 2022-10-13 23:18:00 +05:30
Arijit Basu
57483bef41 Use fuzzy search instead of regex search
Ref: https://github.com/sayanarijit/xplr/issues/496
2022-10-06 20:48:29 +05:30
Arijit Basu
93bd53bbcb Add quick scrolling
Not ideal, but better than nothing.

Closes: https://github.com/sayanarijit/xplr/issues/509
2022-10-06 20:42:23 +05:30
Arijit Basu
81e83365f2
Document how to try out the hacks. 2022-09-21 17:54:02 +05:30
Arijit Basu
58c572d77a Fix directory explore scheduling
Fixes https://github.com/sayanarijit/xplr/issues/503
2022-09-11 08:16:38 +05:30
Arijit Basu
f2713d9549
Fix support for readline keys 2022-09-11 02:03:20 +05:30
Arijit Basu
12264722ef
Add missing doc 2022-09-11 01:39:35 +05:30
Arijit Basu
d579832c69 Update version 2022-09-11 01:31:46 +05:30
Arijit Basu
4e9c056a10 Custom input prompts for different modes without SetInputPrompt
Closes: https://github.com/sayanarijit/xplr/issues/502
2022-09-11 01:16:11 +05:30
Arijit Basu
5dcaca3816 Document new input operation 2022-09-10 23:19:47 +05:30
Arijit Basu
9f9a6f9d73 Parse file UID and GID
Closes https://github.com/sayanarijit/xplr/pull/494
2022-09-10 23:19:47 +05:30
Arijit Basu
12d2020f01
Improve preview hacks 2022-07-21 10:23:46 +05:30
Matt_BSD
d6d7e70425 Added FreeBSD to a list of OSes
Added FreeBSD 13.1-RELEASE to a list of OSes on which the image preview hack and text preview hack were tested on.
2022-07-21 07:47:53 +05:30
Arijit Basu
846e0c7f60
Update awesome-plugins.md 2022-07-19 00:33:34 +05:30
Arijit Basu
c42c4dc69d
Fix doc 2022-07-17 12:03:03 +05:30
Arijit Basu
673bcd21c0
Update awesome-hacks.md 2022-07-16 18:51:28 +05:30
Arijit Basu
a9b1527e55
Point type-to-nav to th eupdated plugin for now 2022-07-15 18:00:58 +05:30
Junker
7f1f33b422 add 'nuke.xplr' plugin to awesome-plugins 2022-07-07 22:30:04 +05:30
Arijit Basu
220d253be4
Update index.html 2022-06-24 07:58:33 +05:30
Arijit Basu
bf354352d5 Upgrade version 2022-06-06 21:09:26 +05:30
Arijit Basu
bea0f277bc Add global key bindings that can be overwritten.
- Use `xplr.config.general.global_key_bindings` to define a set of
  key bindings that are available by default in every mode. e.g `esc`
  and `ctrl-c`.
- Remove boilerplate config from `init.lua`.
- Update docs.
2022-06-06 19:43:58 +05:30
Arijit Basu
07d0fe2dee
Update configure-key-bindings.md 2022-06-05 15:26:41 +05:30
Arijit Basu
563e2d1475 Update docs 2022-06-03 22:09:14 +05:30
Arijit Basu
5370cc2e8c Go to path and native auto completion on tab
- BREAKING: Rename mode `create directory` and `create file` to
  `create_directory` and `create_file`.
- Add key binding `gp` to go to a given path from input.
- Add function `fn.builtin.try_complete_path` to auto complete the path
  in input buffer.
- Use `tab` to auto complete path in `rename`, `create_file`,
  `create_directory` and `go_to_path` modes.
- Show different prompts in different modes.

And some cleanup.
2022-06-03 22:09:14 +05:30
Arijit Basu
c3b25bb82f
Update awesome-integrations.md 2022-06-01 01:40:08 +05:30
Arijit Basu
a28addbd0e
Add wl-clipboard.xplr 2022-05-28 23:15:13 +05:30
Arijit Basu
33e537949f
Install instructions for Alpine and Gentoo 2022-05-27 12:04:46 +05:30
Arijit Basu
7c3721a46c
Add PayPal link 2022-05-27 11:34:51 +05:30
Arijit Basu
e3184c5f88
Update awesome-hacks.md 2022-05-26 16:22:57 +05:30
Arijit Basu
3eabbd4ed6
Update awesome-hacks.md 2022-05-26 16:17:44 +05:30
Arijit Basu
fba1c2d0d6
ethicalads back to bottom 2022-05-25 21:18:21 +05:30
Arijit Basu
1df0d2cc90
Clarify sponsoring 2022-05-25 12:17:20 +05:30
Arijit Basu
87783872a5
Remove xplr.nvim for the time being
Discussed in chat room.
2022-05-24 23:21:14 +05:30
Arijit Basu
2aee3743e1
Update awesome-plugins.md 2022-05-24 20:29:02 +05:30
Arijit Basu
3733dc3262
Add offline-docs.xplr 2022-05-24 19:23:59 +05:30
Arijit Basu
a25659d76c
Try ads above toc 2022-05-23 12:06:01 +05:30
Arijit Basu
cb2851875c
Fix mime_essence doc - again 2022-05-23 11:25:01 +05:30
Arijit Basu
dc8cb30eb3
Fix mime_essence docs 2022-05-23 11:22:54 +05:30
Arijit Basu
cf052d2691
Fix doc 2022-05-23 11:19:53 +05:30
Arijit Basu
6f626d1ba0
Clarify metadata API 2022-05-23 11:17:21 +05:30
Arijit Basu
de45123e26
Update writing-plugins.md 2022-05-23 10:57:48 +05:30
Tom van Dijk
4fa90d715e fixup! Edit footnote 2022-05-23 05:20:29 +05:30
Tom van Dijk
2194ddcc61 Edit footnote
Co-authored-by: Arijit Basu <sayanarijit@users.noreply.github.com>
2022-05-23 05:20:29 +05:30
Tom van Dijk
c40ffe1633 Add dtomvan/extra-icons.xplr to awesome-plugins.md 2022-05-23 05:20:29 +05:30
Arijit Basu
90e56deedc
Doc updates 2022-05-21 23:11:34 +05:30
Arijit Basu
2c39f9499a
Umprove the upgrade guide 2022-05-21 09:51:04 +05:30
Arijit Basu
3da8140bb1
Fix printing unicode 2022-05-21 09:43:43 +05:30
Arijit Basu
071195fd61
Fix link 2022-05-21 03:16:26 +05:30
Arijit Basu
e006152066 Upgrade version 2022-05-21 03:15:50 +05:30
Arijit Basu
2179be473f Fix docs 2022-05-21 02:46:55 +05:30
Arijit Basu
cc5b996db9 Add remove last filter 2022-05-21 02:46:55 +05:30
Arijit Basu
e634d7150f Add more docs 2022-05-21 02:46:55 +05:30
Arijit Basu
fadfb3d70c Add docs 2022-05-21 02:46:55 +05:30
Arijit Basu
1fef30ce56 Update key bindings 2022-05-21 00:12:58 +05:30
Arijit Basu
5f598648a8 Make the prompt not null 2022-05-21 00:12:58 +05:30
Arijit Basu
d2390285fb Fix doc 2022-05-21 00:12:58 +05:30
Arijit Basu
21c8ea68bb Document regex filters 2022-05-21 00:12:58 +05:30
Arijit Basu
1de737cefa Add regex support and dynamic input prompt
- Add new regex filters
  - `RelativePathDoesMatchRegex`
  - `RelativePathDoesNotMatchRegex`
  - `IRelativePathDoesMatchRegex`
  - `IRelativePathDoesNotMatchRegex`
  - `AbsolutePathDoesMatchRegex`
  - `AbsolutePathDoesNotMatchRegex`
  - `IAbsolutePathDoesMatchRegex`
  - `IAbsolutePathDoesNotMatchRegex`
- Search mode now defaults to regex
- Added new message `SetInputPrompt` to set the input prompt
  dynamically.
2022-05-21 00:12:58 +05:30
Arijit Basu
5765698fb7 Minor doc fix 2022-05-21 00:12:58 +05:30
Arijit Basu
a233bc9bfb
Update awesome-plugins.md 2022-05-19 18:45:22 +05:30
Arijit Basu
e045b3ac3a
Update awesome-hacks.md 2022-05-19 13:04:55 +05:30
Arijit Basu
3cfed5aa6f
Improve docs 2022-05-16 17:24:32 +05:30
Arijit Basu
188a2a8751
Update environment-variables-and-pipes.md 2022-05-08 21:25:15 +05:30
Matt_BSD
ed392a0755 Update docs/en/src/environment-variables-and-pipes.md
Co-authored-by: Arijit Basu <sayanarijit@users.noreply.github.com>
2022-05-08 20:53:46 +05:30
Matt_BSD
9a7e8cc0f4 Update docs/en/src/environment-variables-and-pipes.md
Co-authored-by: Arijit Basu <sayanarijit@users.noreply.github.com>
2022-05-08 20:53:46 +05:30
Matt_BSD
fb54b29dec Update environment-variables-and-pipes.md
added section for for environment variables and did a short description for each of those.
I don't know what $XPLR_INPUT_BUFFER does  thou, so I left it as TODO.
I also added a small example using $XPLR_FOCUS_PATH with xdg-open.
2022-05-08 20:53:46 +05:30
Arijit Basu
7f8e293bd0
Update install.md 2022-05-05 18:00:47 +05:30
Arijit Basu
3301e03880
Fix fb meta tag 2022-05-05 11:07:00 +05:30
Arijit Basu
a136a469a9
Fix meta tags 2022-05-05 11:02:00 +05:30
Arijit Basu
d596a839ea
Fix homepage image 2022-05-05 10:45:31 +05:30
Arijit Basu
6eec0ff489 New demo and picture 2022-05-04 23:41:21 +05:30
Arijit Basu
6d9d324a7d
Upgrade version 2022-05-04 10:30:45 +05:30
Arijit Basu
171c93dbb1 Fix ansi colors
Also upgrade deps and do some cleanup.
2022-05-04 09:43:14 +05:30
Arijit Basu
bbcd0be0c4
Fix book 2022-04-16 13:10:14 +05:30
Arijit Basu
569d3559d6
Set ea id 2022-04-16 13:03:45 +05:30
Arijit Basu
0e380f980c
Try EthicalAds on sidebar 2022-04-16 13:03:05 +05:30
Arijit Basu
9b686baf50 Document luarocks support 2022-04-15 21:55:22 +05:30
Arijit Basu
9673eba89c Upgrade version
- Upgrade rust to 1.58.1
- Upgrade rust edition to 2021
- Upgrade xplr packages
2022-04-14 13:41:05 +05:30
Arijit Basu
a8b0775f7e
Update awesome-plugins.md 2022-04-10 18:46:31 +05:30
Arijit Basu
4c167bae7f
Update installing-plugins.md 2022-04-10 18:42:53 +05:30
Arijit Basu
536ee9b439
Update awesome-plugins.md 2022-04-10 13:19:13 +05:30
Arijit Basu
583f685627
Minor line gap 2022-04-09 17:06:37 +05:30
Arijit Basu
aca6127166
Minor fixes 2022-04-09 17:04:43 +05:30
Arijit Basu
0472bc3e66 Auto generate docs 2022-04-09 16:02:04 +05:30
Arijit Basu
88b79643cb
Update configure-key-bindings.md 2022-04-08 11:27:09 +05:30
Arijit Basu
88d13e675d
Dark theme book 2022-04-06 14:55:35 +05:30
Arijit Basu
84ba95f8e3
Remove bg-hero 2022-04-06 11:22:52 +05:30
Arijit Basu
60e17f3b87
Fix GH pages 2022-04-06 11:11:31 +05:30