There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

ReCursing ,

Ugh, I swear vi and it’s derivatives are the absolute worse text editors going. There may have been reasons thirty or forty years ago, but now it’s just complexity and a weird ui for the sake of it

matthewmercury ,

I use VS Code on the desktop nowadays, but vi will always be my editor of choice in a terminal. Many of the reasons it was powerful and ubiquitous 30 years ago are still valid, so it’s still powerful and ubiquitous. And I’ve been using it for thirty years, so why would I switch to a training-wheels editor?

ReCursing ,

Because you want to get out of your Stockholm syndrome?

matthewmercury ,

Stockholm Syndrome was never real, it was made up to explain a situation where hostages recognized an injustice and refused to perpetuate it, so cops called them crazy. So sure, if you call me crazy for my affection for a tool that has served me well for decades, I’ll consider you a cop.

ReCursing ,

Okay… because you refuse to actually look at whether there are better options than the absolute trash you are using because you are used to it

BaroqueInMind ,

I’ve used other options and carefully elaborated them all, vim remained a superior tool.

MonkderVierte ,

There’s always ed for masochists.

imouto ,

Ed, man! !man ed

AnUnusualRelic ,
@AnUnusualRelic@lemmy.world avatar

The first time I found myself in nano was when testing a distro fifteenor twenty years ago. I had to edit some files and it was the only available editor. The damn thing was a horror to use. I still have no idea who it caters to. I haven’t had to use it since though.

Jean_le_Flambeur ,

Dunno what you used, but nano is literally a text editor that may be simple simple but it just works. Shortcuts are shown to the user, buttons work like you expect them to (arrow keys, ESC, shift, etc)

With vim you open it and if you haven’t read 5pages of doc you won’t even be able to close it again. I see that its useful for power users, but for casuals who just want to edit a config once in a while nano is absolutely the way to go imho

Fizz ,
@Fizz@lemmy.nz avatar

I started on Emacs and then didn’t use it for a few years and forgot everything so now I’m stuck on Nano. But that’s fine because nano does everything I want it to do.

unknowing8343 ,

In every post of this kind I am amazed at so many people using nano instead of micro which is SO MUCH BETTER while being the same thing at the same time.

ObsidianZed ,

When you help manage thousands of servers with vim and nano already installed, it’s just faster to use one of those than installing something else nearly ever single time.

I prefer nano for quick edits of small files, but vim for hunting down things in larger files.

unknowing8343 ,

Or you can preinstall micro like you preinstall everything else 😅

RandomlyRight ,

I’ve discovered it just a few days ago and now use it on all my machines

NOOBMASTER ,

isn’t there a separate instance for memes?

MouseKeyboard ,

gedit supremacy

m4m4m4m4 ,

The problem I had with nano is that, for the time being, it was supposed to be easy to use. With that in account I always get lost when saving a file and closing the thing because one’s used to doing something else with Ctrl+O and Ctrl+X.

Whereas with Vim (and Neovim for a little while, and now with Vis) I knew it had a steep learning curve from the start so I always had it in mind. And all the funny stories about quitting vim.

tetris11 , (edited )
@tetris11@lemmy.ml avatar

they’ve changed those bindings now, Ctrl+S, Ctrl+X, Ctrl+V, and Ctrl+C all do what you think they do

m4m4m4m4 ,

Great, now the next time I’ll use nano I surely will forget about this and get frustrated when trying to save a file with Ctrl+O

tetris11 ,
@tetris11@lemmy.ml avatar

you still can, but I think Ubuntu and other prepacked distros will switch soon to the better bindings

socsa ,

Great so now I will mangle all my merge commits depending on which version the host is using.

lemmyvore ,

I’m thinking Ctrl+C quits and Ctrl+S is scroll lock is that correct?

tetris11 ,
@tetris11@lemmy.ml avatar
  • nano

    • Ctrl-Q search backwards
    • Ctrl-S and Ctrl-X is save file
    • Ctrl-V is scroll down
    • Ctrl-C is cancel or info
  • nano --modernbindings

    • Ctrl-Q quits
    • Ctrl-S is save file
    • Ctrl-X is cut
    • Ctrl-C is copy
    • Ctrl-V is paste
bizdelnick ,

Vim (or emacs, or any other advanced text editor) is much easier to use than nano when you need to do something more complex than type couple of lines.

tetris11 ,
@tetris11@lemmy.ml avatar

(…once you learn the bindings)

Jean_le_Flambeur ,

Better? Maybe!

More efficient? Surley!

But easier?! Hell no! Easy means you can use it without a lot of training or studying. It is self explanatory. And there is no way on earth that vim is easier than nano. I don’t need to know anything to use nano I need to check docs for hours before I can even start using vim

bizdelnick ,

It is easier after you learn basics. Learning is not easy, but usage is.

Jean_le_Flambeur ,

Well okay by that logic playing Beethoven in piano is super easy

socsa ,

This makes it seem like jerking off to MILF porn is hard because there is a learning curve

leisesprecher ,

And how often does that happen in the real world?

VIM may have been a very useful tool 20 or 30 years ago, but today it’s nothing else but a tool for one’s sense of superiority. It’s the vinyl of editors.

If you have to type that much code in a terminal, your infrastructure is outdated. Simple as that.

bizdelnick ,

Every day in my case, except holidays.

leisesprecher ,

…so your infrastructure is outdated.

timbuck2themoon ,

Yes it’s so outdated that mostly every IDE offers usage with its keybindings.

Chewt ,

You seem to believe that people only use the terminal if they HAVE to. I doubt anybody these days HAS to type any amount of code in the terminal, but choose to anyway. Like probably anyone else I have access to modern tools and infrastructure, but I choose to do work in the terminal because I’m more productive there. I use (neo)vim because I like it more than any other text editor I’ve used, and have no problem writing code and debugging in the terminal.

brokenlcd ,

Ed users entered the chat

Dasnap ,
@Dasnap@lemmy.world avatar

I started on Unix systems using Vim, so I find Nano to be the confusing editor. A Vim install is one of the first things I do on a new server.

jmcs ,

Easy is relative. What are you trying to do? Replace a value in an yaml file? Then nano is easier. Trying to refactor a business critical perl/brainfuck polyglot script in production? Then you probably want to use vim (or emacs if you are one of those people)

FMT99 ,
mariusafa ,

Vscode is malware

sunbunman ,

VScodium is FOSS though

fluxion ,

IME?

gigachad ,

Integrated Mevelopment Environment. You should have known this

jaybone ,

I’m a meveloper

gigachad ,

MevOps Engineer

jaybone ,

My mate mevops

ObsidianZed ,

tips fedora M’eveloper

socsa ,

The M stands for beefcake

737 ,

stop using vim, if you want a non modal editor use vim -y

rhys ,

Uh, just trying non-modal vim for the first time and… how do I quit it? I can’t :q.

Boxscape ,
@Boxscape@lemmy.sdf.org avatar

Uh, just trying non-modal vim for the first time and… how do I quit it? I can’t :q.

https://media1.tenor.com/m/X2w2_BDKEJIAAAAC/drink-spray.gif

MyNameIsRichard ,
@MyNameIsRichard@lemmy.ml avatar

I’ve never tried modal vim because I’ve only just heard about it. The next thing I’d try is restarting the computer. Or Ctrl + Q whichever’s easier.

tetris11 ,
@tetris11@lemmy.ml avatar

Ctrl-q and then if it asks to save, type “no, fuck you”

dysprosium ,

For vim I had to config or install something just to be able to COPY something to use outside vim, how backwards is that? Isn’t this the most standard feature one can expect to work as default?

thingsiplay , (edited )

deleted_by_author

  • Loading...
  • gnutrino ,

    Once again proving that the easiest way to work out how to do something in vim is to post something along the lines of “vim sucks because it can’t do x” online :)

    flying_gel ,

    You mean you couldn’t copy some text from vim and paste it into another application? if yes, what did you have to install/configure for that? I’ve never had any issues copy paste from/to vim, console/GUI windows/Unix.

    Chewt ,

    it actually does work by default, you just probably missed how to do it in the help pages in vim. For those curious, the system clipboard is its own named register in vim (:help registers to learn more) and can be accessed with either “* or “+ depending on your how your system is configured.

    To copy a line: ”*yy or ”+yy

    To paste a line: ”*p or ”+p

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines