This commit is contained in:
Gea-Suan Lin
2012-04-21 20:31:55 +08:00
6 changed files with 32 additions and 3 deletions

3
.inputrc Normal file
View File

@@ -0,0 +1,3 @@
#
"\e[A":history-search-backward
"\e[B":history-search-forward

View File

@@ -0,0 +1,20 @@
<!doctype html>
<!--[if lt IE 7]><html class="ie6"><![endif]-->
<!--[if IE 7]><html class="ie7"><![endif]-->
<!--[if IE 8]><html class="ie8"><![endif]-->
<!--[if IE 9]><html class="ie9"><![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--><html><!--<![endif]-->
<head>
<meta charset="UTF-8">
<title></title>
<!--
<link href="http://twitter.github.com/bootstrap/1.4.0/bootstrap.min.css" rel="stylesheet">
-->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
</body>
</html>

View File

@@ -0,0 +1 @@
<?php

View File

@@ -0,0 +1 @@
#!/bin/sh

3
.vimrc
View File

@@ -36,8 +36,9 @@ nmap <Esc>[Z <C-w>W
nmap <Tab> <C-w>w
"
" other
au BufNewFile,BufRead *.psgi setf perl
au BufNewFile,BufRead *.mk set noexpandtab
au BufNewFile,BufRead *.json setf json
au BufNewFile,BufRead *.psgi setf perl
au BufNewFile,BufRead Makefile set noexpandtab
au BufReadPost * if line("'\"") > 0|if line("'\"") <= line("$")|exe("norm '\"")|else|exe "norm $"|endif|endif
"

View File

@@ -5,7 +5,10 @@ BASEDIR=`dirname $0`
# submodule init
git submodule update --init
#
cp ${BASEDIR}/.inputrc ~/
# vim
cp ${BASEDIR}/.vimrc ~/.vimrc
mkdir -p ~/.vim
cp ${BASEDIR}/.vimrc ~/
mkdir -p ~/.vim/
rsync -a ${BASEDIR}/.vim/ ~/.vim/