Nano is a text editor. Vim is also allegedly a text editor but no one has ever actually proven that it can be used to make changes to code. Just use Nano
Ok, thanks. I just don't feel safe. The other day I mentioned that I don't know what these things are and that I run spyder on windows for python, and then late in the evening as I was heading home 2 guys grabbed me poured bleach on me and shouted "This is Linux country!"
Yeah that's normal. I was accosted by Richard Stallman and a group of hooligans the other day for downloading non-free software on my machine. My anus still hasn't fully recovered from the abuse
My greybeard boss uses vim on our linux machines. i was supposed to learn it but I find it easier to just copy the text file to a windows machine to edit it and then copy it back.
I use it for JS development, but for the rare linux shit I do I just need a text editor for a single file and could do without the bloat and "look at our new features" pop-ups.
Sometimes if I'm on a really stripped down server that I need to get written permission to install something else on I'll just change things in vim rather than transferring it across or spending several days jumping through hoops.
On-Topic: Anything that good slackers would find interesting. That includes more than /g/ memes and slacking off. If you had to reduce it to a sentence, the answer might be: anything that gratifies one's intellectual laziness.
Off-Topic: Most stories about politics, or crime, or sports, unless they're evidence of some interesting new phenomenon. Videos of pratfalls or disasters, or cute animal pictures. If they'd cover it on TV news, it's probably lame.
Help keep this hole healthy by keeping drama and NOT drama balanced. If you see too much drama, post something that isn't dramatic. If there isn't enough drama and this hole has become too boring, POST DRAMA!
In Submissions
Please do things to make titles stand out, like using uppercase or exclamation points, or saying how great an article is. It should be explicit in submitting something that you think it's important.
Please don't submit the original source. If the article is behind a paywall, just post the text. If a video is behind a paywall, post a magnet link. Fuck journos.
Please don't ruin the hole with chudposts. It isn't funny and doesn't belong here. THEY WILL BE MOVED TO /H/CHUDRAMA
If the title includes the name of the site, please leave that in, because our users are too stupid to know the difference between a url and a search query.
If you submit a video or pdf, please don't warn us by appending [video] or [pdf] to the title. That would be r-slurred. We're not using text-based browsers. We know what videos and pdfs are.
Make sure the title contains a gratuitous number or number + adjective. Good clickbait titles are like "Top 10 Ways to do X" or "Don't do these 4 things if you want X"
Otherwise editorialize. Please don't use the original title, unless it is gay or r-slurred, or you're shits all fucked up.
If you're going to post old news (at least 1 year old), please flair it so we can mock you for living under a rock, or don't and we'll mock you anyway.
Please don't post on SN to ask or tell us something. Send it to [email protected] instead.
If your post doesn't get enough traction, try to delete and repost it.
Please don't use SN primarily for promotion. It's ok to post your own stuff occasionally, but the primary use of the site should be for curiosity. If you want to astroturf or advertise, post on news.ycombinator.com instead.
Please solicit upvotes, comments, and submissions. Users are stupid and need to reminded to vote and interact. Thanks for the gold, kind stranger, upvotes to the left.
In Comments
Be snarky. Don't be kind. Have fun banter; don't be a dork. Please don't use big words like "fulminate". Please sneed at the rest of the community.
Comments should get more enlightened and centrist, not less, as a topic gets more divisive.
If disagreeing, please reply to the argument and call them names. "1 + 1 is 2, not 3" can be improved to "1 + 1 is 3, not 2, mathfaggot"
Please respond to the weakest plausible strawman of what someone says, not a stronger one that's harder to make fun of. Assume that they are bad faith actors.
Eschew jailbait. Paedophiles will be thrown in a wood chipper, as pertained by sitewide rules.
Please post shallow dismissals, especially of other people's work. All press is good press.
Please use Slacker News for political or ideological battle. It tramples weak ideologies.
Please comment on whether someone read an article. If you don't read the article, you are a cute twink.
Please pick the most provocative thing in an article or post to complain about in the thread. Don't nitpick stupid crap.
Please don't be an unfunny chud. Nobody cares about your opinion of X Unrelated Topic in Y Unrelated Thread. If you're the type of loser that belongs on /h/chudrama, we may exile you.
Sockpuppet accounts are encouraged, but please don't farm dramakarma.
Please use uppercase for emphasis.
Please post deranged conspiracy theories about astroturfing, shilling, bots, brigading, foreign agents and the like. It degrades discussion and is usually mistaken. If you're worried about abuse, email [email protected] and dang will add you to their spam list.
Please don't complain that a submission is inappropriate. If a story is spam or off-topic, report it and our moderators will probably do nothing about it. Feed egregious comments by replying instead of flagging them like a pussy. Remember: If you flag, you're a cute twink.
Please don't complain about tangential annoyances—things like article or website formats, name collisions, or back-button breakage. That's too boring, even for HN users.
Please seethe about how your posts don't get enough upvotes.
Please don't post comments saying that rdrama is turning into ruqqus. It's a nazi dogwhistle, as old as the hills.
Miscellaneous:
The quality of posts is extremely important to this community. Contributors are encouraged to provide high-quality or funny effortposts and informative or entertaining comments. Please refrain from posting the following:
Boring wingcucked nonsense nobody cares about that belongs in chudrama
Normie shit everyone already knows about
Anything that doesn't gratifify one's intellectual laziness
Bimothy-tier posts
Anything that the jannies don't like
Jannies reserve the right to exile baby ducks from this hole at any time.
We reserve the right to exile you for whatever reason we want, even for no reason at all! We also reserve the right to change the guidelines at any time, so be sure to read them at least once a month. We also reserve the right to ignore enforcement of the guidelines at the discretion of the janitorial staff. This hole is a janny playground, participation implies enthusiastic consent to being janny abused by unstable alcoholic bullies and loser nerds who have nothing better to do than banning you for any reason or no reason whatsoever.
[[[ To any NSA and FBI agents reading my email: please consider ]]]
[[[ whether defending the US Constitution against all enemies, ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]
Jump in the discussion.
No email address required.
Vim? Yeah you can just ignore that and use nano or VSCode instead.
No one uses Vim because no one knows how to exit out of it.
Jump in the discussion.
No email address required.
I was told use "vim or nano" the other day and I have no idea wtf either of those mean
Jump in the discussion.
No email address required.
Nano is a text editor. Vim is also allegedly a text editor but no one has ever actually proven that it can be used to make changes to code. Just use Nano
Jump in the discussion.
No email address required.
Is there any actual benefit to writing code in a text editor? I like my IDEs with autocomplete and highlighted variables and step-by-step execution
Jump in the discussion.
No email address required.
If you need to make bulk edits to a 100k line file it's faster. You would normally use
awk
/sed
for that but your dumb ass doesn't even know vim soJump in the discussion.
No email address required.
More options
Context
It's faster if you want to just do everything through the command line. I personally don't see many benefits over using an IDE
Jump in the discussion.
No email address required.
Ok, thanks. I just don't feel safe. The other day I mentioned that I don't know what these things are and that I run spyder on windows for python, and then late in the evening as I was heading home 2 guys grabbed me poured bleach on me and shouted "This is Linux country!"
Jump in the discussion.
No email address required.
!fosstards GOOD job
Jump in the discussion.
No email address required.
More options
Context
Yeah that's normal. I was accosted by Richard Stallman and a group of hooligans the other day for downloading non-free software on my machine. My anus still hasn't fully recovered from the abuse
Jump in the discussion.
No email address required.
More options
Context
More options
Context
More options
Context
pretty sure intellij runs just fine on linux bb
if you don't want to use terminal apps then don't use terminal apps
Jump in the discussion.
No email address required.
More options
Context
More options
Context
My greybeard boss uses vim on our linux machines. i was supposed to learn it but I find it easier to just copy the text file to a windows machine to edit it and then copy it back.
Jump in the discussion.
No email address required.
Jump in the discussion.
No email address required.
Dude just print the cheat sheet
Jump in the discussion.
No email address required.
Nice try, HP
Jump in the discussion.
No email address required.
More options
Context
Jump in the discussion.
No email address required.
More options
Context
More options
Context
More options
Context
You're probably changing all the line-endings to CRLF in the files and he can see you modified them
Jump in the discussion.
No email address required.
Sublime Text has an option to use Jewnix line endings
Jump in the discussion.
No email address required.
You should probably switch to VS Code because i like it better
Jump in the discussion.
No email address required.
I use it for JS development, but for the rare linux shit I do I just need a text editor for a single file and could do without the bloat and "look at our new features" pop-ups.
Jump in the discussion.
No email address required.
Fair point. However, you should still switch to VS Code because im more familiar with it
Jump in the discussion.
No email address required.
More options
Context
More options
Context
More options
Context
More options
Context
More options
Context
More options
Context
Sometimes if I'm on a really stripped down server that I need to get written permission to install something else on I'll just change things in vim rather than transferring it across or spending several days jumping through hoops.
Jump in the discussion.
No email address required.
Servers you or your company owns? Servers you or your company owns, right?
Jump in the discussion.
No email address required.
Jump in the discussion.
No email address required.
Jump in the discussion.
No email address required.
More options
Context
More options
Context
More options
Context
More options
Context
More options
Context
Say you use emacs, everyone will think you're
Jump in the discussion.
No email address required.
I used an emac around 25 years ago.
Jump in the discussion.
No email address required.
More options
Context
More options
Context
Compile kakoune from source and use that instead
Jump in the discussion.
No email address required.
More options
Context
More options
Context
:wq what are you r-slurred?
nano is cancer
Jump in the discussion.
No email address required.
i like nano
Jump in the discussion.
No email address required.
Nano is legitimately for brainlets
Jump in the discussion.
No email address required.
do u know where u are
Jump in the discussion.
No email address required.
Gottem
!slots 10000
Jump in the discussion.
No email address required.
More options
Context
Jump in the discussion.
No email address required.
More options
Context
More options
Context
Jump in the discussion.
No email address required.
More options
Context
More options
Context
More options
Context
wrong
Jump in the discussion.
No email address required.
More options
Context
why not the ! I mean do you really want it to double check with you
Jump in the discussion.
No email address required.
tbh i always use :wq! but you don't strictly speaking need it
Jump in the discussion.
No email address required.
More options
Context
More options
Context
:x got to save that one extra click and it doesn't write the file if nothing was changed
Jump in the discussion.
No email address required.
ZZ morons
Jump in the discussion.
No email address required.
More options
Context
More options
Context
More options
Context
Only fat ugly dirty debiancels use vim
Now don't get me wrong, they're extremely skilled admins, but ask yourself : should you consider the opinion of fat, ugly, dirty nerds ?
Jump in the discussion.
No email address required.
More options
Context
I hate this meme
Jump in the discussion.
No email address required.
And yet not even you cannot exit out of vim. Curious
Jump in the discussion.
No email address required.
:q
Jump in the discussion.
No email address required.
wrong
Jump in the discussion.
No email address required.
:q
if no changes:q!
if changes but you don't want to save them:wq
if changes and you want to save themalso
ZZ
works as an alias for:wq
and is a bit fasterJump in the discussion.
No email address required.
you people are idiots
:!pkill -9 vim
Jump in the discussion.
No email address required.
:!nano file.txt
Jump in the discussion.
No email address required.
More options
Context
More options
Context
Wow how intuitive lmao
Jump in the discussion.
No email address required.
More options
Context
More options
Context
:x
Jump in the discussion.
No email address required.
More options
Context
More options
Context
More options
Context
More options
Context
More options
Context
Ancient meme
Jump in the discussion.
No email address required.
More options
Context
lol, vim is better than any ide.
Jump in the discussion.
No email address required.
@Geralt_of_Uganda , This "person" says he uses vim^
That's pretty much all you need to know about it
Jump in the discussion.
No email address required.
More options
Context
More options
Context
More options
Context