I am trying to use VIM for some programming. I am a total beginner in VIM. Could you guys please help me figure out Project Plugin
I can't understand the documentation. If you have used this plugin, could you tell me the basic steps to get started?
vim is a plugin that wraps the command-line fuzzy finder program fzf, allowing you to use it directly within Vim. Fzf is a fast and portable fuzzy finder application written in Go. It is a requirement for the Vim plugin, so make sure you install it first.
The plugin architecture of NeoVim is a lot better than Vim. Apart from plugin implementation in Vimscript (VimL), we can also use the Lua programming language. In addition, NeoVim has a lot more powerful plugins, which are not compatible with Vim.
vim-plug works by cloning each Git repository into the location specified by begin . After installing, you can find the example plugin in ~/. vim/plugged/vim-unimpaired . Installing plugins is done inside of Vim.
In order to configure the project plugin, you must edit the .vimprojects file. An example is given in the help
:help project-example
As you will see, you have to write something like this
Name_of_project = path/to/your/project CD=. flags=flags_you_want{
file1
file2
...
Name_of_Subcategory = path/to/your/subcategory filter=files_you_want{
subcategory_file1
subcategory_file2
...
}
}
Now you can call your project:
:Project
This will open a vertical window with the file you've just configured. Click on any file you added to open it.
For the flags and the filter, everything is explained in the help file. There are others subtleties you'll have to discover by yourself. I hope this will help you.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With