diff --git a/.gitmodules b/.gitmodules index 021aa5cb..d0d66be7 100644 --- a/.gitmodules +++ b/.gitmodules @@ -7,3 +7,6 @@ [submodule ".vim/bundle/SimpylFold"] path = .vim/bundle/SimpylFold url = git@github.com:tmhedberg/SimpylFold.git +[submodule ".vim/bundle/vim-template"] + path = .vim/bundle/vim-template + url = git@github.com:aperezdc/vim-template.git diff --git a/.vim/bundle/vim-template b/.vim/bundle/vim-template new file mode 160000 index 00000000..606d5d41 --- /dev/null +++ b/.vim/bundle/vim-template @@ -0,0 +1 @@ +Subproject commit 606d5d419bd07e4085fd95ee578d03f35088c844 diff --git a/.vim/bundle/vim-template/README.rst b/.vim/bundle/vim-template/README.rst deleted file mode 100644 index 8b7f18f1..00000000 --- a/.vim/bundle/vim-template/README.rst +++ /dev/null @@ -1,73 +0,0 @@ -============================= - Simple Vim templates plugin -============================= -:Author: Adrian Perez - -This is a simple plugin for Vim that will allow you to have a set of -templates for certain file types. It is useful to add boilerplate code -like guards in C/C++ headers, or license disclaimers. - - -Installation -============ - -The easiest way to install the plugin is to install it as a bundle. -For example, using Pathogen__: - -1. Get and install `pathogen.vim `_. You can skip this step - if you already have it installed. - -2. ``cd ~/.vim/bundle`` - -3. ``git clone git://github.com/aperezdc/vim-template.git`` - -__ https://github.com/tpope/vim-pathogen - -Bundle installs are known to work fine also when using Vundle__. Other -bundle managers are expected to work as well. - -__ https://github.com/gmarik/vundle - - -.. important:: If you use Fish__ as your shell, you *will* need to add - ``set shell=/bin/sh`` to your ``~/.vimrc`` — the plugin relies on the - setting pointing to a Bourne-compatible__ shell. - -__ http://fishshell.com/ -__ https://en.wikipedia.org/wiki/Bourne_shell - - -Documentation -============= - -The documentation can be browsed directly in Vim:: - - :help template.txt - -Alternatively, you can also `read it in your browser`__. - -__ https://github.com/aperezdc/vim-template/blob/master/doc/template.txt - - -Updating -======== - -Manually --------- - -In order to update the plugin, go to its bundle directory and use -Git to update it: - -1. ``cd ~/.vim/bundle/vim-template`` - -2. ``git pull`` - - -With Vundle ------------ - -Use the ``:BundleUpdate`` command provided by Vundle, for example invoking -Vim like this:: - - % vim +BundleUpdate - diff --git a/.vim/bundle/vim-template/doc/template.txt b/.vim/bundle/vim-template/doc/template.txt deleted file mode 100644 index adcf909c..00000000 --- a/.vim/bundle/vim-template/doc/template.txt +++ /dev/null @@ -1,289 +0,0 @@ -*template.txt* Simple templates plug-in - -CONTENTS *template-contents* - -Introduction |template-introduction| -Usage |template-usage| -Commands |template-commands| -Configuration |template-configuration| -Search order |template-search-order| -Variables |template-variables| -User Variables |template-user-variables| -Troubleshooting |template-troubleshooting| - - -=========================================================================== -INTRODUCTION *template-introduction* - -This is a simple plug-in for Vim (and NeoVim) allowing to have template -files per file type, which will be used as starting point when creating -new buffers. Template files may contain variables (|template-variables|), -which are expanded at the time of buffer creation (see |template-usage|). -The main purpose of the templates is to add boilerplate code to new -files, like C/C++ header guards, or license disclaimers. - - -=========================================================================== -USAGE *template-usage* - -Templates can be used by creating a new file name, the file suffix will -determine which template is used: -> - $ vim foo.c -< -Templates can be manually expanded in the current buffer using the -|:Template| command. For example, the following will load and expand the -template for a file matching the pattern `*.c`: -> - :Template *.c -< - -Note that automatic insertion of templates can be disabling by setting -the `g:templates_no_autocmd` variable. - - -=========================================================================== -COMMANDS *template-commands* - -The plug-in defines two commands, both of which expand a template in the -current buffer. The first expands a matched template at the beginning of -the current buffer. Its syntax is: - -*:Template* - -The must be the same as for the template file that is to be -expanded into the current buffer. For example: -> - :Template *.c -> -will expand the local template `.vim-template:*.c`, or the global template -`template:*.c`, whichever is found first (see |template-search-order| -for more information). - -The second command works exactly the same except that it will expand a matched -template under the cursor instead of at the beginning of the buffer. Its syntax -is: - -*:TemplateHere* - - -=========================================================================== -CONFIGURATION *template-configuration* - -The following variables can be used to configure the behaviour of the -plug-in: - -`g:templates_no_autocmd` - Whether to disable automatic insertion of templates when new - buffers are created. (Default: `0`). - -`g:templates_directory` - Path of a directory containing additional global templates. - Alternatively, it can contain a list of paths, which will - be searched in order. See |template-search-order| for more - details. (Default: `[]`). - -`g:templates_name_prefix` - Prefix for path-relative templates. See |template-search-order| - for more details. (Default: `.vim-template:`). - -`g:templates_global_name_prefix` - Prefix for global templates (builtin and those listed in - `g:templates_directory`, NOT path-relative templates). See - |template-search-order| for more details. (Default: - `=template=`). - -`g:templates_fuzzy_start` - If non-zero, template patterns are not forced to match the - entire file name, just the end (`$`). If zero, template - patterns need to consume the entire file name to procure a match - (`^$`). For example, if `g:templates_fuzzy_start = 1`, - a file named `template:.c` would match files named `.c` and - `test.c`. If set to zero, the template would only match `.c` - (Default: `1`). - -`g:templates_tr_in`, and `g:templates_tr_out` - These variables control how template names are interpreted as - regular expressions for matching file names. This can be - useful on a Windows box where `*` is not allowed in file - names. The default configuration converts underscores (`_`) - into regular expression wildcards (`.*`). - - (Default: `['.','*','?']`, and `['\.','.*','\?']`). - -`g:templates_no_builtin_templates` - If non-zero, disables usage of the built-in templates. See - |template-search-order| for more details. (Default: `0`). - -`g:templates_user_variables` - Allows expansion of user-defined variables. See - |template-user-variables| for more details. - (Default: `[]`). - -`g:templates_debug` - If non-zero, output debugging information. (Default: `0`). - -`g:templates_plugin_loaded` - Setting this to a non-zero value will disable the plug-in. - (Default: `0`). - -`g:templates_search_height` - Controls the search in the current directory and parents. If - set to -1, the template is searched for in the given - directory and all parents in its directory structure, stopping - at the first matching template. If set to 0, no searching - is done in the given directory or any parents. If set to [1] - only the given directory is searched. If greater - than one, n parents and the given directory will be searched - where n is equal to height - 1. (Default: `-1`). - - -=========================================================================== -SEARCH ORDER *template-search-order* - -Searching for templates uses the following logic: - -1. If a file named `.vim-template:` exists in the current - directory, it is used. If there are multiple template files that match - pattern in the same directory, the one that is most specific is used. - If no suitable template is found, goto step `(2)`. - -2. If a parent directory exists, it is set as current directory, and goto - step `(1)`; otherwise goto step `(3)`. - -3. Try to use `=template=` file from the directories specified using - the `g:templates_directory` variable (only if the option is defined, - and the directory exists). - -4. Try to use the `=template=` file supplied with the plug-in (only - if `g:templates_no_builtin_templates` is undefined or has a zero value). - -Note that the `.vim-template:` local file prefix can be set using the -`g:templates_name_prefix` variable, and the `=template=` global file prefix -can be set using the `g:templates_global_name_prefix` variable. The variable -`g:templates_search_height` controls searching the current directory and -parents. - - -=========================================================================== -VARIABLES *template-variables* - -Template variables are all-caps identifiers surrounded by percent signs, -e.g. `%VAR%`. The following variables are available for expansion in -templates: - -`%DAY%`, `%YEAR%`, `%MONTH` - Current day of the month, year, and month of the year, - as numeric values. - -`%DATE%` - Current date in `YYYY-mm-dd` format. This is equivalent - to expanding `%YEAR%-%MONTH%-%DAY%`. - -`%TIME%` - Current time in `HH:MM` format. - -`%FDATE%` - Current full date (date and time) in `YYYY-mm-dd HH:MM` - format. This is equivalent to expanding `%DATE% %TIME%`. - -`%FILE%` - File name, without extension. - -`%EXT%` - File extension (component after the last period). - -`%FFILE%` - File name, with extension. This is equivalent to - expanding `%FILE%.%EXT%`. - -`%MAIL%` - E-mail address of the current user. May be overriden by - defining the `g:email` variable. - -`%USER%` - Current logged-in user name. May be overriden by defining - the `g:username` variable. - -`%LICENSE%` - Expands to the string `MIT` by default. May be overriden - by definining the `g:license` variable. - -`%HOST%` - Current host name. - -`%GUARD%` - A string containing only alphanumeric characters, and - underscores, suitable to be used as preprocessor guards - for C/C++/Objective-C header file. - -`%CLASS%` - File name, without extension, and the first character of - each word capitalised. This is typically used for Java/C++ - class names. -`%MACROCLASS%` - File name, without extension, in all-capitals. - -`%CAMELCLASS%` - File name, without extension, with the first character of - every work capitalised, and underscores removed. - -`%HERE%` - Expands to nothing, but ensures that the cursor will be placed in - the position where this variable appears after expanding the template. - - -=========================================================================== -USER VARIABLES *template-user-variables* - -The `g:templates_user_variables` variable allows to expand user-defined -variables in templates. It should be set to an array, where each item is -a two-element array: the first element is the name of the user-defined -variable, and the second element the name of a function. For example, -the following can be added to the user |vimrc|: -> - let g:templates_user_variables = [ - \ ['FULLPATH', 'GetFullPath'], - \ ] - - function! GetFullPath() - return expand('%:p') - endfunction -> -This way, each occurrence of `%FULLPATH%` in a template will be replaced -with the absolute path of the current file. - -=========================================================================== -TROUBLESHOOTING *template-troubleshooting* - -Q: Why are no templates found by the plugin? - -A: Make sure you are using a Bourne-compatible shell. Vim will pick by - default the value of the `$SHELL` environment variable. If you are using - a non-Bourn shell (like Fish, for example), you can tell Vim to use a - different one by using the 'shell' option. This should not be needed - in non-Unix systems, so you may want to add the following snippet to - your `vimrc`: -> - if has('unix') - set shell=/bin/sh - endif -< ---- - -Q: How can I debug how the plugin looks up templates? - -A: Add `set g:templates_debug = 1` in your `vimrc`. - ---- - -Q: My question is not answered here. How can I contact the developers? - -A: Please file an issue at https://github.com/aperezdc/vim-template/issues - We have a `question` category for the issues which you can check to see - whether others have had the same question before. Eventually, the most - common questions may end up in the |template-troubleshooting| section of - the documentation (this one you are reading). - - -vim:tw=78:sw=8:ts=8:ft=help:norl:noet diff --git a/.vim/bundle/vim-template/plugin/templates.vim b/.vim/bundle/vim-template/plugin/templates.vim deleted file mode 100644 index 4028ffb8..00000000 --- a/.vim/bundle/vim-template/plugin/templates.vim +++ /dev/null @@ -1,523 +0,0 @@ -" -" Template system for Vim -" -" Copyright (C) 2012 Adrian Perez de Castro -" Copyright (C) 2005 Adrian Perez de Castro -" -" Distributed under terms of the MIT license. -" - -if exists("g:templates_plugin_loaded") - finish -endif -let g:templates_plugin_loaded = 1 - -if !exists('g:templates_name_prefix') - let g:templates_name_prefix = ".vim-template:" -endif - -if !exists('g:templates_global_name_prefix') - let g:templates_global_name_prefix = "=template=" -endif - -if !exists('g:templates_debug') - let g:templates_debug = 0 -endif - -if !exists('g:templates_tr_in') - let g:templates_tr_in = [ '.', '*', '?' ] -endif - -if !exists('g:templates_tr_out') - let g:templates_tr_out = [ '\.', '.*', '\?' ] -endif - -if !exists('g:templates_fuzzy_start') - let g:templates_fuzzy_start = 1 -endif - -if !exists('g:templates_search_height') - " First try to find the deprecated option - if exists('g:template_max_depth') - echom('g:template_max_depth is deprecated in favor of g:templates_search_height') - let g:templates_search_height = g:template_max_depth != 0 ? g:template_max_depth : -1 - endif - - if(!exists('g:templates_search_height')) - let g:templates_search_height = -1 - endif -endif - -if !exists('g:templates_directory') - let g:templates_directory = [] -elseif type(g:templates_directory) == type('') - " Convert string value to a list with one element. - let s:tmp = g:templates_directory - unlet g:templates_directory - let g:templates_directory = [ s:tmp ] - unlet s:tmp -endif - -if !exists('g:templates_no_builtin_templates') - let g:templates_no_builtin_templates = 0 -endif - -if !exists('g:templates_user_variables') - let g:templates_user_variables = [] -endif - -" Put template system autocommands in their own group. {{{1 -if !exists('g:templates_no_autocmd') - let g:templates_no_autocmd = 0 -endif - -if !g:templates_no_autocmd - augroup Templating - autocmd! - autocmd BufNewFile * call TLoad() - augroup END -endif - -function Debug(mesg) - if g:templates_debug - echom(a:mesg) - endif -endfunction - -" normalize the path -" replace the windows path sep \ with / -function NormalizePath(path) - return substitute(a:path, "\\", "/", "g") -endfunction - -" Template searching. {{{1 -" Returns a string containing the path of the parent directory of the given -" path. Works like dirname(3). It also simplifies the given path. -function DirName(path) - let l:tmp = NormalizePath(a:path) - return substitute(l:tmp, "[^/][^/]*/*$", "", "") -endfunction - -" Default templates directory -let s:default_template_dir = DirName(DirName(expand(""))) . "templates" - -" Find the target template in windows -" -" In windows while we clone the symbol link from github -" it will turn to normal file, so we use this function -" to figure out the destination file -function TFindLink(path, template) - if !filereadable(a:path . a:template) - return a:template - endif - - let l:content = readfile(a:path . a:template, "b") - if len(l:content) != 1 - return a:template - endif - - if filereadable(a:path . l:content[0]) - return TFindLink(a:path, l:content[0]) - else - return a:template - endif -endfunction - -" Translate a template file name into a regular expression to test for matching -" against a given filename. As of writing this behavior is something like this: -" (with a g:templates_name_prefix set as 'template.') -" -" template.py -> ^.*py$ -" -" template.test.py -> ^.*test.py$ -" -function TemplateToRegex(template, prefix) - let l:template_base_name = fnamemodify(a:template,":t") - let l:template_glob = strpart(l:template_base_name, len(a:prefix)) - - " Translate the template's glob into a normal regular expression - let l:in_escape_mode = 0 - let l:template_regex = "" - for l:c in split(l:template_glob, '\zs') - if l:in_escape_mode == 1 - if l:c == '\' - let l:template_regex = l:template_regex . '\\' - else - let l:template_regex = l:template_regex . l:c - endif - - let l:in_escape_mode = 0 - else - if l:c == '\' - let l:in_escape_mode = 1 - else - let l:tr_index = index(g:templates_tr_in, l:c) - if l:tr_index != -1 - let l:template_regex = l:template_regex . g:templates_tr_out[l:tr_index] - else - let l:template_regex = l:template_regex . l:c - endif - endif - endif - endfor - - if g:templates_fuzzy_start - return l:template_regex . '$' - else - return '^' . l:template_regex . '$' - endif - -endfunction - -" Given a template and filename, return a score on how well the template matches -" the given filename. If the template does not match the file name at all, -" return 0 -function TemplateBaseNameTest(template, prefix, filename) - let l:tregex = TemplateToRegex(a:template, a:prefix) - - " Ensure that we got a valid regex - if l:tregex == "" - return 0 - endif - - " For now only use the base of the filename.. this may change later - " *Note* we also have to be careful because a:filename may also be the passed - " in text from TLoadCmd... - let l:filename_chopped = fnamemodify(a:filename,":t") - - " Check for a match - let l:regex_result = match(l:filename_chopped,l:tregex) - if l:regex_result != -1 - " For a match return a score based on the regex length - return len(l:tregex) - else - " No match - return 0 - endif - -endfunction - -" Returns the most specific / highest scored template file found in the given -" path. Template files are found by using a glob operation on the current path -" and the setting of g:templates_name_prefix. If no template is found in the -" given directory, return an empty string -function TDirectorySearch(path, template_prefix, file_name) - let l:picked_template = "" - let l:picked_template_score = 0 - - " Use find if possible as it will also get hidden files on nix systems. Use - " builtin glob as a fallback - if executable("find") && !has("win32") && !has("win64") - let l:find_cmd = '`find -L ' . shellescape(a:path) . ' -maxdepth 1 -type f -name ' . shellescape(a:template_prefix . '*' ) . '`' - call Debug("Executing " . l:find_cmd) - let l:glob_results = glob(l:find_cmd) - if v:shell_error != 0 - call Debug("Could not execute find command") - unlet l:glob_results - endif - endif - if !exists("l:glob_results") - call Debug("Using fallback glob") - let l:glob_results = glob(a:path . a:template_prefix . "*") - endif - let l:templates = split(l:glob_results, "\n") - for template in l:templates - " Make sure the template is readable - if filereadable(template) - let l:current_score = - \TemplateBaseNameTest(template, a:template_prefix, a:file_name) - call Debug("template: " . template . " got scored: " . l:current_score) - - " Pick that template only if it beats the currently picked template - " (here we make the assumption that template name length ~= template - " specifity / score) - if l:current_score > l:picked_template_score - let l:picked_template = template - let l:picked_template_score = l:current_score - endif - endif - endfor - - if l:picked_template != "" - call Debug("Picked template: " . l:picked_template) - else - call Debug("No template found") - endif - - return l:picked_template -endfunction - -" Searches for a [template] in a given [path]. -" -" If [height] is [-1] the template is searched for in the given directory and -" all parents in its directory structure -" -" If [height] is [0] no searching is done in the given directory or any -" parents -" -" If [height] is [1] only the given directory is searched -" -" If [height] is greater than one, n parents and the given directory will be -" searched where n is equal to height - 1 -" -" If no template is found an empty string is returned. -" -function TSearch(path, template_prefix, file_name, height) - if (a:height != 0) - - " pick a template from the current path - let l:picked_template = TDirectorySearch(a:path, a:template_prefix, a:file_name) - if l:picked_template != "" - return l:picked_template - else - let l:pathUp = DirName(a:path) - if l:pathUp != a:path - let l:new_height = a:height >= 0 ? a:height - 1 : a:height - return TSearch(l:pathUp, a:template_prefix, a:file_name, l:new_height) - endif - endif - endif - - " Ooops, either we cannot go up in the path or [height] reached 0 - return "" -endfunction - - -" Tries to find valid templates using the global g:templates_name_prefix as a glob -" matcher for template files. The search is done as follows: -" 1. The [path] passed to the function, [upwards] times up. -" 2. The g:templates_directory directory, if it exists. -" 3. Built-in templates from s:default_template_dir. -" Returns an empty string if no template is found. -" -function TFind(path, name, up) - let l:tmpl = TSearch(a:path, g:templates_name_prefix, a:name, a:up) - if l:tmpl != '' - return l:tmpl - endif - - for l:directory in g:templates_directory - let l:directory = NormalizePath(expand(l:directory) . '/') - if isdirectory(l:directory) - let l:tmpl = TSearch(l:directory, g:templates_global_name_prefix, a:name, 1) - if l:tmpl != '' - return l:tmpl - endif - endif - endfor - - if g:templates_no_builtin_templates - return '' - endif - - return TSearch(NormalizePath(expand(s:default_template_dir) . '/'), g:templates_global_name_prefix, a:name, 1) -endfunction - -" Escapes a string for use in a regex expression where the regex uses / as the -" delimiter. Must be used with Magic Mode off /V -" -function EscapeRegex(raw) - return escape(a:raw, '/') -endfunction - -" Template variable expansion. {{{1 - -" Makes a single [variable] expansion, using [value] as replacement. -" -function TExpand(variable, value) - silent! execute "%s/\\V%" . EscapeRegex(a:variable) . "%/" . EscapeRegex(a:value) . "/g" -endfunction - -" Performs variable expansion in a template once it was loaded {{{2 -" -function TExpandVars() - " Date/time values - let l:day = strftime("%d") - let l:year = strftime("%Y") - let l:month = strftime("%m") - let l:monshort = strftime("%b") - let l:monfull = strftime("%B") - let l:time = strftime("%H:%M") - let l:date = exists("g:dateformat") ? strftime(g:dateformat) : - \ (l:year . "-" . l:month . "-" . l:day) - let l:fdate = l:date . " " . l:time - let l:filen = expand("%:t:r:r:r") - let l:filex = expand("%:e") - let l:filec = expand("%:t") - let l:fdir = expand("%:p:h:t") - let l:hostn = hostname() - let l:user = exists("g:username") ? g:username : - \ (exists("g:user") ? g:user : $USER) - let l:email = exists("g:email") ? g:email : (l:user . "@" . l:hostn) - let l:guard = toupper(substitute(l:filec, "[^a-zA-Z0-9]", "_", "g")) - let l:class = substitute(l:filen, "\\([a-zA-Z]\\+\\)", "\\u\\1\\e", "g") - let l:macroclass = toupper(l:class) - let l:camelclass = substitute(l:class, "_", "", "g") - - " Finally, perform expansions - call TExpand("DAY", l:day) - call TExpand("YEAR", l:year) - call TExpand("DATE", l:date) - call TExpand("TIME", l:time) - call TExpand("USER", l:user) - call TExpand("FDATE", l:fdate) - call TExpand("MONTH", l:month) - call TExpand("MONTHSHORT", l:monshort) - call TExpand("MONTHFULL", l:monfull) - call TExpand("FILE", l:filen) - call TExpand("FFILE", l:filec) - call TExpand("FDIR", l:fdir) - call TExpand("EXT", l:filex) - call TExpand("MAIL", l:email) - call TExpand("HOST", l:hostn) - call TExpand("GUARD", l:guard) - call TExpand("CLASS", l:class) - call TExpand("MACROCLASS", l:macroclass) - call TExpand("CAMELCLASS", l:camelclass) - call TExpand("LICENSE", exists("g:license") ? g:license : "MIT") - - " Perform expansions for user-defined variables - for [l:varname, l:funcname] in g:templates_user_variables - let l:value = function(funcname)() - call TExpand(l:varname, l:value) - endfor -endfunction - -" }}}2 - -" Puts the cursor either at the first line of the file or in the place of -" the template where the %HERE% string is found, removing %HERE% from the -" template. -" -function TPutCursor() - 0 " Go to first line before searching - if search("%HERE%", "W") - let l:column = col(".") - let l:lineno = line(".") - s/%HERE%// - call cursor(l:lineno, l:column) - endif -endfunction - -" File name utils -" -" Ensures that the given file name is safe to be opened and will not be shell -" expanded -function NeuterFileName(filename) - let l:neutered = fnameescape(a:filename) - call Debug("Neutered " . a:filename . " to " . l:neutered) - return l:neutered -endfunction - - -" Template application. {{{1 - -" Loads a template for the current buffer, substitutes variables and puts -" cursor at %HERE%. Used to implement the BufNewFile autocommand. -" -function TLoad() - if !line2byte( line( '$' ) + 1 ) == -1 - return - endif - - let l:file_name = expand("%:p") - let l:file_dir = DirName(l:file_name) - let l:depth = g:templates_search_height - let l:tFile = TFind(l:file_dir, l:file_name, l:depth) - call TLoadTemplate(l:tFile, 0) -endfunction - - -" Like the previous one, TLoad(), but intended to be called with an argument -" that either is a filename (so the file is loaded as a template) or -" a template suffix (and the template is searched as usual). Of course this -" makes variable expansion and cursor positioning. -" -function TLoadCmd(template, position) - if filereadable(a:template) - let l:tFile = a:template - else - let l:height = g:templates_search_height - let l:tName = g:templates_global_name_prefix . a:template - let l:file_name = expand("%:p") - let l:file_dir = DirName(l:file_name) - - let l:tFile = TFind(l:file_dir, a:template, l:height) - endif - call TLoadTemplate(l:tFile, a:position) -endfunction - -" Load the given file as a template -function TLoadTemplate(template, position) - if a:template != "" - let l:deleteLastLine = 0 - if line('$') == 1 && getline(1) == '' - let l:deleteLastLine = 1 - endif - - " Read template file and expand variables in it. - let l:safeFileName = NeuterFileName(a:template) - if a:position == 0 || l:deleteLastLine == 1 - execute "keepalt 0r " . l:safeFileName - else - execute "keepalt r " . l:safeFileName - endif - call TExpandVars() - - if l:deleteLastLine == 1 - " Loading a template into an empty buffer leaves an extra blank line at the bottom, delete it - execute line('$') . "d _" - endif - - call TPutCursor() - setlocal nomodified - endif -endfunction - -" Commands {{{1 - -" Just calls the above function, pass either a filename or a template -" suffix, as explained before =) -" -fun ListTemplateSuffixes(A,P,L) - let l:templates = split(globpath(s:default_template_dir, g:templates_global_name_prefix . a:A . "*"), "\n") - let l:res = [] - for t in templates - let l:suffix = substitute(t, ".*\\.", "", "") - call add(l:res, l:suffix) - endfor - - return l:res -endfun -command -nargs=1 -complete=customlist,ListTemplateSuffixes Template call TLoadCmd("", 0) -command -nargs=1 -complete=customlist,ListTemplateSuffixes TemplateHere call TLoadCmd("", 1) - -" Syntax autocommands {{{1 -" -" Enable the vim-template syntax for template files -" Usually we'd put this in the ftdetect folder, but because -" g:templates_name_prefix doesn't get defined early enough we have to add the -" template detection from the plugin itself -execute "au BufNewFile,BufRead " . g:templates_name_prefix . "* " - \. "let b:vim_template_subtype = &filetype | " - \. "set ft=vim-template" - -if !g:templates_no_builtin_templates - execute "au BufNewFile,BufRead " - \. s:default_template_dir . "/" . g:templates_global_name_prefix . "* " - \. "let b:vim_template_subtype = &filetype | " - \. "set ft=vim-template" -endif - -for s:directory in g:templates_directory - let s:directory = NormalizePath(expand(s:directory) . '/') - if isdirectory(s:directory) - execute "au BufNewFile,BufRead " - \. s:directory . "/" . g:templates_global_name_prefix . "* " - \. "let b:vim_template_subtype = &filetype | " - \. "set ft=vim-template" - endif - unlet s:directory -endfor - -" vim: fdm=marker diff --git a/.vim/bundle/vim-template/syntax/vim-template.vim b/.vim/bundle/vim-template/syntax/vim-template.vim deleted file mode 100644 index 52cdb077..00000000 --- a/.vim/bundle/vim-template/syntax/vim-template.vim +++ /dev/null @@ -1,19 +0,0 @@ -" vim-template syntax file -" Language: vim-template -" Maintainer: Lyude Paul -" Last Change: 2014 April 21 - -if exists("b:current_syntax") - finish -endif - -if b:vim_template_subtype != "" - execute "runtime! syntax/" . b:vim_template_subtype . ".vim" - unlet b:current_syntax -endif - -syn match vimtemplateVariable "%\%(DAY\|YEAR\|MONTH\|MONTHSHORT\|MONTHFULL\|DATE\|TIME\|FILE\|FFILE\|EXT\|MAIL\|USER\|HOST\|GUARD\|CLASS\|MACROCLASS\|CAMELCLASS\|HERE\)%" containedin=ALL - -let b:current_syntax = "vim-template" - -hi def link vimtemplateVariable Constant diff --git a/.vim/bundle/vim-template/templates/=template=.bash b/.vim/bundle/vim-template/templates/=template=.bash deleted file mode 100644 index a6a3f4d5..00000000 --- a/.vim/bundle/vim-template/templates/=template=.bash +++ /dev/null @@ -1,10 +0,0 @@ -#! /bin/bash -# -# %FFILE% -# Copyright (C) %YEAR% %USER% <%MAIL%> -# -# Distributed under terms of the %LICENSE% license. -# - - -%HERE% diff --git a/.vim/bundle/vim-template/templates/=template=.c b/.vim/bundle/vim-template/templates/=template=.c deleted file mode 100644 index a6c63058..00000000 --- a/.vim/bundle/vim-template/templates/=template=.c +++ /dev/null @@ -1,11 +0,0 @@ -/* - * %FFILE% - * Copyright (C) %YEAR% %USER% <%MAIL%> - * - * Distributed under terms of the %LICENSE% license. - */ - -#include "%FILE%.h" - - -%HERE% diff --git a/.vim/bundle/vim-template/templates/=template=.c++ b/.vim/bundle/vim-template/templates/=template=.c++ deleted file mode 120000 index fa0e13fd..00000000 --- a/.vim/bundle/vim-template/templates/=template=.c++ +++ /dev/null @@ -1 +0,0 @@ -=template=.c \ No newline at end of file diff --git a/.vim/bundle/vim-template/templates/=template=.cc b/.vim/bundle/vim-template/templates/=template=.cc deleted file mode 120000 index fa0e13fd..00000000 --- a/.vim/bundle/vim-template/templates/=template=.cc +++ /dev/null @@ -1 +0,0 @@ -=template=.c \ No newline at end of file diff --git a/.vim/bundle/vim-template/templates/=template=.cmake b/.vim/bundle/vim-template/templates/=template=.cmake deleted file mode 100644 index 85fe6a24..00000000 --- a/.vim/bundle/vim-template/templates/=template=.cmake +++ /dev/null @@ -1,13 +0,0 @@ -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}) diff --git a/.vim/bundle/vim-template/templates/=template=.coffee b/.vim/bundle/vim-template/templates/=template=.coffee deleted file mode 100644 index 5b088467..00000000 --- a/.vim/bundle/vim-template/templates/=template=.coffee +++ /dev/null @@ -1,8 +0,0 @@ -### -# %FFILE% -# Copyright (C) %YEAR% %USER% <%MAIL%> -# -# Distributed under terms of the %LICENSE% license. -### - -%HERE% diff --git a/.vim/bundle/vim-template/templates/=template=.cpp b/.vim/bundle/vim-template/templates/=template=.cpp deleted file mode 120000 index fa0e13fd..00000000 --- a/.vim/bundle/vim-template/templates/=template=.cpp +++ /dev/null @@ -1 +0,0 @@ -=template=.c \ No newline at end of file diff --git a/.vim/bundle/vim-template/templates/=template=.css b/.vim/bundle/vim-template/templates/=template=.css deleted file mode 100644 index 57eabdc2..00000000 --- a/.vim/bundle/vim-template/templates/=template=.css +++ /dev/null @@ -1,12 +0,0 @@ -/* - * %FFILE% - * Copyright (C) %YEAR% %USER% - * - * Distributed under terms of the %LICENSE% license. - */ - -body { - %HERE%background: white; - color: black; -} - diff --git a/.vim/bundle/vim-template/templates/=template=.cxx b/.vim/bundle/vim-template/templates/=template=.cxx deleted file mode 120000 index fa0e13fd..00000000 --- a/.vim/bundle/vim-template/templates/=template=.cxx +++ /dev/null @@ -1 +0,0 @@ -=template=.c \ No newline at end of file diff --git a/.vim/bundle/vim-template/templates/=template=.dart b/.vim/bundle/vim-template/templates/=template=.dart deleted file mode 100644 index 648d5b01..00000000 --- a/.vim/bundle/vim-template/templates/=template=.dart +++ /dev/null @@ -1,8 +0,0 @@ -// -// %FFILE% -// Copyright (C) %YEAR% %USER% <%MAIL%> -// -// Distributed under terms of the %LICENSE% license. -// - -%HERE% diff --git a/.vim/bundle/vim-template/templates/=template=.f b/.vim/bundle/vim-template/templates/=template=.f deleted file mode 100644 index fb3b6160..00000000 --- a/.vim/bundle/vim-template/templates/=template=.f +++ /dev/null @@ -1,8 +0,0 @@ -! -! %FFILE% -! Copyright (C) %YEAR% %USER% <%MAIL%> -! -! Distributed under terms of the %LICENSE% license. -! - -%HERE% diff --git a/.vim/bundle/vim-template/templates/=template=.f90 b/.vim/bundle/vim-template/templates/=template=.f90 deleted file mode 100644 index fb3b6160..00000000 --- a/.vim/bundle/vim-template/templates/=template=.f90 +++ /dev/null @@ -1,8 +0,0 @@ -! -! %FFILE% -! Copyright (C) %YEAR% %USER% <%MAIL%> -! -! Distributed under terms of the %LICENSE% license. -! - -%HERE% diff --git a/.vim/bundle/vim-template/templates/=template=.go b/.vim/bundle/vim-template/templates/=template=.go deleted file mode 100644 index 1bddad99..00000000 --- a/.vim/bundle/vim-template/templates/=template=.go +++ /dev/null @@ -1,10 +0,0 @@ -// -// %FFILE% -// Copyright (C) %YEAR% %USER% <%MAIL%> -// -// Distributed under terms of the %LICENSE% license. -// - -package main - -%HERE% diff --git a/.vim/bundle/vim-template/templates/=template=.h b/.vim/bundle/vim-template/templates/=template=.h deleted file mode 100644 index a5a67536..00000000 --- a/.vim/bundle/vim-template/templates/=template=.h +++ /dev/null @@ -1,13 +0,0 @@ -/* - * %FFILE% - * Copyright (C) %YEAR% %USER% <%MAIL%> - * - * Distributed under terms of the %LICENSE% license. - */ - -#ifndef %GUARD% -#define %GUARD% - -%HERE% - -#endif /* !%GUARD% */ diff --git a/.vim/bundle/vim-template/templates/=template=.hs b/.vim/bundle/vim-template/templates/=template=.hs deleted file mode 100644 index 31017bc0..00000000 --- a/.vim/bundle/vim-template/templates/=template=.hs +++ /dev/null @@ -1,12 +0,0 @@ -#! /usr/bin/env runhugs +l --- --- %FFILE% --- Copyright (C) %YEAR% %USER% <%MAIL%> --- --- Distributed under terms of the %LICENSE% license. --- - -module %FILE% where - - -%HERE% diff --git a/.vim/bundle/vim-template/templates/=template=.html b/.vim/bundle/vim-template/templates/=template=.html deleted file mode 100644 index d3fd3383..00000000 --- a/.vim/bundle/vim-template/templates/=template=.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - - %CLASS% - - - %HERE% - - diff --git a/.vim/bundle/vim-template/templates/=template=.humans.txt b/.vim/bundle/vim-template/templates/=template=.humans.txt deleted file mode 100644 index 5105f22c..00000000 --- a/.vim/bundle/vim-template/templates/=template=.humans.txt +++ /dev/null @@ -1,16 +0,0 @@ -/* 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 diff --git a/.vim/bundle/vim-template/templates/=template=.java b/.vim/bundle/vim-template/templates/=template=.java deleted file mode 100644 index 310979cf..00000000 --- a/.vim/bundle/vim-template/templates/=template=.java +++ /dev/null @@ -1,14 +0,0 @@ -/* - * %FFILE% - * Copyright (C) %YEAR% %USER% <%MAIL%> - * - * Distributed under terms of the %LICENSE% license. - */ - -public class %FILE% -{ - public %FILE%() { - %HERE% - } -} - diff --git a/.vim/bundle/vim-template/templates/=template=.jl b/.vim/bundle/vim-template/templates/=template=.jl deleted file mode 100644 index 9615b215..00000000 --- a/.vim/bundle/vim-template/templates/=template=.jl +++ /dev/null @@ -1,8 +0,0 @@ -#= - %FILE% - Copyright © %YEAR% %USER% <%MAIL%> - - Distributed under terms of the %LICENSE% license. -=# - -%HERE% diff --git a/.vim/bundle/vim-template/templates/=template=.js b/.vim/bundle/vim-template/templates/=template=.js deleted file mode 100644 index 7aeca988..00000000 --- a/.vim/bundle/vim-template/templates/=template=.js +++ /dev/null @@ -1,11 +0,0 @@ -/* - * %FFILE% - * Copyright (C) %YEAR% %USER% <%MAIL%> - * - * Distributed under terms of the %LICENSE% license. - */ -(function(){ - 'use strict'; - - %HERE% -})(); diff --git a/.vim/bundle/vim-template/templates/=template=.jsp b/.vim/bundle/vim-template/templates/=template=.jsp deleted file mode 100644 index 3dd5bf45..00000000 --- a/.vim/bundle/vim-template/templates/=template=.jsp +++ /dev/null @@ -1,12 +0,0 @@ -<%@ page contentType="text/html;Charset=UTF-8" pageEncoding="UTF-8" %> -<%@ taglib prefix="" tagdir="/WEB-INF/tags"%> - - - - - - - - %HERE% - - diff --git a/.vim/bundle/vim-template/templates/=template=.jsx b/.vim/bundle/vim-template/templates/=template=.jsx deleted file mode 100644 index c7374362..00000000 --- a/.vim/bundle/vim-template/templates/=template=.jsx +++ /dev/null @@ -1,21 +0,0 @@ -/* - * %FFILE% - * Copyright (C) %YEAR% %USER% <%MAIL%> - * - * Distributed under terms of the %LICENSE% license. - */ -import React, { Component } from 'react' - - -class %FILE% extends Component { - constructor(props: any) { - super(props) - - } - - render() { - return ( - %HERE% - ) - } -} diff --git a/.vim/bundle/vim-template/templates/=template=.lhs b/.vim/bundle/vim-template/templates/=template=.lhs deleted file mode 100644 index 66e52ec9..00000000 --- a/.vim/bundle/vim-template/templates/=template=.lhs +++ /dev/null @@ -1,4 +0,0 @@ -%FILE% by %USER% -%FDATE% - -%HERE% diff --git a/.vim/bundle/vim-template/templates/=template=.lua b/.vim/bundle/vim-template/templates/=template=.lua deleted file mode 100644 index 10664644..00000000 --- a/.vim/bundle/vim-template/templates/=template=.lua +++ /dev/null @@ -1,9 +0,0 @@ -#! /usr/bin/env lua --- --- %FFILE% --- Copyright (C) %YEAR% %USER% <%MAIL%> --- --- Distributed under terms of the %LICENSE% license. --- - -%HERE% diff --git a/.vim/bundle/vim-template/templates/=template=.m b/.vim/bundle/vim-template/templates/=template=.m deleted file mode 120000 index fa0e13fd..00000000 --- a/.vim/bundle/vim-template/templates/=template=.m +++ /dev/null @@ -1 +0,0 @@ -=template=.c \ No newline at end of file diff --git a/.vim/bundle/vim-template/templates/=template=.mk b/.vim/bundle/vim-template/templates/=template=.mk deleted file mode 120000 index 37d636f2..00000000 --- a/.vim/bundle/vim-template/templates/=template=.mk +++ /dev/null @@ -1 +0,0 @@ -=template=Makefile \ No newline at end of file diff --git a/.vim/bundle/vim-template/templates/=template=.ml b/.vim/bundle/vim-template/templates/=template=.ml deleted file mode 100644 index 98d2dbfe..00000000 --- a/.vim/bundle/vim-template/templates/=template=.ml +++ /dev/null @@ -1,9 +0,0 @@ -(* - * %FFILE% - * Copyright (C) %YEAR% %USER% <%MAIL%> - * - * Distributed under terms of the %LICENSE% license. - *) - - -let %HERE% diff --git a/.vim/bundle/vim-template/templates/=template=.mm b/.vim/bundle/vim-template/templates/=template=.mm deleted file mode 120000 index dddf7439..00000000 --- a/.vim/bundle/vim-template/templates/=template=.mm +++ /dev/null @@ -1 +0,0 @@ -=template=.m \ No newline at end of file diff --git a/.vim/bundle/vim-template/templates/=template=.php b/.vim/bundle/vim-template/templates/=template=.php deleted file mode 100644 index a31b00df..00000000 --- a/.vim/bundle/vim-template/templates/=template=.php +++ /dev/null @@ -1,12 +0,0 @@ - - * @version 0.1 - * @copyright (C) %YEAR% %USER% <%MAIL%> - * @license %LICENSE% - */ - -%HERE% diff --git a/.vim/bundle/vim-template/templates/=template=.pl b/.vim/bundle/vim-template/templates/=template=.pl deleted file mode 100644 index 2b76cf5e..00000000 --- a/.vim/bundle/vim-template/templates/=template=.pl +++ /dev/null @@ -1,16 +0,0 @@ -#! /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% diff --git a/.vim/bundle/vim-template/templates/=template=.pls b/.vim/bundle/vim-template/templates/=template=.pls deleted file mode 100644 index 5b72c0e7..00000000 --- a/.vim/bundle/vim-template/templates/=template=.pls +++ /dev/null @@ -1,48 +0,0 @@ -create or replace package %FILE% -is -/* - * %FFILE% - * Copyright (C) %YEAR% %USER% <%MAIL%> - * - * Distributed under terms of the %LICENSE% license. - */ - - procedure main (pv_param1 varchar2(50) - ,pv_param2 varchar2(50)); - -end %FILE% -/ - -show errors -exit - - -create or replace package body %FILE% -is -/* - * %FFILE% - * Copyright (C) %YEAR% %USER% <%MAIL%> - * - * Distributed under terms of the %LICENSE% license. - */ - - procedure main (pv_param1 varchar2(50) - ,pv_param2 varchar2(50)) - is - - begin - - null; - - exception - when others then - - raise; - - end main; - -end %FILE% -/ - -show errors -exit diff --git a/.vim/bundle/vim-template/templates/=template=.pm b/.vim/bundle/vim-template/templates/=template=.pm deleted file mode 100644 index 0e2bc211..00000000 --- a/.vim/bundle/vim-template/templates/=template=.pm +++ /dev/null @@ -1,38 +0,0 @@ -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! diff --git a/.vim/bundle/vim-template/templates/=template=.pro b/.vim/bundle/vim-template/templates/=template=.pro deleted file mode 100644 index 6dbad786..00000000 --- a/.vim/bundle/vim-template/templates/=template=.pro +++ /dev/null @@ -1,26 +0,0 @@ -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 diff --git a/.vim/bundle/vim-template/templates/=template=.py b/.vim/bundle/vim-template/templates/=template=.py deleted file mode 100644 index f93f2496..00000000 --- a/.vim/bundle/vim-template/templates/=template=.py +++ /dev/null @@ -1,11 +0,0 @@ -#! /usr/bin/env python -# -*- coding: utf-8 -*- -# vim:fenc=utf-8 -# -# Copyright © %YEAR% %USER% <%MAIL%> -# -# Distributed under terms of the %LICENSE% license. - -""" -%HERE% -""" diff --git a/.vim/bundle/vim-template/templates/=template=.rb b/.vim/bundle/vim-template/templates/=template=.rb deleted file mode 100644 index 6c557102..00000000 --- a/.vim/bundle/vim-template/templates/=template=.rb +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/env ruby -# -# %FFILE% -# Copyright (C) %YEAR% %USER% <%MAIL%> -# -# Distributed under terms of the %LICENSE% license. -# - - -%HERE% diff --git a/.vim/bundle/vim-template/templates/=template=.robots.txt b/.vim/bundle/vim-template/templates/=template=.robots.txt deleted file mode 100644 index f0718b73..00000000 --- a/.vim/bundle/vim-template/templates/=template=.robots.txt +++ /dev/null @@ -1,6 +0,0 @@ -# -# The Web Robots Pages (http://www.robotstxt.org/) -# - -User-agent: * -Disallow: diff --git a/.vim/bundle/vim-template/templates/=template=.rs b/.vim/bundle/vim-template/templates/=template=.rs deleted file mode 100644 index 1570a7b5..00000000 --- a/.vim/bundle/vim-template/templates/=template=.rs +++ /dev/null @@ -1,17 +0,0 @@ -// -// %FFILE% -// Copyright (C) %YEAR% %USER% <%MAIL%> -// Distributed under terms of the %LICENSE% license. -// - -%HERE% - - -#[cfg(test)] -mod tests { - use super::*; - - #[test] - fn it_works() { - } -} diff --git a/.vim/bundle/vim-template/templates/=template=.sh b/.vim/bundle/vim-template/templates/=template=.sh deleted file mode 100644 index 9b055c9f..00000000 --- a/.vim/bundle/vim-template/templates/=template=.sh +++ /dev/null @@ -1,10 +0,0 @@ -#! /bin/sh -# -# %FFILE% -# Copyright (C) %YEAR% %USER% <%MAIL%> -# -# Distributed under terms of the %LICENSE% license. -# - - -%HERE% diff --git a/.vim/bundle/vim-template/templates/=template=.sql b/.vim/bundle/vim-template/templates/=template=.sql deleted file mode 100644 index f04f82dd..00000000 --- a/.vim/bundle/vim-template/templates/=template=.sql +++ /dev/null @@ -1,11 +0,0 @@ -/* - * %FFILE% - * Copyright (C) %YEAR% %USER% <%MAIL%> - * - * Distributed under terms of the %LICENSE% license. - */ - -select %HERE% - - --- vim:et diff --git a/.vim/bundle/vim-template/templates/=template=.tex b/.vim/bundle/vim-template/templates/=template=.tex deleted file mode 100644 index dbad64ce..00000000 --- a/.vim/bundle/vim-template/templates/=template=.tex +++ /dev/null @@ -1,17 +0,0 @@ -% vim:ft=tex: -% -\documentclass[12pt]{article} - -\title{ - %FILE% -} -\author{ - %USER% --- \texttt{%MAIL%} -} - -\begin{document} -\maketitle - -%HERE% - -\end{document} diff --git a/.vim/bundle/vim-template/templates/=template=.txt b/.vim/bundle/vim-template/templates/=template=.txt deleted file mode 100644 index 7b2c9878..00000000 --- a/.vim/bundle/vim-template/templates/=template=.txt +++ /dev/null @@ -1,7 +0,0 @@ -%FFILE% - -:Author: %USER% -:Email: %MAIL% -:Date: %FDATE% - -%HERE% diff --git a/.vim/bundle/vim-template/templates/=template=.xml b/.vim/bundle/vim-template/templates/=template=.xml deleted file mode 100644 index 7b223d17..00000000 --- a/.vim/bundle/vim-template/templates/=template=.xml +++ /dev/null @@ -1,8 +0,0 @@ - -<%FILE%> - - %HERE% - - - diff --git a/.vim/bundle/vim-template/templates/=template=.xsl b/.vim/bundle/vim-template/templates/=template=.xsl deleted file mode 100644 index 80eec18b..00000000 --- a/.vim/bundle/vim-template/templates/=template=.xsl +++ /dev/null @@ -1,12 +0,0 @@ - - - - - %HERE% - - diff --git a/.vim/bundle/vim-template/templates/=template=.zcml b/.vim/bundle/vim-template/templates/=template=.zcml deleted file mode 100644 index 29f34b86..00000000 --- a/.vim/bundle/vim-template/templates/=template=.zcml +++ /dev/null @@ -1,8 +0,0 @@ - - - %HERE% - - diff --git a/.vim/bundle/vim-template/templates/=template=CMakeLists.txt b/.vim/bundle/vim-template/templates/=template=CMakeLists.txt deleted file mode 120000 index 48cb17ce..00000000 --- a/.vim/bundle/vim-template/templates/=template=CMakeLists.txt +++ /dev/null @@ -1 +0,0 @@ -=template=.cmake \ No newline at end of file diff --git a/.vim/bundle/vim-template/templates/=template=GNUmakefile b/.vim/bundle/vim-template/templates/=template=GNUmakefile deleted file mode 120000 index 37d636f2..00000000 --- a/.vim/bundle/vim-template/templates/=template=GNUmakefile +++ /dev/null @@ -1 +0,0 @@ -=template=Makefile \ No newline at end of file diff --git a/.vim/bundle/vim-template/templates/=template=Makefile b/.vim/bundle/vim-template/templates/=template=Makefile deleted file mode 100644 index 31e767c7..00000000 --- a/.vim/bundle/vim-template/templates/=template=Makefile +++ /dev/null @@ -1,11 +0,0 @@ -# -# %FFILE% -# %USER%, %FDATE% -# - -all: - %HERE%@echo "%FFILE% needs your attention" - - -# vim:ft=make -# \ No newline at end of file