auto create code when i open new cpp file.

This page summarizes the projects mentioned and recommended in the original post on /r/vim

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • mu-template

    Vim template-files expander

  • 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.

  • lh-cpp

    C&C++ ftplugins suite for Vim

  • 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.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • vim-vsnip

    Snippet plugin for vim/nvim that supports LSP/VSCode's snippet format.

  • vim-projectionist

    projectionist.vim: Granular project configuration

  • Projectionist would be a really good fit here. It allows you to create files in specific directories with shortcuts and populate them with a template. Additionally, it'll add shortcuts for switching between alternate files, like test and implementation files.

  • exoskeleton.vim

    Skeleton vim improved

  • I made a plugin (link) that deals with this. For your cases though a "skeleton" file works perfectly fine. If you're looking for more advanced and flexible cases my plugin might prove useful

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts