Commit Graph

595 Commits

Author SHA1 Message Date
Arijit Basu
a97ff38e7a
Use classic confinement for snap 2021-11-29 16:25:40 +05:30
Arijit Basu
ad2c7ab695 Fix snap build 2021-11-29 16:28:19 +05:30
Arijit Basu
807f715f8f
Update installation docs 2021-11-29 14:42:39 +05:30
Arijit Basu
9683676587 Add snap build 2021-11-29 14:33:34 +05:30
Arijit Basu
b7d86ae1ec Serialize None to nil
Fixes: https://github.com/sayanarijit/xplr/issues/417
2021-11-20 04:39:33 +05:30
Tom van Dijk
04dde7a477 Docs "help buffer" -> "help menu" 2021-11-17 13:26:20 +05:30
Tom van Dijk
b1ac4944ab help_hide_remaps -> hide_remaps_in_help_menu 2021-11-17 13:26:20 +05:30
Tom van Dijk
263eb5943a Introduce general.help_hide_remaps config entry. 2021-11-17 13:26:20 +05:30
Arijit Basu
def98de9b3 Upgrade version 2021-11-15 18:12:03 +05:30
Arijit Basu
5b710070a3 Optimize more 2021-11-15 18:08:03 +05:30
Arijit Basu
41c387542f Fix auto jumping on cursor when visiting large dir 2021-11-15 18:08:03 +05:30
Arijit Basu
7c7351c2e8 Optimize optimization hack 2021-11-15 18:08:03 +05:30
Arijit Basu
5211e4fa40 Fix Lua API performance by caching
Fixes: https://github.com/sayanarijit/xplr/issues/412
2021-11-15 18:08:03 +05:30
Arijit Basu
05f048ce53 Add demo video
Video contributed by @igorepst

Closes: https://github.com/sayanarijit/xplr/issues/389
2021-11-15 10:48:50 +05:30
Arijit Basu
b29c25c66f
Update install.md 2021-11-14 17:58:22 +05:30
Arijit Basu
132b528a5d
Remove trailing . in the CLI help menu 2021-11-11 10:17:24 +05:30
Arijit Basu
d2c5f49835 Fix CD (try again) 2021-11-10 10:24:59 +05:30
Arijit Basu
0443c103e7 Fix doc 2021-11-10 10:24:59 +05:30
Arijit Basu
296d93a81a Fix linux gnu bin release 2021-11-10 10:03:31 +05:30
Arijit Basu
605b2bc391 Fix CD for musl 2021-11-10 09:30:26 +05:30
Arijit Basu
9d088239ea Upgrade to 0.16.0 2021-11-10 08:08:29 +05:30
Igor Epstein
a5a71c9191 Add context-switch plugin to docs 2021-11-10 05:20:40 +05:30
Arijit Basu
24637449a3
Improve CLI help 2021-11-07 11:55:47 +05:30
Arijit Basu
f78d9e99fd
Remove debug statement and add tests 2021-11-07 09:14:33 +05:30
Arijit Basu
2acfc97653
Update awesome-plugins.md 2021-11-06 19:14:26 +05:30
Arijit Basu
98799d0967
add ouch.xplr 2021-11-06 15:27:16 +05:30
Arijit Basu
8e00b3e658
Add scroll for the input buffer 2021-11-06 07:36:14 +05:30
Arijit Basu
3692647a7a
Update debug-key-bindings.md 2021-11-05 19:03:03 +05:30
Arijit Basu
858b4066ca
Update quickstart.md 2021-11-05 18:52:28 +05:30
Arijit Basu
3ac39fd8f4
Fix doc link 2021-11-05 18:09:23 +05:30
Arijit Basu
b0c91a954e
Improve update_input_buffer 2021-11-05 18:05:04 +05:30
Arijit Basu
074217f21e Fix issue with input buffer 2021-11-05 18:07:20 +05:30
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.
2021-11-05 17:54:17 +05:30
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
2021-11-05 17:01:19 +05:30
Arijit Basu
165d992b75 Fix logs UI
Fixes: https://github.com/sayanarijit/xplr/issues/396
2021-11-05 15:26:13 +05:30
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.
2021-11-05 15:12:50 +05:30
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.
2021-11-05 13:59:26 +05:30
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
2021-11-05 10:20:30 +05:30
Arijit Basu
4495740cb0
Add fm-nvim integration 2021-11-02 15:40:58 +05:30
Shunsuke Mie
f5131b08ab Change to use PWD env vairable to get current dir
Fixes 285.
2021-11-01 19:55:28 +05:30
Arijit Basu
00030e44ff Fail if path doesn't exist 2021-10-30 16:26:11 +05:30
Arijit Basu
de6f54f9bd Fix bug with selection 2021-10-30 16:26:11 +05:30
Arijit Basu
a797d7b1c7 Format & lint code 2021-10-30 16:26:11 +05:30
Arijit Basu
2d7158afc0 Implement support path selection and force focus
Examples:

```bash
xplr $PWD /path/to/select1 path/to/select2

xplr -- $PWD /path/to/select1 path/to/select2

echo -e "$PWD\n/path/to/select1\npath/to/select2" | xplr -

ls -d /path/to/select1 path/to/select2 | xplr $PWD -
```
2021-10-30 16:26:11 +05:30
Arijit Basu
91675e28af Some cleanup 2021-10-30 16:26:11 +05:30
Tom van Dijk
102832c65c Fix suggestions and run clippy 2021-10-30 16:26:11 +05:30
Tom van Dijk
44f05c6e4b Implement --force-focus 2021-10-30 16:26:11 +05:30
Tom van Dijk
3c8de699ca Fix everything @sayanarijit fed back. 2021-10-30 16:26:11 +05:30
Tom van Dijk
cbb244f9a0 Implement --select 2021-10-30 16:26:11 +05:30
Arijit Basu
a81dd3f63f
Update awesome-plugins.md 2021-10-30 12:32:48 +05:30