Skip to content

Commit

Permalink
feat: add force option for removing/creating/renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
sxyazi committed Sep 23, 2023
1 parent 1917b5f commit 76137ab
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ const config = {
label: "Usage",
to : "/docs/usage/installation",
},
{
label: "Showcase",
to : "/docs/showcase",
},
],
},
{
Expand Down Expand Up @@ -119,7 +123,7 @@ const config = {
copyright: `Copyright © ${new Date().getFullYear()} Yazi. Built with ❤️️.`,
},
prism: {
theme : lightCodeTheme,
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
},
},
Expand Down
7 changes: 7 additions & 0 deletions usage/configuration/keymap.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,17 @@ If you haven't created and used your own configuration file yet, please see: [Co

- remove: Move the files to the trash/recycle bin.

- `--force`: Don't show the confirmation dialog, and trash/delete files directly.
- `--permanently`: Permanently delete the files.

- create: Create a file or directory (ends with `/` for directories).

- `--force`: Overwrite the destination file directly if it exists, without showing the confirmation dialog.

- rename: Rename a file or directory.

- `--force`: Overwrite the destination file directly if it exists, without showing the confirmation dialog.

- copy: Copy the path of files or directories that are selected or hovered on.

- `path`: Copy the absolute path.
Expand Down

0 comments on commit 76137ab

Please sign in to comment.