Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "ctrl-y"
-
CAN WE PLEASE STANDARDIZE THE "REDO" KEYBOARD SHORTCUT?
I don't care if it is Ctrl+Y or Ctrl+Shift+Z. Can we just unify it across all programs?18 -
Now, instead of shouting, I can just type "fuck"
The Fuck is a magnificent app that corrects errors in previous console commands.
inspired by a @liamosaur tweet
https://twitter.com/liamosaur/...
Some gems:
➜ apt-get install vim
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
➜ fuck
sudo apt-get install vim [enter/↑/↓/ctrl+c]
[sudo] password for nvbn:
Reading package lists... Done
...
➜ git push
fatal: The current branch master has no upstream branch.
To push the current branch and set the remote as upstream, use
git push --set-upstream origin master
➜ fuck
git push --set-upstream origin master [enter/↑/↓/ctrl+c]
Counting objects: 9, done.
...
➜ puthon
No command 'puthon' found, did you mean:
Command 'python' from package 'python-minimal' (main)
Command 'python' from package 'python3' (main)
zsh: command not found: puthon
➜ fuck
python [enter/↑/↓/ctrl+c]
Python 3.4.2 (default, Oct 8 2014, 13:08:17)
...
➜ git brnch
git: 'brnch' is not a git command. See 'git --help'.
Did you mean this?
branch
➜ fuck
git branch [enter/↑/↓/ctrl+c]
* master
➜ lein rpl
'rpl' is not a task. See 'lein help'.
Did you mean this?
repl
➜ fuck
lein repl [enter/↑/↓/ctrl+c]
nREPL server started on port 54848 on host 127.0.0.1 - nrepl://127.0.0.1:54848
REPL-y 0.3.1
...
Get fuckked at
https://github.com/nvbn/thefuck10 -
A : "what the funk is wrong with git ! why there are conflict!!"
Y: "let me see, hmm .. just press ctrl + disc.."
A : "what are you doing ?"
Y : "discard! they are gone. now you can try again in different branch"
A : "I didn't commit !! this my work of two weeks!!!"
Y : " ..... "
Y : *sneak away*7 -
Man in the event of some newcomers to the development game, those that will mostly work in the web domain or sys admins that are in training I want to offer some small advice:
Do not neglect vim
I know it might be a bitch to use at first. And I will never use it as a replacement to vs code. But fuuuuuck me I cannot count the number of times that vim wizardry has helped me when dealing with servers when dealing on a machine with windows and nothing but putty.
The thing is a lifesaver yo, and it makes for an impressive show when doing something in front of senior executives.
Learn it, love it, live by it
And exit is :q, save is :w, to copy and paste is :v then surround the text and then y to yank it and p to paste it.
:vsplit and :split are your friends and to move around splits is ctrl w and direction.
Good luck my friends. Stay classy.9 -
$girl -pretty
_
ctrl-c
$girl -pretty -v
you don't have permission to the necessary files (e.g. skills_communication, confidence, ...)
#girl -pretty
Are you sure you want to continue? This is considered harassment in some cultures and can seriously harm the health of your system. [y/N]
N
$
aww shit...19 -
Computer applications 101
Teacher needs to use ctrl + X to cut but uses ctrl +Y then claims my word has expired. Walked out of the class.3 -
I think Matlab was only invented to fuck with people. Yeah, let's start indices with 1. Oh, and set copy and paste on Ctrl+W and and Alt+Y.
You didn't save your code? Too bad, the network went down and I lost the license.3 -
Goddamit! Why does hitting Ctrl+Y in android studio is set to delete a line by default? Shouldn't it be redo? Who the fuck designed it? Thank God I can reassign keyboard shortcuts in android studio.10
-
I am building my first android app and the hardest part is learning that ctrl + y doesn't redo an undo, but instead it deletes the current line2
-
Hey there! I'm a sophisticated IDE!
I see your trying to Undo your work! That's great.
Oh now you're trying to redo...
I'm sorry... I just deleted that important line of code. I'm sure it will be ok though.6 -
You wanna know how Windows really pisses me off? I press ctrl + win + right arrow to go to workspace X, I launch application X, then I go back to application Y in the previous workspace (workspace Y)
Fucking application X shows up in workspace Y.
WHO THE FUCK IS RESPONS.. nevermind, I need a shower.1 -
When I have to hold CTRL + Z to see what I changed I then imagine myself coding really fast when I then hold CTRL + Y. It makes me feel productive.1
-
WHY IN THE WORLD IS PHPSTORMS CTRL + Y SET TO DELETE A FUCKING LIIIIIINE. WHAT THE HEEEEEEEEEEELL
can't even undo it man. this suuuuuucks.4 -
I recommend this to 'myself later'
#MISSING_OLD_RANTS #MY_OLD_RANT
you are in the flow maaan... you fucking rock it... i swear, to GOD!
I'm in the most mindblowing.. thinking out-of-the-box... thinking about the system... everything that just can help recover a little piece of your soul... and resolving the worst bugs you've ever had... and you are just fucking ROCK IT! And you are on the highway to finish it all, but then suddenly a thought kicks in, and won't let you "do ya' thing".
That little piece of shit is now not a man, not a thing, nor anything... just some old tune from your dreams... and NOW! You! You are in the flow... and suddenly know what is your youtube's playlist name... from your saved 170+ playlists...most of them with 30+ saved videos... and you fucking see through that madness now, and THAT contains that tune!!!
You dropp EVERYTHING! YOU ARE IN THE FLOW! And you just solved a "bug" inside you, 'cause if you listen that song, than finally will Soothe Your Pain (haha... https://youtu.be/MJpQx57uoRc )... And you know it... you are in a hurry, and you will forget the name again... so you just go to youtube... and try to search it... "piano"
you are always in a hurry... so -> hotkey Ctrl + T... (y -> auto youtube search) "y_piano" -> result is "personalized"...
yeah, innnntresting...
a lot of really irrelevant youtube videos...
Ok... scroll down...
loading more...
BOOM Dr. Dre ft. Snoop Dogg between Mozart and Chopin...
"ok so personalized..." but not my playlist...
You check your youtube account... playlists... ALL PLAYLIST -> "Ahh finally, maybe a new search implementation!"...
Naaah... just shitty 170+ videos...
"thanks youtube..." No filter, no search... NOTHING...
"Fuck..." ok. fuck... go to old youtube page, you saved just for these situations... (remember... you are clever! and thank me later: https://youtube.com/view_all_playli... )
And it is not looking like it looked back in the day... and a little piece of it warns me that it will be removed soon... :'(
You lost the flow... you desperatly breaks down... What?!?!! that is the worst thing could happen to me... this is the only search option which works atleast a little bit... and it don't bothers anyone... and it will be abandoned, and shut down soon... :'(
So you sadly search that playlist... listen to that tune... turns up the volume... so that I can cry calmly in the corner, and no one can hear it...
And you know, everything you done, is fucked up, you don't even remember where this half sandwich came, in front of you?! nor what is the time?! anything...
You just wasted half an our, from your best fuckig time you can have right now... you could done all your tasks, all your bugs inside you... but you fucking wasted 30+ minutes (btw which is the most valuable thing in this fucking miserable life... and you wasted it to "search the youtube's UI where could you finally SEARCH WITH GOOGLE/YOUTUBE"!!!
And even that song is ruined for you now, 'cause this will be even worst in the future...rant #yt_fucked #google #google_the_search_engine #youtube_search_fucked #rip_yt_utility #my_old_rant #missing_old_rants2 -
It's always great idea to map common keyboard shortcuts to something completely different, such as when IDEA sets the default behaviour of Ctrl+Y to "remove the line under caret". Thanks guys, I love surprises, next time try something with ctrl+c.
Note to my future self: when installing the IDEA again, remember to remap the ctrl+y..1 -
For me Jetbrains idea based IDE/editor in part does just about everything right. Only need to really change the redo shortcut. They provide a warning now so you don't lose your undo history on ctrl+y.
On console both Emacs and vim work for me. These days I prefer vim. Nano will work when I'm a pinch but the lack of undo is really annoying. Especially when the cat walks over the keyboard. You just need start all over unless you can see what he did.
Vim has vertical block so you comment/uncommented stuff real fast. The cange word and change till are also real time savers. Vi is to basic and annoying for me, rather use nano than.
Gedit works great for me when viewing or editting a file real quick.
So yeah the situation dictates what tool suites the best.
Idea is where I can spend my time the entire day so if I had to choice one that would be it. -
You know that moment when you write a long code, then you undo many times to see something that was before, and when you "ctrl+y".......
Just happened
😒5 -
I've always thought Gedit (Ubuntu text editing software) doesn't have Redo feature as the shortcut Ctrl + Y didn't work. Just realised it's Shift + Ctrl + Z
Lesson - be humble and look at the provided menu items. -
After using emacs for almost 2 weeks, I can't tell you how many times I've pressed Ctrl+W, Alt+W and Ctrl+Y in things that aren't emacs.1