mirror of
https://github.com/akelge/zsh
synced 2025-08-15 14:28:35 +00:00
Moved to Vundle
Adopted vim-templates plugin, instead of homegrown skeleton
This commit is contained in:
11
vim/bundle/vim-template/templates/=template=*.c
Normal file
11
vim/bundle/vim-template/templates/=template=*.c
Normal file
@ -0,0 +1,11 @@
|
||||
/*
|
||||
* %FFILE%
|
||||
* Copyright (C) %YEAR% %USER% <%MAIL%>
|
||||
*
|
||||
* Distributed under terms of the %LICENSE% license.
|
||||
*/
|
||||
|
||||
#include "%FILE%.h"
|
||||
|
||||
|
||||
%HERE%
|
1
vim/bundle/vim-template/templates/=template=*.c++
Symbolic link
1
vim/bundle/vim-template/templates/=template=*.c++
Symbolic link
@ -0,0 +1 @@
|
||||
=template=*.c
|
1
vim/bundle/vim-template/templates/=template=*.cc
Symbolic link
1
vim/bundle/vim-template/templates/=template=*.cc
Symbolic link
@ -0,0 +1 @@
|
||||
=template=*.c
|
13
vim/bundle/vim-template/templates/=template=*.cmake
Normal file
13
vim/bundle/vim-template/templates/=template=*.cmake
Normal file
@ -0,0 +1,13 @@
|
||||
cmake_minimum_required (VERSION 2.8)
|
||||
|
||||
# projectname is the same as the main-executable
|
||||
project(%HERE%%FDIR%)
|
||||
|
||||
add_definitions('-g')
|
||||
add_definitions('-Wall')
|
||||
#add_definitions('-std=c++11')
|
||||
|
||||
add_executable(${PROJECT_NAME} ${PROJECT_NAME}.cpp)
|
||||
|
||||
add_custom_target(${PROJECT_NAME}-symlink ALL ln --force -s ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME} ${CMAKE_SOURCE_DIR}/${PROJECT_NAME} DEPENDS ${PROJECT_NAME})
|
||||
set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES ${CMAKE_SOURCE_DIR}/${PROJECT_NAME})
|
1
vim/bundle/vim-template/templates/=template=*.cpp
Symbolic link
1
vim/bundle/vim-template/templates/=template=*.cpp
Symbolic link
@ -0,0 +1 @@
|
||||
=template=*.c
|
12
vim/bundle/vim-template/templates/=template=*.css
Normal file
12
vim/bundle/vim-template/templates/=template=*.css
Normal file
@ -0,0 +1,12 @@
|
||||
/*
|
||||
* %FFILE%
|
||||
* Copyright (C) %YEAR% %USER%
|
||||
*
|
||||
* Distributed under terms of the %LICENSE% license.
|
||||
*/
|
||||
|
||||
body {
|
||||
%HERE%background: white;
|
||||
color: black;
|
||||
}
|
||||
|
1
vim/bundle/vim-template/templates/=template=*.cxx
Symbolic link
1
vim/bundle/vim-template/templates/=template=*.cxx
Symbolic link
@ -0,0 +1 @@
|
||||
=template=*.c
|
8
vim/bundle/vim-template/templates/=template=*.f
Normal file
8
vim/bundle/vim-template/templates/=template=*.f
Normal file
@ -0,0 +1,8 @@
|
||||
!
|
||||
! %FFILE%
|
||||
! Copyright (C) %YEAR% %USER% <%MAIL%>
|
||||
!
|
||||
! Distributed under terms of the %LICENSE% license.
|
||||
!
|
||||
|
||||
%HERE%
|
8
vim/bundle/vim-template/templates/=template=*.f90
Normal file
8
vim/bundle/vim-template/templates/=template=*.f90
Normal file
@ -0,0 +1,8 @@
|
||||
!
|
||||
! %FFILE%
|
||||
! Copyright (C) %YEAR% %USER% <%MAIL%>
|
||||
!
|
||||
! Distributed under terms of the %LICENSE% license.
|
||||
!
|
||||
|
||||
%HERE%
|
13
vim/bundle/vim-template/templates/=template=*.h
Normal file
13
vim/bundle/vim-template/templates/=template=*.h
Normal file
@ -0,0 +1,13 @@
|
||||
/*
|
||||
* %FFILE%
|
||||
* Copyright (C) %YEAR% %USER% <%MAIL%>
|
||||
*
|
||||
* Distributed under terms of the %LICENSE% license.
|
||||
*/
|
||||
|
||||
#ifndef %GUARD%
|
||||
#define %GUARD%
|
||||
|
||||
%HERE%
|
||||
|
||||
#endif /* !%GUARD% */
|
12
vim/bundle/vim-template/templates/=template=*.hs
Normal file
12
vim/bundle/vim-template/templates/=template=*.hs
Normal file
@ -0,0 +1,12 @@
|
||||
#! /usr/bin/env runhugs +l
|
||||
--
|
||||
-- %FFILE%
|
||||
-- Copyright (C) %YEAR% %USER% <%MAIL%>
|
||||
--
|
||||
-- Distributed under terms of the %LICENSE% license.
|
||||
--
|
||||
|
||||
module %FILE% where
|
||||
|
||||
|
||||
%HERE%
|
10
vim/bundle/vim-template/templates/=template=*.html
Normal file
10
vim/bundle/vim-template/templates/=template=*.html
Normal file
@ -0,0 +1,10 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>%FILE%</title>
|
||||
</head>
|
||||
<body>
|
||||
%HERE%
|
||||
</body>
|
||||
</html>
|
16
vim/bundle/vim-template/templates/=template=*.humans.txt
Normal file
16
vim/bundle/vim-template/templates/=template=*.humans.txt
Normal file
@ -0,0 +1,16 @@
|
||||
/* TEAM */
|
||||
Your title: %USER%
|
||||
Site: %MAIL%, link to a contact form, etc.
|
||||
Twitter: your Twitter username.
|
||||
Location: City, Country.
|
||||
|
||||
%HERE%
|
||||
|
||||
/* THANKS */
|
||||
Name: name or url
|
||||
|
||||
/* SITE */
|
||||
Last update: YYYY/MM/DD
|
||||
Standards: HTML5, CSS3,..
|
||||
Components: Modernizr, jQuery, etc.
|
||||
Software: Software used for the development
|
14
vim/bundle/vim-template/templates/=template=*.java
Normal file
14
vim/bundle/vim-template/templates/=template=*.java
Normal file
@ -0,0 +1,14 @@
|
||||
/*
|
||||
* %FFILE%
|
||||
* Copyright (C) %YEAR% %USER% <%MAIL%>
|
||||
*
|
||||
* Distributed under terms of the %LICENSE% license.
|
||||
*/
|
||||
|
||||
public class %FILE%
|
||||
{
|
||||
public %FILE%() {
|
||||
%HERE%
|
||||
}
|
||||
}
|
||||
|
8
vim/bundle/vim-template/templates/=template=*.jl
Normal file
8
vim/bundle/vim-template/templates/=template=*.jl
Normal file
@ -0,0 +1,8 @@
|
||||
#=
|
||||
%FILE%
|
||||
Copyright © %YEAR% %USER% <%MAIL%>
|
||||
|
||||
Distributed under terms of the %LICENSE% license.
|
||||
=#
|
||||
|
||||
%HERE%
|
7
vim/bundle/vim-template/templates/=template=*.js
Normal file
7
vim/bundle/vim-template/templates/=template=*.js
Normal file
@ -0,0 +1,7 @@
|
||||
/*
|
||||
* %FFILE%
|
||||
* Copyright (C) %YEAR% %USER% <%MAIL%>
|
||||
*
|
||||
* Distributed under terms of the %LICENSE% license.
|
||||
*/
|
||||
%HERE%
|
4
vim/bundle/vim-template/templates/=template=*.lhs
Normal file
4
vim/bundle/vim-template/templates/=template=*.lhs
Normal file
@ -0,0 +1,4 @@
|
||||
%FILE% by %USER%
|
||||
%FDATE%
|
||||
|
||||
%HERE%
|
9
vim/bundle/vim-template/templates/=template=*.lua
Normal file
9
vim/bundle/vim-template/templates/=template=*.lua
Normal file
@ -0,0 +1,9 @@
|
||||
#! /usr/bin/env lua
|
||||
--
|
||||
-- %FFILE%
|
||||
-- Copyright (C) %YEAR% %USER% <%MAIL%>
|
||||
--
|
||||
-- Distributed under terms of the %LICENSE% license.
|
||||
--
|
||||
|
||||
%HERE%
|
1
vim/bundle/vim-template/templates/=template=*.m
Symbolic link
1
vim/bundle/vim-template/templates/=template=*.m
Symbolic link
@ -0,0 +1 @@
|
||||
=template=*.c
|
1
vim/bundle/vim-template/templates/=template=*.mk
Symbolic link
1
vim/bundle/vim-template/templates/=template=*.mk
Symbolic link
@ -0,0 +1 @@
|
||||
=template=*Makefile
|
9
vim/bundle/vim-template/templates/=template=*.ml
Normal file
9
vim/bundle/vim-template/templates/=template=*.ml
Normal file
@ -0,0 +1,9 @@
|
||||
(*
|
||||
* %FFILE%
|
||||
* Copyright (C) %YEAR% %USER% <%MAIL%>
|
||||
*
|
||||
* Distributed under terms of the %LICENSE% license.
|
||||
*)
|
||||
|
||||
|
||||
let %HERE%
|
1
vim/bundle/vim-template/templates/=template=*.mm
Symbolic link
1
vim/bundle/vim-template/templates/=template=*.mm
Symbolic link
@ -0,0 +1 @@
|
||||
=template=*.m
|
13
vim/bundle/vim-template/templates/=template=*.php
Normal file
13
vim/bundle/vim-template/templates/=template=*.php
Normal file
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
/**
|
||||
* Short description for %FFILE%
|
||||
*
|
||||
* @package %FILE%
|
||||
* @author %USER% <%MAIL%>
|
||||
* @version 0.1
|
||||
* @copyright (C) %YEAR% %USER% <%MAIL%>
|
||||
* @license %LICENSE%
|
||||
*/
|
||||
|
||||
%HERE%
|
||||
?>
|
16
vim/bundle/vim-template/templates/=template=*.pl
Normal file
16
vim/bundle/vim-template/templates/=template=*.pl
Normal file
@ -0,0 +1,16 @@
|
||||
#! /usr/bin/env perl
|
||||
#
|
||||
# Short description for %FFILE%
|
||||
#
|
||||
# Author %USER% <%MAIL%>
|
||||
# Version 0.1
|
||||
# Copyright (C) %YEAR% %USER% <%MAIL%>
|
||||
# Modified On %FDATE%
|
||||
# Created %FDATE%
|
||||
#
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
|
||||
|
||||
%HERE%
|
38
vim/bundle/vim-template/templates/=template=*.pm
Normal file
38
vim/bundle/vim-template/templates/=template=*.pm
Normal file
@ -0,0 +1,38 @@
|
||||
package %FILE%;
|
||||
#
|
||||
# Short description for %FFILE%
|
||||
#
|
||||
# Author %USER% <%MAIL%>
|
||||
# Version 0.1
|
||||
# Copyright (C) %YEAR% %USER% <%MAIL%>
|
||||
# Modified On %FDATE%
|
||||
# Created %FDATE%
|
||||
#
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
our @ISA = qw(Exporter);
|
||||
our %EXPORT_TAGS = ( 'all' => [ qw() ] );
|
||||
our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );
|
||||
our @EXPORT = qw();
|
||||
our $VERSION = '1.00';
|
||||
require Exporter;
|
||||
use AutoLoader qw(AUTOLOAD);
|
||||
|
||||
|
||||
sub new
|
||||
{
|
||||
my $class = shift;
|
||||
my $arg = shift;
|
||||
my $self = {};
|
||||
|
||||
%HERE%
|
||||
|
||||
bless($self, $class);
|
||||
return $self;
|
||||
}
|
||||
|
||||
|
||||
1;
|
||||
# __END__
|
||||
# # Below is stub documentation for your module. You'd better edit it!
|
26
vim/bundle/vim-template/templates/=template=*.pro
Normal file
26
vim/bundle/vim-template/templates/=template=*.pro
Normal file
@ -0,0 +1,26 @@
|
||||
PRO %FILE%
|
||||
;+
|
||||
; Name:
|
||||
; %FILE%
|
||||
; Purpose:
|
||||
;
|
||||
; Calling sequence:
|
||||
; %FILE%
|
||||
; Input:
|
||||
;
|
||||
; Output:
|
||||
;
|
||||
; Keywords:
|
||||
;
|
||||
; History:
|
||||
;
|
||||
; Author:
|
||||
; Copyright © %YEAR% %USER% <%MAIL%>
|
||||
; Distributed under terms of the %LICENSE% license.
|
||||
;-
|
||||
|
||||
COMPILE_OPT IDL2 ;Set compile options
|
||||
|
||||
%HERE%
|
||||
|
||||
END
|
14
vim/bundle/vim-template/templates/=template=*.py
Normal file
14
vim/bundle/vim-template/templates/=template=*.py
Normal file
@ -0,0 +1,14 @@
|
||||
#! /usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
# vim:fenc=utf-8
|
||||
#
|
||||
# Copyright © %YEAR% %USER% <%MAIL%>
|
||||
#
|
||||
# Distributed under terms of the %LICENSE% license.
|
||||
#
|
||||
# %CLASS%
|
||||
#
|
||||
|
||||
"""
|
||||
%HERE%
|
||||
"""
|
10
vim/bundle/vim-template/templates/=template=*.rb
Normal file
10
vim/bundle/vim-template/templates/=template=*.rb
Normal file
@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env ruby
|
||||
#
|
||||
# %FFILE%
|
||||
# Copyright (C) %YEAR% %USER% <%MAIL%>
|
||||
#
|
||||
# Distributed under terms of the %LICENSE% license.
|
||||
#
|
||||
|
||||
|
||||
%HERE%
|
6
vim/bundle/vim-template/templates/=template=*.robots.txt
Normal file
6
vim/bundle/vim-template/templates/=template=*.robots.txt
Normal file
@ -0,0 +1,6 @@
|
||||
#
|
||||
# The Web Robots Pages (http://www.robotstxt.org/)
|
||||
#
|
||||
|
||||
User-agent: *
|
||||
Disallow:
|
10
vim/bundle/vim-template/templates/=template=*.sh
Normal file
10
vim/bundle/vim-template/templates/=template=*.sh
Normal file
@ -0,0 +1,10 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
# %FFILE%
|
||||
# Copyright (C) %YEAR% %USER% <%MAIL%>
|
||||
#
|
||||
# Distributed under terms of the %LICENSE% license.
|
||||
#
|
||||
|
||||
|
||||
%HERE%
|
11
vim/bundle/vim-template/templates/=template=*.sql
Normal file
11
vim/bundle/vim-template/templates/=template=*.sql
Normal file
@ -0,0 +1,11 @@
|
||||
/*
|
||||
* %FFILE%
|
||||
* Copyright (C) %YEAR% %USER% <%MAIL%>
|
||||
*
|
||||
* Distributed under terms of the %LICENSE% license.
|
||||
*/
|
||||
|
||||
select %HERE%
|
||||
|
||||
|
||||
-- vim:et
|
17
vim/bundle/vim-template/templates/=template=*.tex
Normal file
17
vim/bundle/vim-template/templates/=template=*.tex
Normal file
@ -0,0 +1,17 @@
|
||||
% vim:ft=tex:
|
||||
%
|
||||
\documentclass[12pt]{article}
|
||||
|
||||
\title{
|
||||
%FILE%
|
||||
}
|
||||
\author{
|
||||
%USER% --- \texttt{%MAIL%}
|
||||
}
|
||||
|
||||
\begin{document}
|
||||
\maketitle
|
||||
|
||||
%HERE%
|
||||
|
||||
\end{document}
|
7
vim/bundle/vim-template/templates/=template=*.txt
Normal file
7
vim/bundle/vim-template/templates/=template=*.txt
Normal file
@ -0,0 +1,7 @@
|
||||
%FFILE%
|
||||
|
||||
:Author: %USER%
|
||||
:Email: %MAIL%
|
||||
:Date: %FDATE%
|
||||
|
||||
%HERE%
|
8
vim/bundle/vim-template/templates/=template=*.xml
Normal file
8
vim/bundle/vim-template/templates/=template=*.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<%FILE%>
|
||||
|
||||
%HERE%
|
||||
|
||||
</%FILE%>
|
||||
<!-- vim:fenc=utf-8
|
||||
-->
|
12
vim/bundle/vim-template/templates/=template=*.xsl
Normal file
12
vim/bundle/vim-template/templates/=template=*.xsl
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
%FFILE%
|
||||
Copyright (C) %YEAR% %USER% <%MAIL%>
|
||||
|
||||
Distributed under terms of the %LICENSE% license.
|
||||
-->
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
%HERE%
|
||||
|
||||
</xsl:stylesheet>
|
8
vim/bundle/vim-template/templates/=template=*.zcml
Normal file
8
vim/bundle/vim-template/templates/=template=*.zcml
Normal file
@ -0,0 +1,8 @@
|
||||
<configure
|
||||
xmlns="http://namespaces.zope.org/zope"
|
||||
xmlns:browser="http://namespaces.zope.org/browser"
|
||||
xmlns:i18n="http://namespaces.zope.org/i18n">
|
||||
|
||||
%HERE%
|
||||
|
||||
</configure>
|
1
vim/bundle/vim-template/templates/=template=*GNUmakefile
Symbolic link
1
vim/bundle/vim-template/templates/=template=*GNUmakefile
Symbolic link
@ -0,0 +1 @@
|
||||
=template=*Makefile
|
11
vim/bundle/vim-template/templates/=template=*Makefile
Normal file
11
vim/bundle/vim-template/templates/=template=*Makefile
Normal file
@ -0,0 +1,11 @@
|
||||
#
|
||||
# %FFILE%
|
||||
# %USER%, %FDATE%
|
||||
#
|
||||
|
||||
all:
|
||||
%HERE%@echo "%FFILE% needs your attention"
|
||||
|
||||
|
||||
# vim:ft=make
|
||||
#
|
Reference in New Issue
Block a user