Cheeky cow.

Discussion in 'UK Motorcycles' started by Salad Dodger, May 3, 2011.

  1. Salad Dodger

    Adrian Guest

    Who said "Registry"?
     
    Adrian, May 3, 2011
    #21
    1. Advertisements

  2. Salad Dodger

    Spete Guest

    I think you missed the tongue buried in his cheek....
     
    Spete, May 3, 2011
    #22
    1. Advertisements

  3. Salad Dodger

    davethedave Guest

    It's the bog standard ispell I believe. I have spill check bound to F7.
     
    davethedave, May 3, 2011
    #23
  4. Salad Dodger

    Cab Guest

    Ta. The line that prawns posted is quite a nice one, it is.
     
    Cab, May 4, 2011
    #24
  5. Salad Dodger

    prawn Guest

    Heh. If I can muster a tuit, I may scribble up my custom settings.
     
    prawn, May 4, 2011
    #25
  6. Salad Dodger

    davethedave Guest

    I lied it uses "spell".
    Slap the below in ~/.vimrc and Robert is your mother's brother.

    set textwidth=72
    map <F6> <Esc>:setlocal nospell<CR>
    map <F7> <Esc>:setlocal spell spelllang=en_gb<CR>
     
    davethedave, May 4, 2011
    #26
  7. Salad Dodger

    des Guest

    Ah-ha! A man who knows mappings in .vimrc !?

    Any idea if there's the equivalent of a $0 in there?
    --
    des
    'As I write, civilised human beings are flying overhead, trying to kill
    me'
    (George Orwell (1903 - 1950))
    <http://elderofziyon.blogspot.com/>
     
    des, May 4, 2011
    #27
  8. Salad Dodger

    prawn Guest

    ^^^^^^^^^^^^^^^^

    Is fine if you only use vim for USENET posts ;-)
     
    prawn, May 4, 2011
    #28
  9. Salad Dodger

    davethedave Guest

    Mostly email usage. It plays nicely with mutt and many other things.

    I am particularly fond of the go to line function.
    <esc> <number> shift G.
    with 0 being the end of the file and 1 being the beggining.

    It's handy for those "You typed like a retarded 3 toed sloth at line 1253"
    compilation errors Perl gives you when you.... Well... Type like a retarded
    3 toed sloth.
     
    davethedave, May 4, 2011
    #29
  10. Salad Dodger

    Jim Guest

    That's funny, I always just type :<number>

    My favourite ones are the stuff like "c2W" for "change two words", or
    "ct>" for change until the next angle bracket.

    I only really got into using vim because it was the only editor installed
    by default on the Unix boxes we had to develop on. It looks a bit clunky
    when compared to modern tools like Eclipse which can do automatic
    refactoring operations.
     
    Jim, May 4, 2011
    #30
  11. Salad Dodger

    Ace Guest

    You guys are fucking nuts. Why you don't just use a proper editor/OS
    is anyone's guess.
     
    Ace, May 4, 2011
    #31
  12. Salad Dodger

    Jim Guest

    Such as?

    And editor wars, seriously?
     
    Jim, May 4, 2011
    #32
  13. Salad Dodger

    Ace Guest

    By 'eck, them were 'days.

    I confess that my first few months of programming were done on punch
    cards, although we were only allowed to use the cardpunch machine for
    debbugging, relying on EBCDIC coding sheets sent to the 'punch room'
    to input most of the code.

    Bwaahaahaa. The idea of considering those editors to be wysiwyg!

    Never heard of it.
    Heh. We get some of that, with mysterious line feeds and other
    unprintable characters sometime creeping into programs. And yet still
    some of my colleagues insist on using archaic but 'powerful' editors.
    <Bookmarked>
     
    Ace, May 4, 2011
    #33
  14. Salad Dodger

    Krusty Guest

    I used to have a colleague[1] like that. He insisted on using Vi, while
    the rest of us used a proper SQL tool with error highlighting,
    automatic formatting etc. The result was everything he did took several
    times longer. He doens't work for us anymore.

    [1] He should've been my boss, but I refused to work for him.
     
    Krusty, May 4, 2011
    #34
  15. Salad Dodger

    Pip Luscher Guest

    Who said "sudo rm -rf /etc/"?
     
    Pip Luscher, May 4, 2011
    #35
  16. Salad Dodger

    Pip Luscher Guest

    Aww bollocks: clicked the wrong button and emailed it too.
     
    Pip Luscher, May 4, 2011
    #36
  17. Salad Dodger

    davethedave Guest

    Well at least you didn't type it into a terminal and press enter.
     
    davethedave, May 4, 2011
    #37
  18. Salad Dodger

    Pip Luscher Guest

    Hah. I did pretty much that the other day: a networked test unit I
    wanted to use wasn't responding, and I remembered that my system was
    its DHCP server, so I enabled DHCP. And it still didn't bloody want to
    talk. After much head scratching, I finally twigged that I'd just
    enabled DHCP on a totally different server that I was SSH'd into in
    another console window.

    IT haven't come round with an axe, so I guess the server was set up
    for some safe address ranges, or for specific host addresses.
     
    Pip Luscher, May 4, 2011
    #38
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.