diff --git a/vim/plugin/function-header.vim b/vim/plugin/function-header.vim deleted file mode 100644 index 5f76480..0000000 --- a/vim/plugin/function-header.vim +++ /dev/null @@ -1,41 +0,0 @@ -"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" -" Function header plugin for vim -"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" -" -" This plugin inserts a C/C++ function header as specified below: -" /* -" * Function: -" * Description: -" * Input Args: -" * Output: -" */ -" -" USAGE: -" -- vim 6: Stick this file in your ~/.vim/plugin directory (or in a -" 'plugin' directory in some other directory that is in your -" 'runtimepath'. -" -" -- vim 5: Stick this file somewhere and 'source cscope.vim' it from -" your ~/.vimrc file (or cut and paste it into your .vimrc). -" -" NOTE: -" On pressing in insert mode, this plugin will insert a function-block -" comment and place the cursor on the line to type the function name. -" -" Nirenjan Krishnan nirenjan@gmail.com 2008/12/16 -"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" - -" Insert function header -function FunctionHeading() - let s:line=line(".") - call setline(s:line ,"/*") - call append(s:line ," * Function: ") - call append(s:line+1," * Description: ") - call append(s:line+2," * Input Args: ") - call append(s:line+3," * Outputs: ") - call append(s:line+4," */") - unlet s:line -endfunction - -imap mz:execute FunctionHeading() `zjA - diff --git a/vim/plugin/multiline-comment.vim b/vim/plugin/multiline-comment.vim deleted file mode 100644 index 968ff1a..0000000 --- a/vim/plugin/multiline-comment.vim +++ /dev/null @@ -1,35 +0,0 @@ -"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" -" Multiline comment plugin for vim -"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" -" -" This plugin inserts a multiline comment as specified below: -" /* -" * -" */ -" -" USAGE: -" -- vim 6: Stick this file in your ~/.vim/plugin directory (or in a -" 'plugin' directory in some other directory that is in your -" 'runtimepath'. -" -" -- vim 5: Stick this file somewhere and 'source cscope.vim' it from -" your ~/.vimrc file (or cut and paste it into your .vimrc). -" -" NOTE: -" On pressing in insert mode, this plugin will insert a multiline -" comment and place the cursor on the line to type the comment. -" -" Nirenjan Krishnan nirenjan@gmail.com 2010/09/15 -"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" - -" Insert multiline comment -function MultiLineComment() - let s:line=line(".") - call setline(s:line ,"/*") - call append(s:line ," * ") - call append(s:line+1," */") - unlet s:line -endfunction - -imap mz:execute MultiLineComment() `zjA -