The Context Works

Windows Efficient Setup

Last month I read DHH’s blog post Introducing Omakub. Omakub is a project that helps you to setup your Ubuntu machine by running a single command. DHH composed a list of tools he uses on his Ubuntu.

In spirit of the post, I decided to setup my Windows machine efficiently like Omakub.

You can find the full setup script here.

Following is the keyboard Layout I am using.

Keyboard Layout

Tool: AutoHotKey, PowerToys

ShortcutDescription
Alt + NumberSwitch between Apps
Win + NumberSwitch between Desktops
CaplockSwitch between Input Methods
Caplock(hold)Switch between Upper/Lower
  1. Download VirtualDesktopAccessor.dll
  2. Put the .dll and .ahk files in one folder, create a shortcut for Config.ahk.
  3. Copy the shortcut to path C:\Users\<YourName>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup to make it auto startup.
  4. Install PowerToys, remap LWin and LAlt.
  5. (Optional) Turn off window animation in windows settings.

The Problem of Windows’ Shortcuts

As we know, the Windows shortcut is very limited when switching between apps and desktops. For users who are not English native speakers, switching input method when typing is also not a good experience.

Comparing with Windows, MacOS has a very powerful shortcut system. You can always use cmd + q to close a window, caplock to switch between input methods.

DHH moved the MacOS’ advantages to Linux. The Windows users can also refer to the Omakub project and build a more powerful development environment.