Commit Graph

311 Commits

Author SHA1 Message Date
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
Arijit Basu
a1d0c222a1 New website
Also try EthicalAds by Read The Docs folks.
2022-04-06 11:03:19 +05:30
Arijit Basu
bfd403c894 Upgrade version 2022-02-28 10:19:47 +05:30
Arijit Basu
28a378e031
Improve generate.py 2022-02-28 09:30:36 +05:30
Arijit Basu
3d81a49cec Auto generate messages docs
- Huge refactor.
- Run `python docs/script/generate.py` to generate `docs/en/src/messages.md`.
2022-02-27 23:21:51 +05:30
Arijit Basu
119adc6b57
Make linkcheck optional 2022-02-27 16:29:08 +05:30
Arijit Basu
db8ef0e15a Fix docs and build 2022-02-27 16:02:47 +05:30
Arijit Basu
ca211bb073 Auto generate some API docs from init.lua
This is the beginning of the xplr documentation revolution.

Closes: https://github.com/sayanarijit/xplr/issues/445
2022-02-27 15:47:53 +05:30
Arijit Basu
618ade53ec Document init.lua
Ref: https://github.com/sayanarijit/xplr/issues/445
2022-02-26 22:41:18 +05:30
Arijit Basu
721ffd0216 Support custom border_type and border_style
This adds support for defining custom border types and border styles.

Example:

```
xplr.config.general.panel_ui.default.border_type = "Thick"
xplr.config.general.panel_ui.default.border_style.fg = "Black"
xplr.config.general.panel_ui.default.border_style.bg = "Gray"
```

Closes: https://github.com/sayanarijit/xplr/issues/448
2022-02-26 16:01:42 +05:30
Arijit Basu
26a363c7b1
Update message.md 2022-02-19 16:56:45 +05:30
Arijit Basu
74d5bb5e87
Update awesome-hacks.md 2022-02-05 22:19:16 +05:30
Arijit Basu
4f1e8e9021
Fix doc 2022-02-05 13:07:45 +05:30
Arijit Basu
7c3e74e46c
Document cd on quit 2022-02-05 13:03:31 +05:30
Arijit Basu
5e20eea349
Update docs 2022-02-05 12:51:31 +05:30
Arijit Basu
6b054cbc01
Minor fixes 2022-02-04 20:16:56 +05:30
Arijit Basu
c4ad648556
Add plugin find.xplr 2022-02-03 14:39:40 +05:30
Arijit Basu
087f3b0d52 Version 0.17.2 2022-02-03 10:26:06 +05:30
Arijit Basu
7da7c54e86
Add direct download link for linux musl 2022-01-30 06:29:53 +05:30
Arijit Basu
bb034180f4
Drop snapcraft 2022-01-30 05:41:49 +05:30
Arijit Basu
1627e3974f
Remove xplr-bin 2022-01-30 05:31:01 +05:30
Arijit Basu
e6ea983a8a Add "duplicate as"
Closes https://github.com/sayanarijit/xplr/issues/434
2022-01-21 15:27:21 +05:30
Arijit Basu
64c248f86d
Minor fix 2022-01-19 16:38:55 +05:30
Arijit Basu
ef0d37e9f6
Update Writing Plugins docs 2022-01-19 16:30:42 +05:30
Arijit Basu
4ff11c2ef4 Upgrade version 2022-01-11 12:44:25 +05:30
Arijit Basu
24bd6d9f00 Merge the pending changes from #429 2022-01-11 12:27:07 +05:30
Arijit Basu
533a591d7f
Add dual-pane.xplr 2022-01-06 19:44:46 +05:30
Tom van Dijk
17f3893198
Debug mode
Features:
- Display debug menu on configuration error
- Configure wether xplr should show the debug menu
    (through `debug_on_error`)
- Open logs in editor
- Redirect people to the issues page on Github.
2021-12-30 13:21:34 +01:00
Arijit Basu
ebbce317a0
Update introduction.md 2021-12-29 09:26:01 +05:30
Arijit Basu
9cafe0d09f
Update introduction.md 2021-12-29 09:23:30 +05:30
Arijit Basu
7723f35944
Remove icons.xplr 2021-12-13 05:36:34 +05:30
Arijit Basu
95abe5e22b
Add dtomvan/icons.xplr 2021-12-12 22:35:35 +05:30
Arijit Basu
59c8db821b
Fix doc 2021-12-11 21:50:42 +05:30
Arijit Basu
7364812554
Add upgrade guide 2021-12-11 21:40:28 +05:30
Arijit Basu
7b9e4deff5 Support passing argument to LuaEval and LuaEvalSilently
If the argument of `LuaEval` evaluates to a function, xplr will try to
pass Lua Context to it.

Example:

```lua
{ LuaEval = [[function(app) return { { LogInfo = app.pwd } } end]] }
```

Closes: https://github.com/sayanarijit/xplr/issues/394
2021-12-11 21:10:01 +05:30
Arijit Basu
ea235b6969
Fix custom dynamic list layout demo 2021-12-11 20:33:47 +05:30
Arijit Basu
8f5e5491f2 Optimize change directory performance
This PR breaks the custom layout renderer API by deprecating the
following heavyweight fields in the Lua Context passed to the renderer
functions.

The following fields are being deprecated:

- app.directory_buffer
- app.history
- app.last_modes

However, there's no change in the Lua Context passed to the functions
called via `CallLua*` messages.

Closes: https://github.com/sayanarijit/xplr/issues/418
2021-12-11 19:37:40 +05:30
Arijit Basu
a97ff38e7a
Use classic confinement for snap 2021-11-29 16:25:40 +05:30
Arijit Basu
807f715f8f
Update installation docs 2021-11-29 14:42:39 +05:30
Tom van Dijk
04dde7a477 Docs "help buffer" -> "help menu" 2021-11-17 13:26:20 +05:30
Tom van Dijk
b1ac4944ab help_hide_remaps -> hide_remaps_in_help_menu 2021-11-17 13:26:20 +05:30
Tom van Dijk
263eb5943a Introduce general.help_hide_remaps config entry. 2021-11-17 13:26:20 +05:30
Arijit Basu
def98de9b3 Upgrade version 2021-11-15 18:12:03 +05:30
Arijit Basu
05f048ce53 Add demo video
Video contributed by @igorepst

Closes: https://github.com/sayanarijit/xplr/issues/389
2021-11-15 10:48:50 +05:30
Arijit Basu
b29c25c66f
Update install.md 2021-11-14 17:58:22 +05:30
Arijit Basu
d2c5f49835 Fix CD (try again) 2021-11-10 10:24:59 +05:30
Arijit Basu
0443c103e7 Fix doc 2021-11-10 10:24:59 +05:30
Arijit Basu
296d93a81a Fix linux gnu bin release 2021-11-10 10:03:31 +05:30
Arijit Basu
605b2bc391 Fix CD for musl 2021-11-10 09:30:26 +05:30
Arijit Basu
9d088239ea Upgrade to 0.16.0 2021-11-10 08:08:29 +05:30
Igor Epstein
a5a71c9191 Add context-switch plugin to docs 2021-11-10 05:20:40 +05:30
Arijit Basu
2acfc97653
Update awesome-plugins.md 2021-11-06 19:14:26 +05:30
Arijit Basu
98799d0967
add ouch.xplr 2021-11-06 15:27:16 +05:30
Arijit Basu
3692647a7a
Update debug-key-bindings.md 2021-11-05 19:03:03 +05:30
Arijit Basu
858b4066ca
Update quickstart.md 2021-11-05 18:52:28 +05:30
Arijit Basu
3ac39fd8f4
Fix doc link 2021-11-05 18:09:23 +05:30
Arijit Basu
48ab6eac21 Add on_function key handler
This adds `on_function` handler to handle F1-F12 keys.

This also fixes issues with previously added handlers and adds a
checklist for future additions.
2021-11-05 17:54:17 +05:30
Arijit Basu
6a3b26cc18 Add support for LuaEval(Silently) messages
This PR adds support for quickly executing arbitrary lua functions,
without needing to define a function.

Example:

```lua
xplr.config.modes.builtin.default.key_bindings.on_key["#"] = {
  help = "test",
  messages = {
    { LuaEvalSilently = [[return { { LogInfo = "foo" } }]] },
    { LuaEval = [[return { { LogInfo = io.read() } }]] },
  },
}
```

Partly closes: https://github.com/sayanarijit/xplr/issues/394
2021-11-05 17:01:19 +05:30
Arijit Basu
05c2f7aa68 Support more control over input buffer
This PR adds a new message: `UpdateInputBuffer: InputOperation`

This makes it possible to perform cursor based input operations without
needing input from the keyboard.
2021-11-05 15:12:50 +05:30
Arijit Basu
b45a553a0c Add more keyboard input handlers
This PR adds 3 more keyboard input handlers:

- on_alphanumeric
- on_character
- on_navigation

Also updates documentation.
2021-11-05 13:59:26 +05:30
Arijit Basu
ca6cefb1c1 Use tui-input to handle input buffer
New message: `UpdateInputBufferFromKey` to replace most
`BufferInputFromKey` usage.

This adds more functionalities to the input buffer and reduces
boilerplate code.

This commit also deprecates `config.general.cursor` as the cursor will
be set by the terminal from now.

Repo: https://github.com/sayanarijit/tui-input
2021-11-05 10:20:30 +05:30
Arijit Basu
4495740cb0
Add fm-nvim integration 2021-11-02 15:40:58 +05:30
Arijit Basu
a81dd3f63f
Update awesome-plugins.md 2021-10-30 12:32:48 +05:30
Arijit Basu
abaaa91409
Add more tips for writing plugins 2021-10-30 07:52:42 +05:30
Arijit Basu
66f5acc482 Fix criterion test 2021-10-24 11:22:50 +05:30
Arijit Basu
3ec870739c Bump version 2021-10-24 10:37:02 +05:30
Arijit Basu
947cfeb327
Minor fixes and format docs 2021-10-16 08:37:24 +05:30
Hans Tognon
413430d5f8 added remaining fields for general config. 2021-10-16 08:25:15 +05:30
Arijit Basu
cd9880de71
Update community.md 2021-10-09 11:19:18 +05:30
Arijit Basu
ee48fa1568
Don't open new tabs by default 2021-10-07 17:43:27 +05:30
Arijit Basu
884cd98d0b Minor links and formatting fixes for the homepage 2021-10-07 17:42:28 +05:30
Zain ul abideen
4ad4e0894d Updates in 2nd version of xplr 2021-10-07 17:19:04 +05:30
Zain ul abideen
8c9905f7f9 Updates in 2nd version of xplr 2021-10-07 17:19:04 +05:30
Zain Ul abideen
8bac4cf92a Adding version2 of the website xplr 2021-10-07 17:19:04 +05:30
Arijit Basu
4bb54d49df
Fix typo 2021-10-06 20:20:47 +05:30
Arijit Basu
7142c97c7f
Add map.xplr 2021-10-06 13:46:42 +05:30
Arijit Basu
9982a205db Downgrade version for the docs
Upgrade version when just before making a new release, else the doc will
link to invalid release.
2021-10-06 05:40:22 +05:30
Arijit Basu
bec80e98df Improve input reading by eliminating pause
Stop the thread instead of pausing it. This improves the CPU usage and
responsiveness a slightly.
2021-10-05 23:28:32 +05:30
Arijit Basu
b2ad4a1303
List more examples in "writing plugins" section 2021-10-05 17:16:47 +05:30
Arijit Basu
113bdde01b
Further improve upgrade guide. 2021-10-05 16:55:45 +05:30
Arijit Basu
dcbccde096
Improve upgrade guide
Upgrade guide is not release note.
2021-10-05 16:52:11 +05:30
Arijit Basu
5e96d48135 Major release 0.15.0 2021-10-05 16:08:12 +05:30
Arijit Basu
3a897ea0d1
Fix doc 2021-10-05 15:12:14 +05:30
Arijit Basu
dd73220ec8 Support switching modes keeping input buffer.
Closes: https://github.com/sayanarijit/xplr/issues/303
2021-10-05 14:34:49 +05:30
Arijit Basu
14e1360820
More cleanup 2021-10-05 14:04:19 +05:30
Arijit Basu
5eab3c6033 Support defining custom layout for different modes
Closes: https://github.com/sayanarijit/xplr/issues/335
2021-10-05 13:22:45 +05:30
Arijit Basu
8c42a62c93 Try in docker 2021-10-04 11:35:07 +05:30
Arijit Basu
e3150798d9 Disable recover mode by default
Closes: https://github.com/sayanarijit/xplr/issues/330
2021-09-28 22:12:32 +05:30
Arijit Basu
20bb7939fe Fix gh pages CNAME 2021-09-27 20:46:15 +05:30
Arijit Basu
068d45e657 Always pass --locked when installing using cargo
Closes: https://github.com/sayanarijit/xplr/issues/332
2021-09-27 20:40:10 +05:30
Arijit Basu
6ae7c96937 Improve xplr homepage 2021-09-23 16:49:52 +05:30
Arijit Basu
a6dcd476aa
Update TODOs 2021-09-10 22:53:48 +05:30
Arijit Basu
a7f7fa0012
Fix link 2021-09-02 21:02:23 +05:30
Arijit Basu
f1c417063d
Improve documentation
Remove some TODO, add more links.
2021-09-02 20:59:09 +05:30
Arijit Basu
275c4d0b7b
Add command-mode.xplr 2021-09-02 18:32:01 +05:30
Arijit Basu
9685cdedcb
Add xplr.nvim, nvim-ctrl.xplr 2021-09-02 13:03:23 +05:30
Arijit Basu
44a6b6f1b0
Fix doc links 2021-09-02 10:11:19 +05:30
Arijit Basu
e9a48613de
Add plugin alacritty.xplr 2021-09-02 10:09:04 +05:30
Arijit Basu
1b1032d0bd Fix missing config error
Do not report error when config file is missing and it's not specified
via CLI args.
2021-09-02 10:11:14 +05:30
Arijit Basu
e7c3c7044e
Update upgrade guide 2021-08-27 09:29:28 +05:30
Arijit Basu
79b3676662
Improve doc
Make links readable.
2021-08-27 08:58:38 +05:30
Arijit Basu
a5607a8186
Improve doc
Add related links to "Writing Plugins".
2021-08-27 08:55:46 +05:30
Arijit Basu
d6766919de
Update awesome-plugins.md 2021-07-31 15:50:44 +05:30
Arijit Basu
1c9b8322ec
Update awesome-plugins.md 2021-07-31 15:37:04 +05:30