Commit Graph

127 Commits (17036c98f015edd0e6cff7f618b550b8ac4afa02)

Author SHA1 Message Date
Arijit Basu 7723f35944
Remove icons.xplr 3 years ago
Arijit Basu 95abe5e22b
Add dtomvan/icons.xplr 3 years ago
Arijit Basu 59c8db821b
Fix doc 3 years ago
Arijit Basu 7364812554
Add upgrade guide 3 years ago
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
3 years ago
Arijit Basu ea235b6969
Fix custom dynamic list layout demo 3 years ago
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
3 years ago
Arijit Basu a97ff38e7a
Use classic confinement for snap 3 years ago
Arijit Basu 807f715f8f
Update installation docs 3 years ago
Tom van Dijk 04dde7a477 Docs "help buffer" -> "help menu" 3 years ago
Tom van Dijk b1ac4944ab `help_hide_remaps` -> `hide_remaps_in_help_menu` 3 years ago
Tom van Dijk 263eb5943a Introduce `general.help_hide_remaps` config entry. 3 years ago
Arijit Basu def98de9b3 Upgrade version 3 years ago
Arijit Basu b29c25c66f
Update install.md 3 years ago
Arijit Basu d2c5f49835 Fix CD (try again) 3 years ago
Arijit Basu 0443c103e7 Fix doc 3 years ago
Arijit Basu 296d93a81a Fix linux gnu bin release 3 years ago
Arijit Basu 605b2bc391 Fix CD for musl 3 years ago
Arijit Basu 9d088239ea Upgrade to 0.16.0 3 years ago
Igor Epstein a5a71c9191 Add context-switch plugin to docs 3 years ago
Arijit Basu 2acfc97653
Update awesome-plugins.md 3 years ago
Arijit Basu 98799d0967
add ouch.xplr 3 years ago
Arijit Basu 3692647a7a
Update debug-key-bindings.md 3 years ago
Arijit Basu 858b4066ca
Update quickstart.md 3 years ago
Arijit Basu 3ac39fd8f4
Fix doc link 3 years ago
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.
3 years ago
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
3 years ago
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.
3 years ago
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.
3 years ago
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
3 years ago
Arijit Basu 4495740cb0
Add fm-nvim integration 3 years ago
Arijit Basu a81dd3f63f
Update awesome-plugins.md 3 years ago
Arijit Basu abaaa91409
Add more tips for writing plugins 3 years ago
Arijit Basu 66f5acc482 Fix criterion test 3 years ago
Arijit Basu 3ec870739c Bump version 3 years ago
Arijit Basu 947cfeb327
Minor fixes and format docs 3 years ago
Hans Tognon 413430d5f8 added remaining fields for general config. 3 years ago
Arijit Basu cd9880de71
Update community.md 3 years ago
Arijit Basu 4bb54d49df
Fix typo 3 years ago
Arijit Basu 7142c97c7f
Add map.xplr 3 years ago
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.
3 years ago
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.
3 years ago
Arijit Basu b2ad4a1303
List more examples in "writing plugins" section 3 years ago
Arijit Basu 113bdde01b
Further improve upgrade guide. 3 years ago
Arijit Basu dcbccde096
Improve upgrade guide
Upgrade guide is not release note.
3 years ago
Arijit Basu 5e96d48135 Major release 0.15.0 3 years ago
Arijit Basu 3a897ea0d1
Fix doc 3 years ago
Arijit Basu dd73220ec8 Support switching modes keeping input buffer.
Closes: https://github.com/sayanarijit/xplr/issues/303
3 years ago
Arijit Basu 14e1360820
More cleanup 3 years ago
Arijit Basu 5eab3c6033 Support defining custom layout for different modes
Closes: https://github.com/sayanarijit/xplr/issues/335
3 years ago