Show F11 (permanent delete) in footer bar between F10 and F12

This commit is contained in:
vrubelroman 2026-04-29 03:16:18 +03:00
parent 1ed2d3defb
commit 7cd7a24642
2 changed files with 9 additions and 9 deletions

View file

@ -36,13 +36,13 @@ go build -o vcom ./cmd/vcom
Run directly from the flake: Run directly from the flake:
```bash ```bash
nix run github:vrubelroman/vcom?ref=v0.2.1 nix run github:vrubelroman/vcom?ref=v0.2.2
``` ```
Install into user profile: Install into user profile:
```bash ```bash
nix profile add github:vrubelroman/vcom?ref=v0.2.1 nix profile add github:vrubelroman/vcom?ref=v0.2.2
``` ```
The Nix package wraps `vcom` with `ueberzugpp` in `PATH`, so image preview works in non-`kitty` terminals out of the box. The Nix package wraps `vcom` with `ueberzugpp` in `PATH`, so image preview works in non-`kitty` terminals out of the box.
@ -52,8 +52,8 @@ The Nix package wraps `vcom` with `ueberzugpp` in `PATH`, so image preview works
Download and install the latest release: Download and install the latest release:
```bash ```bash
curl -sL https://github.com/vrubelroman/vcom/releases/download/v0.2.1/vcom_0.2.1_amd64.deb -o /tmp/vcom_0.2.1_amd64.deb curl -sL https://github.com/vrubelroman/vcom/releases/download/v0.2.2/vcom_0.2.2_amd64.deb -o /tmp/vcom_0.2.2_amd64.deb
sudo apt install /tmp/vcom_0.2.0_amd64.deb sudo apt install /tmp/vcom_0.2.2_amd64.deb
``` ```
The Debian package declares `ueberzug` (or `ueberzugpp` where available) as a dependency for image preview outside `kitty`. The Debian package declares `ueberzug` (or `ueberzugpp` where available) as a dependency for image preview outside `kitty`.
@ -183,7 +183,7 @@ Built-in themes (use `T` to cycle or set `ui.theme` in config):
## Releases ## Releases
Pushing a tag like `v0.2.1` triggers GitHub Actions release workflow (`.github/workflows/release.yml`) which: Pushing a tag like `v0.2.2` triggers GitHub Actions release workflow (`.github/workflows/release.yml`) which:
- runs tests - runs tests
- vendors Go modules - vendors Go modules
@ -193,9 +193,9 @@ Pushing a tag like `v0.2.1` triggers GitHub Actions release workflow (`.github/w
Release artifacts: Release artifacts:
- `vcom-v0.2.1-x86_64-unknown-linux-gnu.tar.gz` - `vcom-v0.2.2-x86_64-unknown-linux-gnu.tar.gz`
- `vcom_0.2.1_amd64.deb` - `vcom_0.2.2_amd64.deb`
- `vcom-v0.2.1-checksums.txt` - `vcom-v0.2.2-checksums.txt`
## Notes ## Notes

View file

@ -85,7 +85,7 @@ func DefaultKeyMap() KeyMap {
} }
func (k KeyMap) ShortHelp() []key.Binding { func (k KeyMap) ShortHelp() []key.Binding {
return []key.Binding{k.Help, k.Rename, k.View, k.Archive, k.Copy, k.Move, k.Mkdir, k.Delete, k.Info, k.Quit, k.SSH} return []key.Binding{k.Help, k.Rename, k.View, k.Archive, k.Copy, k.Move, k.Mkdir, k.Delete, k.Info, k.Quit, k.PermanentDelete, k.SSH}
} }
func (k KeyMap) FullHelp() [][]key.Binding { func (k KeyMap) FullHelp() [][]key.Binding {