Posts tagged vim
- Jun 22, 2017
- Author: Daniel Siepmann
- Location: Vimfest Berlin
- Language: en
- Category: Talk
- Tags: vim, nvim, python
This talk will be held at Vimfest 2017 in Berlin. I’ll show how to write plugins for Nvim using the new Python Plugin API. The API is async and wraps the new msgpack. The API is called “Remote Plugin API”.
As an example I will use the plugin neotags, which is my first Nvim plugin using the new API. It’s completely written in Python3 and covered with tests. Of course there are already some tag update plugins out there, but I wanted to try out the new API. Also most of the plugins did not work with my setup, or contain to much code and no tests.
If you are like me, you have a structured filesystem for your different jobs. E.g. one for your own
projects, one for customers, one for learnings, etc.
This allows you to set specific options within Vim related to the projects or customers. E.g. if
typo3 uses tabs instead of spaces you can configure that for
Projects/typo3/**. And if you want
to ignore certain folders like
build within Sphinx installations, but not within e.g. typo3
projects, you can do it like the following.
As a dedicated Vim user I’ve collected some links already which I want to share as a list here. This list is dedicated to my team mate @dk2kde. And I recommend walking through them in the order I’ve listed them.