Code Completion with Caps-Lock (Not Tab)
6 months ago
- #productivity
- #keyboard-remapping
- #developer-tools
- The Tab key's dual function for indentation and code completion is problematic, especially with AI suggestions interrupting.
- Caps Lock can be repurposed as a more useful key across Windows, macOS, and Linux.
- For VSCode, remapping Caps Lock to F19 avoids interference with the key's original function.
- Microsoft PowerToys' Keyboard Manager is recommended for remapping Caps Lock to F19 on Windows.
- On macOS, Karabiner Elements allows Caps Lock remapping but requires granting extensive permissions.
- Linux users can use the keyd project to remap Caps Lock to F19, though it requires building from source.
- Adjusting VSCode's keybindings to use F19 for completion involves modifying multiple settings.
- The guide suggests using F19 for cross-platform consistency due to potential conflicts with other function keys.