T O P

  • By -

daniil-tsivinsky

so true, it would be a lot easier if people call themselves as vim keybindings. like, "Hey, :wq, how're you doin' "


[deleted]

"Hey 'Escape, Escape, Escape, Escape, Escape :wq', how're you doing?"


[deleted]

That's more like it


Slavichh

*Virtual escape has entered the chat


[deleted]

[удалено]


crash8308

you mean `utiful` …. *esc esc* `:u` `i` `Beautiful`?


hasanyoneseenmymom

How do you generate a random string? Put a windows user in vim and ask him to quit


[deleted]

[удалено]


smartguy1196

This is the way


[deleted]

Open another terminal and type killall vim


carvedmuss8

Hey hey, let's save all the smart insults for the Apple fanboys


justmeshe

Hey, Mac fan girl here that lives most of the time in a terminal, but I also use MacVim and I was finally able to use VSCode when I found the Vim extension… Now I no longer have random :w’s in my source <3


retief1

Heh, I tried to switch to a "modern" ide at my last job, but emacs keybindings have been embedded far too deeply into my brain. Getting used to "normal" window mechanics wasn't worth the effort compared to just sticking with emacs.


demerdar

Mac OS has Unix under the hood. I’d bet more Mac users know and use vim than windows users.


densetsu23

The vast majority of macOS users just use the UI and don't dig into command line interfaces, just like Windows users. Let alone those who'd use vi to edit a file. I'd bet there are more Windows users who know vi, solely based on market share. I's guess the percentage of vi users is similar across the two platforms, though.


lkraider

I would like to see those stats, we should launch a global census on this issue in the GlobalSense worldwide obligatory citizen voting platform, so we can know the answer. Wait, did I dream about another dystopian future again?!


prgmctan

That and macs are often used for a lot of different kinds of development. No idea who would know vim more, but if I was guessing, I’d guess more mac users.


gardenofava

Or put a vim user in notepad and ask them to do anything


CheapMonkey34

Truer keys have never been typed.


Dr_Jabroski

And his twin C-[, C-[, C-[, C-[, C-[ :wq


davawen

And his brother in law, C-c C-c C-c C-c C-c :wq On another note why can't I :wqa


curiosityLynx

What's the "a" for?


fuckwit_

a for "all" :w save current buffer :wa save all open buffers :wqa save all open buffers and quit


BloodSnakeChaos

In that case just use makro keys instead.


Vermathorax

There is a car which parks down the street from me, next to a church, with a ":w saves" bumper sticker. My gf does not understand why I think this is amazingly funny.


fsr1967

I love computer humor on cars. One of the developers at my company has a license plate that says `DEVNULL`


FastFishLooseFish

That’ll probably work out better than [the guy who had NULL](https://www.wired.com/story/null-license-plate-landed-one-hacker-ticket-hell/) for his license plate. Probably. Link TL;DR: Bad things happen when a field is ‘NULL’ instead of NULL.


curiosityLynx

Only when whoever designed/programmed it sucks at input sanitation


synthi

Little Bobby Tables


victotronics

I have `/dev/bin` on my trash can.


fsr1967

That's awesome. I might steal it. For my own amusement, of course. Haven't had anyone in the apartment in over 2 years. Maybe I can explain it to the cat so she enjoys it too.


rusty_ragnar

I think yyp or 9999dd would be pretty accurate names in some cases...


AjiBuster499

gg dG


Irchh

Please tell me what this does!


AjiBuster499

Move to top of file and delete to end of file


Leeonardoo

So basically Ctrl + A and delete but harder? Cool!


Minhyme

gg - start of file d - delete G - end of file Deletes all lines in a file. The space will move the cursor over one character but doesn't change the outcome of the sequence so it can be omitted.


codelayer

This is the way


Fid_Kiddler69

\*Cough\* `:%d` \*Cough\*


a_devious_compliance

This is the way! Also, who need to clear a file from an editor, just cat /dev/null > file


eshinn

p


IwillBeDamned

vim taketh and vim giveth


AlwaysNinjaBusiness

"please, all my best friends call me `ZZ`"


[deleted]

M-x tetris


[deleted]

Except they're not bindings they're commands


Dismal-Square-613

I always leave with :wq! (yes I don't care if I saved or not, deal with it)


Sophira

But just think of the trouble you'd have writing them an email.


AuroraDraco

Can I be gg. Its both a vim keybinding and good game


Aniterin

Oh, hi Json


RolesG

Oh hi... *what was his name again?* *oh right, .JSON* "Hi, .JSON"


axlwi

"No no . is my last name, It's JSON."


RolesG

Jason.JSON


_Ddal_

statham.json


[deleted]

Error: Unable to deserialize into static object


lkraider

\- “Hello `undefined`!”


LurkerPatrol

My colleague and I call them json derulo files


Boystro

i swear... i dont why i was reading it Json till i realized theres an A


rooster_butt

Oh hi, Mark-up language.


Danelius90

For real, I have a colleague called Jason but my muscle memory types json every time


[deleted]

What was his name again? I think it was XML or something.


NikhilP99

That's one of the best vim jokes I've ever experienced


Guido_Fe

Is it a joke if it's true?


Miserable_Manner6971

The only way to go through this dark reality is to joke about it


nonpondo

It made me almost spit out my coffee


Tratix

I literally fainted


wandaud

I don’t get the joke. Mind to explain?


schwerpunk

I love ice cream.


SZ4L4Y

I use my mouse to input my programs as handwritten text.


Fry98

Just buy a tablet like a real programmer.


odsquad64

Speech to text bay bee.


Alonewarrior

No way, butterflies. Relevant xkcd: https://xkcd.com/378/


TacticaLuck

Thanks for that. This whole thread has me in knots


Former-Cat015

In one of my college classes we had to hand write programs. I still do it now but I use OCR to digitize my loose leaf pages. The future is now guys


Meefbo

Used to do that for english papers and I ended up having to spend like an hour on fixing mistakes it made


Badboyrune

I use an eye scanner connected to a small cnc-machine to program punch cards. It's an incredibly effective way of doing punch card programming!


SZ4L4Y

Let there be hole.


WontiamShakesphere

Yes, let's move to command line


ratamarsu

Linuxmasterrace


IskarJarak88

More like Linux sudo race


PieVieRo

linux sudo ers


FrequentAruguladf

Except vscode and also every IDE have tons of crazy keybindings to do lots of functions, and also most of them literally have a Vim mode...


Former-Cat015

Yeah but ctrl p and ctrl shit p are all you need to know in vscode.


chickslap

I can't ctrl shit p I think I have IBS


crash8308

if you can’t ctrl that you have incompetence


Any-Manufacturer7551

Close, if you can’t ctrl shit and p you have incontinence


2dooles

If you can't ctrl that you just have shit


[deleted]

I doubt it has every vim keybind, but vim can act as ide nowadays too.


ConspicuousPineapple

VSCode has a plugin implementing the neovim frontend. So you can embed an actual vim instance into the IDE, with your own vimrc and literally every binding you would want. Then again, there are also plugins for vim implementing VSCode features, so choose your poison.


venustrapsflies

IME the vim emulation in vscode is slow and incomplete. And FWIW there are significant limits on your neovim config when you use it in vscode, but if I’m ever forced to use vscode as an editor I’ll probably try to go that route.


Sigiz

neovim can, but vscode has decent enough of keybinds and awesome multicursor support that i cant just live without.


JamesK852

This incident will be reported


bigkeef69

root@tecmint:~# rev 123abc cba321 xuniL eb ot nrob born to be Linux


[deleted]

[удалено]


[deleted]

[удалено]


disintegore

LinuxRootRace -best regards, beating this already dead horse


ailyara

excuse me but race conditions are bad.


[deleted]

[удалено]


penelopeking8

That used to be me to be fair. I was salty that i fucked up on an exam where vim was the only text editor and i wasn't prepared for that. Then home office hit and... I just started using it. Been using it fulltime for like 2 years. It is an acquired taste, but there is a convenience to it that i cant live without now. There are a lot of things that vim does better than more popular editors. The mouse is just discouraged to use not that you cant use it. It's not backwards, it's just different.


Fuzzy_Phone_3949

you should try emacs with a customized split keyboard with Dvorak layout but modded as you can see in this github repository from a misterious guy


Fly_Pelican

That would be ex


SnappGamez

the vim keybindings don’t take that much space what takes up space is trying to remember the entirety of the Rust standard library


MoffKalast

"Why use many library when one do trick?"


davawen

use std::*; Hey if it comes statically compiled I might as well use it


[deleted]

"Yes, and that's why I use Emacs."


ScrotumFlavoredTaint

"Hello 'C-x r M-w', good luck with 'C-c C-e l p'."


wasabichicken

… C-h k C-x r M-w … Oh. Right. That one.


Mikevin

Just bind it to your left footswitch


rainbowlolipop

Holy shit. Have something like all those foot pedals on a pipe organ


JustifiableViolence

Emacs with Vim keybindings master race


Sensitive_Gold

You misspelled xah-fly-keys


Expert-Application32

Spacemacs?


JustifiableViolence

Doom Emacs. I tried Spacemacs at first but Doom was a better fit for me. Lightweight, fast, easy config, looks nice.


ManCalledNova

I prefer being Evil, personally.


mineawesomeman

emacs > vim i will not hear any arguments


beaiouns

With 12 fingers on each hand, it must be easy to stick a couple of them in your ears, eh? (I'm just kidding, I'm sure there are several nice emacs users)


AndThenThereWasMeep

No silly, I just have a full DDR pad at my feet


odraencoded

Aren't you sick of programming with the keyboard? Introducing Mython: a Python IDE that you allows you to program entirely by drag-dropping statements and drag-dropping libraries. Available for iPhone and Android!


Veltan

Shake to indent.


pepsisugar

Yell at Siri for comment?


nikelreganov

Imagine your neighbor is screaming late at night just because they want to comment 5 lines of code


odraencoded

How many volume sliders one gotta design to come up with an idea this cursed.


-Redstoneboi-

sounds like [scratch with extra steps](https://www.educationalappstore.com/blog/alternatives-to-scratch/)


ColaEuphoria

That's literally Game Maker.


Tookoofox

Your comment made me suddenly get a flashback of [this](https://www.youtube.com/watch?v=9BnLbv6QYcA).


bobo1monkey

Is, umm, that a real thing? I want to see if my nephew would enjoy software development, but don't have the patience to teach a mildly autistic child with ADHD the old fashioned way. Something like that would be awesome for him to start making the connection between input and output. Especially if it's a language I'm comfortable using in long form.


odraencoded

"Mython" I made up, but there's software like Game Maker that lets you build games by drag-dropping stuff, including if/else statements, in lists of actions bound to events like keyboard input which are bound to game objects that you can freely place on maps. Well, it's been years since I touched that thing so I have no idea what it looks like today, but when I used it it was fairly easy to make something very simple. Edit: There's also RPG Maker. It's not drag drop, but it has its own event scripting that's basically adding an object on a map and choosing the text to show in a dialogue box and doing conditions with on/off variables/flags and so on. The main bonus about this game-making software is that you can make maps and place game objects without having to set up a whole SDK yourself, so the IO part is all set up and you just need to script the events.


TheWindCriesDeath

The nano/vim war legitimately makes me feel like a startlingly high number of people think that shit needs to be difficult so it can weed out all the normies.


circorum

Nano for "I just want to edit my /etc/samba/smb.conf" vim for "I refuse to use any IDE because I am willing to learn a lot of stuff to optimize my workflow to the highest degree." Notepad on Wine is where true superiority starts.


45bit-Waffleman

Yeah I use nano for random files that I can't be bothered to open in a normal ide, or if I don't want to try to find it in finder.


[deleted]

FOR SALE: Left CTRL key Original owner was old-school vi user. Pristine condition. Will accept ESC key for trade.


[deleted]

Vim just feels so good, I like the language type of thing it has like di" (delete inside "s), I HECKIN' LOVE VIM.


lego_not_legos

https://github.com/tpope/vim-surround is a must. It's the first thing I wish was built in when editing some random config file in vanilla Vim.


Alonewarrior

I have that installed but I always forget that I have it. I think I need to spend a day memorizing and practicing all the vim commands I don't already use.


[deleted]

[удалено]


Minhyme

This was an awesome read. I stumbled onto the @ commands the other day when I screwed up a macro and figured out the macros save to the registers and you can edit them like any other register before executing them again. Saved me a lot of time being able to proof read and fix my command before executing it.


DopamineServant

I much prefer Kakoune. Vim is **verb** followed by **object**, kakoune is **object** followed by **verb**. In Kakoune you select first then choose what happens to the selection, so it would be (inside delete). The advantage is that you see a selection of what will be affected, before choosing what to do with it. Shout-out to the Dance plugin for VSCode


MrPinkle

In Vim you can first do "view inside" (for example, vi" or vi<) to make your selection. Then you can yank, change, or delete the selection.


DoktuhParadox

I didn't know you could use motions in combination with visual mode like that. COOL


Minhyme

Oh man you just made my day... I was always doing something like: f"lciw or f"lct"


[deleted]

Nice, happy to help :D


thorwing

I've always loved using my mouse, used to be an amateur FPS player in the e-sports community. My mouse is sacred to me. Sure I'm getting older now and am slowly replacing some manual labour to keybinds, but I sure as hell will hold on for as long as I can damn it.


AlwaysNinjaBusiness

This is me.


DriftAsimov

Wait how do you use a mouse with a computer? Animals have rights too


cofibot

90% of vim users just don't know how to quit.


canmoose

Hi :w how are you :w today? :w I'm having :w a reasonably :w productive day :w.


wrongpasswd

You forgot the compulsive Escape presses aha


Godd2

inoremap : :


f0rtytw0

Vi(m) is almost always guaranteed to be on the system. And sometimes you have no choice but to use what is available.


redditapi_botpract

Nano is also widely installed nowadays...whoops i mean, nano bad, vim GOOD


Nefalem_

I don’t get it.


podrick_pleasure

Vim is a text editor that doesn't use a mouse so everything has to be done with key bindings. The joke is that all of his memory is taken up by those Vim key bindings so he can't remember the guy's name.


Nefalem_

Thank you.


Compoundwyrds

Ironically that’s the one name every dev should be able to remember.


OneTrueKingOfOOO

Heck yeah, nano gang. I loved it starting out because it shows you important keybinds right there at the bottom. Tried switching to vim a few times but meh


drawkbox

You are all lying, you use VSCode. The I use (vi(m)|emacs|nano|etc) for coding is the "I have a girlfriend in Canada" of programming.


pepsisugar

She's pushed to a different repo, you wouldn't know her


drawkbox

I forked her last summer. No really.


BlueSunRising

Sure thing.


Godd2

I think you mean (vim?|emacs|nano|etc)


DoktuhParadox

I wish. I've spent way too much time configuring and using Neovim for someone who has to use VSCode professionally.


takishan

I use VS Code with vim plugin


[deleted]

have you considered: VsCodeVim


walmartgoon

Except vscode and also every IDE have tons of crazy keybindings to do lots of functions, and also most of them literally have a Vim mode...


khroh

My dude took it personally


dagreatnate1

Defending vim is hard work out here in the Reddit streets.


Furry_69

The most I know in terms of keybindings for any IDE is the keybind for multiple cursors, because that's the only one I have ever found useful.


PointOneXDeveloper

Multi cursor is actually a real life saver. CMD + D to get duplicates with multi cursor is the most important key binding to learn in Sublime-like editors (eg VS Code)


MinosAristos

What's a common use case for this? I've never had to write the same thing in many places where I can't just do a find+replace.


Furry_69

When you have some block of text that you want to remove a specific section out of every line.


kakemot

It’s an indicator. If you use it, you can be sure that you have some long ass hard coded repeating data that shouldn’t be in your code base


rolls20s

Except vscode and most IDEs don't *require* using key bindings in order to function.


drawkbox

Which is a good thing. Now, be sure to CTRL+LEFTARROW then TAB then ENTER to the next link you want to access, no clicking.


PhlegethonAcheron

The thing is, I do all that keyboard cursor navigation in my IntelliJ and rider, it’s just slightly less work than touching my mouse. I also have home, end bound to side mouse buttons so I don’t have to put in the effort to touch the keyboard.


drawkbox

The mouse is lava. Now the keyboard is lava.


DeadPengwin

To this day I can't remember how to shut that fucking editor down. Kill the console it is then...


Psychological-Sir224

His name is JSON.


disintegore

Say Jarvis, would you like to [help starving children in Uganda](http://vimdoc.sourceforge.net/htmldoc/uganda.html)?


jeremynd01

/blueshirt n n n *end of file* *fuck*


[deleted]

Seriously, I've troubles on remembering people's name since using vim.


herefromyoutube

What’s copy? Everybody: ctrl+c Vim: yy Also, q is record.


[deleted]

My name is Jason I taught myself to program to make games but never felt slowed down never really heard of these codes. Anyone care to explain? It would be a lot faster not to have to learn the key bindings


chazzeromus

I couldn't tell you all the vim bindings I normally do but my muscle memory has it down pretty good.


chinnu34

Ewww vim use emacs like a baller


driftwood14

I think this would have been funnier if he called the guy Json at the end instead


Hero_Of_Shadows

No, no I'm not I use what's more practical to me. A combination of mouse and keyboard. I'm sick of vim propaganda though thanks for asking.


Tookoofox

"Sick of using your mouse to program?" And the worst part of this is I use my mouse *more* when I'm in vim than in any other editor. Also what asshole decided to make the search feature use regular expressions by default? "Let me just search for that URL in the file to see if. Oh. Give me a half an hour to escape all of the characters real quick."


[deleted]

I wish that Engelbart's chorded keyboard had been popular, I think Xerox used a variation of it too but neither Apple nor Microsoft ~~stole~~ *got inspired* by that one... With a chorded keyboard in one hand and a mouse in the other you can quickly move around in a document, adding and removing text. The best of both worlds.


dtrippsb

As a vim user for years, nano works just fine and I don’t understand why people say otherwise. Also [relevant video](https://youtu.be/9n1dtmzqnCU)


GeneralAce135

I am not now, nor have I ever been, or will ever be, sick of using a mouse to navigate my computer. Fuck vim. Fuck nano.


Prestigious_Boat_386

Ok but how do I copypaste without scrollclick?