TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Remap Your Caps Lock As Backspace

4 pointsby RevRalalmost 15 years ago

4 comments

samdkalmost 15 years ago
I use my caps lock key as a right arrow key. Reaching for escape in Vim doesn't really bother me, and I find it surprisingly useful pretty much any time I'm typing.<p>I use AutoHotkey (<a href="http://www.autohotkey.com/" rel="nofollow">http://www.autohotkey.com/</a>) to remap it on Windows, and xmodmap/xset under X on Linux. If anyone has suggestions for doing this easily under OS X I'd love to hear them.<p>The AutoHotkey script is this: SetCapsLockState, ALwaysOff CapsLock::Right<p>And the xmodmap/xset commands are basically the same as those mentioned in the article for remapping backspace: xmodmap -e "remove lock = Caps_Lock" xmodmap -e "keycode 66 = Right" xset r 66
hyperlogicalmost 15 years ago
It's pretty common for emacs users to remap caps lock to the control key. In fact, it's the first tip in Steve Yegge's Effective Emacs essay.<p><a href="http://sites.google.com/site/steveyegge2/effective-emacs" rel="nofollow">http://sites.google.com/site/steveyegge2/effective-emacs</a>
bwralmost 15 years ago
I've been using Caps Lock as Escape for an easy to access escape in vim. I am so used to this now that it is one of the first things I have to change when setting up a machine before I go crazy.
RevRalalmost 15 years ago
For Vim I use tab as esc, and s-tab as tab. Auto-indent turned on.<p>Caps as right arrow is an interesting idea.<p>Basically, caps lock is silly.