Just use sublime text (anti-vim rant)


  • Discourse touched me in a no-no place

    @rad131304 said:

    In a situation where you can't remote into the system, how often is it really that simple?

    Exactly.
    If I can't remote in to copy the file over, I can't remote in to access vim. Then it's someone else's problem to fix it.

    I use vim sometimes and it's really not that much of a pain but tend to copy files over and edit them.


  • Banned

    @Onyx said:

    Well, I found one that I somewhat convinced to cooperate. We're buddies now.

    And that's great.

    Regarding the topic: the only time I used vim recently was when I forgot to set default editor for commit messages in git.


  • 🚽 Regular

    Does anyone know if there are other editors with vim's ability to jump to a certain character in the line? (f/F).

    I think it's a unique feature that comes very handy.

    Pre-post edit: never mind. Just found EasyMotion for Sublime. Cool.


  • Discourse touched me in a no-no place

    @rad131304 said:

    Even sneakernet?

    I'd have to ring ahead and arrange for someone to let me into the datacenter. It's much easier if you've got this sort of thing (OOBM such as KVM/IP), but then you're a bit limited in what you can do. You can do devices over that, but the client software for such things has a… chequered history… and it's best to not rely on having much sophistication available.


  • I survived the hour long Uno hand

    So to recap, I should learn vim because what if the network on my server goes down before I've had a chance to install nano and I can't walk into the datacenter easily to transfer files via USB, I have to use the network to....

    oh.


  • Discourse touched me in a no-no place

    @Yamikuronue said:

    So to recap, I should learn vim because what if the network on my server goes down before I've had a chance to install nano and I can't walk into the datacenter easily to transfer files via USB, I have to use the network to....

    oh.

    Precisely. (The KVM stuff really does work; it's crude, but beats slogging half way across the city in the rain.) Once the OS is up and healthy and talking properly to the network, use whatever you like.

    I prefer Emacs. I understand others will disagree with my choice. That's OK. I still prefer Emacs. :D


  • FoxDev

    @cartman82 said:

    I know how to enter insert mode, paste the content I edited in sublime or jetbrains scratch file, exit insert mode and save. That's enough for anyone.

    Agreed, unless you actually want to learn more. that's the minimum, but my no means the maximum. ;-)


  • Fake News

    Now if you want to look like a real Vi-maniac, you could always take a cue from this guy:

    EDIT: Might not contain too much actual Vim, so it's not an introduction of any kind.

    https://www.youtube.com/watch?v=aHm36-na4-4

    And no, I don't think he's using Powerpoint for his presentation.


    Filed under: Nobody is allowed to have so much fun with a text editor



  • @Nprz said:

    iLO/DRAC/IBM RSA.

    Our home office IT people aren't smart enough to be able to set that up, so I've never used it. That's a good point.

    @dkf said:

    (OOBM such as KVM/IP)

    Another good point.



  • It is great if they can afford the extra license cost (I hear it isn't cheap).
    When I joined the company I'm at, I was able to get a license for my HP dev server. It was great as I could go home and as long as the machine had power, I could do pretty much anything to it without fear of bricking it. Re-installing the OS with an iso over the network is pretty painful though.
    But now money doesn't flow as freely and I don't even have a dev server (we mostly get redirected to the cloud for "servers").


  • Banned

    @JBert said:

    Now if you want to look like a real Vi-maniac, you could always take a cue from this guy:

    I'm 8 minutes in and except Star Wars, he's just presented the very basic functionality that every text editor since notepad.exe has out-of-the-box, sometimes even enabled by default.


  • Fake News

    I've put a warning in my post:

    Might not contain too much actual Vim, so it's not an introduction of any kind.
    

    @Gaska said:

    he's just presented the very basic functionality that every text editor since notepad.exe has out-of-the-box

    Like highlighting all search matches? You can just admit it that you're trolling if you really want to compare to something as spartan as notepad...


  • BINNED

    @JBert said:

    Like highlighting all search matches?


    Filed under: Trololololo


  • Banned

    @JBert said:

    Like highlighting all search matches? You can just admit it that you're trolling...

    Okay, it's not that basic functionality, and not all editors have it. But every editor that aspires to being a good editor does it. Same with showing whitespaces. And dealing with a single file opened multiple times (the only editor I've used which doesn't get it right by default is SciTE, which isn't even a real editor, just a demo of text edit control).


  • ♿ (Parody)

    @JBert said:

    Like highlighting all search matches?

    That's not really a fair description of what he was doing, which was customizing the way they're highlighted.

    @Gaska said:

    I'm 8 minutes in and except Star Wars, he's just presented the very basic functionality that every text editor since notepad.exe has out-of-the-box, sometimes even enabled by default.

    I'm not sure what the point of your straw man was, though. I guess you don't like vim (meh...not going to go back and look at what else you've said to confirm that)?


  • Grade A Premium Asshole

    @Nprz said:

    It is great if they can afford the extra license cost (I hear it isn't cheap).

    Huh? There is a hardware cost, but Dell and HP don't have any software costs associated with the OOBM systems.


  • Grade A Premium Asshole

    @JBert said:

    And no, I don't think he's using Powerpoint for his presentation.

    Kill it with fire.


  • Banned

    @boomzilla said:

    I'm not sure what the point of your straw man was, though.

    What strawman? The comment is valid for the entire video up to 26 minute except when he talks about dictionaries (though personally, I prefer MS Word for non-code writing).

    @boomzilla said:

    I guess you don't like vim

    I don't. Neither I like Netbeans that has all that stuff out of the box plus much more, nor Qt which has most of it + vim emulator mode + is much faster, nor any software at all (except maybe few PSX games - but only because bugs are funny in games rather than annoying).


  • ♿ (Parody)

    @Gaska said:

    What strawman? The comment is valid for the entire video

    We already discussed how you were wrong. Anyways, he said up front he was going to tell you what he was doing with vim these days.



  • This is more like it, from the horse's mouse:

    https://www.youtube.com/watch?v=eX9m3g5J-XA


  • Banned

    @boomzilla said:

    We already discussed how you were wrong.

    Way to avoid explaining yourself.

    @boomzilla said:

    Anyways, he said up front he was going to tell you what he was doing with vim these days.

    If someone took it literally, then the conclusion would be "vim isn't useful for anything but writing vim plugins and Spanish swears". Which, given it lacks the basic "advanced usability features" out of the box, seems pretty close to reality.



  • @Gaska said:

    Netbeans

    EEEK!
    NetBeans is beyond yucky.


  • Banned

    But at least it half-decently deals with C++ code completion in a project where include directories are pretty random. And has "go to definition of the constructor used right here" option that's missing in both QtCreator and MSVC (without plugins).



  • So today I've learned that you should learn Vim because Linux machines are buggy pieces of shit that fall over all the fucking time, and using Vim you might be able to maybe save it quicker than reinstalling the server.

    Next time someone tells me Linux is reliable for servers, I'm sending them to this thread, where even the biggest Linux fans are talking about how often they (the servers) (maybe also the Linux fans) shit themselves.



  • Maybe they just don't know that a reboot (or two (or three (or four))) would fix it and instead take the hard way!



  • I'm around 15 minutes in, so take it for what's it worth...

    ...but this video is the stupidest fucking thing I've seen in a long time. This guy has all these tips and tricks to support his crazy obscure just-woke-up-from-the-80ies collect-pee-in-glass-bottles style of coding. And there are people carefully taking notes, looking to buy into his insanity.

    "...I use this glaring purple color to highlight the magical 80th column, just in case my code ever needs to be compiled on an 8-bit computer in a museum. If only there was some way to draw a vertical line in between the columns of text..."

    "...since I naturally turn off all syntax highlighting, here are tips on how to turn it back on for very specific cases. Also, while I hate highlighted code (yuck!), it's crucial to highlight all tabs and spaces, to keep my OCD at bay..."

    "...I sometimes lose track of all the terminals with vim sessions I keep open, so here's my obscure trick on how to handle duplicate sessions..."

    I mean, there's some merit to learning vim so you can do a quick edit through SSH, but this is just madness. GET A FUCKING GRAPHICAL EDITOR, GRANDPA! That's what that fancy desktop environment is there for, for fucks sake.


  • Banned

    It's not that. It's "even though this situation will never ever happen, it's still handy to know how to use it". Kinda like hunting with spears.



  • @cartman82 said:

    his crazy obscure just-woke-up-from-the-80ies collect-pee-in-glass-bottles style of coding

    Would +1 again!



  • @Gaska said:

    It's not that. It's "even though this situation will never ever happen, it's still handy to know how to use it". Kinda like hunting with spears.

    I'm more likely to need to spear an elk than I am to need to use some obscure bullshit text editor to get a Windows server running again.



  • @cartman82 said:

    This guy has all these tips and tricks to support his crazy obscure just-woke-up-from-the-80ies collect-pee-in-glass-bottles style of coding.

    That's every Linux developer.

    https://twitter.com/ShitDevuanSays


  • Banned

    @cartman82 said:

    there's some merit to learning vim so you can do a quick edit through SSH

    If you can SSH, you can also SSHFS.

    @blakeyrat said:

    I'm more likely to need to spear an elk than I am to need to use some obscure bullshit text editor to get a Windows server running again.

    Both are less likely than dying tomorrow from ass cancer, so who cares?



  • what in the world is notepad.exe
    Does it create sticky notes?


  • ♿ (Parody)

    @cartman82 said:

    "...I use this glaring purple color to highlight the magical 80th column, just in case my code ever needs to be compiled on an 8-bit computer in a museum. If only there was some way to draw a vertical line in between the columns of text..."

    WTF are you talking about? Look, I've never considered vim worth my time to learn, and I didn't watch the entire video, but you weren't paying attention. Shit, this is like explaining why Jon Stewart jokes are dumber than they are funny.

    He said he didn't like the line and wanted something less distracting. I get that. I always turn off those stupid lines.

    @blakeyrat said:

    So today I've learned

    ...and we learned, once again, that your shoulder aliens are a vital source of education for you.

    @blakeyrat said:

    Next time someone tells me Linux is reliable for servers, I'm sending them to this thread, where even the biggest Linux fans are talking about how often they (the servers) (maybe also the Linux fans) shit themselves.

    This is funny to me, but only because it reminds me of a classic iowahawk tweet:



  • @aliceif said:

    what in the world is notepad.exeDoes it create sticky notes?

    What the fuck are you talking about, and why is it a reply to my post?



  • @blakeyrat said:

    obscure

    @blakeyrat said:

    bullshit

    @blakeyrat said:

    text editor



  • @Polygeekery said:

    Huh? There is a hardware cost, but Dell and HP don't have any software costs associated with the OOBM systems.

    I was going be what I read 9 years back when I got the machine.
    http://www8.hp.com/us/en/products/servers/ilo/licenses.html#!&pd1=1
    Also seems to suggest there is a license cost to go with the hardware. Software without a license usually doesn't mean much.



  • Ok.

    What the fuck are you talking about, and why is it a reply to my post?

    Look, if you're just spouting words with no kind of logical pattern to them, please warn me straight-off so I don't waste time and neurons trying to connect the words to some sort of intellectual point.


  • FoxDev

    I dunno, @aliceif's comment seems to be a concise and accurate description of the general opinion of ViM by the non ViM crowd (i happen to think they are wrong, and that the ViM lovers are going rather too far, but that's beside the point)

    LOL- NOPE!

    i grabbed the wrong end of the stick on this one. See below.



  • @aliceif said:

    what in the world is notepad.exe

    @Gaska said:

    ass cancer



  • @accalia, you understood it even less than @blakeyrat did.

    I meant that vi isn't exactly obscure for people who resurrect linux servers - both professionally and as a hobby.
    In other words, the "obscure" part isn't valid.

    And I consider vi too weird to be useful and notepad.exe too feature-starved to be useful.
    So both are bullshit text editors.

    The sticky note thing was a joke intended to make fun of the "obscure" part that blakey said.



  • @Gaska said:

    If you can SSH, you can also SSHFS.

    Once you're already SSH-d in, it's easier to just deal with nano than messing with that crap.

    @boomzilla said:

    He said he didn't like the line and wanted something less distracting. I get that. I always turn off those stupid lines.

    The point is, the only way to highlight that line in a text-only editor is this stupid full-character coloring. You can't have a subtle dotted line or a little icon or something. And if you don't want a line, you have to hack around in a poorly documented DSL, so you can get an annoying purple character instead.

    That's choosing a slightly less smelly shit, instead of choosing a real editor, which is what you should do in the first place.


  • FoxDev

    @aliceif said:

    I meant that vi isn't exactly obscure for people who resurrect linux servers - both professionally and as a hobby.

    hmm.... so you fall on the other side of the ViM continuum than i thought you did.

    whoops. my bad.

    :embarassed:



  • When you have to remote access to a server via a slow-as-molasses remote desktop and have no priv for transferring files out... which is what we have... knowing even a little vi makes you a freakin' magician... 🌇

    Nobody else here can even :wq


    Filed under: I not from Belgium, I just work there.


  • Banned

    @ijij said:

    Nobody else here can even :wq

    I learned about this command just yesterday. I always used :x.



  • @aliceif said:

    @accalia, you understood it even less than @blakeyrat did.

    Wow it's almost as if you should USE WORDS TO COMMUNICATE MEANING!

    @aliceif said:

    The sticky note thing was a joke intended to make fun of the "obscure" part that blakey said.

    What was the joke? "Vim isn't obscure because Notepad.exe exists! HAHAHA GUYS SO FUNNYZ!"



  • Jokes are much like frogs, in that if you cut them into bits to examine how they work, it tends to kill them in the process...



  • Yeah well that one was Dead On Arrival so no big risk here.



  • That's a valid complaint.


  • FoxDev

    @ijij said:

    Nobody else here can even :wq

    fun fact, when i switch from linux to windows for about an hour whatever i type gets littered with the occasional ESC:wRETURN sequence.


  • Discourse touched me in a no-no place

    @accalia said:

    fun fact, when i switch from linux to windows for about an hour whatever i type gets littered with the occasional <kbd>ESC</kbd><kbd>:</kbd><kbd>w</kbd><kbd>RETURN</kbd> sequence.

    I tend to use ZZ to save and quit when I'm using vi (and yes, vim is definitely newfangled.)


Log in to reply