VIM TRICKS Episode 1 - TERMINAL

Sdílet
Vložit
  • čas přidán 31. 05. 2019
  • Terminal from right inside Vim? Yep. Check it out.
    In case you haven't seen vim before: www.vim.org/
  • Věda a technologie

Komentáře • 59

  • @walidchtioui9328
    @walidchtioui9328 Před rokem +1

    As someone who have just started learning how to use Vim, I want to thank you. This has saved TONS of time reading long, horribly presented articles on the internet about terminal workflow in Vim. Danke!

  • @carsonholloway
    @carsonholloway Před 3 lety +2

    You actually taught me something BRAND NEW! I never knew VIM could do this at all; that's the thing about this great editor; there's always something new to learn.

  • @the8ctagon
    @the8ctagon Před 5 lety +2

    Great video. You pack a lot of information into a few minutes, and you explain everything very well. Also, the seamless blending of the terminal with your camera feed is effective. I'm looking forward to seeing more in this series.

    • @yash1152
      @yash1152 Před 2 lety +1

      yeah, i liked that blending as well (:

  • @raiyanreza9764
    @raiyanreza9764 Před 2 lety

    I wish I could keep smashing the like button to keep giving you likes!
    So informative!

  • @tabiMonk
    @tabiMonk Před 3 lety

    This is what I wanted to know. Thanks a lot! :)

  • @manikandans8808
    @manikandans8808 Před 5 lety +3

    Waiting for next one...

  • @PhaniTallapureddy
    @PhaniTallapureddy Před rokem

    Hi Wesley, really liked this video !!
    however, i would like to know how you showed vim window on top of yourself in the video without intrusing too much ?

  • @encycl07pedia-
    @encycl07pedia- Před 4 lety +3

    Can you please do a video on vifm? That's an excellent file manager. I especially like using the regexp renaming.

  • @yashchauhan5852
    @yashchauhan5852 Před 4 lety +2

    Nice, I didn't knew the N one.

  • @terrythompson7535
    @terrythompson7535 Před 3 lety +2

    What command are you using to close the terminal window?

  • @jantoth8982
    @jantoth8982 Před 3 lety

    Hi great video. I like the part where you opened a terminal from vim but in my case this SHIFT+n does not get me into vim like mode ... can you help ?

  • @frenchmike
    @frenchmike Před rokem

    Awesome vid and tips

  • @AntonDaneyko
    @AntonDaneyko Před měsícem

    Thanks for the video. I keep asking myself why would I ever want to use it if I can use tmux, for example. What’s your take on that?

  • @rteja764
    @rteja764 Před 5 lety

    this was cool !! subscribed

  • @3Diego
    @3Diego Před 5 lety +7

    Nice, It's very useful.
    I advise you to change you dwm config in "static const int resizehints = 1;" to 0, it will make your terminal take all of your screen space available underneath the bar, actually it will force dwm to distribute all of your available screen space equally such as i3 does ;)
    Trust me it'll look a lot better.

    • @WesleyAda
      @WesleyAda  Před 5 lety +7

      YES! Just did this and I like the way it looks so much better. Thanks for the tip!

    • @enzomon27
      @enzomon27 Před 3 lety +1

      just for i3? I'm using gnome now

  • @shivar8023
    @shivar8023 Před 3 lety

    this is precious !!!!

  • @masoodhosseinifard4178

    Thank you so much! You explain clearly.

  • @GuilherHast
    @GuilherHast Před 2 lety

    It was really helpfull. Thank you.

  • @sociologie4507
    @sociologie4507 Před 5 lety +10

    Ctl-w cap N: Thanks!

    • @joselodev
      @joselodev Před 3 lety

      Do you know if Is there any way to map this in the vimrc? I mean combine two commands in one key combination?

  • @slayertrick
    @slayertrick Před 3 lety

    Good quality vid, u need more subs

  • @GabrielSantana-hb8dp
    @GabrielSantana-hb8dp Před 3 lety +1

    How to start vim with the terminal already open?

  • @ji3230
    @ji3230 Před 3 lety

    how do you move into vim from the terminal pane?

  • @kartik_gatsby
    @kartik_gatsby Před 2 lety

    Would you mind sharing your .vimrc file in the description? Many thanks in advance.

  • @sidekick3rida
    @sidekick3rida Před 3 lety

    So doooooope, thanks!

  • @rodelias9378
    @rodelias9378 Před 4 lety

    Nice!! Thanks man!

  • @jabahunter
    @jabahunter Před měsícem

    Glorious

  • @ji3230
    @ji3230 Před 3 lety

    what are you doing to close the window...

  • @4tooitous
    @4tooitous Před 4 lety

    This is a cool vim trick I will be adding to my .vimrc, however that light switch looks a little off level just thought I should let u know

  • @n3kh
    @n3kh Před 3 lety

    thanks, I was using another terminal on the bottom on the screen and it was kinda annoying

  • @imrank340
    @imrank340 Před rokem

    At 2:45 ... And using edit command to modify .vimrc file? It could be vim .vimrc?

  • @vuongtran5799
    @vuongtran5799 Před 3 lety

    Thanks for your videos, how can we use terminal like vim, I mean we can move text with g,h,j,l

    • @user-he4ef9br7z
      @user-he4ef9br7z Před 3 lety

      Switch to "Terminal-Normal mode" by : Crtl+w, Shift+N
      Now you can use hjkl etc to navigate like vim, you can also select, copy , so on
      To go back to terminal mode press i or a.

  • @masoodhosseinifard4178
    @masoodhosseinifard4178 Před rokem +1

    Perfect!

  • @MerlinOstermann
    @MerlinOstermann Před rokem

    Waht is the first window he is in?

  • @fiachrasheridan9866
    @fiachrasheridan9866 Před 3 lety

    hey, I can't get the leader button to work. I have "let mapleader ="\"" , but i get an error saying "missing quote". any ideas?

    • @reralt
      @reralt Před 3 lety

      remove the quotation mark before let
      No need for that

    • @fiachrasheridan9866
      @fiachrasheridan9866 Před 3 lety

      @@reralt sorry lol, that was meant to show that this was a quote, don't actually have that in the file

  • @federicomoya4918
    @federicomoya4918 Před 2 lety

    Pretty cool

  • @mdfeatherwx
    @mdfeatherwx Před 3 lety

    stunning

  • @MarkBlakeney
    @MarkBlakeney Před 4 lety +2

    ":vert term" is shorter than ":bel vert term"

  • @coon-si3ce
    @coon-si3ce Před 4 lety +1

    I have vim-gtk3 version 8.0 With all updates.
    This is the big version qnd well maintained
    the ;terminal command does not work for me.
    Maybe I need vim-gnome
    Anyway I can still use ctrl-z to pause vim
    then fg to go back
    alternatively !sh or !bash and exit work in a similar way.

    • @coon-si3ce
      @coon-si3ce Před 4 lety

      I've done some testing uninstalling and installing other vim packages, what ever is in the mx-linux repository.
      The only one that would do this was neo-vim. Just that I prefer to stick with vim.

  • @mukeshverma7060
    @mukeshverma7060 Před 2 lety

    how to exit from vim using command?

  • @ritiksoni6976
    @ritiksoni6976 Před 3 lety

    suscribed''

  • @svhuwagv2965
    @svhuwagv2965 Před 4 lety

    The video is very nice but the intro doesn't reflect that. I almost always close tabs after hearing overdone or too long intros. Just letting you know sir

  • @sembutininverse
    @sembutininverse Před 4 lety

    ♥️♥️♥️♥️♥️

  • @forgiveness_denied
    @forgiveness_denied Před 4 lety

    whaaaaaat?

  • @XorAlex
    @XorAlex Před 4 lety

    What is the point of running a terminal from inside of vim? Why not just run a separate terminal?

    • @imnotblackpinkfanimtheirai5300
      @imnotblackpinkfanimtheirai5300 Před 4 lety

      you have to use mouse to do something between vim and a separate terminal.

    • @marsrocket
      @marsrocket Před 4 lety +1

      You may be on a text-only console that only shows one screen, like any Linux server version running on hardware, or a KVM. Editing a config file and restarting a service would be soon much easier this way. Yes I know about ctrl-alt-f1, etc. but that doesn't always work.

    • @yash1152
      @yash1152 Před 2 lety

      my use case is that there is no good and gratis window manager available yet for "windows OS", and like, i want to be able to tile things.... using separate terminal will come with burden of managing those different window dialogs

  • @zekodun
    @zekodun Před 3 lety

    :terminal is super great because one can do things like ':term ssh my.raspberry.pi mysql -h localhost' and get a mysql shell on your remote server