Vim is so great and addicting, that people can’t quit
@ibrahimshaikh67283 жыл бұрын
lmao most underrated comment xD
@someonehere43803 жыл бұрын
@@ibrahimshaikh6728 not rlly since this joke is older than him
@salvationandendtimes Жыл бұрын
😂
@baggiowong13324 жыл бұрын
The two tutorials are so well paced, and the presentation so lucid it made it really easy to follow along and kept me hooked to learn more - no fluff, just direct tips and instructions - one of my favourite styles of presentation! Thank you so much Derek, really appreciate the effort gone into preparing and filming the tutorials. 😊
@gregf91605 жыл бұрын
Thanks for all this, Derek. I've been a vim user for a number of years but this was full of a LOT of stuff I'd forgotten! First rate.
@SteemeX4 жыл бұрын
Such clear speech and well-made material. So easy to understand and memorise despite english is not my native
@juandonosa3745 жыл бұрын
one little note, 'Shift+i' places you into Insert mode at the beginning of that line, I feel like the way you explained it might have been a bit confusing also as for the substitute command '%s/Dererk/DT/g' you don't need the 'g' at the end, what the g does is change every occurence of Derek in that line to DT, so say for example you had a line that read: Derek Taylor Derek and you used '%s/Derek/DT/g' it would change to: DT Taylor DT but if you just used '%s/Derek/DT/' it would change to: DT Taylor Derek otherwise a very informative video for my favorite editor
@stephensmith3465 жыл бұрын
Running bash commands from within vim is something I did not know about...thank you DT!
@fatcatsound5 жыл бұрын
Very good job on the video. Appreciate the tutorial. On a sidenote, concerning the microphone deployment, I would offer a suggestion to try that would improve the sound and clear the sightlines. If you raise the Baby Bottle to where the capsule is approximately at your eyebrows and angle down to point at the area in front of your mic, you can lose the pop filter, which does alter the sound, and the sound is more natural requiring less EQ in post. This is not to say that it doesn't sound good, already. Just something I tried based on older recording techniques that I was sold on the first time I tried it.
@thebasketofgoods9753 Жыл бұрын
One thing I found out with vim is, in the event you want to create a text-containing file with zero new-lines, is to create the file by writing "vim -b [file]" in terminal. Combining this with saving the file using ":set noendofline" then ":wq", it will save the text doc with no newlines whatsoever. Discovered this when trying to figure out why my encrypted password wasn't working, and found out it was because the newline was causing errors.
@mitchelvalentino15695 жыл бұрын
Long live Vim!
@cheesecurd90035 жыл бұрын
Thanks for the video Derek, very informative as always! I'm curious to know if you've ever had the chance to fiddle around with the Plan 9 environment - more specifically the acme editor. It uses a very different paradigm from vim & emacs which are very keyboard-centric, and puts a lot more power into the mouse. It was quite the adjustment, but I've grown to really enjoy the way its command system works and how it easily integrates with the rest of the system. Looking forward to hearing your thoughts! Cheers!
@DistroTube5 жыл бұрын
Haven't played with Plan 9.
@darthvalar43775 жыл бұрын
Very nice tutorial! I'm new to vim and although I went through the vimtutor twice, I still learned a few new tricks now. Subscribed.
@lotunkanji78385 жыл бұрын
"dubya" lol thanks a lot though. really helped me out
@DistroTube5 жыл бұрын
Thanks, Lotun!
@andrewpalm21035 жыл бұрын
Derek, another very useful tutorial. Thanks!
@DistroTube5 жыл бұрын
Thanks, Andy!
@michalroesler3 жыл бұрын
Can You please tell what edit should be made in .vimrc to remap CapsLock to Esc key? Everybody talks about doing it, but no one showed exactly how to do this.
@NekoiNemo3 жыл бұрын
16:00 If anyone is also wondering why question mark search is a thing: logs. The way you generally diagnose logs is to go to the very end and then try to find the last occurrence of whatever you're looking for, and then go backwards from that
@Jonathan-dm3pt5 жыл бұрын
Very good tutorial DT, appreciate the content.
@52naturalhairstyles5 жыл бұрын
Currently using Visual Studio Code...is there more of a benefit with VIM?
@DistroTube5 жыл бұрын
>not sure if it brings up code prediction If vim doesn't have it by default, most things can be added through plugins. Here is a neat code completion plugin: github.com/Valloric/YouCompleteMe
@RobBoudreau5 жыл бұрын
The benefits of Vim over Code is speed. When you learn how to move around in Vim, moving around and editing text in files happens almost as quick as thought. However, Vim is a text editor, not an IDE. If you've never used it before, and need the tools of an IDE like VSCode, you'll quickly become frustrated with it. While it is possible to duplicate and IDE-like environment with Vim, and many developers do, it takes time, a lot of trial and error with plug-ins and configuration. If you're interested in Vim, I highly recommend trying it, but stick with VSCode for your day-to-day tasks while you learn. In time you'll know whether you want to go further with Vim or not.
@52naturalhairstyles5 жыл бұрын
Thanks so much for this. Kind of sounds like I need to graduate to Vim similar to the way that I went from CodePen to VS Code. Appreciate the feedback!
@52naturalhairstyles5 жыл бұрын
Thank you!!! Checking it out now.
@52naturalhairstyles5 жыл бұрын
@James Willams. I used Atom as well in a class for a gaming project and loved it.
@Сова324 жыл бұрын
thanks for the Shift+a tip, it helped me
@DistroTube4 жыл бұрын
Glad it helped!
@MaciejKurzyca5 жыл бұрын
Great tutorials. Thank you very much. I'm beginning to understand VIM's workflow Please, do more VIM tutorials. For example, copying and pasting between VIM and other programs, I found it quite difficult
@freydun5 жыл бұрын
Install gvim to access system clipboard.
@oj00245 жыл бұрын
Vim best editor :) nothing about emacs here
@dustinmorse84975 жыл бұрын
Emacs is an interesting operating system, it just needs a good text editor.
@cthedosboss51135 жыл бұрын
thanks DT pretty cool stuff here some i didnt know about : )
@DistroTube5 жыл бұрын
Thanks, Boss.
@migue74905 жыл бұрын
I switched to vim after switching to i3, it is a very good editor, it takes time to configure but is powerful. Now my highlight when I search and informative text in normal mode dissappeared and is kinda annoying but it is probably my vimrc. Awesome tutorial I was waiting for it!
@DistroTube5 жыл бұрын
Thanks, migue!
@guilherme50945 жыл бұрын
Very good Derek.
@DistroTube5 жыл бұрын
Much appreciated.
@stephenjames57455 жыл бұрын
Another awesome video! Thank you!
@DistroTube5 жыл бұрын
Thank you, sir.
@SteemeX4 жыл бұрын
Very progmatic stuff! Thanks a lot!!!
@saurabhmahra40843 жыл бұрын
Vim is so addicting that even youtube has shortcuts in vim mode xD.
@fuseteam5 жыл бұрын
btw vim never deletes it only cuts :p
@arinroday3024 жыл бұрын
use x to delete
@fuseteam4 жыл бұрын
@@arinroday302 that also cuts fwiw try it use x on a character then do p to paste it ;)
@fuseteam4 жыл бұрын
@@Bob-ys2fb is it? i find it awesome, especially since you have many clipboard at your disposal :^3
@nikhilthota94314 жыл бұрын
Great video - quick question, what software are you using to record your keystrokes?
@gavinvales89285 жыл бұрын
has your camera resolution always been that good?
@DistroTube5 жыл бұрын
I didn't do anything different as far as my camera. The lighting was a little low in this video, compared to the previous vim video. Other than that, the same.
@betafaccion22895 жыл бұрын
Wow, perfect timing, just started trying evil yesterday on emacs Any contraindication on learning vim commands on emacs-evil? Should I take a few weeks on raw vim or it's ok to learn on evil?
@DistroTube5 жыл бұрын
I know nothing about emacs. Sorry.
@betafaccion22895 жыл бұрын
I really love emacs but been planing to use evil/vim keybindings for a long time, the composability of VIM commands are way superior than the 'C-x M-c M-butterfly' mess that emacs have Thanks for the video btw!
@RobBoudreau5 жыл бұрын
Evil is -- of all the Vim-like keybinding plugins other apps have -- the closest to Vim itself. There are some Vim commands that Evil doesn't have, but not many. What you learn with Evil-mode will directly translate to Vim. All the motions, text-targeting and manipulating are the same.
@betafaccion22895 жыл бұрын
@@RobBoudreau Yeah, I heard that, I am planing on doing a natural transition from normal to evil bindings but am a bit afraid of possible bad habits it could create. I found a lot of good info from vim users talking about the transition to evil but none from normal emacsers going to evil
@RobBoudreau5 жыл бұрын
@@betafaccion2289 I'd imagine the hardest thing will be trying not to press CTRL or ALT all the time to move around and edit. Kinda like when I started trying Emacs. I was constantly finding myself typing " : " and commands into my text. I had to go to Evil-mode to save my sanity, little as it is.
@fetB2 жыл бұрын
Is there a way to dock a cheat sheet or overlay?
@juanadriancastroquintana89395 жыл бұрын
> Learn to use vim > Use emacs evil-mode
@crwmike05 жыл бұрын
The only thing about emacs is waiting six weeks for it to load.
@juanadriancastroquintana89395 жыл бұрын
@@crwmike0 If you open it normally, yes, it takes like a year to load, but with emacsclient it loads at the startup, and every instance opens immediately.
@swaroopsonline4 жыл бұрын
Can you please enlighten us, as to how we can copy from a text file and paste it in vim editor?
@timmymorris914 жыл бұрын
swaroopsonline copy using Ctrl + C or Ctrl + Shift + C. Paste into Vim with Ctrl + Shift + V.
@abhinandanj81825 жыл бұрын
where's your accent from ? love it...
@leredempteur30115 жыл бұрын
Very nice 👍 😺😸
@Froggie925 жыл бұрын
👏 more 👏 of 👏 these
@DistroTube5 жыл бұрын
Thanks, Tommy!
@lancetschirhart76764 жыл бұрын
I like using both / and ? *shrug* I know whether I want to go up or down when I need to press / or ? So I do the right one, that way I can always use n to navigate. Guess it's just taste.
@fixilein15 жыл бұрын
Can you do a video on Vim Plugins?
@DistroTube5 жыл бұрын
Will probably do that in a future video.
@fixilein15 жыл бұрын
@@DistroTube Awesome! Thanks!
@chrystanthemum2 жыл бұрын
*Great tutorial!* Just a comment: Wouldn't *w* recognize *, . ) ( ] [* and others as words, issuing *dw* would not delete a word. Having written *function name(...)* deleting just the *name* using *dw* would be impossible. As it would delete the symbol too. At the same time typing *dw* in this array *[adfb,adfbsd,dfgdf]* would remove the whole thing afaik (try *dW* to check it out). Ideally it should delete a-zA-Z and navigate using a-zA-Z + symbols. But *w* is the same command. There is a compromise between *word* movements and *delete* ops and we have to choose sides.
@terrythompson75354 жыл бұрын
Thank you sir!
@vmisev5 жыл бұрын
Politics according to Vim: Far-left ␛0 Far-right ␛$ Far-center :command Farce exe 'normal 50%' | exe 'normal '.(virtcol('$')/2).'|' /s :D
@norahclarissa63524 жыл бұрын
vim is truth. vim is Mother Skynet.
@klaskycsupo1215 жыл бұрын
Excellent!
@jamescobb26185 жыл бұрын
Thank-You Sir (Flying..)
@fuseteam5 жыл бұрын
dang did not know of ctrl d, crt o and ctrl i
@thengakola62173 жыл бұрын
does anyone here know how to remap esc to caps lock?? can i do it inside vimrc? like inoremap stuff??
@jackfrosterton25304 жыл бұрын
sounds like things would be better if some of these capital/lowercase mappings were swapped.
@Subbeh24 жыл бұрын
How do I get vim to look like this?
@Douglas-hw8is4 жыл бұрын
why don't you tell us HOW you opened the file?
@eddyecko944 жыл бұрын
Thanks.
@cosm.i.n5 жыл бұрын
Hey DT!
@jandrorojas67144 жыл бұрын
you know how we moved from the stone age to the bronze age? or when we all finally understood that slavery was wrong? gee why do we still have to use this thing? Here we are, taking a course to use a freaking text editor 🤯
@someonehere43803 жыл бұрын
because you are way faster with vim! stay in your text editor using a mouse
@avinashprajapati2552 жыл бұрын
starts at 1:45
@fahdv25974 жыл бұрын
you move words with double yuh
@horatiopugwash91835 жыл бұрын
I installed Wine so I can use notepad 😏
@DistroTube5 жыл бұрын
Interesting choice.
@LinuxLuddite5 жыл бұрын
that's heresy.
@dustinmorse84975 жыл бұрын
Get out.
@hottake36335 жыл бұрын
am i the only one who thinks j and k in VIM should be swapped? meh, i guess i'm just an eastbound and down fan
@TheDrunkenAlcoholic5 жыл бұрын
donate to children in Uganda?? wtf how about donate to children of your own country who are poverty stricken ... great tutorial mate keep it up
@ummareli27912 жыл бұрын
>uses vim >looks at the keyboard for every shortcut cringe
@fuseteam5 жыл бұрын
:Ex >> :!ls :p
@hewfrebie25975 жыл бұрын
never :q!
@DistroTube5 жыл бұрын
I wouldn't say never use it. But users should be aware that it will quit without giving you a warning if you have unsaved changes.
@hewfrebie25975 жыл бұрын
@@DistroTube No I just found a website that sells stickers about programmers and tech enthusiasts telling jokes in a nerdy way. Just like you did about GNU/Dentist . So in my case I said never :q! (normal perspective: never quit!) as in never giving up in a nerdy but funny way. So I though that I should add something funny about vim.
@DistroTube5 жыл бұрын
Ah! A vim joke! Nice. :D
@DistroTube5 жыл бұрын
I think I need to make me a cup of coffee. Can't believe I didn't catch your joke. smh
@hewfrebie25975 жыл бұрын
@@DistroTube That's right, so never :q! making nerdy jokes and videos about gnu/linux and keep up the good work.
@vagabund67785 жыл бұрын
Dude turn around, your laptop is melting
@LinuxLuddite5 жыл бұрын
Now we have to watch tutorials for text editor..smh