Tuesday, February 3, 2015

Re: How can I better use Vim help

* Sayth Renshaw <flebber.crue@gmail.com> [2015-02-03 08:54]:
> How is the best way in vim to use the help system when
> I am unsure exactly what term or phrase to look for?

try to guess a word - or a part of it.
enter it right after ":help" -
and then press CTRL-D:

:help word<CTRL-D>

example:

:help foo
+footer gui-footer

experiment. find your way.
come back and report here.

> What I currently do know is Google and usually end up on
> the vim wikia where I put together the peices from there.
> And there they usually show where the help menu is.

there you go ;)

> For example I located that :vsp opens a vertical split.
> How would I now know how to find how to open files
> in an already open split and choose which split?

i dont know which is the best way to find it -
but here you go:

:e file

then there is "gf" to open the filename under the cursor.
as for files already in your buffer list, there's ":b". and
with a little ":help" form your vim you'll find "windows.txt".

read it. try everything. get used to the vim way... oommm....

Sven

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment