/snippetinabox.vim

My custom snippets

MIT LicenseMIT

snippetinabox.vim

My custom snippets for:

  • C++
  • CMake
  • Python
  • Markdown

C++

Just a brief showcase of what is available:

  • inc - #include "thisFile.h"
  • Inc - #include <string.h>
  • cc - ThisFile::
  • be - x.begin(), x.end()
  • forr - for range
  • cout - std::cout<<"x="<<x<<"\n"
  • t - this->
  • up, mp, sp, ms - smart pointers
  • i8, i16, i32, i64, u8, i16, i32, i64 - integers
  • async - std::async
  • alg - std::X(Y.begin(), Y.end, ... )
  • fun, cfun, tfun - function, member function, teplated function
  • and more

Others

look at the sources ;)

License

MIT, see license files.