Vim Makes Everything Better, Especially Your File Manager And Shell!

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 พ.ย. 2024

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

  • @zuekut
    @zuekut 5 ปีที่แล้ว +376

    The beginning sounded like you were describing your experience in a group therapy for Vim addiction hehe.

    • @DistroTube
      @DistroTube  5 ปีที่แล้ว +84

      Hi, my name is DT, and I'm an addict...

    • @zuekut
      @zuekut 5 ปีที่แล้ว +15

      @@DistroTube Vim is life :)

  • @jcwl70
    @jcwl70 5 ปีที่แล้ว +177

    00:00 Intro
    02:35 vifm (vi file manager)
    04:33 working with vifm
    05:40 renaming bunch of files with vifm
    11:04 vim mode enable in your shell (zsh)
    13:55 vim mode enable in your shell (bash)
    15:08 summary
    16:18 thanks patrons!

    • @MrKlaygomes
      @MrKlaygomes 5 ปีที่แล้ว +2

      thanks

    • @clockworkpc
      @clockworkpc 4 ปีที่แล้ว +2

      Creators should pay for this service.

  • @maxbarnard7165
    @maxbarnard7165 5 ปีที่แล้ว +381

    “VIM is so good it makes me suck at everything else”

    • @gutox253
      @gutox253 4 ปีที่แล้ว +26

      "VIM has really penetrated my life in a pretty big way"

    • @nobytes2
      @nobytes2 4 ปีที่แล้ว +1

      @@gutox253 😯

    • @e.6z1
      @e.6z1 4 ปีที่แล้ว +5

      @@gutox253 AND NOT ONLY MY LIFE

    • @frechjo
      @frechjo 4 ปีที่แล้ว +3

      iI think I got that joke^[:wq!

  • @wacesferpit
    @wacesferpit 5 ปีที่แล้ว +358

    itfw you automatically press 'i' when trying to writting somethinghhhhhhhhhhhhciwwrite
    anyway, nice video:wq

    • @DistroTube
      @DistroTube  5 ปีที่แล้ว +31

      lol

    • @randomorganist
      @randomorganist 5 ปีที่แล้ว +8

      a
      Personally, I', used to using the ED commands.
      .
      c
      Personally, I'm used to using the ED commands
      .
      w
      q

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

      iyou can also type :x to write and quite :x

    • @SB-qm5wg
      @SB-qm5wg 5 ปีที่แล้ว +2

      LOL Perfect!

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

      ZZ works for quit also

  • @gwojcieszczuk
    @gwojcieszczuk 5 ปีที่แล้ว +186

    VIM key bindings really get deep into your brain.

    • @harrytsang1501
      @harrytsang1501 5 ปีที่แล้ว +28

      IMHO it is the closest we have ever got to brain-computer interface

    • @tapank415
      @tapank415 5 ปีที่แล้ว +9

      :good night!

    • @smorrow
      @smorrow 5 ปีที่แล้ว +3

      @@harrytsang1501 I'd say the mouse is.

    • @Patrk38
      @Patrk38 5 ปีที่แล้ว +1

      nope. I Can't switch over to hjkl, I gotta use arrows. Even though it gets a bit awkward when switching TMUX panes.

    • @Patrk38
      @Patrk38 5 ปีที่แล้ว +1

      @@TheEjaay why would I? That's simply not comfortable

  • @TheJobCompany
    @TheJobCompany 5 ปีที่แล้ว +190

    Vim actually stands for:
    Vim
    Is not
    M'just a text editor, it's a way of life

    • @anthonyrossi8255
      @anthonyrossi8255 5 ปีที่แล้ว +10

      M'just, what

    • @muski282
      @muski282 5 ปีที่แล้ว +4

      Recursion detected

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

      Vim Is Mastery

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

      merely

    • @lain7758
      @lain7758 3 ปีที่แล้ว

      Vim
      Is
      More than a text editor (Vim really is a way of life)

  • @HuntroMZ
    @HuntroMZ 5 ปีที่แล้ว +3

    To navigate within a line you can use t (till) and f (find). That way you can avoid pressing h and l multiple times.
    For example:
    To move the cursor to the next comma you can use f,

    • @DistroTube
      @DistroTube  5 ปีที่แล้ว +3

      Yep, I could also have done "w" and "b" to move by word, as well.

  • @InnoVintage
    @InnoVintage 4 ปีที่แล้ว +102

    I've been using vim for the last four years, because I couldn't close it

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

      @Meux Palefa ZQ also

    • @nobeltnium
      @nobeltnium 4 ปีที่แล้ว +17

      pfffff, all noobs here keep telling ppl to use zee and qiu. Every one knows pros unplug the power cord

    • @magnusanderson6681
      @magnusanderson6681 3 ปีที่แล้ว +4

      @@nobeltnium That works I guess, but what I found to be equally effective was to stop paying my power bill

  • @Nimitz_oceo
    @Nimitz_oceo 4 ปีที่แล้ว +42

    Lol I loved this: “gg” : “ why in the world is he trying to go the top of the document in steam” that is awesome!

  • @TAsSos101000
    @TAsSos101000 4 ปีที่แล้ว +5

    The way the files are renamed is really amazing! It even looks unreal if a user uses only a graphical interface!
    Very nice! Thank you!

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

      right? just the substitution alone is mind blowing, then there's regular expressions and plugins, many possibilities

  • @simonced
    @simonced 5 ปีที่แล้ว +43

    Nice video.
    You did a little mistake when explaining /g after your substitute command.
    /g allows to replace more than one occurence on the same line where a match is found.
    The % at the beginning of the line is what makes the substitute command to apply to the whole document.
    Lastly, when saving and closing at the same time, you can use the command :x or event ZZ in normal mode.
    Also, `dw` will delete until next word, `daw` will delte a word (including space before it) and `diw` will delete in the word.

  • @RobBoudreau
    @RobBoudreau 5 ปีที่แล้ว +6

    Something you might find useful DT, try ':set number' in vifm. Gives you line numbers like Vim, makes navigating large folders easier. "25G" would open the 25th folder or file no matter where you are in the folder. You can make it permanent in your vifmrc if you like it.
    Great video. I can certainly relate to your having Vim bindings ingrained in your head. I hate having to reach for the mouse, and trying to remember "Is it Ctrl-k l, or Alt-k w, or..." ;-)

  • @rmcellig
    @rmcellig 5 ปีที่แล้ว +3

    Wow Derek!! What an excellent video!! I sent a link no to my nephew who is a HUGE vim fan. I'm starting to use it. So much fun even though most of the time I use nano and am trying to use vim instead. Your vim videos are great and I hope you will do more 😀

  • @CheapHomeTech
    @CheapHomeTech 5 ปีที่แล้ว +8

    You might want to start using vim as your terminal. Write the line you want to execute directly into a vim file and then put your cursor over it and execute it. For example I have a file called "/home/dt/Dropbox/fresh-mint-install.bsh" and I add to it anything I install on my system. So for instance after watching this video I added the line:
    :!apt-cache search vifm | grep "^vifm "; time echo your-password | sudo -S apt-get install -y vifm; apt-cache search vifm| grep "^vifm "
    and in my .vimrc I have a line that looks like :
    nnoremap :exe getline(".")
    So all I have to do is press the f2 key and the line under the cursor will be executed as if it were entered in the shell.
    Since I live in vim, do all my notes in vim, I sometimes have to open other programs from within. So my daily todo notes might have a line like:
    Update bank spreadsheet :!libreoffice -o $(locate mybiz.ods) & :!firefox www.bbvacompass.com/ &
    which would open a browser to my bank and a my libreoffice calc spreadsheet by pressing ,gg because my .vimrc file has a line like:
    :map gg :.,.s/:!.*&//gcn"tyf&@t:.,.s/&.*:!//gcnf:"tyf&@t
    Just some thoughts...

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

    I first used vi in 1988 when using Unix and VMS mainframes at college. All these years later, I am back to using it and now I want to use vim bindings in everything. Back in the day, I didn't realize how powerful and efficient it is...

  • @Felga16
    @Felga16 4 ปีที่แล้ว +1

    Great video! I did not know Vifm and now I just love it. Thanks for sharing it with us. Keep going that way.

  • @mkschreder
    @mkschreder 5 ปีที่แล้ว +4

    NeoVim is truly taking things to the next level. You can basically run vifm inside a neovim subwindow because you can now have terminal inside a window.

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

      you can do that in vim 8.1 or .2 I think
      :term
      opens an async term window, CTRL-W X to swap it's position with previous window

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

    If I weren't already a happy VIM user, the first 90 seconds of this video would have me afraid of ever trying it!

  • @riseabove3082
    @riseabove3082 5 ปีที่แล้ว +3

    Should be mentioned that there is a VI light that comes with most distros and then there is VIM the full pkg you can apt install. The key bindings work ever so differently in VI light vs VIM. I always have to install VIM to get the key bindings to work correctly. I used VIM and preferred it over Nano at the time but after discovering 'micro' I fell in love with its simplicity and how user friendly it was in comparison but still very fast to use. I especially preferred micro's ability to auto-detect different script/programming languages to correctly highlight variables in different colors. Plus it is only one binary file that you install in the /bin folder. I put it on all my Linux boxes.

    • @torque5056
      @torque5056 5 ปีที่แล้ว +1

      Well said. Micro is brilliant for making quick edits to config files for instance - I can add my lines, then save and quit almost instantly.

  • @eddiezaraza4805
    @eddiezaraza4805 5 ปีที่แล้ว +43

    are you and Luke Smith gonna make a video together sometime?
    both of you are my favorite Linux channels in TH-cam

    • @ichaa3tech
      @ichaa3tech 4 ปีที่แล้ว +1

      same . but why you want them to make a video together . 5:49 he has a screenshot from luke's video

  • @KingZero69
    @KingZero69 5 ปีที่แล้ว +3

    vim is love. vim is life. (emacs with evil mode is the master race tho)

  • @007arek
    @007arek 5 ปีที่แล้ว +1

    I agree with your last words. Plugin for browsers Surfingkeys has similar functionality like the vim. You can move on a website or write in a input text (almost) like in vim.

  • @paddor
    @paddor 3 ปีที่แล้ว +1

    Cool video! I'm a long time Vim user, but just getting started with file managers, potentially vifm. Btw, if you happen to be using NeoVim, you can set inccommand and see the potential results of your substitute commands live. And the modifier "g" is only needed if you wanna do more than one substitution per line.

  • @john_paul
    @john_paul 4 ปีที่แล้ว +1

    vim is love, vim is life, vim text editor is very nice

  • @BanditHijo
    @BanditHijo 5 ปีที่แล้ว +2

    on Ranger, we can do bulk renaming with press "v" for select all files, then type ":bulkrename", if you set your "export VISUAL="vim" on `~/.profile`, it will open Vim with all list file name. Exactly same like in this video. (^_^)

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

    Personally I’ve found vim keys a life saver on Firefox. I use VIM Vixen plugin and it’s really nice.

    • @gurdeepgss
      @gurdeepgss 5 ปีที่แล้ว +1

      Also try "Vimium FF"

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

      So try qutebrowser.

  • @14u2ponder
    @14u2ponder 5 ปีที่แล้ว +2

    I made the comment that for a new linux user, their first task should be to learn vim. Vim is very important to your success with linux in general.

  • @ArtixBTW
    @ArtixBTW 4 ปีที่แล้ว +5

    Writing anything at school was such a pain since we have to use Google docs

  • @lmfans
    @lmfans 3 ปีที่แล้ว

    Thank you. I always learn something new and useful from your videos. 👍🏼

  • @DimitriosCharalampidis
    @DimitriosCharalampidis 2 ปีที่แล้ว

    You can also add 'set editing-mode vi' to your '~/.inputrc' and that will enable vim bindings to any app that use the GNU Readline, not just Bash. If you're an emacs fan, you can do 'set editing-mode emacs'. Just remember to source '~/.inputrc' after making changes.

  • @gledianlalushllari9577
    @gledianlalushllari9577 3 ปีที่แล้ว

    You had 99.9K subscribers. I decided to subscribe thinking it'd reach 100K, but nothing happened.
    Then I clicked this video and it was 100K (I guess it needed a refresh). Congratulations, but now give me my 100K-th subscriber reward.

  • @larrygall5831
    @larrygall5831 5 ปีที่แล้ว +2

    My first experience with vim was.. unpleasant. I felt trapped, was erasing lines, felt like I froze it up, didn't know what the hell to do, and when I finally got out of it I said "fk this thing.." Now use it all the time. People getting into Linux should practice on a document you don't care about and learn vim. It's so worth it. I never used vifm, but will be grabbing it later.

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

      You mean like vimtutor?

  • @rajeshsharma5320
    @rajeshsharma5320 5 ปีที่แล้ว +3

    VIM really is a way of life!!

  • @nemesis9410
    @nemesis9410 5 ปีที่แล้ว +3

    this is exactly how I imagined a fanatic vim user.
    nano is the true warrior way

  • @mrdenpes1309
    @mrdenpes1309 5 ปีที่แล้ว +4

    mc has been there for 25 years now, and it's still improved. It's a terminal based filemanager. vifm cannot even stand in it's shadow. MC has it all. image preview, file editing, ftp/sftp, far better interface. Better and directly accessible info. Comparing dirs, and so on and so on. for advanced stuff, you can use bash. And it's all more or less build in. You can even set vi as it's main file editor if you wish. (i use nano within mc though). mc had some probs in terminal multiplexers, but not anymore.

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

    Very cool Derek. Another solid video. I really like this kind of content. Thank you.

  • @fission1110
    @fission1110 5 ปีที่แล้ว +1

    Trying to use something that doesn't have vim bindings is like typing with only two fingers.
    It's a skill that is just about as powerful for editing text as learning to touch type is.

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

    I'm new at Vim, thanks! Also.. the audio quality is outstanding

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

    I think the vi mode is implemented by readline library that is widely used by many terminal interactive tools, like bash.
    For browser, the Surfingkeys chrome and Firefox extension will make you feel at home, it has a lot of good features, one of the feature that other vim style ext missing is add bookmark. Surfingkeys ext is not very widely known, I guess its name prevents it from easily searched by vim lovers, but it really deserve your time to check it out, believe me

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

    Vim is superior, but it has a steep learning curve 👌

  • @cprn.
    @cprn. 4 ปีที่แล้ว +2

    Put the following in your `~/.inputrc` and you'll have `vi mode` in every CLI tool using standard input (e.g. `mysql`):
    set editing-mode vi
    set keymap vi-command

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

    Thanks for Sharing enable vim in shell. I was looking for it for a very long time.

  • @exapsy
    @exapsy 5 ปีที่แล้ว +1

    Thanks man, learning something good everyday from you. Keep it up!

  • @mbednarek360
    @mbednarek360 5 ปีที่แล้ว +6

    You should try Neovim. I recently switched to it from VSCode and it's pretty nice. Basically vim with more features and better performance.

  • @johnmm5146
    @johnmm5146 5 ปีที่แล้ว +1

    Nice one on the vim key binding for shell

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

    Well, vim is better but you first need to memorize the 105347098754 shortcuts to make your life easier with vim!
    Thanks vim

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

    some more basic usage will be great, like switch between the two panel and copy files etc

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

    Practical Vim helped me a lot.

  • @miyalys
    @miyalys 4 ปีที่แล้ว +1

    9:53 /g (= greedy) in substitute is technically only necessary when what you match may be present multiple times in the same line.

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

      Didn't know about vifm, thanks!
      Edit: Or exa.

  • @alfonsodonotsi6691
    @alfonsodonotsi6691 3 ปีที่แล้ว +1

    amazing video, i´m starting to apply now

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

    You speak from my heart. Vim is extremely great, the next that comes close it maybe emacs, but I use alt to navigate through my i3 windows and do not like that emacs heavily rely on alt commands. Vim is more independent from that shit, also works on non-desktop environments like server terminals.

  • @simewn
    @simewn 5 ปีที่แล้ว +1

    That looks great, I did not know you could do that in bash, thanks!

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

    2:55 Nautilus and Dolphin are for guests; for personal use there is rsync, cp, mv, mkdir, ln, rm, but also mc, ranger, or vifm if one will have to rename batches.

  • @rounakjain5774
    @rounakjain5774 2 ปีที่แล้ว

    First 90 seconds: it was as if you were reading my thoughts!

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

    Yes, vim^Wemacs is a best editor of the world! :) To be serious Vim is a great text editor. But, after a thinking about different text editors I decided that Emacs is the best text editor for me. Emacs was written in C and Lisp (ELisp) and one could change almost any behaviour of the text editor at the runtime using ELisp interpreter. And that ELisp power allows me to change the text editor as a like. Using a Vim give me vibes that it is an ad-hoc editor comparing to the Emacs (which is like a software Lisp machine). Now, I am using vim/sed/ed for ad-hoc tasks like list processing, configs, etc and Emacs to edit source codes, To-Do (org mode), TeX and so on both local and remote (Tramp!). But, anyway they are both cool text editors :) Sorry for off-topic.

  • @JFDOOLSTER
    @JFDOOLSTER 4 ปีที่แล้ว +1

    I always worry about putting vim bindings in bash because then I will become even more reliant on my own systems, making it very hard to work on a vanilla OS on a differently configured computer. I live vim, I definitely will look more into vifm, but i want to make sure i dont forget the bash or other key bindings.

  • @HuntingKingYT
    @HuntingKingYT 2 ปีที่แล้ว

    V-I-F-yem sounds pretty good!

  • @schatalkin
    @schatalkin 4 ปีที่แล้ว +1

    Thanks! vifm is really a fantastic tool!

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

    Cool. Now I'm using vim keys with zsh. Thanks.

  • @AlNewkirk
    @AlNewkirk 4 ปีที่แล้ว +1

    I feel you brother!

  • @pavel_espinal
    @pavel_espinal 4 ปีที่แล้ว +1

    Thanks for saVIM my life with these tips.

  • @user-ej6yc8sr3f
    @user-ej6yc8sr3f 4 ปีที่แล้ว +2

    Great vid, thanks! Keep up the content

  • @GGShinobi77
    @GGShinobi77 4 ปีที่แล้ว +1

    woah, didn't know about vifm, installed it right away! :D

  • @Froggie92
    @Froggie92 5 ปีที่แล้ว +1

    loved it! cant make the switch, need to be 'productive'
    definitely spent hours renaming files in a folder

  • @andrewpalm2103
    @andrewpalm2103 5 ปีที่แล้ว +1

    Good stuff as usual, Derek!

  • @axelstoll6536
    @axelstoll6536 5 ปีที่แล้ว +1

    vi vi vi is the number of the beast

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

      This is true for people that find themselves in vim and have no clue how to exit. I imagine they would feel like going "full Exorcist" and start throwing water at the screen...yelling, "The power of Christ compels you!"

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

    You should *never* limit yourself to only one set of keybindings. As an emacs evil user, I strive to master to both emacs and vim bindings. When I'm on OSX I try to master the macOS bindings too. So I can access any machine with ease and get productive within seconds.

  • @DevDungeon
    @DevDungeon 5 ปีที่แล้ว +1

    Very cool, didn't know about vifm before!

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

    Nice tut, but a bit too stretched. When screenshots previews were enabled, the top screenshot was from Luke's channel. Nice that they check eachother.

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

    There's a pretty good way I discovered about switching to normal mode while you're in Insert mode without using the Esc key or any other combinations. I'll make a video about it when I got the time. You're going to love Vim more and you're not gonna need to move your hands away from the keyboard or even touch the Esc key.

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

    very useful and clear.
    By the way I liked the sound quality.

  • @migtrewornan8085
    @migtrewornan8085 4 ปีที่แล้ว +1

    I found vi mode in bash very annoying because ctr-L stops working (unbound in vi-insert mode).However eventually I found this on some forum:
    bind -m vi-insert "\C-l":clear-screen
    With that binding it's perfect.

  • @gizzmoguy.
    @gizzmoguy. 4 ปีที่แล้ว

    Very beautiful theme you have for vim.

  • @VinceAggrippino
    @VinceAggrippino 5 ปีที่แล้ว +1

    I've been a devoted Vim user for nearly 20 years. While I do prefer apps that support Vim key bindings, I've never had any difficulty using apps that don't. I wish people would stop repeating that nonsense.

  • @ianpan0102
    @ianpan0102 5 ปีที่แล้ว +1

    [ Emacs User Alert! ] The biggest problem with Vim keybindings that I could think of is that it really gets deep in your brain, and you'll not be able to effectively edit text on other software or platform without constantly reminding yourself NOT to use 'hjkl' to navigate or press 'i' and 'ESC' to hop in and out of Insert Mode. While with Emacs bindings all the navigating shortcuts are prefixed with Ctrl or Meta (Alt) and can be ported to different platforms once you get used to it!

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

      I don't think that the biggest problem. the biggest problem is emacs has poor keys binding since beginning. that will make your hand moving awkwardly, strained, and your pinky muscle slowly getting injured.

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

      @@nikovn9 That's very true. I've also suffered from Emacs pinkie a little bit before I mapped the two keys (Alt) on each side of my spacebar to Ctrl

  • @loren481
    @loren481 4 ปีที่แล้ว +2

    Good video, I know what you mean about how it infiltrates your life. What are you using to get the big arrow shaped blocks denoting Normal mode, etc?
    Also if you haven't yet, check out the Vimium add on for Chrome and FF, I love it

  • @fuseteam
    @fuseteam 5 ปีที่แล้ว +4

    i rediscovered vim a few months ago
    and now i feel slow editing in a regular text editor xD

  • @danwhitacre8115
    @danwhitacre8115 4 ปีที่แล้ว +1

    Sounds like VIM is the Dvorak of editors.

  • @JessicaFEREM
    @JessicaFEREM 5 ปีที่แล้ว +1

    Vim is a way of life and i don't want to be in, but i understand

  • @MakeLinuxSimple
    @MakeLinuxSimple 5 ปีที่แล้ว +1

    That's interesting. I didn't know that vim file manager exist

  • @davidwoods1337
    @davidwoods1337 4 ปีที่แล้ว +5

    I can't tell you how often I've tried to end a Slack chat with :q

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

      slack and discord must be quit with
      $ killall slack && killall discord

  • @poonikarthu4988
    @poonikarthu4988 2 ปีที่แล้ว

    I have heard Derek say vim so much

  • @GNU_Linux_for_good
    @GNU_Linux_for_good 5 ปีที่แล้ว +1

    *So* wicked! Thanks man.

  • @ChetBABY
    @ChetBABY 4 ปีที่แล้ว +1

    dude probably VIM'd his coffee maker

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

    This guy needs surfingkeys. no worries about things like vim editors in email or keybindings in the browser

  • @TonyNguyenTin
    @TonyNguyenTin 3 ปีที่แล้ว

    Thank you for the lesson.

  • @rickmisk
    @rickmisk 5 ปีที่แล้ว +13

    I've been using vim since 1981

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

      1992

    • @japhethjay4880
      @japhethjay4880 5 ปีที่แล้ว +1

      This guy is an ancestor I wasn't even born yet, I was born like 6 years later

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

      wow, you're a man.

    • @stiv_mcgivers
      @stiv_mcgivers 5 ปีที่แล้ว +1

      vi, or vim ;)

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

      1992

  • @ZakariaBoumediane
    @ZakariaBoumediane 5 ปีที่แล้ว +1

    Would love to see some list whats on your desktop (desktop manager, bar, powerline?, .files etc)

  • @andrewyu6996
    @andrewyu6996 4 ปีที่แล้ว +2

    " I wanna delete a line with dd "
    sudo dd if=/usr/bin/vim of=/usr/bin/vi

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

    great video, I know I'm a bit late, but could you tell me what your distribution is ?

  • @gjermundification
    @gjermundification 5 ปีที่แล้ว +2

    Don't forget sc-im or scim: github.com/andmarti1424/sc-im Curses based spreadsheet with vim keys.

  • @dragonboyjazz
    @dragonboyjazz 5 ปีที่แล้ว +6

    not sure i want to use vim, i like having a graphical system to use
    why do you have pictures of luke smith in your screenshots folder?

    • @DistroTube
      @DistroTube  5 ปีที่แล้ว +2

      Good question. And that screenshot was from like 3 months ago. I must have been watching TH-cam on one of my monitors (3 monitors) when I took the screenshot. I didn't think about this before making the video. Some of these screenshots could have included me watching Netflix on that monitor....or other stuff.

  • @plantbased_brother3327
    @plantbased_brother3327 5 ปีที่แล้ว +1

    I am using ranger, but i'll give it a try. Thanks.

    • @SaHaRaSquad
      @SaHaRaSquad 5 ปีที่แล้ว +1

      Vifm behaves very much like Vim and is snappier than ranger. But I still use ranger for opening files in Vim, it's more convenient for that.

  • @jag831
    @jag831 3 ปีที่แล้ว

    You really live in Vim man. You should go to Text editors rehab haha jk, amazing info 🙂 Thank you

  • @gizzmoguy.
    @gizzmoguy. 5 ปีที่แล้ว +1

    This is quite useful thanks.

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

    You really ought to spend some time in emacs. Emacs can be your window manager, file manager, web browser, mail client, irc client, text editor, and more. :-)

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

      In other words, it can barely do more than Vim with an open terminal buffer. I don't see why I'd sacrifice Vim's controls for the same thing in a different package. And please don't come with "but muh Evil mode", Evil mode can't make Emacs behave in a sane way either.

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

      @TheBlackiwid Vim can do all important stuff I need, and yes, that includes shortcuts depending on filetypes etc.
      - who needs a bittorrent client with Emacs/Vim controls? It's not like you're writing a novel in there
      - congrats
      - picture previews work
      - vim has a jabber client(and google calendar sync btw) as well
      - you mean the magit that's also available for Vim?
      - presentation plugins for Vim exist
      - the python prompt in a terminal buffer shits on a random calculator
      - spreadsheet is possible in Vim too, albeit limited
      Can Emacs do a few things more? Sure. It can't properly emulate Vim's amazing controls though(and yes, I've tried. Evil mode and spacemacs do not solve the real problems with Emacs controls).

    • @leredempteur3011
      @leredempteur3011 5 ปีที่แล้ว +1

      SaHaRaSquad both programs are great , there’s no need to fight over 😅😄 it’s sad all stupid wars like wars for such distro over another one etc . Programs are nothing but tools , and what is important is what you can achieve with these tools , the tools are not the final goal , only things making your journey more easier , one might take a road and on other one another road , they have different goals , objectives etc

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

      @TheBlackiwid "Evil mode means vim shortcuts"
      No. Evil mode means most Vim shortcuts that usually(but not always) behave like Vim, inside an environment that's fundamentally incompatible with Vim shortcuts.
      Using Emacs with Evil mode is like making fire in a pool...it works if you let it float on a surfboard, but you better don't move too much.
      You like Emacs, that's fine. I don't because the controls feel like they come from a random generator, but whatever floats your boat.

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

      @TheBlackiwid "would you rather have a pretty good universal mass produced one, or rather have one made for you specially to fit you perfectly"
      Again proof that you greatly underestimate Vim. Comparing it to a mass produced product is ridiculous. There are literally plugins that let you edit and sync Google calendars in Vim and much more. So many people also constantly praise org-mode while not realising it can be used in Vim as well.
      "because you are to lazy to test something else"
      I literally spent a whole week trying Emacs with Evil mode and configuring it for my needs. The control scheme just doesn't work for me.

  • @robertcrawford4009
    @robertcrawford4009 5 ปีที่แล้ว +2

    I'm glad you like vim. I don't I like it. I like to use sublime-text editor and gui file manager. I don't mind using the terminal when I need to. I'm running Manjaro. When I'm in the terminal I'll use nano.

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

      I do the same brother. I actually like vi and nano they do what I want.

  • @blank2707
    @blank2707 5 ปีที่แล้ว +2

    Literally the same day I discovered ranger... small coincidences I guess. :)

  • @il2xbox
    @il2xbox 5 ปีที่แล้ว +1

    So what you're saying is Vim is a better operating system than Emacs because it actually has a decent text editor?

  • @MarkBlakeney
    @MarkBlakeney 5 ปีที่แล้ว +3

    His method of setting vi mode in bash is sub-optimal. Bash uses readline so you are better off just "set editing-mode vi" in your ~/.inputrc then bash and all the other very many readline based programs will use vi mode. Also, ranger consistently gets rated as the best "vi based file manager" compared to vifm.

    • @rounakjain5774
      @rounakjain5774 2 ปีที่แล้ว

      "His" is a sub-optimal word to use in a comment. You are better off using "This" instead. :)