Can someone :help me?
ajh17.github.io
Can someone :help me?
1–10 of 53 posts
Re: Can someone :help me?
#2 C-h ?
Here are my favorites:If you want to see a specific keybinding, like checking what C-w is bound to:
C-h k C-w
If you want to see the documentation for a function: C-h f function-name
If you want to see details about your current mode: C-h m
This is incredibly useful because it lists all the mode-specific keybindings. That's how I learn how to use new modes!If you want to see or interact with a variable:
C-h v
If you want to see something where you remember just part of the name: C-h a *regexp*
(a stands for "apropos")If you want to see the incredibly detailed manual for Emacs or all of the info manuals on your computer:
C-h r
C-h i
If you want to see info about your input mode (how do I type ℕ in TeX-input-mode?): C-h I
Actually, for that one, I have another handy trick: copy and paste an ℕ into your buffer, go over it and use C-u C-x =
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.I'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't have to bother. Then, if I use something enough, I remember it without especially effort. It's like a cache in my mind.
Re: Can someone :help me?
#3If you'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 C-h ? Here are my favorites: If you want to see a specific keybinding, like checking what C-w is bound to: C-h k C-w If you want to see the documentation for a function: C-h f function-name If you want to see details about your current mode: C-h m This is incredibly useful because it lists al…
Without getting into emacs vs vim war, the author would be impressed in a bigger way once the emacs documentation is explored!
Re: Can someone :help me?
#4If you'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 C-h ? Here are my favorites: If you want to see a specific keybinding, like checking what C-w is bound to: C-h k C-w If you want to see the documentation for a function: C-h f function-name If you want to see details about your current mode: C-h m This is incredibly useful because it lists al…
Better still, if you want to execute a command and if you approximately know what it could be called as, you get list of potential commands in an alternative buffer, by Alt-x, and then start typing part of the command. This I feel is great to explore commands as you need them, before binding new keys to those commands. Without getting into emacs vs vim war, the author would be impressed in a bigger way once the emacs…
I think emacs' documentation does come close but I still think Vim's help is much more easy to use and to search for. For example, a new user coming to emacs can't search for help on C-x C-f by invoking C-h C-x C-f
Re: Can someone :help me?
#5People learning git don't start with typing "git rebase --help" just to see what it does. You learn to add, commit, push, (probably from a tutorial) and then go from there.
Re: Can someone :help me?
#6I 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 "how to do X with Vim", because everybody knows A) another editor, probably B) what they want to achieve. After that you slowly discover features one after the other…
Sure you can achieve the same thing by searching online. However, I believe that reading Vim's help motivates you to learn more commands and be more efficient with it. There's so many things in `:h motion.txt` that online articles don't mention and I would probably never come across them.
Similarly, with Git, I did learn to add, commit push but then I learned to reach for `git help topicname` if I want some documentation on that topic name.
Re: Can someone :help me?
#7I 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 "how to do X with Vim", because everybody knows A) another editor, probably B) what they want to achieve. After that you slowly discover features one after the other…
Re: Can someone :help me?
#8Re: Can someone :help me?
#9Re: Can someone :help me?
#10Vim 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's documentation is probably somewhat responsible for its popularity. I've never not found something I needed in Vim's documentation.