diff options
author | Kyohei Uto <im@kyoheiu.dev> | 2023-07-13 06:28:50 +0900 |
---|---|---|
committer | Kyohei Uto <im@kyoheiu.dev> | 2023-07-13 06:28:50 +0900 |
commit | 51632409c4c10e9f621d0f420db0a60876e0ec93 (patch) | |
tree | 4b46fc3513a08686f96b0b05d83e8cda75761cd5 /README.md | |
parent | 595807a1728e6a887d3b404cd00c05d7e8a5478e (diff) |
Update README
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 39 |
1 files changed, 20 insertions, 19 deletions
@@ -26,6 +26,12 @@ For more detailed document, visit https://kyoheiu.dev/felix. ## New release +## v2.5.0 (2023-07-13) + +### Added + +- Ability to exit to LWD (last workind directory): See Integrations for details. + ## v2.4.1 (2023-06-21) ### Changed @@ -43,15 +49,6 @@ For more detailed document, visit https://kyoheiu.dev/felix. - `:z` - Use `z` instead. -## v2.3.0 (2023-05-26) - -### Changed - -- Add extra config file path for macOS: `/Users/$USER/.config/felix/config.yaml` will be read after `$HOME/Library/Application Support/felix/config.yaml`. -- If config file is not found, or found one is broken, felix launches with the default configuration, without creating new one. -- If the current directory is read-only, `dd`, `Vd` and `p` is disabled in the first place. -- Bump up MSRV to 1.65. - For more details, see `CHANGELOG.md`. <a id="status"></a> @@ -100,15 +97,19 @@ cargo install --path . ## Integrations -To be able to export your last working directory to the calling shell after exiting from `fx`, -*-- using the default `ZQ` keybinding --*, you need to add the following to your `.bashrc` or -`.zshrc` or an equivalent depending on your (POSIX) shell. -Assuming the `fx` binary can be found in your `PATH`: +### Exit to last working directory (LWD) +To export your LWD to the calling shell after exiting from `fx`, +add the following to your `.bashrc` or +`.zshrc` or an equivalent depending on your (POSIX) shell. +***Assuming the `fx` binary can be found in your `PATH`.*** ```sh source <(command fx --init) ``` +*If this is not set, exiting to LWD will fail and show the error message.* + +### Others In addition, you can use felix more conveniently by installing these two apps: - [zoxide](https://github.com/ajeetdsouza/zoxide): A smarter `cd` command, which @@ -190,18 +191,18 @@ Esc :Return to the normal mode. :empty :Empty the trash directory. :h :Show help. :q :Exit. -ZZ :Exit without cd to last working directory (if `match_vim_exit_behavior` - is `false`). -ZQ :cd into the last working directory and exit (if `match_vim_exit_behavior` - is `false`). +ZZ :Exit without cd to last working directory + (if `match_vim_exit_behavior` is `false`). +ZQ :cd into the last working directory and exit + (if shell setting is ready and `match_vim_exit_behavior is `false`). ``` <a id="preview"></a> ## Preview feature -By default, text files and directories can be previewed.\ -Install `chafa` and you can preview images without any configuration. +By default, text files and directories can be previewed by pressing `v`.\ +Install `chafa` and you can preview images as well. <a id="configuration"></a> |