Commit Graph

20 Commits (main)

Author SHA1 Message Date
Arijit Basu 0cc8723e8e
Document on_selection_change 11 months ago
Arijit Basu 8aff0ba918
Clarify how to deal with init.lua 1 year ago
Arijit Basu 3afccf2a54
Doc fix 1 year ago
Arijit Basu 1d9d5f5145
Minor changes 1 year ago
Emanuel 006c655e3a fix: restore a wrongly removed part 1 year ago
Emanuel 105e770f58 feat: complete last changes to add hooks 1 year ago
Arijit Basu bafe15e25e
Add more hooks 2 years ago
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!" },
  }
}
```
2 years ago
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.
2 years ago
Arijit Basu 583f685627
Minor line gap 2 years ago
Arijit Basu aca6127166
Minor fixes 2 years ago
Arijit Basu 0472bc3e66 Auto generate docs 2 years ago
Arijit Basu 3d81a49cec Auto generate messages docs
- Huge refactor.
- Run `python docs/script/generate.py` to generate `docs/en/src/messages.md`.
2 years ago
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
2 years ago
Arijit Basu 947cfeb327
Minor fixes and format docs 3 years ago
Arijit Basu 1e13fdacda Use footer links
Tool used: https://github.com/sayanarijit/md-footer
3 years ago
Arijit Basu d7d7ade877
Update configuration.md 3 years ago
Arijit Basu 3cadaf8880 Add plugin docs
Also minor doc improvements
3 years ago
Arijit Basu cb38ca048d Typos and documentation fixes 3 years ago
Arijit Basu 3e646b063b Publish xplr book with intensive documentation
Closes: https://github.com/sayanarijit/xplr/issues/263
3 years ago