Vim is a keyboard-based
i wont lie...I love vim!
Used to ignore vim and use nano as kid, now regretting.
.. and I will be your guyyyyyy ..... -___- ... yyy .... -___- .... d
Who is this heretic that uses Vim in VS Code terminal. Eeeek!
Great content as per usual. However, the Vim extension at 3:10 is extremely laggy after a couple of days of usage. Instead I use amvim extension, and it never lags.
King Von’s “Crazy Story”
he was dry
RIP grandson man nooooooo cappppp funny and goofy dude man dang
I used to cop in the gardens. 1 way in 1 way out. Fuck that place
“They done tricked me. Got me thinking I’m in a urban novel “??? Damn... I miss you bro???
RIP Duck
Make Do Meaning - Make Do
I have no money for a class with a teacher, so to improve my English I have to make do with your wonderful lessons!
I usually make do with my English knowledge.
I make do with part time job now.
We have the lack of wood lack wood but we can make do with the wood we have and construct the shed anyway.
Thank you sir....
The family saved the little money they had, to make do for Christmas party.
Who uses vim when when you have cat?
$ cat "cat is the future" > t.txt
or
$ cat << EOT > t.txt
cat is the future
EOT
> Vim in 100 seconds
Is this an "Exiting Vim any% speedrun" WR title?
Please make django in 100 second
The command mode is actually called normal mode and instead of :wq you can use :x
hit esc to go into command mode (wrong) -> you go into normal mode. and each key binding has a meaning (i - insert, a - append etc), please mention that too. Such inaccuracy on this channel - unacceptable :P
I don't know why I just watched a video on how to use vim in vscode.
...I'm never going to use vscode when I can just use vim :^)
Yep this is what I was looking for
Don't loose your Caps lock functionality ... just use CTRL + [ to get out of insert mode.
=====
(I saw this already in the comments, but I'll still leave it here so more people see it and use it :) ...)
Please make django in 100 second
instead of
`:q!` use `ZQ`
`:wq` use `ZZ`
also worth mentioning:
`o`: new line below, puts you in insert mode
`O`: new line above, puts you in insert mode
`.`: repeats the last action you did
Back in 1995-96, Linux (Slackware) came on a magazine cover CD with essentially no instructions, and I had essentially no *nix familiarity. It took a week to find the command to delete a file, indeed I'd managed to get X running (back in the days of Xconfigurator and a text config file of scan frequencies and so on) before that. My original solution to getting stuck in vi was Ctrl-Z to put it in the background (I discovered this via the ubiquitous mash every key algorithm). Then trying to exit the shell caused an error 'jobs still running'. From that I guessed the command 'jobs', and later via 'man jobs', I discovered 'jobs -l' and then 'kill -9', and finally I had an effective way to get out of vim. Years later, when there were tutorials on the net, I took the time to learn it properly, and now, along with VS Code, it is my main editor.
Great video. Finally a brief intro. Still can't get over the arbitrary HJKL bindings.. we have arrow keys!! I want to justify the time it takes to learn vim but I can't get past the idea that it seems purposely idiosyncratic.
Another unmentioned perk of vim (and other terminal based editors I suppose) is being able to easily edit files through remote sessions. This is invaluable for doing maintenance on servers. I have a bunch of different headless raspberry pis on my home network and a few different friend's networks that I administer completely through my terminal.
No need for the mouse at 2:45, you can move just fine with Ctrl + arrow keys. It's not home row, but then why not IJKL instead of HJKL? "I" is just as far as "H" is, the configuration is familiar, no need for mnemonics such as "kick the ball up". Also, why lock yourself into a mode with ESC, when you can hold a closer key which exists the mode as soon as you release it? I might look into configuring my shortcuts, but I don't care much about vim's
So complicated
Waiting for the emacs one xD
Nano. Not vim.
insert commands: IiAaOo
navigation commands: hjklWwEeBb%^
editing commands: xrdypcVv
doing a console command:
Please make django in 100 second
personally I prefer nano
Please make django in 100 second Please make django in 100 secondPlease make django in 100 secondPlease make django in 100 secondPlease make django in 100 secondPlease make django in 100 secondPlease make django in 100 secondPlease make django in 100 secondPlease make django in 100 secondPlease make django in 100 secondPlease make django in 100 secondPlease make django in 100 secondPlease make django in 100 secondPlease make django in 100 secondPlease make django in 100 secondPlease make django in 100 secondPlease make django in 100 secondPlease make django in 100 secondPlease make django in 100 secondPlease make django in 100 secondPlease make django in 100 secondPlease make django in 100 secondPlease make django in 100 secondPlease make django in 100 secondPlease make django in 100 secondPlease make django in 100 secondPlease make django in 100 secondPlease make django in 100 secondPlease make django in 100 secondPlease make django in 100 secondPlease make django in 100 secondPlease make django in 100 secondPlease make django in 100 secondPlease make django in 100 secondPlease make django in 100 secondPlease make django in 100 secondPlease make django in 100 secondPlease make django in 100 secondPlease make django in 100 secondPlease make django in 100 secondPlease make django in 100 secondPlease make django in 100 secondPlease make django in 100 secondPlease make django in 100 secondPlease make django in 100 secondPlease make django in 100 secondPlease make django in 100 secondPlease make django in 100 secondPlease make django in 100 secondPlease make django in 100 second
No thx i better spend 3 second hovering my mouse
Hi there...I'm from another Galaxy. Just need some help. I tried on StackOverflow but I've been told this is a duplicate and I should read "how to ask a question" article. We were trying to learn this but we got stuck in VIM. We need your help to start our neutron star powerd teleportation device... Thank you ;:!qQ;::;!,,,;!qqqQ!q!;;
I am sorry to say this, but buying his course was my worst investment for the year.
He covers very few things and fails to mention some very useful shortcuts for moving around.
Vimtutor is free and teaches you a lot more with the same type of interactive exercises.
"command mode"? You meant "normal mode", command mode is ":".
After this video I got some enthusiasm to dive in Vim. Took a Vim course and now I feel comfortable with it)
Soy dev :D
Downloaded Vim yesterday and Fireship uploads video today :)
This is hilarious and amazing. PREACH!
I'm a hardcore vim user and was literally just telling my friend that I need a text editor alongside vim which is better in YAML and XML editing, previously I never needed to edit files in those formats.
I think that this configuration is exactly what I was looking for! Thank you!
vim its for like programmer hipsters
Sorry folks. After watching this entire video on Vim, I still don't see any real benefits of using it. There are shortcuts for pretty much everything that Vim has to offer. Like 'cmd + <-' to move at the beginning of line. Navigation can simply be handled by the arrow keys. Using Vim is actually more work!
:set mouse=a
Fun fact: you can never touch the mouse using jetbrains ides. Probably other ides too. It just that it never forces you to use keyboard only so you’ll never fully learn :))
Enough it's enough I'm got sick......
Micro is better.
I usually leave this kind of mark in all other text editors nowadays: hjkljkhlkj:q!
I'm Using Vim for Over A Year
Please make django in 100 second
LaTeX in 100 (or more?) please, trying to finish my diploma thesis.
Please make django in 100 second
vimgolf ftw
Holy shit! My request/wish came true!
If you don’t know how to edit without Vim of course you will be much slower
L for right. Yes absolutely reasonable choice
Please make content about puthon or django
If you install vim on your system, you can write 'vimtutor' as command and it has a brief but powerful introduction on vim.
Just came here to find out how to exit vim.
>no longer a soydev
Luke's deepfake is better and better with every day, first him, than mental outlaw, now him.
Please make django in 100 second
was anyone else expecting to see Ben Awad when it got to the part about a VScode extension for VIM? lol
Love how he uses the arrow keys at 1:33
Bullshit :D
+p does not work ((
And now, at last, all the poor souls that have been trapped in vim unable to quit are free...
Me: considers to use vim
joe: remap esc to capslock
me: how will you do that
me asks google: Stfu kid your skills are bad
I have used vim fulltime as a cs student for the last two years, and didn't know about +p. Just goes to show vim is a bottomless learning experience.
Please make django in 100 second
Gonna give this a hard pass. Vim has no place in a modern (> y2k) era. If you're SSHing into a box to edit files via vim you're a cowboy coder surrounded by amateurs. Fight me.
Vim with vs code is a complete waste of time because you can't use any Vim plugins and therefore you can't really integrate an efficient work flow. If anyone is new to vim, I would suggest that you don't waste your time learning it unless you're using it natively on Linux or Mac and you are willing to commit a lot of time initially to learn to use it efficiently. Best of luck.
Another pro-tip that I one used and since never went back: wether you use VSC or IntelliJ (and stuff): Disable "multi tab" so only one tab is displayed and learn the shortcuts that show you the last files you opened (CTRL + E for IntelliJ) and to search for files / classes. That somehow forces you to use the keyboard much more often, because using the mouse becomes so painful with just one tab. And in the end it boosts your productivity by A LOT! Thank me later ?
Please make django in 100 second
Hey all! Joe here - hope you enjoyed the video and if you have more questions about Vim, feel free to reach out on Twitter :)
Ron chang is that you(first voice)???
I think it is your voice.
Anyone watching this is just thinking "thats not a lot of things vim can do that i cant do in X"
most important stuff for me:
ciw - change in word (delete the word the cursor is under and put me in insert mode)
. -- redo the last command (everything in between escapes)
/ -- search for stuff
w - go to begining of next word
e - go to end of the word
b- go to "before" (previous) word
<> - indent or de-indent (select multiple lines with V to apply to multiple lines)
ctrl+v - visual mode select (usefull for commenting multiple lines)
gg -- beggining of file
G --end of file
... this is getting long so other people please add stuff
Could have used Vim instead of VScode.
Run `vimtutor` to learn vim properly
vim python & linux is ❤️
Please make django in 100 second
now you're no longer a soi dev
uses vscode terminal for vim
SHMART
Next: Project structures for different tech stacks and other best practices ??
So mindfull to watch a video :)
Why would anyone use VSC?
emacs in 100s !
I remember my first encounter with vim, terminated wsl just to get out XD
Or just add some plugins, use neovim and done! You're in NVCode ? (see Chris at machine)
The real question is: Does Jeff @Fireship use Vim for VSCode regularly?
GOOD VIDEO!!!
i really hate that side by side, it acts like you cant actually use keyboard to navigate in base VSCode. i dont use vim but i still dont need my mouse most of the time. VSCode has some pretty powerful keybinds just on its own.
sid eby side comparison like this almost never show how much more efficiently you can work with one tool over the other. how fast a person will work with a tool is entirely subjective, which makes these comparisons useless. and that is ignoring the fact how easy it is to just, type slower, when recording the side od the comparison you dont want to advertise.
Great video, but yeah I really don't see how this is faster, even in the short comparison he could instead just delete the 2 lines at the same time instead of 1 by 1 and save time
Just curious how do you make these animations for your vids? I’m obsessed
Thank you !
This is advanced geekeery.
난 또 100초가 언제부터 11분인지 계속생각하고 있었는데...
Hit like if you strongly felt a need of debugger in vim .
ahh, I accidently clicked on this video, now I don't know how to close....
I highly doubt that the mouse is the part in the coding process that consumes the most times.
Please make django in 100 second
when DDR arrows work as mneumonics
Please make django in 100 second
Watch out folks, once you get into Vim, you are never getting out!
The only reason I use vim is sometimes I accidentally touch the touchpad then it will jump all the places if I use normal text editor
awesome video guys. thanks.
Forget vim. If you're using a mouse in VS Code, you're doing it wrong. The side by side comparison shown at 2:44 isn't a fair one.
i tried vim, want can't stop wondering about how you can write code faster than any text editor