Skip to content

onekeymap-cli 0.5.0

Choose a tag to compare

@github-actions github-actions released this 30 Oct 12:42
· 61 commits to main since this release

What's Changed

Import Base Keymap of VSCode/Intellij/Zed

🎉Now OneKeymap CLI provides base keymaps for VSCode/Intellij/Zed to import. Then you can get "full" keymap without editor builit-in keymap dependency.
demo

Unknown Actions & Usage Metrics

OneKeymap CLI collects anonymous telemetry data to help improve the tool and is disabled by default. When you first run the CLI in interactive mode, you'll be prompted to opt-in to telemetry. You can also enable or disable it manually in your configuration.

Metrics is mainly to identify missing keymap mappings that should be added. Please see https://github.com/xinnjie/onekeymap-cli/blob/a98306344e5b915b9b0a8200def5a806747c2d4b/docs/telemetry.md for more details.

Changelog

  • 437c7ee doc: update version in readme
  • 386246d feat: add base keymap like intellij
  • 14b6140 feat: add telemetry prompt
  • 9eff71f feat: add unknown_action metric
  • 0da869b feat: add vscode base keymap
  • 9bdbb5b feat: add zed base keymap
  • 3ca9135 feat: import from base
  • 0cc3194 feat: setup metrics
  • e5020c1 fix: conform to OTEL name convention, counter name changes from "onekeymap_xxxx" to "onekeymap.xxxx"
  • 2b6ae74 fix: fix config name mismatch
  • edfe89f fix: fix intellij base keymap for mac
  • 99d421d fix: fix lint
  • 9b5e34c fix: fix propmt when importing base keymap, selection if always "intellij-linux" earlier
  • e04cdee fix: stop showing vim support in view command
  • 0641c82 fix: use otlpmetrichttp instead of otlpmetricgrpc

Installation

macOS

brew tap xinnjie/onekeymap
brew install onekeymap-cli

Windows

Scoop

scoop bucket add xinnjie https://github.com/xinnjie/scoop-bucket
scoop install onekeymap-cli

Manual installation

Extract the zip file and add the directory to your PATH.

Linux

Debian/Ubuntu (deb)

wget https://github.com/xinnjie/onekeymap-cli/releases/download/v0.5.0/onekeymap-cli_0.5.0_x86_64.deb
sudo dpkg -i onekeymap-cli_0.5.0_x86_64.deb

Fedora/RHEL/CentOS (rpm)

wget https://github.com/xinnjie/onekeymap-cli/releases/download/v0.5.0/onekeymap-cli_0.5.0_x86_64.rpm
sudo rpm -i onekeymap-cli_0.5.0_x86_64.rpm

Alpine (apk)

wget https://github.com/xinnjie/onekeymap-cli/releases/download/v0.5.0/onekeymap-cli_0.5.0_x86_64.apk
sudo apk add --allow-untrusted onekeymap-cli_0.5.0_x86_64.apk

Manual installation (Linux/macOS)

tar -xzf onekeymap-cli_*.tar.gz
sudo mv onekeymap-cli /usr/local/bin/