TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Emacs as a tiling window manager

65 点作者 mariusae超过 15 年前

7 条评论

nfg超过 15 年前
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.
评论 #1080360 未加载
jrockway超过 15 年前
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.
评论 #1080911 未加载
mikedouglas超过 15 年前
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 "&#60;s-return&#62;") '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>
评论 #1080244 未加载
amix超过 15 年前
This is possible in Vim as well :D, check out -&#62; <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 &#60;C-j&#62; &#60;C-W&#62;j map &#60;C-k&#62; &#60;C-W&#62;k map &#60;C-h&#62; &#60;C-W&#62;h map &#60;C-l&#62; &#60;C-W&#62;l</code></pre>
评论 #1080528 未加载
评论 #1080531 未加载
ams6110超过 15 年前
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.
Plugawy超过 15 年前
Cool stuff - especially when I decided to switch to emacs from vim.<p>Fixes one of the annoyances (moving between splits)
wendroid超过 15 年前
cor, what a lot of nonsense<p><pre><code> % aux/vga -l 1024x768x16 % exec acme # instead of rio </code></pre> all done