Skip to content

Simple Autohotkey script to remap the caps lock keyboard button to ctrl and escape.

Notifications You must be signed in to change notification settings

nikalas/caps2ctrl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

caps2ctrl (+esc)

Simple AutoHotkey script to remap the completely useless caps lock key to ctrl, as originally intended (see IBM PC/XT and some history at CAPSoff.org) and also escape, making both more accessible. This lets you access both these keys from the keyboard home row, significantly improving the workflow while programming. This is especially usefull in VIM and programs with VIM-like keybindings, for example Sublime Text (activate vintage-mode) and the JetBrains suite (supported by plugin).

Note: This is for windows only.

  • For linux you map caps to ctrl and then use XCAPE, see this thread.
  • For Mac you can use my carabiner script
  • Other solutions are available for other platforms and some google-fu should point you in the right direction.

Installation

Script

Simply load up the script in AutoHotkey. Easy as pie!

Binary

I've also compiled the script to a portable binary. Feel free to put it on a thumb-drive or cloud storage (recommended) such as Google Drive to make it accessable from all your windows based devices.

Dependencies

  • Windows only
  • AutoHotkey
  • The binary has no dependencies but will of course only run under Windows.

Usage

When caps lock is pressed together with another key it will act as ctrl. However when tapped (pressed and released on its own) it will instead mimic a press on the esc-key.

Credit

Originally written by fwompner(fwompner gmail com) and found at vim.wikia.com

About

Simple Autohotkey script to remap the caps lock keyboard button to ctrl and escape.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published