Skip to content

hoff2/keyswap-mode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

keyswap-mode
Chuck Hoffman, 2014

A simple minor mode to remap certain keys. Inspired by something I saw
on some blog a long time ago that I can't find now.

example configuration:

(require 'keyswap-mode)

(setq keyswap-pairs
      '((?! ?1) (?@ ?2) (?# ?3) (?$ ?4) (?% ?5)
        (?^ ?6) (?& ?7) (?* ?8) (?( ?9) (?) ?0)
        (?{ ?[) (?} ?])))

(global-set-key [M-f10] 'keyswap-mode)

Why? Because when you're programming, you type those punctuation
symbols way more than you type numbers. Now you don't have to press
shift all the time.

license: http://www.wtfpl.net/txt/copying/

About

A simple emacs minor mode to remap some keys

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published