Commit Graph

20 Commits

Author SHA1 Message Date
Arijit Basu
0cc8723e8e
Document on_selection_change 2023-07-16 01:01:11 +05:30
Arijit Basu
8aff0ba918
Clarify how to deal with init.lua 2023-04-26 18:29:01 +05:30
Arijit Basu
3afccf2a54
Doc fix 2023-01-09 16:42:15 +05:30
Arijit Basu
1d9d5f5145
Minor changes 2023-01-09 16:40:38 +05:30
Emanuel
006c655e3a fix: restore a wrongly removed part 2023-01-09 16:34:58 +05:30
Emanuel
105e770f58 feat: complete last changes to add hooks 2023-01-09 16:34:58 +05:30
Arijit Basu
bafe15e25e
Add more hooks 2022-10-27 11:22:36 +05:30
Arijit Basu
deb28fa14a Add initial support for hooks
A new optional section of the configuration defined using the lua return
statement, which can be used to define append only things, such as hooks
and callbacks, specific to each config file.

Example

```lua
version = "0.0.0"

return {
  -- Adds messages to pass when xplr loads (similar to `--on-load`)
  on_load = {
    { LogInfo = "Hello xplr user," },
    { LogSuccess = "Configuration successfully loaded!" },
  }
}
```
2022-10-27 00:55:12 +05:30
Arijit Basu
5370cc2e8c Go to path and native auto completion on tab
- BREAKING: Rename mode `create directory` and `create file` to
  `create_directory` and `create_file`.
- Add key binding `gp` to go to a given path from input.
- Add function `fn.builtin.try_complete_path` to auto complete the path
  in input buffer.
- Use `tab` to auto complete path in `rename`, `create_file`,
  `create_directory` and `go_to_path` modes.
- Show different prompts in different modes.

And some cleanup.
2022-06-03 22:09:14 +05:30
Arijit Basu
583f685627
Minor line gap 2022-04-09 17:06:37 +05:30
Arijit Basu
aca6127166
Minor fixes 2022-04-09 17:04:43 +05:30
Arijit Basu
0472bc3e66 Auto generate docs 2022-04-09 16:02:04 +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
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
947cfeb327
Minor fixes and format docs 2021-10-16 08:37:24 +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
d7d7ade877
Update configuration.md 2021-06-24 21:47:01 +05:30
Arijit Basu
3cadaf8880 Add plugin docs
Also minor doc improvements
2021-06-24 10:13:05 +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