Commit Graph

423 Commits

Author SHA1 Message Date
Zain ul abideen
8c9905f7f9 Updates in 2nd version of xplr 2021-10-07 17:19:04 +05:30
Zain Ul abideen
8bac4cf92a Adding version2 of the website xplr 2021-10-07 17:19:04 +05:30
Arijit Basu
347b9625aa Add padding to custom content titles 2021-10-07 14:00:56 +05:30
Arijit Basu
4bb54d49df
Fix typo 2021-10-06 20:20:47 +05:30
Gilad Woloch
402715cdcd Remove trivial ResolvedNode methods 2021-10-06 20:18:11 +05:30
Gilad Woloch
95b580203f Introduce xor helper 2021-10-06 20:18:11 +05:30
Gilad Woloch
18b784f054 Correct typo 2021-10-06 20:18:11 +05:30
Gilad Woloch
2ef7523bb0 Derive PartialEq 2021-10-06 20:18:11 +05:30
Gilad Woloch
46287f6373 Use Result::is_ok 2021-10-06 20:18:11 +05:30
Gilad Woloch
45ad449eb3 Avoid unnecessary lambda 2021-10-06 20:18:11 +05:30
Arijit Basu
7142c97c7f
Add map.xplr 2021-10-06 13:46:42 +05:30
Gilad Woloch
a2343c05ca Correct clippy error 2021-10-06 13:24:56 +05:30
Gilad Woloch
cc022e85ff Fix cargo clippy warnings and reformat 2021-10-06 13:24:56 +05:30
Gilad Woloch
c399236fd3 Reformat 2021-10-06 13:24:56 +05:30
Gilad Woloch
3f0e479f56 Remove trivial methods 2021-10-06 13:24:56 +05:30
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.
2021-10-06 05:40:22 +05:30
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.
2021-10-05 23:28:32 +05:30
Gilad Woloch
ac1b40799a Apply rustfmt 2021-10-05 20:30:50 +05:30
Gilad Woloch
394c09ae87 Merge normal/reversed cases in NodeSorterApplicable::apply 2021-10-05 20:30:50 +05:30
Gilad Woloch
a1ee7f931c Ignore Vi[m] backups & Jetbrains config 2021-10-05 20:30:50 +05:30
Arijit Basu
b2ad4a1303
List more examples in "writing plugins" section 2021-10-05 17:16:47 +05:30
Arijit Basu
113bdde01b
Further improve upgrade guide. 2021-10-05 16:55:45 +05:30
Arijit Basu
dcbccde096
Improve upgrade guide
Upgrade guide is not release note.
2021-10-05 16:52:11 +05:30
Arijit Basu
e0c1581a0a Optimize silent calls
Silent calls don't need to pause input reading as they are non
interactive and quickly finish execution.
2021-10-05 16:50:17 +05:30
Arijit Basu
5e96d48135 Major release 0.15.0 2021-10-05 16:08:12 +05:30
Arijit Basu
3a897ea0d1
Fix doc 2021-10-05 15:12:14 +05:30
Arijit Basu
dd73220ec8 Support switching modes keeping input buffer.
Closes: https://github.com/sayanarijit/xplr/issues/303
2021-10-05 14:34:49 +05:30
Arijit Basu
14e1360820
More cleanup 2021-10-05 14:04:19 +05:30
Arijit Basu
ac1476bc08
Cleanup 2021-10-05 14:03:32 +05:30
Arijit Basu
aee49dad78 Support terminal colors in custom layout
Example:

```lua
xplr.config.layouts.builtin.default = {
  CustomContent = {
    title = "custom title",
    body = {
      StaticParagraph = { render = "\x1b[31mcustom body\x1b[0m" },
    },
  },
}
```
2021-10-05 13:52:28 +05:30
Arijit Basu
5eab3c6033 Support defining custom layout for different modes
Closes: https://github.com/sayanarijit/xplr/issues/335
2021-10-05 13:22:45 +05:30
Arijit Basu
85cc956792 Fix reading input
Wait for confirmation after sending a message to a thread.

Also, use unwrap() to crash and burn than using unwrap_or_default() when
message passing fails.

It's highly unlikely to happen and also trivial to the core logic. But
let's see the error when it does happen.

Fixes https://github.com/sayanarijit/xplr/issues/301
2021-10-04 20:14:16 +05:30
Arijit Basu
8c42a62c93 Try in docker 2021-10-04 11:35:07 +05:30
Arijit Basu
5723acc21b Fix input conversion logic 2021-10-04 11:32:13 +05:30
Arijit Basu
9e08287c31 Fix CI 2021-09-28 22:12:32 +05:30
Arijit Basu
e3150798d9 Disable recover mode by default
Closes: https://github.com/sayanarijit/xplr/issues/330
2021-09-28 22:12:32 +05:30
Arijit Basu
bb5dcff0bf
Use --locked in CI/CD & remove daily compile check
Daily compile check doesn't capture runtime errors. It's better to
--locked and be safe.
2021-09-27 21:47:59 +05:30
Arijit Basu
20bb7939fe Fix gh pages CNAME 2021-09-27 20:46:15 +05:30
Arijit Basu
068d45e657 Always pass --locked when installing using cargo
Closes: https://github.com/sayanarijit/xplr/issues/332
2021-09-27 20:40:10 +05:30
Arijit Basu
6ae7c96937 Improve xplr homepage 2021-09-23 16:49:52 +05:30
Arijit Basu
14b14bba42 Let's get a hew home - xplr.dev
Thanks to your continued support we're getting a new homepage https://xplr.dev
2021-09-23 14:49:10 +05:30
Arijit Basu
696549e2e5 Remove config from CallLuaArg
The `Config` object is globally available as `xplr.config`, and thus
it's redundant. Config is read only once, when xplr loads.

Closes https://github.com/sayanarijit/xplr/issues/321
2021-09-22 18:56:41 +05:30
Arijit Basu
69d3b3af46 Add focus selection UI
Closes: https://github.com/sayanarijit/xplr/issues/322
2021-09-22 07:59:24 +05:30
Arijit Basu
3f668c2d04 Improve runner API
Some API improvements on top of #324
2021-09-17 09:33:55 +05:30
Tom van Dijk
671d1b11fd Refactored parts of runner::Runner to take a Cli struct, instead of putting everything manually in Runner. 2021-09-17 09:01:39 +05:30
Arijit Basu
a6dcd476aa
Update TODOs 2021-09-10 22:53:48 +05:30
Arijit Basu
a7f7fa0012
Fix link 2021-09-02 21:02:23 +05:30
Arijit Basu
f1c417063d
Improve documentation
Remove some TODO, add more links.
2021-09-02 20:59:09 +05:30
Arijit Basu
275c4d0b7b
Add command-mode.xplr 2021-09-02 18:32:01 +05:30
Arijit Basu
9685cdedcb
Add xplr.nvim, nvim-ctrl.xplr 2021-09-02 13:03:23 +05:30