Nano or Vim? (Linux+ Objective 1.2.3)

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

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

  • @chillnacho
    @chillnacho 2 ปีที่แล้ว +3

    I really like VIM and it's very powerful, but I have too many other things to learn right now than to learn and master VIM. Nano it is for me.

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

    For those of us that used to use Edlin, VI wasn't so bad. But nano is the way to go.

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

    Fantastic work as usual Shawn P. You make boring topics interesting!

    • @shawnp0wers
      @shawnp0wers  2 ปีที่แล้ว +1

      Thank you! That’s incredibly kind. :)

  • @aarthisusarla2934
    @aarthisusarla2934 ปีที่แล้ว

    Thanks for the CompTia Linux+ material, Shawn! Planning on taking the Linux+ certification this year, and these videos have been very helpful. :)

    • @shawnp0wers
      @shawnp0wers  ปีที่แล้ว

      OMG!!! First off, THANK YOU so much for the SuperThanks! That's incredibly generous.
      Second, I'm sorry it took so long for me to reply! I saw when this comment and SuperThanks came in -- but it was DURING last Sunday's livestream, and I thought it was someone IN the livestream. Then I couldn't find who it was to thank. So a week late, thank you so much!

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

    As always, thank you so much for the awesome content. 😀

    • @shawnp0wers
      @shawnp0wers  2 ปีที่แล้ว +1

      I've run out of ways to cleverly gush my thanks, while not sounding like a broken record. And that is just about the most wonderful problem a person can have, I suspect. Thank you again, my friend. You've made my whole week, once again.
      And vague-so-as-not-to-compromise-your-privacy -- but that other thing you did was the VERY FIRST ACTUAL TIME SOMEONE DID THAT THING ON THE NEW THING AT THE URL! (Too vague? Hopefully you know what I'm talking about, lol, thanks for that too, I'll get it taken care of today!!!)

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

      @@shawnp0wers Oh wow! So cool! You made my day!

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

    Couple other vim shortcuts in Command mode:
    x to delete, ZZ to write and quit, A to append at end of line, I to insert beginning of line. Any number and x will delete that many characters from cursor. For example 3x will dete the current highlighted character plus the next 2.

    • @shawnp0wers
      @shawnp0wers  2 ปีที่แล้ว +1

      I do really love using vim, which I know is odd since I don't "recommend it" to people. The hard part for me is always how deep to dive! Thanks for the additional commands, because yes, it's so powerful.

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

    I am glad i am not the only one that remembers pico (& pine). I use nano almost always but will use vim if i need to open more than one file.

    • @shawnp0wers
      @shawnp0wers  2 ปีที่แล้ว +1

      Interestingly, on most systems, typing “pico” will actually open nano, lol!

    • @samplesandtests
      @samplesandtests 2 ปีที่แล้ว +1

      @@shawnp0wers but not all. i have found some systems that do not alias pico --> nano and I have also sound systems where vi is not aliased to vim and typing vi will get you vi and you have to type vim to get vim. Bust not i am trying to figure out at what version nano changed the text in the "cheat sheet" at the bottom to say ^U is "paste" and not "uncut" I think the most recent version i used was like 2.7.

  • @alxt111
    @alxt111 ปีที่แล้ว

    Hi Shawn, I just discovered your channel and I really like the way you explain things.
    I've got a little remark regarding the names of the modes in Vim. What you call command mode is actually normal mode. If you type ":" in normal mode, you enter command mode. At least that is how everyone else seems to refer to the modes. I don't know whether or not the names are official.

  • @mason8714
    @mason8714 ปีที่แล้ว

    great video on vim and nano!

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

    pico was the first editor (in *nx) that I ever learned because the first email client I ever used was pine (not elm... those who get it, get it). However I quickly learned vi because it's so small and was on just about every *nix system I ever touched, so it was easier to learn one editor versus two (or more). Back then the debate wasn't vim vs nano (or more accurately, vi vs pico since vim and nano weren't around yet), the debate was between vi and emacs. Hard core coders preferred emacs since you could do things like hook assembling, linking and compiling as well as use macros.

    • @jehster
      @jehster 2 ปีที่แล้ว +1

      P.S. Like you said, the arrow keys weren't supported in vi. I still use h-j-k-l to navigate, to this day.

    • @shawnp0wers
      @shawnp0wers  2 ปีที่แล้ว +1

      So does my friend Kyle (who recently appeared on my other TH-cam channel) -- I'm a lazy cuss these days and use arrow keys. :D

  • @MichaelGauthreaux
    @MichaelGauthreaux 4 หลายเดือนก่อน

    When you are in Vi or Vim and you save to that new file name, do you continue to work in the old file or at that point are you working in the new file?

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

    You can perform "save and exit" action in vi by simply using :x instead of :wq :-)

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

      Ha! I didn't know that. Cool!

  • @GoShred95
    @GoShred95 2 ปีที่แล้ว +1

    Shawn you're looking 👍

    • @shawnp0wers
      @shawnp0wers  2 ปีที่แล้ว +1

      I’m totally taking video on Thursday!

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

    It used to be emacs vs. vi. Now, nano vs. vi?? To me, nano is no-no because I've been using vi for 24+ years.

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

      SAME. My fingers just "think like vim", and the clearly simpler nano is always more difficult for me to navigate!

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

    hey man.. can you plz make more advanced videos on linux or even other tools like ansible docker and stuff??tnx alot

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

      I hope to eventually. I'm trying to build up a catalog from simple to complex. The Linux Essentials is complete, and now we're working on Linux+. I expect to take a few "side trips" into other topics during the lengthy Linux+ rollout. Hopefully something there will be useful.
      Someday I'll be able to do this full time, but right now I still have a full time day job. :/

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

    Nowadays even if we explicitly want to use vi it is aliased to vim, not sure though if it applies to all dystros

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

      I think you are correct. Unless vim isn't installed (like on Ubuntu Desktop, by default) -- then it launches plain old vi. Until you install vim, then "vi" is an alias to vim. Kinda crazy.

  • @auntiecarol
    @auntiecarol ปีที่แล้ว

    ed is the standard editor 😁

  • @SouthFacedWindows
    @SouthFacedWindows ปีที่แล้ว

    There is another awesome text editor called micro. which is better than nano :)

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

    Hey Shawn, what bet did you lose?

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

      Is this about the hair? lol -- sad that I'm not sure what absurd aspect of myself you are referring to. Perhaps that says a lot about me. LOL

  • @ntfsntfs5282
    @ntfsntfs5282 5 หลายเดือนก่อน

    So much talking, so few valuable info