mu-template
Vim template-files expander (by LucHermitte)
lh-cpp
C&C++ ftplugins suite for Vim (by LucHermitte)
mu-template | lh-cpp | |
---|---|---|
2 | 4 | |
20 | 128 | |
- | - | |
4.7 | 0.0 | |
5 months ago | 10 months ago | |
Vim Script | Vim Script | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
mu-template
Posts with mentions or reviews of mu-template.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-07-21.
-
auto create code when i open new cpp file.
On those topic I provide mu-template that is somewhat hybrid as it supports template inserted when a new file is opened-created, but also snippets. It can be completed by lh-cpp for even more advanced C++ related snippets. Note: they are definitively not trendy but I'm still using and maintaining them.
-
I want some text appears whenever I create a new buffer with a certain file extension.
I'm maintaining mu-template. There exist many more plugins on the subject -- I remember a non exhaustive list on vim.wikia, now "fandom". Other people prefer pure snippets solutions where they manually request the expansion of the skeleton they wish to use.
lh-cpp
Posts with mentions or reviews of lh-cpp.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-04-04.
-
[C++] If I declared a function signature within a class in a separate file, is there a way to automatically define the function (besides the body) in the class implementation file
In lh-cpp, gotoimpl_with_libclang branch, I have been working on a new implementation of :GOTOIMPL (generate an empty body in a .cpp file from the signature) and :MOVEIMPL (move an inline definition from an header file to an implementation file, while leaving a declaration behind) that rely on libclang to parse C++ code. :GOTOIMPL & :MOVEIMPL have existed for ages now. The difference is that I'm now able to correctly handle template classes and functions, and more complex parameter types as C++ parsing is no longer done with regexes.
-
Is there a plug-in that adds semi-colons after class/struct definitions for C++?
In lh-cpp, I tweak lh-brackets mapping on { to insert the semi-colon as well, but only if one of struct, class, enum... is detected on the current line when { key is hit.
-
auto create code when i open new cpp file.
On those topic I provide mu-template that is somewhat hybrid as it supports template inserted when a new file is opened-created, but also snippets. It can be completed by lh-cpp for even more advanced C++ related snippets. Note: they are definitively not trendy but I'm still using and maintaining them.
-
Can't wait for Vim 9 script! (VimL 2, VimScript 2)
We already have a kind-of central registry, it's vim-pi. Thanks to it, and VAM, you can install my lh-cpp plugin and all its dependencies with a single :InstallAddon lh-cpp
What are some alternatives?
When comparing mu-template and lh-cpp you can also consider the following projects:
vim-snippets - vim-snipmate default snippets (Previously snipmate-snippets)
vim-minisnip - snipMate.vim based snippets plugin for vim
vim-skeleton - Initialize new Vim buffers with file-type-specific templates
vim-projectionist - projectionist.vim: Granular project configuration
exoskeleton.vim - Skeleton vim improved
vim-vsnip - Snippet plugin for vim/nvim that supports LSP/VSCode's snippet format.
qline.vim - The quick, fully-customizable status line plugin written in cutting-edge Vim9 script.