Live data from Hacker News

Vimcasts

vimcasts.org

41–43 of 43 posts

Re: Vimcasts

#41
Glad to see a vimcasts site, more perspectives on vim are always welcome. I saw in the comments that you're using randiant cms, one thing you might want to check out is that the source code for railscasts.com is open source and is a pretty solid video cast site.

Re: Vimcasts

#42
post #40

Earlier quoted context omitted.

Ah, my mistake. I meant registers, not buffers. :help registers As to your "I'm curious" question, I use both. Mostly arglist, and I resort to buffers when the arglist has gone squirrely (editing an additional file after starting with a number of files, e.g.). For example, edit a small number of files (vi *). :files will show you the list of files. Repeating :n will take you through each file. :e newfile to create a…

I've had that problem, here's what I do: :arge will do the same as :e, but also add it to the arglist. You can prefix with a number to insert it at a particular position, especially :0arge and :99arge for first and last respectively. It only adds one at a time; several can be added with :arga (including recursive wildcards such as /*.java) :argd % will delete the current file (which % expands to) from the arglist. BT…

The recursive wildcard didn't come out right. It should be:

    **/*.java
And the mapping is:

    :map  :n    " next file, with control-n
    :map  :N    " prev file, with control-p

Re: Vimcasts

#43

Earlier quoted context omitted.

Come to the Dark Side. We have buffers.

I just watched the video entitled "Working with Buffers" so I don't quite get your reference

In the parent to my comment was this sentence: "New users have no idea how powerful it is."

That reminded me of this quote from Star Wars Episode VI: "You don't know the power of the Dark Side."

Which reminded me of the bumper sticker or T shirt: "Come to the Dark Side. We have cookies."

Which led to my comment: "Come to the Dark Side. We have buffers."

Buffers isn't important, except as something Vim has that can substitute for cookies.

Post reply on HN