Skip to content

Latest commit

 

History

History
107 lines (67 loc) · 3.25 KB

File metadata and controls

107 lines (67 loc) · 3.25 KB

Contributing to Lynx Keymap Pro

Before contributing, read the Architecture Guide — it explains how the keymap system, AI integration, and multi-editor support fit together.


Quick Start

  1. Fork the repository on GitHub
  2. Clone your fork and set up:
git clone https://github.com/YOUR-USERNAME/Lynx-Keymap-Pro.git
cd Lynx-Keymap-Pro
git checkout dev   # always work on dev
code .             # press F5 to launch the Extension Host and test live

Submit all PRs to the dev branch of the original repo. Never edit the version field in package.json — that's maintainer-only.


What You Can Contribute

⌨️ New editor support

Currently supported: VS Code · Cursor · Windsurf · Trae.ai · Kiro · Firebase Studio

Files to modify:

  • package.json — keybinding definitions
  • src/keymaps/ai-keymap-config.js — AI command configuration
  • src/keymaps/ai-keymap-handler.js — editor detection & execution

To add a new editor:

  1. Research the editor's native/default commands and identify conflicts.
  2. Map them to Lynx's existing shortcut scheme.
  3. Wire up AI integration and the fallback system.
  4. Test on both Windows/Linux and macOS key mappings.
🎹 Keybinding improvements

Enhance any shortcut category:

  • Navigation (Ctrl+1/2/3, Ctrl+Tab)
  • File Management (Alt+C/V)
  • Git Operations (Alt+1/2/3/4, Alt+Enter)
  • AI Integration (Ctrl+`, Shift+Tab, Alt+A/S/D)
  • Development (Alt+F, Insert, Alt+Insert)
  • Visual Management (Ctrl+Alt+PgDn, Alt+Z)

Always include both key (Win/Linux) and mac mappings, and use when conditions to avoid conflicts with editor defaults.

🖥️ Keyboard layout variants

Adaptations for different layouts: alternative key combinations, modifier remapping, function key utilization, or macro key integration.

📝 Documentation

Target files: README.md, ARCHITECTURE.md, CONTRIBUTING.md, CHANGELOG.md, and inline code comments.


Submitting a PR

Keep PRs small and focused on one editor, one keybinding category, or one fix. If you're touching many areas at once, split into separate PRs — it's faster to review and faster to merge.

Your PR description should include:

  • What changed and why
  • Editor(s) tested (aim for at least VS Code + one more)
  • Screenshots or video if the change is visual or behavioral
  • Confirmation that key mappings work on both Win/Linux and macOS

Need Help?

Please follow our Code of Conduct.


Maintained by Gohit X · Licensed under MIT