summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyohei Uto <im@kyoheiu.dev>2023-08-25 15:20:41 +0900
committerKyohei Uto <im@kyoheiu.dev>2023-08-25 15:20:41 +0900
commit74db27e0ced0fb1bc4b2bf206845f23f1ed2ca0e (patch)
tree46246f25566391e64c6f8b5d37e8a93ed494b27d
parent17e240991b27a4ac4b22564a6a370ab4376874c5 (diff)
v2.8.1: Fix help text
-rw-r--r--Cargo.toml2
-rw-r--r--README.md26
-rw-r--r--src/help.rs17
3 files changed, 26 insertions, 19 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 875470d..f24ea0d 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "felix"
-version = "2.8.0"
+version = "2.8.1"
authors = ["Kyohei Uto <im@kyoheiu.dev>"]
edition = "2021"
description = "tui file manager with vim-like key mapping"
diff --git a/README.md b/README.md
index aa843e5..b5fa164 100644
--- a/README.md
+++ b/README.md
@@ -3,6 +3,8 @@
# _felix_
+![screenshot](screenshots/screenshot.png)
+
A tui file manager with Vim-like key mapping, written in Rust.\
Fast, simple, and easy to configure & use.
@@ -19,18 +21,21 @@ For more detailed document, visit https://kyoheiu.dev/felix.
- [Preview feature](#preview)
- [Configuration](#configuration)
-![sample](screenshots/sample.gif)
-
<a id="new-release"></a>
## New release
+## v2.8.1 (2023-08-25)
+
+### Fixed
+- Fix help text.
+
## v2.8.0 (2023-08-25)
### Added
- `i{file name}<CR>` to create new file, and `I{dir name}<CR>` to create new directory.
- If zoxide is installed, whenever changing directory inside felix, `zoxide add` will be executed to add the directory or increment its rank in the zoxide database.
- - For this, State now has a new field `has_zoxide`, which is checked at startup.
+ - For this, `State` now has a new field `has_zoxide`, which is checked at startup.
### Changed
- config's `color` is now optional: By this, all config fields are optional.
@@ -167,7 +172,7 @@ l / <Right> / <CR> :Open item or change directory.
gg :Go to the top.
G :Go to the bottom.
z<CR> :Go to the home directory.
-z{keyword}<CR> :Jump to a directory that matches the keyword.
+z {keyword}<CR> :Jump to a directory that matches the keyword.
(zoxide required)
<C-o> :Jump backward.
<C-i> :Jump forward.
@@ -198,24 +203,25 @@ v (lowercase) :Toggle whether to show the preview.
s :Toggle between vertical / horizontal split in the preview mode.
<Alt-j>
/ <Alt-<Down>> :Scroll down the preview text.
-<Alt-k> /
+<Alt-k>
/ <Alt-<Up>> :Scroll up the preview text.
<BS> :Toggle whether to show hidden items.
t :Toggle the sort order (name <-> modified time).
-: :Switch to the command line.
- - <C-r>a :In the command line, paste item name in register a.
c :Switch to the rename mode.
-/ :Search items by a keyword.
+/{keyword} :Search items by a keyword.
n :Go forward to the item that matches the keyword.
N :Go backward to the item that matches the keyword.
-<Esc> :Return to the normal mode.
+: :Switch to the command line.
+ - <C-r>a :In the command line, paste item name in register a.
:cd<CR> :Go to the home directory.
-:cd{path}<CR> :Go to the path.
+:cd {path}<CR> :Go to the path.
:e<CR> :Reload the current directory.
:trash<CR> :Go to the trash directory.
:empty<CR> :Empty the trash directory.
:h<CR> :Show help.
:q<CR> :Exit.
+:{command} :Execute a command e.g. :mkdir new_dir
+<Esc> :Return to the normal mode.
ZZ :Exit without cd to last working directory
(if `match_vim_exit_behavior` is `false`).
ZQ :cd into the last working directory and exit
diff --git a/src/help.rs b/src/help.rs
index 5d5e72c..82c68cf 100644
--- a/src/help.rs
+++ b/src/help.rs
@@ -1,5 +1,5 @@
/// Help text.
-pub const HELP: &str = r###"# felix v2.8.0
+pub const HELP: &str = r###"# felix v2.8.1
A simple TUI file manager with vim-like keymapping.
## Usage
@@ -21,7 +21,7 @@ l / <Right> / <CR> :Open item or change directory.
gg :Go to the top.
G :Go to the bottom.
z<CR> :Go to the home directory.
-z{keyword}<CR> :Jump to a directory that matches the keyword.
+z {keyword}<CR> :Jump to a directory that matches the keyword.
(zoxide required)
<C-o> :Jump backward.
<C-i> :Jump forward.
@@ -52,24 +52,25 @@ v :Toggle whether to show the preview.
s :Toggle between vertical / horizontal split in the preview mode.
<Alt-j>
/ <Alt-<Down>> :Scroll down the preview text.
-<Alt-k> /
+<Alt-k>
/ <Alt-<Up>> :Scroll up the preview text.
<BS> :Toggle whether to show hidden items.
t :Toggle the sort order (name <-> modified time).
-: :Switch to the command line.
- - <C-r>a :In the command line, paste item name in register a.
c :Switch to the rename mode.
-/ :Search items by a keyword.
+/{keyword} :Search items by a keyword.
n :Go forward to the item that matches the keyword.
N :Go backward to the item that matches the keyword.
-<Esc> :Return to the normal mode.
+: :Switch to the command line.
+ - <C-r>a :In the command line, paste item name in register a.
:cd<CR> :Go to the home directory.
-:cd{path}<CR> :Go to the path.
+:cd {path}<CR> :Go to the path.
:e<CR> :Reload the current directory.
:trash<CR> :Go to the trash directory.
:empty<CR> :Empty the trash directory.
:h<CR> :Show help.
:q<CR> :Exit.
+:{command} :Execute a command e.g. :mkdir new_dir
+<Esc> :Return to the normal mode.
ZZ :Exit without cd to last working directory
(if `match_vim_exit_behavior` is `false`).
ZQ :cd into the last working directory and exit