| manuhack | tag: for me, only tex and gnuplot files dont work |
| jamessan | well, tex stuff changed how they detect whether you're using plaintex or tex (I guess latex or similar) |
| manuhack | jamessan, yeah, but for me, I never used tex, so I write a tex.vim in my ftdetect myself that's okay most of the types work |
| sabooky | sup guys, have a quick question. i have a file that begins with "\xef\xbb\xbf". all i wanna do is remove that formating set tabexpand + retab fixed \t for me, ,but i can't figure out a way to see the \xef stuff to delete it manually, or how to save the file under a different format nvm did it using python |
| bobwhoops | Can I get >> to indent in tabs rather than spaces? |
| frankg | how do you unset list? |
| bobwhoops | :set nolist |
| frankg | thx |
| bobwhoops | :sh oops :) wait, it is doing now, but two instead of one I was here earlier for this, but I've realized now that I didn't quite do what I wanted Well, ok, I'm confused with this tab stuff. This is what I want. I want to use tabs in my files, not spaces when I press tab. I want it to look like 4 spaces. If I indent, it indents by one tab. What settings should I set? |
| manuhack | bobwhoops: do you have the vim book? bobwhoops, :h sts to see if that's what you want hobwhoops should be :h 'sts' |
| bobwhoops | manuhack: that puts spaces into my file |
| manuhack | bobwhoops, is that what you want? I'm not sure I understand your need |
| bobwhoops | If I press tab, I want it to put a tab in my file |
| manuhack | bobwhoops, what happens when you type tab now? |
| bobwhoops | it puts spaces in |
| tpope | he wants ts=4, but that's a bad path to go down |
| bobwhoops | yeah, it's what I've been using, but I've heard I shouldn't do that |
| manuhack | so what is the best way to do it, |
| tpope | I say spaces all the way tabs sound great from a theoretical perspective but they suck in practice because people use them differently, and inconsistently vim will act like those spaces are a tab anyways |
| manuhack | if one wants 4 spaces of indent instead of 8, use sw? |
| tpope | e.g., when backspacing over them yes, 'sw' and either 'sts' or 'sta' |
| manuhack | how about /\t? |
| tpope | no, it doesn't match that |
| manuhack | that may cause problem though |
| tpope | I can't really imagine why that would be required if you use spaces, search for spaces |
| manuhack | well |