How to use the VCSCommand VC plugin for diff / commit / etc in a directory? (or ... What is the "VIm" directory buffer?)

(I am VIM-n00b)

According to the VCSCommand documents, the commands will work in the directory if you are currently in the "directory buffer". I can't seem to find any other links to open a "directory buffer".

What am I (possibly very stupid) missing?

+2
source share
1 answer

It looks like it's a buffer with filetype=netrw : if you open the directory in vim (for example, try vim . ), It will use the netrw plugin, which is distributed with the official package.

+4
source

Source: https://habr.com/ru/post/1343062/


All Articles