vim skels and rfc function

This commit is contained in:
Frank Villaro-Dixon 2013-10-24 00:01:14 +02:00
parent 3bfe3a14c1
commit f30864aadb
5 changed files with 19 additions and 7 deletions

11
bashrc
View file

@ -377,7 +377,8 @@ function mutt { #{{{
fi;
} #}}}
up2frank() { #{{{
function up2frank
{ #{{{
if [ ! $# -eq 1 ]; then
echo "usage: up2frank FILE"
return
@ -388,6 +389,14 @@ up2frank() { #{{{
fi;
} #}}}
function rfc
{ #{{{
firefox http://www.ietf.org/rfc/rfc$1.txt
} #}}}
# }}}
SSHAGENT=/usr/bin/ssh-agent

View file

@ -1,7 +1,7 @@
/*
** <+FILENAME+> - <+DESC+>
**
** (C) 2013 - Frank Villaro-Dixon <Frank@Villaro-Dixon.eu>
** 2013 - Frank Villaro-Dixon <Frank@Villaro-Dixon.eu>
*/
#include <stdio.h>

View file

@ -1,7 +1,7 @@
/*
** <+FILENAME+> - <+DESC+>
**
** (C) 2013 - Frank Villaro-Dixon <Frank@Villaro-Dixon.eu>
** 2013 - Frank Villaro-Dixon <Frank@Villaro-Dixon.eu>
*/
#ifndef <+HEADERNAME+>

View file

@ -3,13 +3,13 @@
**
** <+DESC+>
**
** (C) 2013 - Frank Villaro-Dixon <Frank@Villaro-Dixon.eu>
** 2013 - Frank Villaro-Dixon <Frank@Villaro-Dixon.eu>
*/
class <+CLASSNAME+> {
public static void main(String[] argv) {
<+CODE+>
}
public static void main(String[] argv) {
<+CODE+>
}
}

View file

@ -145,3 +145,6 @@ autocmd BufRead,BufNewFile *.latex set tw=80
"Automatic documentation
autocmd BufNewFile,BufRead *.py set keywordprg=pydoc
autocmd BufNewFile,BufRead *.php set keywordprg=~/.vim/scripts/doc.php.sh
"JAVA
iabbr syso System.out.println