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/
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 58

  • @roccohust
    @roccohust 10 ปีที่แล้ว

    Thats a great and complete explanation about how a vim config works. Congrats, Shawn, helped me alot!

  • @lmaoroflcopter
    @lmaoroflcopter 6 ปีที่แล้ว

    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.

  • @dackhammar
    @dackhammar 11 ปีที่แล้ว +2

    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.

  • @MichalKeda
    @MichalKeda 11 ปีที่แล้ว

    every single second of video is worth it. Thank you.

  • @JeanPaulSauve
    @JeanPaulSauve 8 ปีที่แล้ว +14

    Please do the third! You did a great job on the first one!

  • @livedlife5930
    @livedlife5930 7 ปีที่แล้ว

    Thank you Shawn Biddle .. Great pleasure to know the power of VIM.. Will share it my colleague.. :)

  • @silentlamb42
    @silentlamb42 10 ปีที่แล้ว

    I love this status bar. It's make vim looks like out of the console world.

  • @mtung05
    @mtung05 11 ปีที่แล้ว

    thank you so much for this vim tutorial series, really helpful to me!!!

  • @viktor.madarasz
    @viktor.madarasz 8 ปีที่แล้ว +11

    I really miss the Week 3 video

  • @ShawnBiddle
    @ShawnBiddle  12 ปีที่แล้ว +2

    Thank you. I think at the very least I'm going to re-record class 3 somewhat soon.

  • @johnsmart5430
    @johnsmart5430 7 ปีที่แล้ว +5

    Shaun you need to upload more videos, either on Vim or bash

  • @itsjustbusinessbrokie
    @itsjustbusinessbrokie 10 ปีที่แล้ว

    Thanx the tutorial was really helpful..!!

  • @ramiveiberman3182
    @ramiveiberman3182 9 ปีที่แล้ว

    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

  • @JonathanMHethey
    @JonathanMHethey 10 ปีที่แล้ว

    It's sad that the audio is buzzing a lot, the video is great and I use submodules for my vim plugins too!

  • @spiralings
    @spiralings 9 ปีที่แล้ว +22

    can we find your class 3 somewhere?

    • @nilsirl
      @nilsirl 6 ปีที่แล้ว +1

      Week 3's video was corrupted but you can see the class notes here: github.com/shawncplus/vim-classes/blob/master/expert-1.md

  • @vincentpham7445
    @vincentpham7445 9 ปีที่แล้ว +2

    where's the second video? can you upload the second navigation part?

  • @happylittleplaces
    @happylittleplaces 10 ปีที่แล้ว

    Perfect! Thanks a lot :)

  • @ling6701
    @ling6701 9 ปีที่แล้ว +1

    @18:53: what do you think this commands will do?
    It would make me think that vim is worth it.

  • @StifSpearSubba
    @StifSpearSubba 8 ปีที่แล้ว +25

    where is week 2 and 3?

    • @tiagosutter8821
      @tiagosutter8821 7 ปีที่แล้ว +2

      Week 3's video was corrupted but you can see the class notes here: github.com/shawncplus/vim-classes/blob/master/expert-1.md

  • @Jzarecta
    @Jzarecta 8 ปีที่แล้ว +1

    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.

    • @RussellTeapot
      @RussellTeapot 8 ปีที่แล้ว +1

      yes, you have to in order to load the plugin

  • @ShawnBiddle
    @ShawnBiddle  11 ปีที่แล้ว +1

    It's just gnome terminal with GNU Screen. You can find all of my configs on github. Link's in the description.

  • @ShawnBiddle
    @ShawnBiddle  11 ปีที่แล้ว +1

    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.

  • @gouthambharadwaj8663
    @gouthambharadwaj8663 10 ปีที่แล้ว +4

    what's the name of your colorscheme

  • @WilliamStrealy1
    @WilliamStrealy1 11 ปีที่แล้ว

    Good plan :)

  • @GooogleGoglee
    @GooogleGoglee 4 ปีที่แล้ว

    The leader command in insert mode doesn't work with me here... What I am missing?
    :imap ' ''i

  • @anteconfig5391
    @anteconfig5391 5 ปีที่แล้ว

    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.

  • @TrilokD
    @TrilokD 4 ปีที่แล้ว

    How do you use " ¬ " at each and every line in Vim?

  • @MinNyeAccount
    @MinNyeAccount 11 ปีที่แล้ว

    dude u are hella cool.

  • @MichalKeda
    @MichalKeda 11 ปีที่แล้ว +1

    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?

  • @MinNyeAccount
    @MinNyeAccount 11 ปีที่แล้ว

    hi, what about javascript Intellisense do u know of any context sensitive solution, that can maybe understand your jdoc=

  • @Mrinfiniteonce
    @Mrinfiniteonce 10 ปีที่แล้ว

    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 :)

  • @happylittleplaces
    @happylittleplaces 10 ปีที่แล้ว

    How can you get that completion hint in command mode?

  • @ArturoGarzaID
    @ArturoGarzaID 7 ปีที่แล้ว +1

    How did you get that little bar at the bottom?

    • @slash7682
      @slash7682 6 ปีที่แล้ว

      I use "vim-airline"...you can find more here:
      github.com/vim-airline/vim-airline

  • @ShawnBiddle
    @ShawnBiddle  12 ปีที่แล้ว

    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.

  • @21stcenturydigitalje
    @21stcenturydigitalje 11 ปีที่แล้ว

    Were you able to re-record class 3?

  • @JanUC3mQtGq3NMcyMVdhm6md
    @JanUC3mQtGq3NMcyMVdhm6md 11 ปีที่แล้ว

    where can one find week 3?

  • @yongbinpark2821
    @yongbinpark2821 8 ปีที่แล้ว

    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

    • @ShawnBiddle
      @ShawnBiddle  8 ปีที่แล้ว

      +YongBin park It's from listchars, you can see it here github.com/shawncplus/dotfiles/blob/master/.vim/startup/settings.vim#L44

    • @VulcanOnWheels
      @VulcanOnWheels 7 ปีที่แล้ว

      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:›

  • @poornimaaravindran6478
    @poornimaaravindran6478 5 ปีที่แล้ว

    You used the github file path.But now that files are not available. Can you please send the files path?

  • @ShawnBiddle
    @ShawnBiddle  11 ปีที่แล้ว

    When I stop being lazy. I keep saying "Possibly this week" but other stuff comes up. So... possibly this week?

  • @JanUC3mQtGq3NMcyMVdhm6md
    @JanUC3mQtGq3NMcyMVdhm6md 11 ปีที่แล้ว

    I just could not resist installing 'gti'

  • @WilliamStrealy1
    @WilliamStrealy1 11 ปีที่แล้ว

    Any updates?

  • @BOHICAMAN1
    @BOHICAMAN1 10 ปีที่แล้ว

    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 ???????????

    • @navi-charlotte
      @navi-charlotte 10 ปีที่แล้ว +7

      suggestion: switch to linux
      :p

    • @BOHICAMAN1
      @BOHICAMAN1 10 ปีที่แล้ว

      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!!!

    • @MinecraftEpicPlayer
      @MinecraftEpicPlayer 9 ปีที่แล้ว +2

      Robert Cressman The butthurt is strong in this one

    • @RussellTeapot
      @RussellTeapot 8 ปีที่แล้ว

      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.

  • @ShawnBiddle
    @ShawnBiddle  12 ปีที่แล้ว

    A lot of crackling in the audio, not entirely sure why. My mic hasn't given me that problem before.

  • @ShawnBiddle
    @ShawnBiddle  11 ปีที่แล้ว

    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"

  • @TheStringficelle
    @TheStringficelle 11 ปีที่แล้ว

    vimtutor in a terminal to learn the basics :)

  • @BrutusPalmeira
    @BrutusPalmeira 7 ปีที่แล้ว

    I'm sure if he worked on the missing videos they would also get over 50k views...

  • @ShawnBiddle
    @ShawnBiddle  12 ปีที่แล้ว

    Indeed, I was very disappointed.