Vim Tips Wiki
Advertisement

New tips August 2010

For each proposed new tip:

  • Is it worth keeping as a separate tip?
  • Should it be merged into an existing tip? Which?
  • If it should be kept, is it ready for release? Which points need fixing? Should it be renamed?

Please edit this page (not the talk page) in the appropriate section below the following table.
Alternatively, comments can be posted on the mailing list.

Proposed new tip Current consensus
Buffers -
Fix indentation -
Insert image size with vim (when coding html) -
Searching for files in a directory listing -
Using ZSH completion with ctags and Vim -

Please add your comment (sign with ~~~~) below the appropriate heading. Use ---- between comments.

General comments (not for a specific tip)

Buffers

Will think this over. I would prefer to merge it, but when I have a chance to see what that would do, perhaps keeping this new tip as a "getting started" overview might be desirable? JohnBeckett 10:35, May 30, 2011 (UTC)

I think we should keep it as a getting started tip and link the others. vimgor, the bot in #vim, says "For a quick intro to vim's windows, buffers, and tabs, see http://oi56.tinypic.com/20gzol3.jpg and ':help tab-page-intro' and ':help windows-intro'". Perhaps we can upload and incorporate that image somewhere as well. --Fritzophrenic 20:23, May 31, 2011 (UTC)

Fix indentation

Merge to 977 (see below). The following tips mention gg=G in a tip about indents:

BTW when I suggest merging or renaming an old "new tip", I intend keeping the name of the new tip as a redirect. JohnBeckett 10:35, May 30, 2011 (UTC)

Insert image size with vim (when coding html)

Keep, but see my ZSH comment below (I would prefer to delete mysterious junk like this). The code does not make sense (g/src and $ N 2w; perhaps it is wrong? the N is searching for what?). Should rename, perhaps "Insert image size when coding html". JohnBeckett 10:35, May 30, 2011 (UTC)

Searching for files in a directory listing

Keep but greatly refactor. I think the idea of editing the output of dir should be mentioned only very briefly (i.e. most of the main tip should be omitted). Instead, present the ideas from the comments, although I would downplay using find on Windows (if you are not already familiar with find, the pain of grappling with it would not be rewarding). The point of the tip would be to show ways to get a scratch buffer with a list of files that one can search or edit. I think I would keep the ListFiles script that I wrote. JohnBeckett 10:35, May 30, 2011 (UTC)

Using ZSH completion with ctags and Vim

Keep, I suppose. I would personally prefer to delete the tips that make no attempt to say what they are on about (with the subtext that if you are too stupid to understand what the tip does from its title, you don't deserve to be reading it). JohnBeckett 10:35, May 30, 2011 (UTC)


Advertisement