> it will automatically unindent it to the correct place
It totally depends on the definition of 'correct'; it is often defined by the organisation for which you work. For example (although this is C++ rather than C, the same point applies) Qt has a particular 'style', and Symbian another, even though they're both C++.
However, it is possible to write your own indent rules. See here for an example (which is actually broken, but anyway) :
One person I know who uses emacs commented that it was possible to write 'vi' in emacs. My reply was along the lines of, "What a waste of time. Just use 'vi'". Some people are really poor at making a point. It was only a little later that I realised he meant to indicate the power/flexibility of emacs - as a 'vi' user who's never used emacs, it didn't occur to me right away.
'=' doesn't indent as such (it might not be deemed 'necessary')...it formats. The difference being that it totally depends on other formatting settings. I forget which...
I knew '#' for a long time, and got annoyed that it always searched backwards. '*' searches forwards and was a minor revelation.
However, what I just loved was doing a '*' or '#' on a word, then ':s//sometext/' - vim automatically puts the searched for text in the '//' that you want to replace. Works with any search actually.
Fold, eh? That's interesteding. I've always used 'fmt'. It seems like the behaviour is similar - I wonder if there are any differences to make me want to type the extra chars for the fold command? Doing the 'fold -s -w30' and 'fmt -w30' on identical texts shows that they indeed do something different...hrm.
Almost no one in China cares about the firewall. The only sites the Chinese want access to are already on their side - the majority of them can't read anything but Chinese anyway.
there's no mention of having to sell the s/w and he did mention price was a bit of an issue so i'd say most of your points are (potentially) irrelevant. He/she also didn't mention if and 'ipod' would do and since he asked for mobile phones, i'd say an ipod wouldn't do.
If it were me, I would buy the cheapest nokia phone that run s60 and develop for that. A specific model....perhaps the 6220, or even the 6120 if it's still around. No contract necessary though I'd guess many SPs have them for free on a contract.
> following the application of the most powerful continuous magnetic field on Earth.
Isn't the Earth itself the most powerful continuous magnetic field on Earth?
If it were actually talking about the magnet itself, then it could be argued that the Earth's magnet is it's core, which isn't *on* Earth but *in* Earth... but they said 'magnetic field', so I think they're wrong.
I wonder what makes this more advanced than, say, the Beijing planetarium driven by six SGI IR4 pipes. A quick look through the article doesn't impress - well not from a hardware standpoint anyway. What did I miss?
> Cost is rarely a concern. So save the fact that it is free as an additional argument that you can make if [single person] suggests some other app.
Was (fiscal) cost mentioned at all here? Sure, all the open source products mentioned also are cost free, but Open Source != Cost Free.
Also, Open Source doesn't mean anyone can 'just change the code'. You can *fork* the code and change that, but I don't see how you can change the code in, for example, Red Hat Enterprise Linux, to name but one, even though it is Open Source.
I wonder if the submitter actually tried asking for some Open Source s/w that is *not* cost free.
> why bother...?
because it can be faster...it all depends on the cursor movement you need/want to use (and what you're used to too, I guess).
you didn't mention what the plugin was for eclipse...are you using eclim, or something else?
not sure how they can justify the 'plain old text' description...
I've been using vimperator for a little while. It takes a lot of getting used to, but I think it's a revelation in web browsing.
http://vimperator.org/trac/wiki/Vimperator
I wish I could edit in text areas like this one using vim, but it doesn't seem to do that - perhaps there's an option I haven't found yet.
I'm curious why you start all your commands with 'escape'?
> Stripping out ALL comments and empty lines from files where comments begin with hashes: :g/^\s*\(#\|$\)/d
Curious....why do you use \( and \) in that?
I think the real answer to the question is 'no'.
I can't think of any technical reason why it couldn't do it though. Perhaps there's a security reason.
I think he means that the whole word 'are' is going away...which makes me wonder what will happen on pirates' day a few years from now.
> it will automatically unindent it to the correct place
It totally depends on the definition of 'correct'; it is often defined by the organisation for which you work. For example (although this is C++ rather than C, the same point applies) Qt has a particular 'style', and Symbian another, even though they're both C++.
However, it is possible to write your own indent rules. See here for an example (which is actually broken, but anyway) :
http://vim.wikia.com/wiki/Indenting_for_Qt_C%2B%2B
and it's likely worthwhile spending some time developing the rules, esp. if there are more than just one of you using vim.
Do people really think such comments are funny?
One person I know who uses emacs commented that it was possible to write 'vi' in emacs. My reply was along the lines of, "What a waste of time. Just use 'vi'".
Some people are really poor at making a point. It was only a little later that I realised he meant to indicate the power/flexibility of emacs - as a 'vi' user who's never used emacs, it didn't occur to me right away.
you might also consider 'set sw=N' to have your auto indent use the same indent increments.
'=' doesn't indent as such (it might not be deemed 'necessary')...it formats. The difference being that it totally depends on other formatting settings. I forget which...
I think you mean, "*Unless* you're in insert mode", since *in* insert mode, typing '>>' will insert two '>' chars.
I knew '#' for a long time, and got annoyed that it always searched backwards. '*' searches forwards and was a minor revelation.
However, what I just loved was doing a '*' or '#' on a word, then ':s//sometext/' - vim automatically puts the searched for text in the '//' that you want to replace. Works with any search actually.
> I use dgg (delete to top of buffer) and dG (delete to bottom of buffer) ALL the time
Wow! You must have a lot of empty files!
...and 'z+' which is like a 'page down' since it puts the line below....or something (it's not doing what I thought it did when I try it).
> dL - Delete to end of page, in other words, everything visible.
That's only true if your current position is the top of the page, since it actually deletes from the current line to the bottom of the page.
'dL's sister command is 'dH', which is delete to the top of the currently visible text.
Fold, eh? That's interesteding. I've always used 'fmt'. It seems like the behaviour is similar - I wonder if there are any differences to make me want to type the extra chars for the fold command?
Doing the 'fold -s -w30' and 'fmt -w30' on identical texts shows that they indeed do something different...hrm.
I was more commenting on the complete lack of interest in web sites *outside* China, rather than oppression, per se.
I think the people care about oppression on the whole, but I don't think most people consider blocking web sites as much to do with that.
Personally, I wonder why they bother...
Almost no one in China cares about the firewall. The only sites the Chinese want access to are already on their side - the majority of them can't read anything but Chinese anyway.
It's really only foreigners that care.
hrm...2hrs for a 2 yo laptop
so, I guess 1hr for a 1 yo laptop
I see a pattern :)
If I buy a brand new laptop, it'll be compiled instantly, right?
there's no mention of having to sell the s/w and he did mention price was a bit of an issue so i'd say most of your points are (potentially) irrelevant. He/she also didn't mention if and 'ipod' would do and since he asked for mobile phones, i'd say an ipod wouldn't do.
If it were me, I would buy the cheapest nokia phone that run s60 and develop for that. A specific model....perhaps the 6220, or even the 6120 if it's still around. No contract necessary though I'd guess many SPs have them for free on a contract.
Max.
> following the application of the most powerful continuous magnetic field on Earth.
Isn't the Earth itself the most powerful continuous magnetic field on Earth?
If it were actually talking about the magnet itself, then it could be argued that the Earth's magnet is it's core, which isn't *on* Earth but *in* Earth ... but they said 'magnetic field', so I think they're wrong.
I wonder what makes this more advanced than, say, the Beijing planetarium driven by six SGI IR4 pipes.
A quick look through the article doesn't impress - well not from a hardware standpoint anyway. What did I miss?
> Cost is rarely a concern. So save the fact that it is free as an additional argument that you can make if [single person] suggests some other app.
Was (fiscal) cost mentioned at all here? Sure, all the open source products mentioned also are cost free, but Open Source != Cost Free.
Also, Open Source doesn't mean anyone can 'just change the code'. You can *fork* the code and change that, but I don't see how you can change the code in, for example, Red Hat Enterprise Linux, to name but one, even though it is Open Source.
I wonder if the submitter actually tried asking for some Open Source s/w that is *not* cost free.