Commit Graph

143 Commits

Author SHA1 Message Date
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