[from now] 2013/02/23 20:48:31

diff --git a/mac/macmini.vncloc b/mac/macmini.vncloc
new file mode 100644
index 0000000..0b6deca
--- /dev/null
+++ b/mac/macmini.vncloc
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>URL</key>
+	<string>vnc://macmini._rfb._tcp.local</string>
+</dict>
+</plist>
diff --git a/vim/.gvimrc b/vim/.gvimrc
index aa22b2d..600857a 100755
--- a/vim/.gvimrc
+++ b/vim/.gvimrc
@@ -63,7 +63,7 @@ elseif has('gui_macvim')
     "set gfn=しねきゃぷしょん:h12
     "set gfn=あんずもじ等幅:h12
     "set gfn=Osaka-Mono:h11
- 	set gfn=Ricty\ Regular\ for\ Powerline:h11
+ 	set gfn=Ricty\ Regular\ for\ Powerline:h12
     "set gfn=S2G-Uni-font:h12
     "set gfn=S2G-Luna-font:h13
     "set gfn=HuiFont:h12
diff --git a/vim/.vim/.vimpos b/vim/.vim/.vimpos
index 641eae2..450cc9e 100755
--- a/vim/.vim/.vimpos
+++ b/vim/.vim/.vimpos
@@ -1,2 +1,2 @@
 winpos  4  22
-set lines=69 columns=224
+set lines=54 columns=192
diff --git a/vim/.vimrc b/vim/.vimrc
index c833547..d37ccc2 100755
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -1261,6 +1261,29 @@ call quickrun#module#register(s:hook, 1)
 unlet s:hook
 "}}}

+" coffeescript import を読み込んでコンパイル {{{
+let s:hook = {
+            \ "name" : "coffeescript_compile",
+            \ "kind" : "hook",
+            \ "config" : {
+            \       "enable" : 0
+            \  }
+            \ }
+function! s:hook.on_module_loaded(session, context)
+    let imports = []
+    for line in readfile(a:session.config.srcfile, '', 15)
+        if line =~ '^# import'
+            "echom 'import : ' . line[10 : -2]
+            call add(imports, line[10 : -2])
+        endif
+    endfor
+    "echom 'exec : %c -j %s:p:r.js -cb ' . join(imports, ' ') . ' %s'
+    let a:session.config.exec = '%c -j %s:p:r.js -cb ' . join(imports, ' ') . ' %s'
+endfunction
+call quickrun#module#register(s:hook, 1)
+unlet s:hook
+"}}}
+
 " コンパイル後にヘッダ等を追加 {{{
 let s:hook = {
             \ "name" : "js2cmd",
@@ -1341,6 +1364,7 @@ let g:quickrun_config = {
             \       "command": "coffee",
             \       "cmdopt": "-cb",
             \       "exec": "%c %o %s",
+            \       "hook/coffeescript_compile/enable": 1,
             \       "hook/output_command/log": 1,
             \       "hook/js2cmd/enable": 1
             \   }
Merge branch 'master' of github.com:yuyunko/dotfiles