Executing Shell commands from Vim - Vim Tips (1)

Publicado el: 28 abril 2020
en el canal de: Ben Kadel
17,215
461

The FIRST video in a brand NEW show about Vim.
This series will provide small easily consumable Tips & Tricks in Vim to help you become a better Vim-er and is for Beginners & Intermediate Vim users alike. The aim is to hopefully expose/highlight some of Vim's massive (maybe even lesser known) functionality with explanations & examples.

In this episode I show you that you instead of having to navigate away from Vim, maybe even closing it in order to trigger shell commands. You can run shell commands from actually within Vim itself. Shell commands can be run and the output viewed either briefly inside your normal Terminal OR, even better, you can actually run the shell command and get the output of the command right back inside of the Vim editor, right back into your current Vim buffer, to do with whatever you like...

As a rubbish example you could run the `ls` command and get a list of files and folders into your Vim buffer (into the file you are currently editing) and create some form of directory file with descriptions about each of the files/folders. Again thats a bad example but hopefully the power of this feature is obvious. Then you are only limited by the shell commands that you know!

Links to help you learn more ======================

StackExchange Question regarding this topic:
https://superuser.com/questions/28550...

End Point article regarding this topic:
https://www.endpoint.com/blog/2009/03...

linux dot com article regarding this topic:
https://www.linux.com/training-tutori...

My sexy Vim Shirt: (P.S not sponsored just spreading the love)
https://www.redbubble.com/i/t-shirt/V...

=============================================

Thank you so much for watching. Feel free to reach out to me on my socials (below) with any questions or ideas for future videos...

Twitter:   / ben_kadel  
Github: https://github.com/kardelio

-------------------------------------
Tools:
-------------------------------------
Video Editing: https://www.blackmagicdesign.com/prod...
Image Editing: https://www.gimp.org/
Camera: Canon M50

-------------------------------------
Credits:
-------------------------------------
Intro Card Music: https://www.purple-planet.com
In Video Background: Photo by Adrien Olichon from Pexels
Thumbnail Background: Pexels.com (No Attribution Required)

Vid: 29

#Vim #VimTips #ShellCommandsInVim


En esta página del sitio puede ver el video en línea Executing Shell commands from Vim - Vim Tips (1) de Duración hora minuto segunda en buena calidad , que subió el usuario Ben Kadel 28 abril 2020, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 17,215 veces y le gustó 461 a los espectadores. Disfruta viendo!