Commit Graph

305 Commits

Author SHA1 Message Date
Arijit Basu
88d13e675d
Dark theme book 2022-04-06 14:55:35 +05:30
Arijit Basu
bfd403c894 Upgrade version 2022-02-28 10:19:47 +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
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
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
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
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
Arijit Basu
b66155895a
Update awesome-plugins.md 2021-07-31 15:34:41 +05:30
Arijit Basu
af5a99328f Update version 2021-07-29 23:28:31 +05:30
Arijit Basu
5626335e0e
More docs 2021-07-20 22:26:10 +05:30
Arijit Basu
9070cd9e17 Add more docs 2021-07-20 22:18:43 +05:30
Arijit Basu
1b6ea5b63c
Add icons.xplr 2021-07-17 06:46:28 +05:30
Arijit Basu
6b926c2b88
Minor fix again 2021-07-15 19:37:08 +05:30
Arijit Basu
d6893130a6
Minor doc fixes 2021-07-15 19:34:34 +05:30
Arijit Basu
3171c37d4e
Add type-to-nav.xplr to awesome plugins 2021-07-15 19:31:10 +05:30
Arijit Basu
a12818ea30
Add qrcp.xplr 2021-07-14 21:57:55 +05:30
Arijit Basu
72712a8bae
Update install.md 2021-07-13 19:05:19 +05:30
Arijit Basu
b916701d59
Add completion.xplr 2021-07-11 23:14:49 +05:30
Raf Czlonka
9b20affbfd Use 'noice' actual repository URL 2021-07-11 04:02:58 +05:30
Arijit Basu
e1fb5e02c5
Add paste-rs.xplr to Awesome Plugins
Also, fix the cargo documentation link and delete unused doc page.
2021-07-08 12:11:59 +05:30
Arijit Basu
193202c325
Improve FreeBSD install instructions 2021-07-06 15:36:43 +05:30
Arijit Basu
db9c926b0c Update version 2021-07-05 12:08:53 +05:30
Arijit Basu
6a63f5f3c7
Update awesome-plugins.md 2021-07-04 23:57:26 +05:30
Arijit Basu
ea4becf52e
Update awesome-plugins.md 2021-07-04 22:27:58 +05:30
Arijit Basu
3603d24c95
Update modes.md 2021-07-03 22:52:47 +05:30
Arijit Basu
91f8cdf889
Update modes.md 2021-07-03 22:51:58 +05:30
Arijit Basu
9f8a4222ee
Update modes.md 2021-07-03 22:48:50 +05:30
Arijit Basu
1e13fdacda Use footer links
Tool used: https://github.com/sayanarijit/md-footer
2021-07-03 15:02:55 +05:30
Arijit Basu
e37752d41e
Document keys and fix links 2021-07-03 11:12:23 +05:30
Arijit Basu
bc140c165b
More doc fixes 2021-07-02 21:12:03 +05:30
Arijit Basu
6056dbc0df
Fix typo 2021-07-02 20:58:07 +05:30
Arijit Basu
f42285f459
Fix doc formatting 2021-07-02 20:56:40 +05:30
Arijit Basu
659d2db075
Document all the messages for human 2021-07-02 20:53:38 +05:30
Arijit Basu
0542ad6b7e
Update awesome-plugins.md 2021-07-02 15:37:07 +05:30
Arijit Basu
c9d91660d3
Add preview-tabbed.xplr 2021-07-02 13:55:06 +05:30
Arijit Basu
3e6c6954f3
Add dragon.xplr 2021-07-01 07:02:59 +05:30
Arijit Basu
0e9a96f0a8
Add zoxide.xplr 2021-06-30 12:24:22 +05:30
Arijit Basu
41e0f3c09e
Update awesome-plugins.md 2021-06-28 18:44:58 +05:30
Arijit Basu
be0a96abae
Update awesome-plugins.md 2021-06-28 18:43:38 +05:30
Arijit Basu
7e373972f4
Update integration.md 2021-06-28 15:08:24 +05:30
Arijit Basu
ed0ca1009d
Update writing-plugins.md 2021-06-28 15:05:48 +05:30
Arijit Basu
5779c3447b
Fix doc 2021-06-28 11:53:54 +05:30
Arijit Basu
8ad962214a
Fix doc 2021-06-28 11:01:23 +05:30
Arijit Basu
fb8f60c822
Add trash-cli.xplr plugin 2021-06-28 10:50:15 +05:30
Arijit Basu
67f604e4f0
Fix typos 2021-06-28 09:33:54 +05:30
Arijit Basu
4d61f2e9ad
Improve docs
Add features and integration docs.
2021-06-28 09:28:42 +05:30
Arijit Basu
ea9c33539a
Update node_types.md 2021-06-26 14:57:47 +05:30
Arijit Basu
8da9cf23b2
Update fzf.xplr 2021-06-26 10:02:21 +05:30
Arijit Basu
3771dc9efe
Update awesome-plugins.md 2021-06-25 10:57:51 +05:30
Arijit Basu
8d576ba629
Update sorting.md 2021-06-25 07:06:15 +05:30
Arijit Basu
18b7a0b3fa
Update modes.md 2021-06-24 23:05:51 +05:30
Maxim Baz
0df4f87d7f Update pacman command 2021-06-24 22:56:34 +05:30
Arijit Basu
05272a6575
Update filtering.md 2021-06-24 22:22:18 +05:30
Arijit Basu
9c144c0f30
Update general-config.md 2021-06-24 21:47:34 +05:30
Arijit Basu
d7d7ade877
Update configuration.md 2021-06-24 21:47:01 +05:30
Arijit Basu
2d9a256691
Update quickstart.md 2021-06-24 20:02:35 +05:30
Arijit Basu
32a32e9180 Add more docs
Also, prepare for release.
2021-06-24 17:04:52 +05:30
Arijit Basu
2df8d47b0f
Fix doc 2021-06-24 12:01:50 +05:30
Arijit Basu
cf2a38fe5f
Fix doc 2021-06-24 11:59:37 +05:30
Arijit Basu
2cd17f18d8
Add fzf.xplr 2021-06-24 11:54:34 +05:30
Arijit Basu
c4c1020aa0 Add dua-cli plugin 2021-06-24 10:43:39 +05:30
Arijit Basu
3cadaf8880 Add plugin docs
Also minor doc improvements
2021-06-24 10:13:05 +05:30
Arijit Basu
7ed89a4aff Mime wildcard 2021-06-23 23:47:51 +05:30
Arijit Basu
1f3d6f2152 Document node types 2021-06-23 23:35:48 +05:30
Arijit Basu
cdc1e6825b
Update message.md 2021-06-23 21:34:27 +05:30
Arijit Basu
2146bc646b
Update book.toml 2021-06-23 19:53:00 +05:30
Arijit Basu
cb38ca048d Typos and documentation fixes 2021-06-23 17:24:20 +05:30
Arijit Basu
3e646b063b Publish xplr book with intensive documentation
Closes: https://github.com/sayanarijit/xplr/issues/263
2021-06-23 15:20:57 +05:30