Vim Training Class 2 - Customizing and Extending Vim
ฝัง
- เผยแพร่เมื่อ 19 ก.ค. 2024
- Video from week 4 of my vim training sessions covering macros, what your .vimrc is, how to install plugins, managing plugins with pathogen, writing plugins and some plugins I recommend.
Week 3's video was corrupted but you can see the class notes here: github.com/shawncplus/vim-cla...
Links:
Free book on vimscript - learnvimscriptthehardway.steve...
Github mirrors of vim.org plugins - vim-scripts.org/ - วิทยาศาสตร์และเทคโนโลยี
Thats a great and complete explanation about how a vim config works. Congrats, Shawn, helped me alot!
So this is an incredible resource. I'm comfortable in a terminal and learned vi out of necessity a few years back when sysadmining a bunch of embedded hardware *nix boxes always felt "comfy" but had the nagging feeling I should get a "round tuit" and learn more about an editor I spent most of my working day in, just I never did beyond the usual vimtutor stuff.
Roll on a decade and I'm watching your videos and loving it. Absolutely gutted week 3's vid was totaled but will be reading your class notes for sure. Thanks for providing such an awesome intro into vim.
Your .vimrc goes into $HOME (i.e. ~/) and is a text file. Your .vim is a folder and also goes into $HOME. In this folder you keep colorschemes, plugins et.c.
every single second of video is worth it. Thank you.
Please do the third! You did a great job on the first one!
Thank you Shawn Biddle .. Great pleasure to know the power of VIM.. Will share it my colleague.. :)
I love this status bar. It's make vim looks like out of the console world.
thank you so much for this vim tutorial series, really helpful to me!!!
I really miss the Week 3 video
Thank you. I think at the very least I'm going to re-record class 3 somewhat soon.
Shaun you need to upload more videos, either on Vim or bash
Thanx the tutorial was really helpful..!!
Hello, Thanks for updating this.
I'm in between class 2 and 4 (since 3 was not uploaded). Did you cover the .vimrc in class 3 or only in 4?
also, I've noticed that on the server that I'm working on I have old vim version. It is Suse enterprise, how would you install new vim on it.
thanks,
Rami
It's sad that the audio is buzzing a lot, the video is great and I use submodules for my vim plugins too!
can we find your class 3 somewhere?
Week 3's video was corrupted but you can see the class notes here: github.com/shawncplus/vim-classes/blob/master/expert-1.md
where's the second video? can you upload the second navigation part?
Perfect! Thanks a lot :)
@18:53: what do you think this commands will do?
It would make me think that vim is worth it.
where is week 2 and 3?
Week 3's video was corrupted but you can see the class notes here: github.com/shawncplus/vim-classes/blob/master/expert-1.md
I wonder if after installing a plugin with vundle, should I also have to edit my .vimrc with the 'Plugin "foo/plugin.vim"' in it.
yes, you have to in order to load the plugin
It's just gnome terminal with GNU Screen. You can find all of my configs on github. Link's in the description.
I'm not using conque, I'm using just gnome terminal for my terminal and GNU Screen as my terminal emulator for the windowing you see at the bottom.
what's the name of your colorscheme
Good plan :)
The leader command in insert mode doesn't work with me here... What I am missing?
:imap ' ''i
I'm on lubuntu bionic beaver and I installed vim and all I see is an empty .vim directory and I have no .vimrc file. Is this ok? and if I don't have the .vimrc file could I just make one and add stuff to it without having to worry about anything going wrong? I'm new to vim
EDIT: Ok, I can nvm.
How do you use " ¬ " at each and every line in Vim?
dude u are hella cool.
hi, your mapping to move line up/down is causing to repaint all the lines bellow the one I am moving (because of delete).
I came up with solution, but it is ugly beast:
no up 0"oy$k"py$d$"opj0d$"ppk
no down 0"oy$j"py$d$"opk0d$"ppj
I am not deleting lines, instead I use register p and o to store and replace content of the lines.. But I suppose there is better solution?
hi, what about javascript Intellisense do u know of any context sensitive solution, that can maybe understand your jdoc=
Can you please try to re-record the class 3? it would be supper helpful for all of us. Would not ask it if your class 2 were not awesome :)
How can you get that completion hint in command mode?
How did you get that little bar at the bottom?
I use "vim-airline"...you can find more here:
github.com/vim-airline/vim-airline
See the video description, it got corrupted. 80% the fault of horrible video recording software on linux, 20% my fault for trusting it to work in the first place. Class notes are still up.
Were you able to re-record class 3?
where can one find week 3?
what is that end of line character that this guy has?
If I do set list, I get $ at the end, but this guy has this weird character to show the end of line(and no tab either)... Can someone please tell me how to enable this cool feature? thank you
+YongBin park It's from listchars, you can see it here github.com/shawncplus/dotfiles/blob/master/.vim/startup/settings.vim#L44
If I include that line in my .vimrc, I get the following error message:
Error detected while processing /Users/bertvisscher/.vimrc:
line 4:
E474: Invalid argument: listchars=tab:›
You used the github file path.But now that files are not available. Can you please send the files path?
When I stop being lazy. I keep saying "Possibly this week" but other stuff comes up. So... possibly this week?
I just could not resist installing 'gti'
Any updates?
GREAT VIDEO! However, I tried EXACTLY what was said about loading Pathogen onto my Windows7 64bit ASUS Syatem and nada! Nothing! I'm open to suggestions ???????????
suggestion: switch to linux
:p
Navi Charlotte Yea, there's an intelligent idea! I'll throw out the ten's of thousands of dollars worth of software and switch over to a OS tha I'd will have to learn before learning the problem I have with VIM. Good thinking!!!
Robert Cressman The butthurt is strong in this one
what about installing Cygwin? it's not like having linux, but you can use some of its functionality while still having a WIndows machine...or you could install Linux and then use a Virtual Machine...or you can use dual boot.... or whatever, this comment is a year old.
A lot of crackling in the audio, not entirely sure why. My mic hasn't given me that problem before.
Vimtutor is great but it doesn't make for a very good in-person class if I just say "Go use vimtutor, come back in 20 minutes"
vimtutor in a terminal to learn the basics :)
I'm sure if he worked on the missing videos they would also get over 50k views...
Indeed, I was very disappointed.