1. 2
  1.  

  2. 2

    On the topic of #5 (running commands w/o exiting vim), this is certainly a way to do it, but in my experience, it’s a lot easier to Ctrl+Z and background the vim job and do my stuff there. That said, this command is super useful when combined with :r, :r!ls will run ls, and then paste the contents into your file. It’s a nice way of pulling data into somewhere where you can screw around with it, a little bit quicker than dropping to the CL and dumping the content into a file where you can edit it.

    Otherwise great tips!

    1. 1

      Thank you and good points! When I first started using the command line I remember learnings about backgrounding tasks but for whatever reason, it didn’t become a long term habit for me. I can’t really explain why though. Nice point about adding the command ouput into the file to play around with!

    2. 2

      Some of these I didn’t know, so it got my upvote.

      1. 1

        Glad to hear it :D