Create a Vim Plugin from scratch!

Publicado el: 11 noviembre 2021
en el canal de: Alfredo Deza
1,658
30

Create a Vim plugin from scratch and get to understand the whole workflow needed to put together a plugin that will work with any file type as well as some specific types like Python or XML.

In this video, I'll explain everything you need to know to create a function in Vim, and port anything you may have in your .vimrc over to a specific plugin so that you can distribute it and install it later.

Topics include:
Find about public and private functions in Vim
Port existing utilities in a .vimrc to make them a plugin
Map a command to a Vim function

Use the Github repository as a guideline: https://github.com/alfredodeza/create...

00:00 Introduction
00:49 Example repo with sample directories
02:00 Work with vimrc
03:40 Use a function to format XML
05:40 Create a directory structure for the plugin
07:00 Create a vim file for the function
09:50 Make a function private
12:20 Install the plugin
13:13 Debug the plugin
18:00 Make a plugin a filetype plugin


En esta página del sitio puede ver el video en línea Create a Vim Plugin from scratch! de Duración hora minuto segunda en buena calidad , que subió el usuario Alfredo Deza 11 noviembre 2021, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 1,658 veces y le gustó 30 a los espectadores. Disfruta viendo!