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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Personalizing Emacs Doc Navigation

58 点作者 kickingvegas超过 1 年前

5 条评论

globular-toast超过 1 年前
One thing I've tried to do in my Emacs config is make things uniform across various modes and features. For example, I like C-c C-c to mean "do the obvious thing I do all the time" which is usually something like "run make" or "eval code at point". I like to use M-. and M-, to follow a link then "pop" back (like xref by default). I haven't bothered trying to do this for help stuff but will definitely be copying this config and changing things to fit my own preferences. This is really useful to have all the various modes collected together in one place!
pmontra超过 1 年前
Reading this I realized that the only emacs internal documentation I read in so many years are the help files of C-h w (where is a function, I&#x27;ll type its name next), C-h k (what a keybinding does, I&#x27;ll press it) and maybe the description of the current modes (is it C-h m ?)<p>Everything else is a query to a web search engine. That has the advantage of people explaining things and finding solutions instead of only a reference.
评论 #38643326 未加载
nemoniac超过 1 年前
While I don&#x27;t share the author&#x27;s preferences for keybindings, I am sympathetic to the idea of navigating different doc formats in the same way.<p>view-text-file-as-info-manual is handy for this. It can transform and open a variety of doc formats in an info buffer. It could readily be adapted to output other formats.<p><a href="https:&#x2F;&#x2F;emacsnotes.wordpress.com&#x2F;2023&#x2F;09&#x2F;11&#x2F;view-info-texi-org-and-md-files-as-info-manual&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;emacsnotes.wordpress.com&#x2F;2023&#x2F;09&#x2F;11&#x2F;view-info-texi-o...</a>
评论 #38645137 未加载
eviks超过 1 年前
Given so few keybinds and already embracing modality, it&#x27;s very inefficient to have to resort to modifiers when there are so many single keys left<p>&gt; Forward and backward history navigation using web browser-style M-[, M-] keybindings<p>It&#x27;s much better to rebind those in the browser to have a consistent and convenient experience everywhere rather than downgrading your text editing experience to match those bad defaults<p>&gt; default bound to l and r which I struggle to this day to remember<p>your left&#x2F;right muscle memory can help you there, if you locate them together and use the same fingers you use for left&#x2F;right cursor movements, for example, if you&#x27;re used to H&#x2F;L then this would be U&#x2F;P, one row above using the same fingers (in general, all these alphabetical mnemonics are not very useful, especially for heavily used keys)
kickingvegas超过 1 年前
Hello! See that my post has gotten interest on HN. Happy to answer any questions about it here!
评论 #38639786 未加载