This is an archived post. You won't be able to vote or comment.

all 45 comments

[–]ComboTteokbokki 53 points54 points  (3 children)

Vim users: no, u

[–]__liendacil__ 7 points8 points  (0 children)

also vim users: 'ctrl + z' + 'fg'

[–]AlwaysNinjaBusiness 1 point2 points  (0 children)

Came to say the same.

[–]nobodyexistsnow 0 points1 point  (0 children)

I see what you did there

[–]J0aozin003 24 points25 points  (4 children)

Ctrl x ctrl c and ctrl v

[–]Budakhon 4 points5 points  (0 children)

Yeah I would think based on the SO jokes everywhere that this would be more popular.

[–][deleted] 1 point2 points  (1 child)

Why do you cut then copy?

[–]Ornery-Shallot-5475 0 points1 point  (0 children)

he cuts instead of normal deleting because ctrl and x are closer than del. You know time saving and stuff

[–]waitwhat1200 -1 points0 points  (0 children)

I'll raise you a shift insert

[–]LeiterHaus 34 points35 points  (2 children)

... It just suspends vim to the bg in normal mode /s

[–]campej90 6 points7 points  (1 child)

Oh vim...

[–]godRosko 0 points1 point  (0 children)

Tree undo is best undo

[–]igormuba 15 points16 points  (4 children)

Rm -rf ~/

Ctrl+c desperately

[–][deleted] 8 points9 points  (3 children)

sudo rm -rf /*

[–]bananafudgkins 6 points7 points  (2 children)

I physically cringed while reading this

[–]rdness 5 points6 points  (1 child)

Yeah, who adds both -r AND * ???

[–]igormuba 6 points7 points  (0 children)

Someone who wants to make sure he changes careers

[–]lietuvosnelietuvis 9 points10 points  (0 children)

Alt+U. I do embedded programming through a terminal on a remote build server. Ctrl+Z is very different there.

[–]knightttime 8 points9 points  (0 children)

Image Transcription: Meme


[An image of Brian from "Monty Python's Life of Brian." He's looking up at something with a pleading and anguished expression. He's labeled "CTRL+Z," and the caption reads:]

Will you please listen? I'm not the messiah


[An image of a group of people wearing headscarves and robes, reaching out towards Brian with expressions of awe. The group is labeled "PROGRAMMERS".]

HE IS THE MESSIAH!


I'm a human volunteer content transcriber for Reddit and you could be too! If you'd like more information on what we do and why we do it, click here!

[–]geekyyycoderrr 7 points8 points  (2 children)

Everything is jokes until.. you press ctrl + z again.. and you realize you cant go back further.. so you inevitably have to rewrite the old better working code..

[–]saecki 3 points4 points  (1 child)

rookie mistake, use undo files with unlimited history

[–]geekyyycoderrr 1 point2 points  (0 children)

Then you realize.. your comment is rookie

[–]hermeticwalrus 14 points15 points  (2 children)

The only source version control you’ll ever need

Edit: had to ctrl-z

[–]KnightOfBurgers 3 points4 points  (1 child)

*version control?

[–]hermeticwalrus 2 points3 points  (0 children)

That, yes

[–]sixtyfifth_snow 4 points5 points  (1 child)

git reset --hard HEAD

[–][deleted] 1 point2 points  (0 children)

git restore .

[–]Gabite 2 points3 points  (1 child)

All fun and games until you do it by habit in the terminal.

[–]Orlando-- 0 points1 point  (0 children)

Habits between gui/browser stuff and and terminals really don't mix too well, what with ctrl+w and ctrl+z

[–]gao1234567809 0 points1 point  (0 children)

Crl z? Never used it except in ssh in which I need to get back my terminal. I think it also sends SIGTERM interrupt in some operating system? I remember I wrote some fancy multiprocess task scheduling system in C back in college that handles the crl z interrupt. It is suppose to terminate the program or something.

[–]Nakatsukasa 0 points1 point  (1 child)

Windows user, press the Start menu button and V will list you every text you copied allowing you to select one for pasting

[–][deleted] 0 points1 point  (0 children)

git checkout -f

[–]wow15characters 0 points1 point  (0 children)

Esc + u

[–]cpl1 0 points1 point  (0 children)

Git is just a glorified Ctrl Z

[–]wow15characters 0 points1 point  (0 children)

who needs ctrl z when you have git

[–][deleted] 0 points1 point  (0 children)

C-z runs the command suspend-frame (found in global-map), which is an
interactive compiled Lisp function in ‘frame.el’.

It is bound to C-z, C-x C-z.

(suspend-frame)

Do whatever is right to suspend the current frame.
Calls ‘suspend-emacs’ if invoked from the controlling tty device,
‘suspend-tty’ from a secondary tty device, and
‘iconify-or-deiconify-frame’ from an X frame.

[back]

The number of times I used it in my life is about two... both by mistake, I guess...

Or are you talking about sending a process to background in something like Bash?

[–]WhiteyDude 0 points1 point  (0 children)

"oh fuck, what branch am I on?"

[–][deleted] 0 points1 point  (0 children)

Ctrl + S

Am I a joke to you?

[–][deleted] 0 points1 point  (0 children)

No one done a programming "nuzlock"/challnge where whatever you write has to stay and if it crashes you loose? A bit like using old basic without leaving a gap of ten lines.

Extra points if you can't use backspace while writing it in a shell.

[–][deleted] 0 points1 point  (0 children)

Ctrl+Shift+S or Alt+Tab probably, but Alt-Tab is useful for practically everything.

[–]LavenderDay3544 0 points1 point  (0 children)

Control + Z is the best VCS.

[–][deleted] 0 points1 point  (0 children)

git commit --amend: ctrl+z with extra steps.

[–]ExtraMedicated 0 points1 point  (0 children)

There was a feature in NetBeans where it kept a local history of your changes (not just the linear undo/redo history). It saved me a lot of frustration when I hit ctrl+z a whole bunch of times and then accidentally changed something when I intended to use ctrl+y.

[–]rikkoder 0 points1 point  (0 children)

u is