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.

programmer_humor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

hemmes , in Microsoft 365?
@hemmes@lemmy.world avatar

This is exactly how I feel browsing the admin portal market place for licenses

rhacer , in My wife was unimpressed by Vim

This relationship can be saved as long as the guy’s wife does not start expressing an interest in Emacs. That would, of course, put an end to the relationship, but if she’s one of those “Notepad is all I need” types, there is hope this can be worked through.

victorz ,

Maybe she already evolved past vim to kakoune. 😎

Jumuta ,

and evolved past kakoune to helix

victorz ,

I actually went, emacs -> vim -> helix -> kakoune.

Hexarei ,
@Hexarei@programming.dev avatar

I went helix -> vim -> emacs -> kakoune -> neovim, super interesting to see how people’s experiences differ

victorz ,

You made me look up helix again after a few years and it’s gotten pretty sick actually. I might main it for a while to see how it fairs. It’s fairly similar to kakoune of course, but it’ll take a while to get all the modes into my muscle memory. The similar actions are in different modes and there are many more modes in helix as far as I can tell. But it’s cool, looking forward to experimenting.

0x01 , in My wife was unimpressed by Vim

Guy shoulda tried emacs instead, wife is probably an elitist

tiredofsametab , in My wife was unimpressed by Vim

As someone who's been a software developer for over a decade and in IT even longer, I still don't use vi/vim for anything other than when crontabs have it set as the editor.

SpaceNoodle ,

alias vi=nano

tiredofsametab ,

You can set your default editor (maybe in .bashrc or .bash_profile? I forget), but I'm far too lazy.

PureTryOut ,
@PureTryOut@lemmy.kde.social avatar

export EDITOR=nano.

But (neo)vim is amazing so there is no need to do that.

SpaceNoodle ,

I transfer all my files over to a Windows machine and edit them in Notepad

ryannathans ,

Based nano user

From my .zshrc (typing this on mobile so cope if it’s wrong)


<span style="color:#323232;">case "$OSTYPE" in
</span><span style="color:#323232;">  linux*)
</span><span style="color:#323232;">    export EDITOR=nano
</span><span style="color:#323232;">  ;;
</span><span style="color:#323232;">  freebsd*)
</span><span style="color:#323232;">    export EDITOR=ee
</span><span style="color:#323232;">  ;;
</span>
lil ,
@lil@lemy.lol avatar

I guess shell languages can’t do this:


<span style="color:#323232;">export EDITOR=case "$OSTYPE" in
</span><span style="color:#323232;">  linux*)
</span><span style="color:#323232;">    nano
</span><span style="color:#323232;">  ;;
</span><span style="color:#323232;">  freebsd*)
</span><span style="color:#323232;">    ee
</span><span style="color:#323232;">  ;;
</span>
ryannathans ,

That would be too smart. Smells like kotlin’s when

SpaceNoodle ,

Put backticks around the entire case statement, and you can.

Hexarei ,
@Hexarei@programming.dev avatar

Honestly if you don’t use vim motions in your ide of choice, you’re missing out big time. Being able to do things like “Delete everything inside these parentheses”. di( or “wrap this line and the two lines below r in a pair of {}” ys2j{ , or “swap this parameter with the next one” cxia]a. with a single shortcut is game changing.

Even just being able to repeat an action a number of times is ridiculously useful. I use relative line numbers, so I can see how many lines away a target is and just go “I need to move down 17 lines” and hit 17j.

Absolutely insane how much quicker it is too do stuff with vim motions than ctrl-shift-arrows and the like

tiredofsametab ,

That's really neat, but I don't think I do that often enough to really make the performance hit of learning a whole new thing and memorizing keyboard shortcuts and commands worth it. I don't find myself refactoring code a ton, especially after moving to a more TDD-like model.

Hexarei ,
@Hexarei@programming.dev avatar

It’s less about refactoring and more about navigation of your code while editing. Ever wanted to delete a single word? daw deletes the word your cursor is currently in. How about "copy everything up to (but not including) the nearest “D” on the current line? yfD.

The whole point is that editing code in the middle of writing it, not just refactoring it, is immensely faster.

oce ,
@oce@jlai.lu avatar

Absolutely insane how much quicker it is too do stuff with vim motions than ctrl-shift-arrows and the like

Those tasks are a very small part of work time, so most people don’t feel the need to optimize it.

Hexarei ,
@Hexarei@programming.dev avatar

As a software dev, they’re significant parts of what I do

oce ,
@oce@jlai.lu avatar

Are you one of those rare developers who spend most of their day actually coding?

Hexarei ,
@Hexarei@programming.dev avatar

Yes, absolutely. And I refuse to let my day be anything else! :-)

trxxruraxvr ,

Only if you use a qwerty keyboard, otherwise it’s just annoying as shit

sik0fewl , in My wife was unimpressed by Vim

You might’ve moved around too quickly. Stick to motion in the home row to start - hjkl. There are several ways to enter insert mode but DO NOT attempt it before she’s familiar with the basic motions.

Anticorp , in Has this ever happened to you?

Is humor supposed to make you angry?

PainInTheAES , in My wife was unimpressed by Vim

Hey at least you showed her your vim and not your nano or micro

ebits21 , in My wife was unimpressed by Vim
@ebits21@lemmy.ca avatar

:q!

pivot_root , (edited )

ZZ

Edit: Has nobody actually tried doing this before downvoting? It saves and quits :/

SpaceNoodle , in My wife was unimpressed by Vim

Switch to emacs

victorz , in My wife was unimpressed by Vim

Would’ve loved to see which community they posted to. RelationshipAdvice?

Starkstruck , in My wife was unimpressed by Vim

immediate divorce /s

XTL , in My wife was unimpressed by Vim

Realising that your partner doesn’t care about you after 10+ years can indeed be hard.

ArmoredThirteen ,

Can confirm, am getting divorced after 12 years

Iapar ,

“Muuhuum, vim is wrecking havoc on relationships again!”

FiskFisk33 , in My wife was unimpressed by Vim

make several limes with the number 0
visual mode mark them and do g ctrl a

gets 'em every time!

RecluseRamble , in My wife was unimpressed by Vim

Maybe she just wasn’t impressed by your noob skills and is having doubts herself?

blindsight ,

My jaw literally dropped reading that.

I think it’s time to go outside.

PhlubbaDubba , in My wife was unimpressed by Vim

Show her you know how to exit vim and she’ll instantly be naked and on the bed

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