
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@gentleduck/vim
Advanced tools
A keyboard command engine with hotkey parsing, sequences, recording, and React hooks.
Keyboard command engine for React.
Bind hotkeys, record key sequences, and handle platform-aware modifier keys. Framework-agnostic core with React hooks included.
g then d) with configurable timeoutMod key: resolves to Cmd on macOS, Ctrl everywhere elsenpm install @gentleduck/vim
import { KeyProvider, useKeyBind } from '@gentleduck/vim/react'
function App() {
useKeyBind('ctrl+k', () => console.log('open palette'), {
preventDefault: true,
})
return <div>Press Ctrl+K</div>
}
export default function Root() {
return (
<KeyProvider>
<App />
</KeyProvider>
)
}
Mod+Shift+S to structured descriptors)useKeyBind, useKeySequence, useKeyRecorder, useKeyCommandspreventDefault, stopPropagation, ignoreInputs, requireResetEach module is a separate subpath export and can be used independently:
| Module | Import | Purpose |
|---|---|---|
platform | @gentleduck/vim/platform | OS detection, Mod resolution |
parser | @gentleduck/vim/parser | Parse/normalize/validate bindings |
matcher | @gentleduck/vim/matcher | Match keyboard events |
format | @gentleduck/vim/format | Platform-aware display formatting |
command | @gentleduck/vim/command | Registry and key handler |
sequence | @gentleduck/vim/sequence | Multi-key sequence matching |
recorder | @gentleduck/vim/recorder | Key combination recording |
react | @gentleduck/vim/react | React context, hooks |
"sideEffects": falseFAQs
A keyboard command engine with hotkey parsing, sequences, recording, and React hooks.
The npm package @gentleduck/vim receives a total of 284 weekly downloads. As such, @gentleduck/vim popularity was classified as not popular.
We found that @gentleduck/vim demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.