Commit Graph

20 Commits

Author SHA1 Message Date
Tomasz Wisniewski
d88a8c34b4 Add cpp specific include snippet
The standard inclusion template has been changed from "stdio.h" to
iostream. In case of C++, the user most likely will work with STL
containers/headers which by default don't require the ".h" extension.
2015-11-09 15:35:08 +00:00
Daeyun Shin
043a902c90 cpp extends c 2015-06-05 23:58:52 -04:00
Adnan Zafar
7f9c4f5807 Modify snippets to support zero tabstop 2013-09-05 14:53:52 -04:00
William Ma
4c7fba87d5 fixed auto iterator in cpp 2013-08-28 04:41:41 +10:00
Marc Weber
80697bea6f replace Filename by vim_snippets#Filename and document it
It doesn't make sense that all snippet engines have to
keep this function somewhere
2013-07-08 23:47:14 +02:00
Michael Thessel
5da33b7a01 Removed unnecessary whitespace from the end of the line 2013-06-20 23:57:07 +02:00
Michael Thessel
4eb88d7993 Removed comment blocks from placeholders 2013-06-20 23:57:07 +02:00
Aaron Broder
03b7d9e98b [cpp] Removed readfile snippet.
The snippet doesn't use expected C++ practices for reading files and
is more of a Textmate legacy.
2012-08-31 14:56:09 -07:00
Aaron Broder
a3e5bbed2b [cpp] Added C++11 lambda snippets 2012-08-31 14:53:39 -07:00
Aaron Broder
67c276b85d [c/cpp] Added postfix tab stop to most snippets
This allows for people to quickly tab to the end of the snippet and
continue writing code without having to exit insert mode.
2012-08-28 11:22:24 -07:00
Aaron Broder
5ea5d2893a [cpp] Minor bug fixes
Fixed broken sequences on a few STL container snippets. Renamed
the access modifier snippets to avoid conflicts.
2012-08-28 11:22:12 -07:00
Aaron Broder
260f24cccc [cpp] Added iteration section. 2012-08-28 09:54:53 -07:00
Aaron Broder
6518bba15f [cpp] Created input/output section. 2012-08-28 09:43:20 -07:00
Aaron Broder
4700702ea5 [cpp] Created class section 2012-08-28 09:41:16 -07:00
Aaron Broder
3b952e73fa [cpp] Added access modifier snippets. 2012-08-28 09:33:50 -07:00
Aaron Broder
32eef65402 Finished STL container snippets 2012-08-27 21:24:47 -07:00
Aaron Broder
7fe10931b2 [cpp] Reorganized snippets for consistency.
Added comments to snippets that didn't have any. Reordered snippets so
relevant snippets were close together. Removed cout/cin snippets for
consistency with other snippets in std namespace.
2012-08-27 14:10:27 -07:00
Aaron Broder
8108ecd980 [cpp] Added C++11-style foreach snippet. 2012-08-27 14:01:57 -07:00
Erik Westrup
d3bb731b37 Snippets for cin and cout 2012-01-01 12:16:47 +01:00
Marc Weber
94aebfaadd Move all snippet files into a snippets directory so that you can install it
using VAM. The reason is that snipmate automatically looks for snippets
found in &rtp/snippets
2011-06-21 09:02:13 +02:00