首页 > 其他, 初级 > 交换你的Caps-Lock和右Control键

交换你的Caps-Lock和右Control键

2009年11月12日 ahei 发表评论 阅读评论

前阵子,无意中在网上发现一篇文章Effective Emacs中文版,第一条就是说把Caps-Lock和Control键互换,作者是这样说的:

1
2
3
4
5
条款1:把Caps-Lock和Control键互换!
 
在Windows和苹果Mac键盘上,那个Ctrl键居然被远远地放在左下角,而Ctrl对于emacs的使用却是时时刻刻都很重要的,
如果你不把Ctrl放到一个更舒服的位置,你就很难成一个emacs艺术大师了。这位置应该与你的基本手位处于同一行,
那么,Caps Lock是最佳选择。在很多unix工作站上,这个位置放的就是Ctrl键,原因同上。

我觉得说的挺有道理的,于是乎,赶紧照着说明把caps lock键和右ctrl键交换过来了,右ctrl键使用的更少,你还可以把caps lock键和右ctrl键旁边的那个右键菜单键,那个键使用的更不频繁。交换方法如下:(以下方法是交换caps lock键和左ctrl键)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
要想在w2000或者XP中实现这个互换,需要修改注册表。从开始菜单中选择“运行”,输入regedit。在左边的树状视图中,找到:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout
点击 KeyboardLayout 项,使之获得焦点。再从“编辑”菜单中选择新建一个二进制值,命名为 "Scancode Map",它的类型应该显示为 REG_BINARY。
然后选择这个新建的"Scancode Map"值项,用“编辑”菜单中选择修改二进制值,在二进制编辑对话框中,输入下列数据:
 0000: 00 00 00 00 00 00 00 00
 0008: 03 00 00 00 3A 00 1D 00
 0010: 1D 00 3A 00 00 00 00 00
 
选择OK关闭对话框,退出注册表编辑器,注销后重登入,你的caps和ctrl键应该就互换成功了。也可能要重启一次。
 
在linux的X-Window中,可以使用xmodmap工具。在你的主目录新建一个名字为.xmodmap的文件,如果已经存在则只需修改。向该文件加入下列内容:
 !
 ! Swap Caps_Lock and Control_L
 !
 remove Lock = Caps_Lock
 remove Control = Control_L
 keysym Control_L = Caps_Lock
 keysym Caps_Lock = Control_L
 add Lock = Caps_Lock
 add Control = Control_L
保存,再向你的 /etc/rc.local 文件加入一行:
xmodmap ~/.xmodmap 2>/dev/null
 
在Mac OS X(Panther或Jaguar)中,你得安装一个修改过的键盘驱动,这说来有些吓人,但是很有效。
这儿有个关于驱动的讨论:
http://www.macosxhints.com/article.php?story=20031102032521826
如果你用的不是Mac笔记本,好像有一个XML文件可以编辑来实现,可以参考这儿:
http://www.eecs.wsu.edu/%7Eschneidj/mac-os-x-10.3.html#swap
下面的URL有一条关于在其它系统上实现的信息:
http://www.manicai.net/comp/swap-caps-ctrl.html

windows用户还可以去这里看看一些比较好用交换按键的软件, 使用极其简单.

刚开始的时候特别不习惯,因为要用左小拇指来按那个caps lock键,而左小拇指不太容易用力,其中比较难按的键有Ctrl+A,Ctrl+S,Ctrl+Q,Ctrl+Z,主要是那些与caps lock键离的很近的键,不过天将降大任于斯人也,必先苦其心志阿,我经过几天的折磨我的左小拇指,终于能非常熟练的把caps lock键当ctrl键使了,确实方便多了,敲caps lock键的时候,手根本不需要离开键盘区域,特别方便,我现在到别人的机器上,去按Ctrl键,感觉好不习惯,明显觉得Ctrl键比caps lock键难按多了,:)当然, 并不是只有用emacs才需要交换这两个键, 不用emacs的话当然也可以交换, 毕竟快捷键基本上都是以Ctrl键开头的.

分享家:Addthis中国
GD Star Rating
loading...
交换你的Caps-Lock和右Control键, 6.9 out of 10 based on 14 ratings 标签:caps lock, control, ctrl, effective emacs, Emacs, linux, profile, se, text, windows, 安装, 按键

相关日志

分类: 其他, 初级
  1. 2016年4月7日23:24 | #1

    Ann Arbor Public Schools moved off of the state’s early financial warning list afternearly doubling its rainy day fund, officials announced Wednesday. michael kors outlet Reynolds Performance Hall, University of Central Arkansas, 223 Beatrice Powell St. s http://www.coachhandbags.me
    The eatery should launch before Halloween if weather cooperates, The Equal OpportunityAffirmative Action Employer is accepting job applications at . ray ban sunglasses Berry says between 7 to 11 inches fell in northern DeSoto Parish, southeast Caddo Parish, southern Bossier Parish and most of Webster Parish.
    REINVIGORATE FEDERAL LOAN PROGRAMS michael kors outlet online What’s needed for each to secure an at-large bid? Assuming they get in, what are their NCAA tournament prospects? To wrap things up, Evans and Loza played a game of ‘Bracket Babble’ deciding whether or not Syracuse, Pitt, Tulsa, UConn, Vandy and St. e cheap jordan shoes
    Portland beats Brooklyn 112-104 for 6th straight win michael kors bags Hard to shake a stick at a 9.
    c Joslad & Associates PC to Jungwoo Lee and Jiyoung Jung, 144 Leverett Road, $425,900. michael kors outlet Durham said the seniors took more ownership of the team after the Auburn loss. http://www.michaelkorshandbagsrack.us.com
    Constantly seeking to propel clients forward, she is an innovator,strategist and motivator. coach outlet store online The gunman is suspected of shooting at an aircraft that police were using while engaged in what they called a “cannabis recovery operation” and later shooting the four officers after police surrounded his home. http://www.raybanoutlet.name
    “I think we have a more robust program here because we don’t” have a legislative mandate, said Sandy Nipper, a registered nurse who helped establish the program and served as Randall Children’s child injury prevention coordinator until her recent retirement. michael kors outlet online Johnathan Bell led Nicholls State 922, 512 with 19 points, while Adam Ward had 11 and T. c ray ban sunglasses
    He had a mulish quality to him, and because he respected and admired culture so much, he really disliked the counterculturalism of the 60s. coach handbags Like an ancient mapmaker gazing on unknown landmarks, Anders tried to put a name on them.
    After a year-long hiatus, TAAGG will be hosted by the Yucca Tap Room on Sept. cheap jordan shoes “I think the Middle Easterners are buying the textbooks!” Bruner said, wideeyed.
    So go ahead and replace that vinyl siding. michael kors outlet General manager John Elway set out to build the Broncos’ D, adding players such as DeMarcus Ware, T.
    “The person driving the taxi in Cuba was a doctor. http://www.coachoutletssonline.us.org “This year, there’s not even an effort to fake it.
    d Winchester is addressing the demand side of the epidemic with its Northern Shenandoah Valley Substance Abuse Coalition. coach outlet online The Beatles were enraged, and refused even to show up for the session.
    As the sensibly named Colin Kosmicki grows up in Brighton, N. louis vuitton bags Seems a bit hypocritical if you ask me. e coach outlet
    NAVUG Focus will offer the opportunity to completely submerge in one of three learning tracks Manufacturing, IT, and Finance, and come away with best practices, improved industry knowledge, and sharpened skills. louis vuitton handbags Waiver and Severability of Terms.
    g A specialist in soft tissue surgery in animals, Stanley sought assistance from Dr. John Girotto, an associate professor in MSU’s College of Human Medicine and a pediatric plastic surgeon at Helen DeVos Children’s Hospital in Grand Rapids. http://www.louisvuittonhandbagsbuy.co.uk Mary Austen v. q
    Sweet glazed and smoked hams and herb-encrusted leg of lamb are obvious menuchoices but you’ll find more than those traditional meats on many restaurant menus ray ban sunglasses Will you still make that investment? The concerns about will water still be safe and available will become increasingly important . http://www.michaelkorshandbagsoutletbuy.us.com
    Dodgers MGR candidates include:Kirk Gibson,Bud Black,Gabe Kapler,Dave Roberts,Bob Geren,Dave Martinez, Darrin Erstad, Ron Roenicke, Wallach coach outlet online CLEARWATER, Fla. r oakley sunglasses
    “When you have the right Realtor?,buying a home can be a joy. michael kors bags That’s all outdoors.
    One way I always have judged coaches is by the way their teams play in the third quarter. louis vuitton outlet online Facing his former team for the first time, Daniel Murphy walked and scored on Anthony Rendon’s tworun single in a fourrun first inning against Rafael Montero in the Washington Nationals’ 94 victory over the New York Mets. a cheap michael kors bags
    Market driver – Popularity of bicycle rental programs- For a full, detailed list, view our report michael kors outlet online To get that down to $28 million, the measure removes state funding that now exists for adult students who already have graduated from high school who need job training.

    [回复]

评论分页
1 2 3 4 34352
  1. 2012年2月3日21:47 | #1
  2. 2012年4月15日20:16 | #2
:wink: :-| :-x :twisted: :) 8-O :( :roll: :-P :oops: :-o :mrgreen: :lol: :idea: :-D :evil: :cry: 8) :arrow: :-? :?: :!: