Commit Graph

745 Commits

Author SHA1 Message Date
Arijit Basu
28a378e031
Improve generate.py 2022-02-28 09:30:36 +05:30
Arijit Basu
2f320fa8a7
Fix docs 2 2022-02-27 23:25:50 +05:30
Arijit Basu
048f89139b
Fix publish docs 2022-02-27 23:24:48 +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
67eca1ecdf
More doc fixes 2022-02-27 17:16:34 +05:30
Arijit Basu
8385b92661
Minor doc improvements 2022-02-27 16:55:00 +05:30
Arijit Basu
e30116cca2
Make linkcheck optional even in gh ci 2022-02-27 16:37:14 +05:30
Arijit Basu
119adc6b57
Make linkcheck optional 2022-02-27 16:29:08 +05:30
Arijit Basu
250e21e949 Install mdbook-linkcheck in ci 2022-02-27 16:12:11 +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
0cfeed7660 Upgrade github action for book.yml
Closes: https://github.com/sayanarijit/xplr/issues/426
2022-02-26 23:12:50 +05:30
Arijit Basu
ecc59b1d9d Option to configure wrapping on move
Closes: https://github.com/sayanarijit/xplr/issues/441
2022-02-26 23:07:47 +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
bb65870ee0 CLI for a better "cd on quit"
Use `--print-pwd-as-result` to print the last working directory instead
of the focused or selected nodes, when you quit using the `PrintResultAndQuit`
message (i.e. by pressing `enter`).

This helps with implementing the "cd on quit" functionality using a plain shell
alias.

Example:

```
alias xcd='cd "$(xplr --print-pwd-as-result)"'
```

With this alias set, you can navigate directories using xplr by entering
`xcd` command, and when you quit by pressing enter, you will enter the
directory.

You can of course, quit with plain `Quit` (i.e. by pressing `esc`) to
gracefully cancel "cd on quit".
2022-02-03 09:31:28 +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
e2c3251736
Fix focus when creating files in non-$PWD location 2022-01-11 12:51:13 +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
729b51d674 Create parent directories before creating the file 2022-01-10 15:47:42 +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
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