On Fri, 16 Jun 2006, John Orr wrote: [snip]
Another alternative might be to enable expandtab (to get the spaces) and enter the tab characters explicitly - is there any easy way of inserting a tab character when expandtab is enabled?
Yes. In Insert mode, you could either (a) hit Ctrl-v followed by Tab (b) hit Ctrl-v followed by Ctrl-i (c) hold down Ctrl and type "vi" (c) is essentially (b), but has a nice ring to it ;) Entering tab characters explicitly is what I normally do when editing makefiles, since I have 'expandtab' set. See :help i_ctrl-v :help i_ctrl-q HTH. -- Gerald