Use Case or Problem
A lot of Windows shortcuts conflict with default Vim mappings. I use macOS as my daily driver, but have to use Windows for work and not having platform-specific hotkeys is an issue. Here are some issue hotkeys causing unexpected behavior in Vim:
- Ctrl + W
- Expected: Delete word (insert mode)
- Windows: Close current tab (⌘W on macOS)
- Ctrl + D
- Expected: Jump down (normal mode)
- Expected: Decrease indentation (insert mode)
- Windows: Delete paragraph (⌘D on macOS)
- Ctrl + T
- Expected: Increase indentation (insert mode)
- Windows: New tab (⌘T on macOS)
- Ctrl + E
- Expected: Scroll down (normal mode)
- Windows: Toggle reading view (⌘E on macOS)
Many macOS shortcuts are also simply impossible to duplicate on Windows due to the Window key already bound to many system shortcuts.
Proposed Solution
Don’t sync hotkeys between Windows and macOS. On Linux, give the option to select OS to sync with.
Current Workaround (optional)
Don’t sync hotkeys or disable sync hotkeys on Windows.