Title

How to Write Neovim Plugin from Scratch

Neovim Plugin Development

2.75 (4 reviews)
Udemy
platform
English
language
Development Tools
category
instructor
How to Write Neovim Plugin from Scratch
36
students
1 hour
content
Jun 2023
last update
$39.99
regular price

What you will learn

Understand runtimepath

Learn how to install plugins without plugin manager

Create a very minimal plugin called "confy"

Publish your shiny new plugin!

Why take this course?

🌟 Master Neovim Plugin Development with Yuki Yoshimine! 🌟


🚀 What You Will Learn? 🚀

  • Basics of Neovim and Its Runtime Environment 📚
    • What is the runtime path in Neovim?
    • How does Neovim interact with plugins and its runtime path?
    • Installing plugins without a plugin manager.
    • Understanding pack/start vs pack/opt directories.
    • The role of require in loading Lua modules.
    • Module reloading techniques to avoid restarting Neovim.

🔧 Plugin No.1 [ confy.lua ] 🔧

Learn by doing! We will start with a simple plugin, confy, from scratch:

  • Writing confy.lua from the ground up.
  • Creating a basic plugin to open and reload your init.vim or init.lua.
  • Understanding the structure of a Neovim plugin.
  • Publishing your first plugin for others to use! 🤗

🛠️ Plugin No.2 [ Wrap Console Log ] 🛠️

Building on the basics, let's create a more complex plugin:

  • Writing a wrapper from scratch to handle console log wrapping.
  • Porting the VSCode extension "Wrap Console Log" into Neovim.
  • Implementing functionality to wrap text around your cursor into a template.

👀 My Future Plugins 🔄

Here's a sneak peek into upcoming plugins you'll learn to develop:

  1. Auto Pair
  2. SplitJoin
  3. Key Chain
  4. Key Layer
  5. Zettelkasten Link Jumper
  6. Real-time Floating Window Logger
  7. Smooth Scroller (on GitHub)
  8. IDE Backspace (on GitHub)
  9. Cursor Flasher (on GitHub)
  10. n Flasher (on GitHub)
  11. Star Flasher (on GitHub)
  12. Virtual Text Echo (can be extended to other languages)

And for the adventurous among you... 🚀 Your Own Fuzzy Finder! Boooooom! 🚀


🧠 Course Overview 🧠

An introductory course on Neovim plugin development would cover the essentials of creating plugins for this powerful text editor. Neovim, a fork of the classic Vim, enhances the editing capabilities with additional features and community-driven improvements.

The course starts with an internal understanding of Vim, focusing particularly on the runtime path. This is where Neovim looks for its runtime files, which include everything from syntax highlighting to plugin scripts and documentation. Understanding this is crucial when installing new plugins or developing your own.

We will delve into how Vim handles plugin installation pre- and post-Vim8's package feature and explore the possibility of installing plugins without a designated plugin manager. We'll also cover the use of Lua modules and how they can be loaded using the require function, which is key to modern Neovim development.

By following the Lua Plugin convention or the Vimscript convention, you will learn to create a minimal yet functional plugin called confy. This hands-on experience will allow you to grasp the fundamentals of Neovim plugin development and enable you to share your creations with the wider community.

By the end of this course, students should be well-versed in the art of Neovim plugin creation, ready to push their limits with advanced features and become contributors to the vibrant ecosystem that is Neovim. 🚀✨


Join us on this journey to unlock the full potential of text editing with Neovim, and embark on a path to becoming a plugin development pro! Enroll now and transform your text editor into a powerhouse of productivity tailored just for you. 🖥️💡

Reviews

Timothy
February 6, 2024
The teacher doesn't explain things well. He also seems to have a lot of aliases and specialized tools that he is using, which makes it harder to follow what he is doing. He should use standard command-line tools, even if it is more cumbersome, or he should start with a section showing each personalized alias or script he is using and what it does.
Winthrop
August 14, 2023
Section 1~4 is good, but section 5-7 are bad. Because demo is very simple and some code details are not very clear. Neovim code environment not clear. I saw teacher use fzf plugin but not mention in clause. Plugin Paq not mention in clause too

Charts

Price

How to Write Neovim Plugin from Scratch - Price chart

Rating

How to Write Neovim Plugin from Scratch - Ratings chart

Enrollment distribution

How to Write Neovim Plugin from Scratch - Distribution chart
5270066
udemy ID
13/04/2023
course created date
21/10/2024
course indexed date
Bot
course submited by