Nano ftw
52ReplyAnd micro for the future
13ReplyI'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
2Reply
Vim user here. The only way to exit vim is to pray to the Vim gods and sacrifice your first born, hoping that they'll cause a cosmic ray to hit the right spot in the memory to flip the right bit that causes it to exit. There are no alternatives.
42ReplyI usually just power-cycle the machine
22ReplyAre you guys serious? Command q. or x. or wq. or use a proper fucking terminal so you can ctrl -z and resume.
-16Reply
easy mnemonic to quit vim: imagine you're captain Picard in the middle of typing ":3" when Q shows up
31ReplyOr, hear me out, : because you're doing a command, and then q for quit. Probably make it wq too, to write and quit
24Replydid you know there is a vim tutor for learning how to vim?
12ReplyForgot
Escape first, because it wants to keep you inside the matrix and you need to tell it you are trying to escape
q!
Because you probably don’t want to save whatever you’ve accidentally done to that file trying to quit, and you have to add an exclamation point because unless you yell loudly at vim it won’t listen
8ReplyNo, that doesn't make any sense. We need something convoluted so that people don't remember it next time it's needed.
7ReplyThat's one too many letters. Need to use x for maximum efficiency gains.
2Reply
I have been a vim user for more than 20 years. I tried to quit for a couple of years, but now I have just accepted my faith.
20ReplyVim enthusiasts are just people with late stage Stockholm syndrome
12Reply
Just because this is a vim meme, does anyone know how to copy text from one instance of vim to the other?
20ReplyYou 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
12ReplyI'm on Debian, but my VM is an Ubuntu server, so that should work!
1Reply
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.
10ReplyEmacs is more for devs though, yeah? I'm just a lowly sysadmin in training.
1Reply
Install xclip then press "+y (double-quote plus-sign y) to yank to system clipboard then "+p to put from sys clipboard
8ReplyFuck it, use neovim and copy to the system clipboard.
7ReplyI think you can just use y and p
3ReplyCopy the text to a local clipboard, then paste it into your terminal in the other instance
IDK I only use vim over ssh
2ReplyInstance of Vim? Swap buffers fool
2ReplyWould this work if one of those instances was in a VM?
2Reply
Is there any playlist that wouldn’t be improved by adding Cat by C418 at the end?
16Replythere aren't.
& most people don't even know what/ who C418 is...
6ReplyHe was that guy working on the music for that 0x10c game, right?
7Replymost people don't even know what/ who C418 is...
most people would recognise his songs though...
6ReplyMINECRAFT!!!!
1ReplyCat by C418 is literally the only piece in the list I recognize.
1Reply
Why do you want to exit? Just
:terminal
14ReplyRIP to people who never shutdown or restart their PCs
5Reply
I have a few more suggestions:
- JACKBOYS - WHAT TO DO?
- Travis Scott - LOST FOREVER
- Travis Scott - Impossible
13ReplyLess is more, or rather, more is less
10Replyless really is more with more features. and more IS less with less features
11Reply
Someone finally exited vim
8ReplyIt'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
6ReplyFunny 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.
6ReplyNano >>> vim
3ReplyNuka Cola is better
3ReplySudo visudo is always a struggle
2ReplyPull the plug - Death
2Reply:killall -9 vim
1ReplyThe Bad Religion album No Control is entirely about their hate of emacs
1Reply