emacs

3 years ago by danhab99 to c/programmer_humor

darcy 46 points 3 years ago

sigma vim user

path: 0 4271660, hotness: undefined, score: 46, children: 10
mutter9355 13 points 3 years ago

Omega neovim user

path: 0 4271660 4286437, hotness: undefined, score: 13, children: 9
darcy 10 points 3 years ago

gigachad ed user

path: 0 4271660 4286437 4289875, hotness: undefined, score: 10, children: 6
Chunk 17 points 3 years ago

Ed is king. Every single time I have to work on a severely resource constrained system I always use Ed.

That's literally never happened to me but that won't stop me from saying it.

path: 0 4271660 4286437 4289875 4291288, hotness: undefined, score: 17, children: 4
mutter9355 6 points 3 years ago

I mean, I don't know how severly resource constrained a system has to be to not even be able to run vi.

path: 0 4271660 4286437 4289875 4291288 4334582, hotness: undefined, score: 6, children: 3
amycatgirl 9 points 3 years ago

enlightened echo user

path: 0 4271660 4286437 4289875 4312481, hotness: undefined, score: 9, children: 0
Chunk 4 points 3 years ago

Except I'm too dumb to use even the neovim plugin manager let alone configure the thing. I have to copy existing configs like a noob :(

path: 0 4271660 4286437 4291198, hotness: undefined, score: 4, children: 1
mutter9355 3 points 3 years ago

Isn't copying from others how everyone does (neo)vim? Besides, I'm even "worse" and just use lazyvim.

path: 0 4271660 4286437 4291198 4334199, hotness: undefined, score: 3, children: 0
MsPenguinette 45 points 3 years ago

My serial killer trait is that I use vi instead of vim cause I'm too lazy to type the extra character. Tho if for some reason, vi tab completed to vim, I'd probably use vim

path: 0 4266247, hotness: undefined, score: 45, children: 33
donnachaidh 68 points 3 years ago

alias v=vim. There, just saved you two keystrokes.

path: 0 4266247 4267183, hotness: undefined, score: 68, children: 6
MsPenguinette 17 points 3 years ago

{vi} = 2 {vim} = 3 {v=vim} = 5

I'd need to run vi at least 5 times to have a net gain in saving keystrokes. I'm typically in effemerial systems created by the users of our env, so rarely am I going to gain those strokes back

But also, why am I trying to apply logic to this? I'll often cat a file before editing it. This shit is just illogical idiosyncrasies I've picked up over the years. I'm probably creating posthoc justifications for insane things I do cause it's hard to override muscle memory

path: 0 4266247 4267183 4281729, hotness: undefined, score: 17, children: 5
emptiestplace 8 points 3 years ago

effemerial is new to me

path: 0 4266247 4267183 4281729 4283175, hotness: undefined, score: 8, children: 4
MsPenguinette 2 points 3 years ago

Here's a link I found that might be good if you are interested in more:

https://cloudnativenow.com/...

https://guymorton.medium.com/...

There are different levels of effemeriality. The simplest example I use daily would be an autoscaling group in AWS. Especially if you use Spot Instances to save money, thi gs may scale in and out whenever.

So if a development team creates a new autoscaling group and I need to get into an instance to test something, unless I add stuff to their IaC, I'm stuck with their configuration. I need to assume that every time I ssh into one of those instances, it's a brand new instance. But it'd be a big challenge for me to go to their repo and make a PR to alias a command whenever an instance in that resource is created

Stuff can be even more temporary if it's something like an ECS task which creates a container with a read only filesystem only when a task is needed to be done. But I don't want to get too deep in the weeds (or deeper than I already have)

terraform workspace will at least stick around for a while so you might be in and out of the same system multiple times.

path: 0 4266247 4267183 4281729 4283175 4290904, hotness: undefined, score: 2, children: 3
Spider89 17 points 3 years ago

I use nano.

Nano >> vi/vim, emacs

path: 0 4266247 4266707, hotness: undefined, score: 17, children: 10
mosiacmango 12 points 3 years ago

4 letters < 2 letters.

vi forever.

path: 0 4266247 4266707 4266729, hotness: undefined, score: 12, children: 8
Spider89 4 points 3 years ago

Simplicity > Complexity

path: 0 4266247 4266707 4266729 4266859, hotness: undefined, score: 4, children: 7
Prunebutt 14 points 3 years ago

Not if you need any work done.

path: 0 4266247 4266707 4266729 4266859 4267207, hotness: undefined, score: 14, children: 5
BeigeAgenda 0 points 3 years ago

Nano is the best when you just need an editor, you can as well use an IDE instead of vi(m) or Emacs.

path: 0 4266247 4266707 4266729 4266859 4269998, hotness: undefined, score: 0, children: 0
brodoshmodo 8 points 3 years ago

Ok but why use nano when micro literally exists

path: 0 4266247 4266707 4274313, hotness: undefined, score: 8, children: 0
LinuxSBC 15 points 3 years ago

Alias?

path: 0 4266247 4266341, hotness: undefined, score: 15, children: 2
ekky43 18 points 3 years ago

Aliases are just bloat! You can do just fine without them. Heck, why not remove the ASCII conversion and read everything in hex or binary?

It's all about SPEED and efficiency here!

path: 0 4266247 4266341 4267632, hotness: undefined, score: 18, children: 0
MsPenguinette 2 points 3 years ago

I'm in DevOps so I'm in a lot of effemerial systems so in practice, I will run into systems where profile hasn't been set up. Tho I do like the idea of making sure all systems properly have that aliased cause it'd be serial killer vibes to spend hours of time to make sure that I can save a keystroke.

Tho it'd never make it through PR. Also, wild require explaining to my coworkers that I do this

path: 0 4266247 4266341 4281349, hotness: undefined, score: 2, children: 0
expr 11 points 3 years ago

Most all distros alias vi to vim already, so it makes no difference.

path: 0 4266247 4277014, hotness: undefined, score: 11, children: 2
Chunk 8 points 3 years ago

You use vi because you are lazy.

I used vi because I am too stupid to close it.

We are not the same.

path: 0 4266247 4277014 4291376, hotness: undefined, score: 8, children: 0
MsPenguinette 1 point 3 years ago

I'll have to check tomarrow if RHEL and UBI do this.

Did some quick googling and looks like cent has that alias by default but doesn't do it when root. Which would explain why I do get inconsistent results with vi. I never thought about it in detail besides just knowing that there are some visual changes. Thanks for the info, I'll be noticing this now that I know!

path: 0 4266247 4277014 4281451, hotness: undefined, score: 1, children: 0
netchami 4 points 3 years ago
path: 0 4266247 4269976, hotness: undefined, score: 4, children: 8
puppy 1 point 3 years ago

You are missing out! I used to only use vim to edit config files. So I knew my way around (albeit, slowly). I installed the IdeaVim plugin a week ago and learned some new key bindings I wasn't using. A week in I'm almost faster than before! And it's only going to get better after I've acquired muscle memory (I'm nearly there.) and move on to complex key bindings/sequences. Then it will probably be as if the cursor is directly connected to my mind. I'm hopeful because I've seen a mentor of mine do it.

path: 0 4266247 4269976 4410318, hotness: undefined, score: 1, children: 6
FiskFisk33 1 point 3 years ago
path: 0 4266247 4269976 4410318 4782242, hotness: undefined, score: 1, children: 0
netchami 0 points 3 years ago
path: 0 4266247 4269976 4410318 4411842, hotness: undefined, score: 0, children: 4
puppy 2 points 3 years ago

I don't think you understood what I said. I started using vim key bindings ALSO in my IDE and my speed improved because of it. I didn't ask you to stop using vi. I merely suggested that you used MORE of it. If your Emacs setup already use vim keybindings that's exactly what I'm doing too.

path: 0 4266247 4269976 4410318 4411842 4412050, hotness: undefined, score: 2, children: 3
MsPenguinette 1 point 3 years ago

I do most of my programming in vscode but when I need a cli editor, I use vi

path: 0 4266247 4269976 4281377, hotness: undefined, score: 1, children: 0
TheSlad 35 points 3 years ago

Meanwhile webstorm/intelliJ users:

signature look of superiority

empty wallet

path: 0 4277185, hotness: undefined, score: 35, children: 2
seth 3 points 3 years ago
path: 0 4277185 4278436, hotness: undefined, score: 3, children: 0
jelloeater85 2 points 3 years ago path: 0 4277185 4354186, hotness: undefined, score: 2, children: 0
cyborganism 23 points 3 years ago

Emacs sucks. Vim is so much better. And vscode is okay.

Go ahead. Down vote me. I don't care. This isn't Reddit lol.

path: 0 4268013, hotness: undefined, score: 23, children: 8
crandel 7 points 3 years ago

Vim sucks, Emacs is the best editor in the world

path: 0 4268013 4341733, hotness: undefined, score: 7, children: 1
cyborganism 1 point 3 years ago

Nuh uh!!!! Vim is better! So much better!!!! Emacs sucks balls!

path: 0 4268013 4341733 4352386, hotness: undefined, score: 1, children: 0
Vorticity 5 points 3 years ago

I use vscode with vim key bindings. It's amazing!

path: 0 4268013 4269773, hotness: undefined, score: 5, children: 0
curiousaur 2 points 3 years ago

You haven't switched to cursor yet?

path: 0 4268013 4384867, hotness: undefined, score: 2, children: 0
KSPAtlas 2 points 3 years ago

I use both emacs and vim, each have their own use cases

path: 0 4268013 4333467, hotness: undefined, score: 2, children: 0
AVincentInSpace 1 point 3 years ago

This isn't Reddit lol.

Genuinely curious what you think the difference is

path: 0 4268013 5278040, hotness: undefined, score: 1, children: 0
histic 1 point 3 years ago

stock emacs sucks, doom emacs ftw

path: 0 4268013 4363883, hotness: undefined, score: 1, children: 0
jack -1 points 3 years ago

Vim is a pain to configure

path: 0 4268013 4780204, hotness: undefined, score: -1, children: 0
TheSecurityNinja 21 points 3 years ago

VS code is pretty amazing though

path: 0 4266386, hotness: undefined, score: 21, children: 0
narc0tic_bird 16 points 3 years ago

You guys recommend VSCodium over VSCode. Is there a working sync solution similar to the one built into VSCode where you can sync all settings and extensions between machines?

path: 0 4271056, hotness: undefined, score: 16, children: 1
QuazarOmega 17 points 3 years ago

Yes! It's this one https://open-vsx.org/... I really like it for using a normal repository over a "gist" and so you can also use any git server provider, I think the developer is also a contributor of VSCodium itself

path: 0 4271056 4272388, hotness: undefined, score: 17, children: 0
bloopernova 15 points 3 years ago

I generally code in VSCode, and manage org-roam notes and information in Emacs. Works well enough for me.

path: 0 4269311, hotness: undefined, score: 15, children: 2
netchami 7 points 3 years ago
path: 0 4269311 4270056, hotness: undefined, score: 7, children: 1
bloopernova 2 points 3 years ago

I guess I just preferred VSCode for coding? Every time I've tried to use Emacs for my coding workflows I've given up, I think I'm just used to VSCode in that respect. It is weird, I know.

path: 0 4269311 4270056 4303577, hotness: undefined, score: 2, children: 0
mykneedoesnthurt 5 points 3 years ago

What's a plugin? What's VSCode?

DBase IV does not need any of this.

path: 0 4270805, hotness: undefined, score: 5, children: 0
Zuberi 1 point 3 years ago
path: 0 5278026, hotness: undefined, score: 1, children: 0
programmer_humor
programmer_humor

@programming.dev

login for more options
32882
2488
7694

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics

go to feed...