|
|
发表于 2006-5-8 22:23:25
|
显示全部楼层
there are at least 2 ways to simulate emacs key bindings
1. use xbindkeys + xvkbd bundle. e.g., one can use xbindkeys to intercept all c-a events, and redirect it to `home' key through xvkbd. however the effect is global, and long keychords (like c-x c-c to close window or c-x b to tab through) seems impossible.
2. use a decent wm. e.g., in Sawfish, one can use the synthesize-event function to simulate keystrokes to any window. IMHO this is even more flexible than the xbindkeys+xvkbd approach since you can have a per-app configuration |
|