Create a Vim Plugin from scratch!

Publicado em: 11 Novembro 2021
no 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


Nesta página do site você pode assistir ao vídeo on-line Create a Vim Plugin from scratch! duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Alfredo Deza 11 Novembro 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 1,658 vezes e gostou 30 espectadores. Boa visualização!