TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Can someone :help me?

92 pointsby Wataboualmost 11 years ago

10 comments

tikhonjalmost 11 years ago
If you&#x27;re curious, Emacs does all this—and more—with various C-h commands. If you want to see a full list of these, start with<p><pre><code> C-h ? </code></pre> Here are my favorites:<p>If you want to see a specific keybinding, like checking what C-w is bound to:<p><pre><code> C-h k C-w </code></pre> If you want to see the documentation for a function:<p><pre><code> C-h f function-name </code></pre> If you want to see details about your current mode:<p><pre><code> C-h m </code></pre> This is incredibly useful because it lists all the mode-specific keybindings. That&#x27;s how I learn how to use new modes!<p>If you want to see or interact with a variable:<p><pre><code> C-h v </code></pre> If you want to see <i>something</i> where you remember just part of the name:<p><pre><code> C-h a *regexp* </code></pre> (a stands for &quot;apropos&quot;)<p>If you want to see the incredibly detailed manual for Emacs or all of the info manuals on your computer:<p><pre><code> C-h r C-h i </code></pre> If you want to see info about your input mode (how do I type ℕ in TeX-input-mode?):<p><pre><code> C-h I </code></pre> Actually, for that one, I have another handy trick: copy and paste an ℕ into your buffer, go over it and use<p><pre><code> C-u C-x = </code></pre> which brings up detailed information about the given character... including how to type it in your current input mode (if applicable). This also includes useful info like its Unicode designation and category.<p>I&#x27;ve found all of these tricks exceptionally helpful when learning more about Emacs. They also help me overcome my fear of memorization: its so easy to look stuff up, I don&#x27;t have to bother. Then, if I use something enough, I remember it without especially effort. It&#x27;s like a cache in my mind.
评论 #7798456 未加载
评论 #7798764 未加载
评论 #7799027 未加载
euphemizealmost 11 years ago
I think if the idea is to help newcomers with Vim, this is the wrong approach. Nobody tries to learn something new by checking out what a random key does, using :help X. When I was trying to learn Vim, the most useful info was actually search results for &quot;how to do X with Vim&quot;, because everybody knows A) another editor, probably B) what they want to achieve. After that you slowly discover features one after the other, which can only happen by using the editor a lot. It&#x27;s good to have a &quot;help X&quot; around, but most of the time, if you&#x27;re starting out, you don&#x27;t know that X is what you need in the first place.<p>People learning git don&#x27;t start with typing &quot;git rebase --help&quot; just to see what it does. You learn to add, commit, push, (probably from a tutorial) and then go from there.
评论 #7798619 未加载
评论 #7798618 未加载
leorockyalmost 11 years ago
&gt; No other software product that I&#x27;ve ever come across or used has had a better documentation.<p>Vim requires so much documentation just to be usable. There is no GUI to hint at how to do anything. No toolbars, no application menus, no context menus or buttons. Vim&#x27;s documentation is probably somewhat responsible for its popularity. I&#x27;ve never not found something I needed in Vim&#x27;s documentation.
评论 #7798736 未加载
评论 #7799645 未加载
natural219almost 11 years ago
The documentation is so good, you need a beautifully crafted website with english sentences, standard typography &#x2F; web styles, and acommpanying visual diagrams...simply to learn how to use the &quot;help&quot; feature.
评论 #7798984 未加载
评论 #7799041 未加载
lennydizzyalmost 11 years ago
Any one know how do I search for a shortcut in different modes?<p>For example, &#x27;ctrl-r&#x27; in normal mode means redo, in insert mode means paste from register. However &#x27;:h ctrl-r&#x27; only shows the help for normal mode.
评论 #7799260 未加载
okasakialmost 11 years ago
Does no one check their page layout on anything but 4k resolution any more? Here&#x27;s what the page looks like on one of my 1280x1024 screens: <a href="http://i.imgur.com/w6WXYF6.png" rel="nofollow">http:&#x2F;&#x2F;i.imgur.com&#x2F;w6WXYF6.png</a><p>Since the screen is physically on my left, it&#x27;s very annoying to try to read the text.
评论 #7798933 未加载
vsbuffaloalmost 11 years ago
I use vim (after years of being a happy emacs user — switched due to RSI), but I&#x27;ve never liked its help system. Compared to emacs, it&#x27;s incredibly hard to navigate and it just doesn&#x27;t have anything as powerful as C-h k (what does this key do?).
评论 #7798928 未加载
评论 #7800505 未加载
nutatealmost 11 years ago
Apropos help in emacs is nice. For similar in vim type :help blah&lt;ctrl-d&gt;
borplkalmost 11 years ago
Honestly the entire time I was under the impression that the author is being sarcastic.
NYCHackeralmost 11 years ago
Can someone explain to me why people still use Vim and Emacs? Is it more efficient than GUIs like Sublime Text?<p>I only ever use Vim for quick edits and fail to see how one can be more effective in it when you can&#x27;t click and highlight text.
评论 #7801698 未加载
评论 #7803828 未加载