mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
22 lines
462 B
Markdown
22 lines
462 B
Markdown
# @k8slens/keyboard-shortcuts
|
|
|
|
This Feature enables keyboard shortcuts in Lens
|
|
|
|
# Usage
|
|
|
|
```bash
|
|
$ npm install @k8slens/keyboard-shortcuts
|
|
```
|
|
|
|
```typescript
|
|
import { keyboardShortcutsFeature } from "@k8slens/keyboard-shortcuts";
|
|
import { registerFeature } from "@k8slens/feature-core";
|
|
import { createContainer } from "@ogre-tools/injectable";
|
|
|
|
const di = createContainer("some-container");
|
|
|
|
registerFeature(di, keyboardShortcutsFeature);
|
|
```
|
|
|
|
## Extendability
|