Key shortcuts in Enlightenment
Enlightenment is a really cool window manager, with lots of customizability. One thing that I make extensive use of is Key Shortcuts, these are present in other window managers as well, but I'll focus on Enlightenment for this Tip.
To get to the Key Shortcut editor, press the right mouse button on the root window (the background window), and drag down to "Legacy E-Conf Tool". The E-Conf window will popup, select "Shortcuts" from the menu on the left side.
You can bind Key Shortcuts to lots of different functions, some that I use are: 1) I have rebound the numeric keypad "+" and "-" to "Switch focus to previous window" and "Switch focus to next window", this is like "Alt-TAB" in Windows, but is cooler since I can move forward and backward between windows, not just forward.
2) I have 2 desktops with 6 virtual windows each, so I have rebound "CTRL-arrow" to move between virtual windows, and "CTRL-ALT-arrow" to move between desktops. This gives me lots of screen real estate, and makes it easy to move to any area within my virtual desktop. Really powerful and fast since you don't have to use the mouse as much.
3) Coolest: I have "PrtScn" bound to the command "Run ksnapshot", so when I press "PrtScn", I can easily get a snapshot of my desktop. You can bind any other key or key pressed with modifiers bound to any command, so it can get very powerful.
To add to this, in Emacs, I got sick of typing "M-x compile" to compile, so I rebound [F12] to compile with the following:
(global-set-key [f12] 'compile)
Cool, eh?
Sunday, December 24, 2006
Subscribe to:
Post Comments (Atom)
2 comments:
Re: alt-tab in MS-Windows
You can move backwards between programs (at least under XP: ALT-SHIFT-TAB) But emacs is still cooler for other reasons.
Nice that f12 thing. It worked beautifully in my .emacs file (and using C-x C-e to use in my current session).
Post a Comment