The main benefit of this as I see it - moving between windows (in the emacs sense of the word) - can be got by installing windmove.el ( <a href="http://www.emacswiki.org/emacs/WindMove" rel="nofollow">http://www.emacswiki.org/emacs/WindMove</a> ). Once you've got it it's hard to go without (actually the author of this piece used windmove too!). Another indespensible tool is winner-mode ( <a href="http://www.emacswiki.org/emacs/WinnerMode" rel="nofollow">http://www.emacswiki.org/emacs/WinnerMode</a> ) which remembers emacs window layouts and allows you to "undo" window changes.
Interesting that this came up today. I've just started writing an xmonad layout manager that asks emacs where a certain buffer is physically on the screen, and then it puts a regular window on top of that. (It will also let you emacs focus and unfocus that window, so pop-to-buffer will move xmonad's focus there, if necessary; and mod-j/mod-k will delegate to emacs when necessary.)<p>Anyway, the idea is to let you have a full-screen emacs with a real xterm or web browser "inside" of it.
Unless you patch the Cocoa display logic, the fullscreen function won't work for those using Cocoa Emacs. You can still get 90% there using maxframe.el[0].<p><pre><code> ;; psuedo-fullscreen
(require 'maxframe)
(setq mf-max-width 1440)
(defun toggle-maxframe ()
(interactive)
(if (eq (mf-max-columns (mf-max-display-pixel-width)) (frame-width))
(restore-frame)
(maximize-frame)))
(global-set-key (kbd "<s-return>") 'toggle-maxframe)
</code></pre>
[0]: <a href="http://github.com/jmjeong/my-dot-emacs/blob/master/maxframe.el" rel="nofollow">http://github.com/jmjeong/my-dot-emacs/blob/master/maxframe....</a>
This is possible in Vim as well :D, check out ->
<a href="http://amix.dk/blog/post/19403#Hacking-without-distractions" rel="nofollow">http://amix.dk/blog/post/19403#Hacking-without-distractions</a><p>Regarding the moving between windows it can be done with following maps in Vim:<p><pre><code> map <C-j> <C-W>j
map <C-k> <C-W>k
map <C-h> <C-W>h
map <C-l> <C-W>l</code></pre>
Just tried in Aquamacs 1.9, seems to work, except I have the Command key as meta (because of years of having the Meta key immediately to the left of the spacebar), so the M-h binding ends up hiding Aquamacs rather than moving focus left. There should be a way to correct that because Aquamacs disables some other standard Mac "Command-" bindings when using Command as meta.