我想问下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但要它的功能
- eexpress
- 帖子: 58428
- 注册时间: 2005-08-14 21:55
- 来自: 长沙
-
- 帖子: 55
- 注册时间: 2009-10-28 12:42
Re: 不要autohotkey但要它的功能
在VIM里可以,但是其它的编辑器就不好说了。不象AHK,哪个编辑器里都可以用。操作是不限系统,不限软件的
- eexpress
- 帖子: 58428
- 注册时间: 2005-08-14 21:55
- 来自: 长沙