Commit Graph

509 Commits

Author SHA1 Message Date
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
17036c98f0
Update README.md 2021-12-29 09:22:01 +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
cdd60eef4c
Format init.lua consistently 2021-12-12 15:28:15 +05:30
Arijit Basu
c89d5a45f1
Fix NixOS tests 2021-12-11 21:56:52 +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
3142cdd3ec Upgrade version 2021-12-11 21:20:54 +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
e370c25bc5
Confinement 'classic' not allowed with plugs/slots 2021-11-29 17:09:00 +05:30
Arijit Basu
a97ff38e7a
Use classic confinement for snap 2021-11-29 16:25:40 +05:30
Arijit Basu
ad2c7ab695 Fix snap build 2021-11-29 16:28:19 +05:30
Arijit Basu
807f715f8f
Update installation docs 2021-11-29 14:42:39 +05:30
Arijit Basu
9683676587 Add snap build 2021-11-29 14:33:34 +05:30
Arijit Basu
b7d86ae1ec Serialize None to nil
Fixes: https://github.com/sayanarijit/xplr/issues/417
2021-11-20 04:39:33 +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
5b710070a3 Optimize more 2021-11-15 18:08:03 +05:30
Arijit Basu
41c387542f Fix auto jumping on cursor when visiting large dir 2021-11-15 18:08:03 +05:30
Arijit Basu
7c7351c2e8 Optimize optimization hack 2021-11-15 18:08:03 +05:30
Arijit Basu
5211e4fa40 Fix Lua API performance by caching
Fixes: https://github.com/sayanarijit/xplr/issues/412
2021-11-15 18:08: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
132b528a5d
Remove trailing . in the CLI help menu 2021-11-11 10:17:24 +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
24637449a3
Improve CLI help 2021-11-07 11:55:47 +05:30
Arijit Basu
f78d9e99fd
Remove debug statement and add tests 2021-11-07 09:14:33 +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
8e00b3e658
Add scroll for the input buffer 2021-11-06 07:36:14 +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
b0c91a954e
Improve update_input_buffer 2021-11-05 18:05:04 +05:30
Arijit Basu
074217f21e Fix issue with input buffer 2021-11-05 18:07:20 +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
165d992b75 Fix logs UI
Fixes: https://github.com/sayanarijit/xplr/issues/396
2021-11-05 15:26:13 +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