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.

swab148 , in Songs about Vim
@swab148@startrek.website avatar

Just because this is a vim meme, does anyone know how to copy text from one instance of vim to the other?

Traister101 ,

Instance of Vim? Swap buffers fool

swab148 ,
@swab148@startrek.website avatar

Would this work if one of those instances was in a VM?

embed_me , (edited )
@embed_me@programming.dev avatar

You can yank text to system clipboard buffer ie +. Then paste (put) from the clipboard to any other vim process.

Keep in mind you should have clipboard support in your vim. If you’re on ubuntu, install vim-gtk and you should be good

swab148 ,
@swab148@startrek.website avatar

I’m on Debian, but my VM is an Ubuntu server, so that should work!

Semi_Hemi_Demigod ,
@Semi_Hemi_Demigod@lemmy.world avatar

Copy the text to a local clipboard, then paste it into your terminal in the other instance

IDK I only use vim over ssh

Mohaim ,

Install xclip then press "+y (double-quote plus-sign y) to yank to system clipboard then "+p to put from sys clipboard

docAvid ,

Just use a single instance of Emacs to edit everything everywhere all at once. You can even use vim keybindings if you have no taste.

swab148 ,
@swab148@startrek.website avatar

Emacs is more for devs though, yeah? I’m just a lowly sysadmin in training.

docAvid ,

I think Vim is more popular with sysadmins because, historically, you could count on Vi or Vim being available on just about any server you had to do some work on, while Emacs might not be. That’s still probably somewhat true, although in the world of clouds, containers, and source-controlled, reproducible configuration, it’s probably less common to edit files in place on a server.

However, with Emacs tramp, you can edit files just about anywhere you can access, by any means, even if there is no editor installed there at all, using your local Emacs, with all your accustomed configuration. Like popping open a file inside a container running on a remote server by ssh, something I’ve done a lot of lately, debugging services running on AWS ECS.

theFibonacciEffect ,

I think you can just use y and p

MashedTech ,

Fuck it, use neovim and copy to the system clipboard.

Kerb , in Songs about Vim
@Kerb@discuss.tchncs.de avatar

:killall -9 vim

LinearArray , in Songs about Vim
@LinearArray@programming.dev avatar

Someone finally exited vim

Rai , in After all, Why shouldn't i use Excel as my database?

That is super funny!

I checked on Apple Music and it’s showing normal titles as well.

Dehydrated , in Songs about Vim

I have a few more suggestions:

  • JACKBOYS - WHAT TO DO?
  • Travis Scott - LOST FOREVER
  • Travis Scott - Impossible
hellfire103 , in After all, Why shouldn't i use Excel as my database?

That’s hilarious XD

MonsiuerPatEBrown , in Songs about Vim

The Bad Religion album No Control is entirely about their hate of emacs

Linkerbaan , in Songs about Vim
@Linkerbaan@lemmy.world avatar

Pull the plug - Death

Simon , (edited ) in Songs about Vim

Funny story. After you start you can’t go back. What is a nano?

Edit: If ctrl-z doesn’t get you out of vim you need to install another terminal or more likely just ditch your distro altogether.

autokludge , in Songs about Vim
@autokludge@programming.dev avatar

Why do you want to exit? Just :terminal

chraebsli OP ,
@chraebsli@programming.dev avatar

RIP to people who never shutdown or restart their PCs

RiikkaTheIcePrincess , in Songs about Vim
@RiikkaTheIcePrincess@pawb.social avatar

It’s really not that hard v.v Caring to learn all’ the shenans, that’s the hard part. Same goes for Emacs. Archaic interfaces for the sake of archaism or “cool cred,” I say 🤷

Edit: Also haha the joke is funny :P

xigoi , in Songs about Vim
@xigoi@lemmy.sdf.org avatar

Is there any playlist that wouldn’t be improved by adding Cat by C418 at the end?

chraebsli OP ,
@chraebsli@programming.dev avatar

there aren’t.

& most people don’t even know what/ who C418 is…

stebo02 ,
@stebo02@lemmy.dbzer0.com avatar

most people don’t even know what/ who C418 is…

most people would recognise his songs though…

Gobbel2000 ,
@Gobbel2000@feddit.de avatar

Cat by C418 is literally the only piece in the list I recognize.

Cethin ,

He was that guy working on the music for that 0x10c game, right?

quylaa ,

Pour one out for 0x10c

kogasa ,
@kogasa@programming.dev avatar

Haven’t heard of 0x10c since 2012. Shame it was canceled, I love Elite and would love more games in its niche

Cethin ,

I’ve found Ostranauts recently, and it’s really fun and I feel has some of the same vibes. Not even close to the same though, being able to program your own systems that you put together. I still sometimes think about what 0x10c could have been. I’ve considered doing something similar myself, but I haven’t gotten around to it. Maybe someday something similar will exist.

Cwilliams ,

MINECRAFT!!!

vlad76 , in Songs about Vim
@vlad76@lemmy.sdf.org avatar

Nano ftw

kautau ,

And micro for the future

Kusimulkku ,

I’m too used to nano, switching for micro for a while I was constantly using nano key combos and making a mess of things.

Stockholm syndrome from key combos lol

kautau ,

Makes sense, though you can rebind shortcuts in micro

github.com/zyedidia/micro/blob/…/keybindings.md

Kusimulkku ,

It would just be a bit funny since sensible keybindings was one of the reasons I originally switched. Turns out I had already used nano too long for me to actually want that feature hah.

kautau ,

Haha very true, if micro was the default, many people coming from common GUI apps would be like “okay, ctrl z to undo” and “ctrl s to save” “wow, it actually worked”

Kusimulkku ,

Absolutely. It would make sense as the default instead of nano (or vim of all things). Would help those who are just starting with Linux.

kautau ,

Def! I sort of wish the RFC committee would push standards for smart cross-platform shortcuts. Of course people with muscle memory in a different standard should be able to change for their usage, but even GUI apps like vscode, sublime text, IntelliJ, etc could benefit from standardization there

dan ,
@dan@upvote.au avatar

Nano has supported Ctrl+S to save for a while.

kautau ,

True, but one keyboard shortcut doesn’t make for an easy transition. Unless nano is has implemented or is planning on implementing on ctrl o,z,f,y,q etc

Zozano , in Touch a file in Linux
@Zozano@lemy.lol avatar

images-2

Same energy as Joan Cornella’s comics

Schorsch ,

'Murica!

dubyakay , in Touch a file in Linux

These are some weird looking dolph— oh

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