Commit Graph

137 Commits (e0d683b13a315253d23030122190c01af1f3ff71)

Author SHA1 Message Date
Arijit Basu e2b49ab4fd Display help menu using $PAGER
Also, use `open` to open files when `xdg-open` is missing.
3 years ago
Arijit Basu 7661019fd9 Make dir colors cyan
Fixes: https://github.com/sayanarijit/xplr/issues/11
3 years ago
Arijit Basu 981ead8c36 Fix large env vars breaking the subprocess
Bug:
When you call some command in a directory with a large number of hosts,
xplr will fail setting the environment vars as the command will become
too large to handle.

Fix:
Port the value of multi-line variables from env vars to pipes and set
the name of the pipe as env var instead. And deprecate the variables
that doesn't make much sense.

In other words,

- `$XPLR_APP_YAML` has been removed.
- `$XPLR_RESULT` has been ported to `$XPLR_PIPE_RESULT_OUT`.
- `$XPLR_GLOBAL_HELP_MENU` has been ported to
  `$XPLR_PIPE_GLOBAL_HELP_MENU_OUT`.
- `$XPLR_DIRECTORY_NODES` has been ported to
  `$XPLR_PIPE_DIRECTORY_NODES_OUT`.
- `$XPLR_LOGS` has been ported to `$XPLR_PIPE_LOGS_OUT`.
- `$XPLR_PIPE_RESULT` has been ported to `$XPLR_PIPE_RESULT_OUT`.

Hence, instead of `<<< $VAR`, `< $VAR_PIPE_OUT` should be used.
3 years ago
Arijit Basu 9747c8667b Autocomplete the relative path while renaming
By default, while renaming a file, autocomplete the relative path i.e.
the filename instead of the absolute path in the input buffer.
3 years ago
Arijit Basu 67f2094a4c Autorefresh, BashExec and basename
- Auto `Refresh` every second.
- Add alias `BashExec` to message `Call` with args [`-c`, `bash` ...].

Also, Create alias `BashExec` to message `Call` with arguments [`bash`, `-c`]
3 years ago
Arijit Basu dba8631911 Add CI/CD gh actions
Mostly stolen from https://github.com/Rigellute/spotify-tui.
3 years ago
Arijit Basu 8dae2fef4d
Add native support for renaming 3 years ago
Arijit Basu 2f409a2117
Add support for `:{number}` like vim 3 years ago
Arijit Basu af8a637030
Logging, testing and other improvements 3 years ago
Arijit Basu 71a23e1f64
Implement native search and filter 3 years ago
Arijit Basu 7cbb9d2baf
Saner key bindings 3 years ago
Arijit Basu c0ca596539
Fix create mode, refactor readers, fix init focus 3 years ago
Arijit Basu 56d63a2316
Move, Copy, Create, Delete 3 years ago
Arijit Basu eb6bc6b6be
Minor buggy improvements 3 years ago
Arijit Basu 107211a69c
Add ctrl-c handler 3 years ago
Arijit Basu f43ba87a2b
Finish Selected -> Selection renaming 3 years ago
Arijit Basu b70682ecb5
Fix term resize handler 3 years ago
Arijit Basu 54b6a8e4da
Minor fix 3 years ago
Arijit Basu 2c56b80fde
Minor fixes 3 years ago
Arijit Basu f176655325
Some improvements and cleanup 3 years ago
Arijit Basu 341d11a0f3
Fix pipes config 3 years ago
Arijit Basu 3572d26b95
Too big of a rewrite 3 years ago
Arijit Basu 98920637f9
Number input 3 years ago
Arijit Basu 53b18ae8f4
Use # instead of ? to debug app 3 years ago
Arijit Basu 21e4a178c7
Fix escaping relative path
Either escape or quote. Don't do both at once.
3 years ago
Arijit Basu d3f88a1fa5
Display mode in help menu title 3 years ago
Arijit Basu 096489dee4
Use "esc" instead of "escape" 3 years ago
Arijit Basu 7beaec1763
Easier key handling 3 years ago
Arijit Basu 8221140756
Refresh after running command 3 years ago
Arijit Basu 044b7860a1
Fixed fzf search added pwd shell option
Now I can finally use it to replace nnn
3 years ago
Arijit Basu 980fb8728a
Editor fix 3 years ago
Arijit Basu 03fffd19e2
Minor fixes 3 years ago
Arijit Basu df8c03ce2d
Add shell words escaper 3 years ago
Arijit Basu 2e551ce38d
Support for command action 3 years ago
Arijit Basu 758f362fee
Lazy programmer hack for key bindings 3 years ago
Arijit Basu 720ba38b4d
Some important fix (don't look) 3 years ago
Arijit Basu f9c3edee06
Not yet doing what it's supposed to 3 years ago