不要autohotkey但要它的功能
发表于 : 2009-12-10 15:43
我想问下linux能不能实现下面的功能
替换某个键位另外一个,貌似有帖子说了方法了
另外我想问:按下( 可以打出()同时把鼠标移到括号中间直接输入? 我用autohotkey可以。
还有能不能实现特定窗口的快捷键,比如在浏览器中F4是关闭标签,其他程序中是打开文件?
autohotkey只有几句话就搞定了:
+9::sendplay (){left} ;Chinese parentheses are also OK.
[::sendplay []{left}
+[::sendplay {{}{}}{left} ;use {} to escape { and }
+<::sendplay <>{left}
;replace tilde with backspace, so that I can easily press backspace with my left hand.
sc029::sc00E
;replace capslock with enter, so that I can easily press enter with my left hand.
Capslock::sc01C
;move carets to the up, down, left and right--ideas from emacs and joystick games.
^i::sendinput {up}
^k::sendinput {down}
^j::sendinput {left}
^l::sendinput {right}
^u::sendinput {home}
^o::sendinput {end}
替换某个键位另外一个,貌似有帖子说了方法了
另外我想问:按下( 可以打出()同时把鼠标移到括号中间直接输入? 我用autohotkey可以。
还有能不能实现特定窗口的快捷键,比如在浏览器中F4是关闭标签,其他程序中是打开文件?
autohotkey只有几句话就搞定了:
+9::sendplay (){left} ;Chinese parentheses are also OK.
[::sendplay []{left}
+[::sendplay {{}{}}{left} ;use {} to escape { and }
+<::sendplay <>{left}
;replace tilde with backspace, so that I can easily press backspace with my left hand.
sc029::sc00E
;replace capslock with enter, so that I can easily press enter with my left hand.
Capslock::sc01C
;move carets to the up, down, left and right--ideas from emacs and joystick games.
^i::sendinput {up}
^k::sendinput {down}
^j::sendinput {left}
^l::sendinput {right}
^u::sendinput {home}
^o::sendinput {end}