ゆず日記

戦う Vimmer 兼 Dvorakユーザ 兼 Kinesisユーザ 兼 おぺらー が戦わないブログ

サントリー角瓶 製氷器付パックがステキ。

f:id:Yuzuemon:20140222010338j:plain
昨年(2013年)頃の角瓶に付いていた製氷機がステキというだけの話。


f:id:Yuzuemon:20140222010353p:plain
このよく分からない2パーツに別れたケースを、流水の中、力を加えケースを外すと...


f:id:Yuzuemon:20140222010429p:plain
パカっと中から3つのブロックアイスが出てくる。


f:id:Yuzuemon:20140222010446p:plain
程よい大きさのブロックアイスでウヰスキーにピッタリ。
あまり良く見えないけど、地味に氷表面に角瓶模様があります。

写真のグラスはCHIVASのなのでブロックアイス1コしか入れてないけど、
角瓶グラスを持っている人は、ブロックアイス3つ入れると丁度いいです。

1個辺りのサイズが大きいブロックアイスは、同体積分の小さめな氷 x n個に比べ表面積が小さい為、解けにくくその分ウイスキーの濃さを長時間堪能出来るのかなと勝手に思ってる。


f:id:Yuzuemon:20140222010440p:plain
空けた後は、また水を注いでケースに蓋をして冷凍庫に入れれば3時間後にはまたブロックアイスが出来ている。


またこの製氷機パック出ないかなー。

第45回HTML5とか勉強会に行ってきたお話。

第45回HTML5とか勉強会 : ATND に行ってきたメモ書き。

メインのスピーカーは安藤幸央さん(株式会社エクサ、Google Developers Experts (GEO))。
本日のテーマは「ユーザーエクスペリエンスとペーパープロトタイピング」
会場はMicrosoft

途中からのメモ

イマドキオススメの手法
  • インスクリーン(オンデバイス)プロトタイピング
    • 紙に書いたスケッチをカメラで取り込んでスマートフォンで画面を確認する。
    • 実際のデバイス画面で素早く確認できるのが利点
    • 方眼ノート便利
インスクリーンプロトタイピングに便利なアプリ
インスクリーンプロトタイピングのコツ
  • 必要な要素を適切な場所に配置する。本当にそこに必要か?
  • ある目的に向かって、素直に操作できる流れを確認する
  • 間接的な操作(ボタンやスイッチ)と直接操作を意識する
  • アイディアが有益で正しい方向を向いているのか確かめる
  • 抜け、漏れ、作らなければならない事項を洗い出す
  • 目的を実現するための機能、使いやすさ、楽しさを確認する

Mobile UX

  • PC WebとモバイルWebとの連続したユーザ体験の構築
    • チケット購入などの場合、スマホで閲覧したとしても決済はPCで行う人が多い
    • PC, タブレット, スマホ, TV(with ゲーム機, Apple TV) などのデバイスが今ある。
      • これらのデバイスごとのサービスUIをどうしていくのかも考えていく必要がある。

Mobile UX

HTMLが向いているケース
    • 改変が多い
    • 対応機種が多い
    • 社内利用メインの場合
    • 開発要員の問題
    • コスト観点
ハイブリッドアプリが向いているケース
    • 外側はネイティブアプリ, 中身はWebView, コンテンツはHTML
    • 文字入力が少なくてすむ場合(多いとモタツキ、UXに支障が出る)
    • ライフサイクルが短い場合
    • 対応機種が少ない場合
    • セキュリティ要件が厳しいものには向いてない(?)

ワークショップ前半

  • スマホから http://www.javari.jp/:tittle を見てペーパープロトタイプに起こす。
  • スマホのキーポード画面を書いたポストイットを用意しておき、ペーパープロトタイプ上に貼ると擬似的にキーボード入力時のスマホ画面を確認出来て便利!
  • 今回は時間が無いためやらないが、各UIの機能も書いてあるとGood!
  • 書いたプロトタイプはスマホで写真をとってスマホ上で表示し、実際の画面に近い状態でUIを確認してみる。

ワークショップ後半

戦利品

  • IEステッカーとクラウディアさん。Microsoftさん何処に飾れと...

f:id:Yuzuemon:20140218033129j:plain

tmux の現在の設定を確認する

.tmux.conf を編集してて, 現在の設定がどう適用されているのか確認したい時には,

% tmux show-options
% tmux show-window-options

を実行することで現在の設定が確認できる.


大抵はグローバルオプション ( -g ) を付けて設定しているかと思うので, その場合には show-* コマンドにも -g を付ける.

% tmux show-options -g
% tmux show-window-options -g


また, 上記のコマンドは, tmux 上の command-prompt ( prefix key + ":" とか) からも以下のように実行可能.

:show-options -g
:show-window-options -g


合わせて, こんな感じに設定ファイルの再読み込みを bind しとくと楽.

bind R source-file ~/.tmux.conf

これで確認しながら設定できますね.

MacVim に lightline.vim をインストールしたお話。

Powerline 系の plugin を今までスルーしていたのだけれども, lightline.vim作りました - プラグインの直交性について - プログラムモグモグ を見て感銘を受けたので lightline.vim をインストールしてみた.

lightline.vim のインストール

itchyny/lightline.vim · GitHub を見ながら設定を行っていく.
または作者のブログ 作者が教える! lightline.vimの導入・設定方法! 〜 初級編 - インストールしよう - プログラムモグモグ で日本語でもインストール手順が書いてあるので, そちらを参考にした方がいいかも.

環境

NeoBundle によるインストール

自分は NeoBundle を利用しているので, そのまま NeoBundle でインストールを行う.
.vimrc に以下を書いて,

NeoBundle 'itchyny/lightline.vim'

:NeoBundleInstall! するだけ.

fontforge のインストールと Ricty フォントの Powerline化

Powerline で利用されている一部の記号を利用する場合にこのフォントが必要.
ここでは Ricty は既にインストールしている前提で話を進める.

まず fontforge をインストールしていない場合には,

% brew install fontforge

fontforge をインストール.

次に, Lokaltog/vim-powerline · GitHub 内の fontpatcher を利用し, vim-powerline 用の font を生成する.

# リポジトリの clone
% git clone https://github.com/Lokaltog/vim-powerline.git 
% cd ./vim-powerline/fontpatcher

# fontpacher の適用
% fontforge -script ./fontpatcher <Ricty フォントのパス>Ricty-Regular.ttf
% fontforge -script ./fontpatcher <Ricty フォントのパス>Ricty-Bold.ttf

キチンと生成されれば, 同ディレクトリ内に Ricty-*-Powerline.ttf が生成される.

% tree
.
├── PowerlineSymbols.sfd
├── README.rst
├── Ricty-Bold-Powerline.ttf
├── Ricty-Bold.ttf
├── Ricty-Regular-Powerline.ttf
├── Ricty-Regular.ttf
└── fontpatcher

生成したフォントを, fonts ディレクトリに移動させる.

% mv Ricty-Bold-Powerline.ttf Ricty-Regular-Powerline.ttf ~/Library/fonts/

これで Powerline 用の Ricty が利用可能となった.

.vimrc の設定

itchyny/lightline.vim · GitHub を見ながら設定していく.
いまんとこシンプルに

" for lightline.vim --------------------
let g:lightline = {
      \ 'colorscheme': 'wombat',
      \ 'component': {
      \   'readonly': '%{&readonly?"\u2b64":""}',
      \ },
      \ 'separator': { 'left': "\u2b80", 'right': "\u2b82" },
      \ 'subseparator': { 'left': "\u2b81", 'right': "\u2b83" },
      \ }

だけ書いており, これから使いながら拡張していく予定.

なお, 自分の場合には .vimrc と .zshrc にそれぞれ以下の追記が必要だった.

" .vimrc
set t_Co=256
# .zshrc
export TERM=xterm-256color

iTerm2 の Preferences > Profiles > Terminal の Report Terminal Type を xterm-256color に設定すれば .zshrc の設定は不要です.


この件や, 他のトラブルシューティングについては前述の

に記載されているのでそちらを参照.

autocmd が2度実行される場合の対処法

.vimrcファイルを分割する - ゆず日記 を導入してから,

" .vimrc
set rtp+=$HOME/dotfiles/.vim/
runtime! conf.d/*.vim

" conf.d/filetype.vim
autocmd BufNewFile *.html 0r $HOME/.vim/template/skeleton.html

のように設定していたテンプレートファイルが2度読み込まれるようになった.


具体的には vi hoge.html などを実行した際に,

<html>
  <head>
    <title></title>
  </head>
  <body>
  </body>
</html>
<html>
  <head>
    <title></title>
  </head>
  <body>
  </body>
</html>

のように2度テンプレートが読み込まれてしまう.

調査

--startuptime <出力ファイル名> を付けて vim を起動すると, 起動時の読み込みファイルと, その読み込みに掛かる時間を出力することができる.

% vim hoge.html --startuptime result.txt

発生環境のresult.txt(Mac OS X Mavericks)

times in msec
 clock   self+sourced   self:  sourced script
 clock   elapsed:              other lines

000.007  000.007: --- VIM STARTING ---
000.075  000.068: Allocated generic buffers
000.087  000.012: GUI prepared
000.441  000.354: locale set
000.446  000.005: clipboard setup
000.452  000.006: window checked
001.043  000.591: inits 1
001.143  000.100: parsing arguments
003.125  001.982: expanding arguments
006.170  003.045: shell init
006.572  000.402: Termcap init
006.615  000.043: inits 2
009.188  002.573: init highlight
010.136  000.099  000.099: sourcing /Applications/MacVim.app/Contents/Resources/vim/plugins/kaoriya/autoload/kaoriya/switch.vim
010.464  000.706  000.607: sourcing /Applications/MacVim.app/Contents/Resources/vim/plugins/kaoriya/encode_japan.vim
012.117  000.599  000.599: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/syntax/syncolor.vim
012.507  001.129  000.530: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/syntax/synload.vim
033.808  000.156  000.156: sourcing /Applications/MacVim.app/Contents/Resources/vim/plugins/golang/ftdetect/gofiletype.vim
033.973  021.305  021.149: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/filetype.vim
034.066  022.829  000.395: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/syntax/syntax.vim
034.165  000.016  000.016: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/filetype.vim
034.329  000.059  000.059: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/ftplugin.vim
034.487  000.051  000.051: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/indent.vim
034.638  023.694  000.739: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/vimrc_example.vim
034.985  025.712  001.312: sourcing $VIM/vimrc
035.898  000.303  000.303: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/syntax/syncolor.vim
043.348  000.405  000.405: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/syntax/syncolor.vim
044.055  000.413  000.413: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/syntax/syncolor.vim
044.775  009.523  008.402: sourcing /Users/yuzuemon/.vim/colors/metroid.vim
045.841  000.415  000.415: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/syntax/syncolor.vim
046.527  000.406  000.406: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/syntax/syncolor.vim
047.187  002.322  001.501: sourcing /Users/yuzuemon/.vim/colors/metroid.vim
047.538  000.024  000.024: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/filetype.vim
047.724  000.019  000.019: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/ftplugin.vim
048.329  000.906  000.863: sourcing /Users/yuzuemon/.vim/conf.d/filetype.vim
049.489  000.445  000.445: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/neobundle.vim/autoload/neobundle/util.vim
050.300  001.542  001.097: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/neobundle.vim/autoload/neobundle.vim
051.358  000.551  000.551: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/neobundle.vim/autoload/neobundle/config.vim
052.951  001.503  001.503: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/ftoff.vim
053.557  000.241  000.241: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/neobundle.vim/autoload/neobundle/autoload.vim
054.091  000.315  000.315: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/neobundle.vim/autoload/neobundle/parser.vim
055.301  000.430  000.430: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/neobundle.vim/autoload/neobundle/types/git.vim
056.006  000.229  000.229: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/neobundle.vim/autoload/neobundle/types/hg.vim
056.427  000.115  000.115: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/neobundle.vim/autoload/neobundle/types/nosync.vim
056.947  000.258  000.258: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/neobundle.vim/autoload/neobundle/types/raw.vim
057.418  000.210  000.210: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/neobundle.vim/autoload/neobundle/types/svn.vim
058.769  000.260  000.260: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/neobundle.vim/autoload/neobundle/init.vim
097.104  000.077  000.077: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/neosnippet.vim/ftdetect/snippet.vim
097.515  000.085  000.085: sourcing /Applications/MacVim.app/Contents/Resources/vim/plugins/golang/ftdetect/gofiletype.vim
097.700  000.052  000.052: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/neobundle.vim/ftdetect/vimrecipe.vim
097.796  017.778  017.564: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/filetype.vim
098.025  000.016  000.016: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/ftplugin.vim
098.243  000.014  000.014: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/indent.vim
099.654  000.921  000.921: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/neobundle.vim/autoload/neobundle/installer.vim
100.819  052.427  028.044: sourcing /Users/yuzuemon/.vim/conf.d/neobundle.vim
101.743  000.553  000.553: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/unite.vim/autoload/unite/custom.vim
103.239  002.377  001.824: sourcing /Users/yuzuemon/.vim/conf.d/plugin.vim
103.640  000.018  000.018: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/filetype.vim
103.862  000.016  000.016: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/ftplugin.vim
104.203  000.740  000.706: sourcing /Users/yuzuemon/dotfiles/.vim/conf.d/filetype.vim
106.215  001.344  001.344: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/ftoff.vim
148.417  000.099  000.099: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/neosnippet.vim/ftdetect/snippet.vim
148.989  000.124  000.124: sourcing /Applications/MacVim.app/Contents/Resources/vim/plugins/golang/ftdetect/gofiletype.vim
149.234  000.063  000.063: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/neobundle.vim/ftdetect/vimrecipe.vim
149.366  019.817  019.531: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/filetype.vim
149.691  000.024  000.024: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/ftplugin.vim
149.997  000.021  000.021: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/indent.vim
151.475  047.239  026.033: sourcing /Users/yuzuemon/dotfiles/.vim/conf.d/neobundle.vim
153.757  002.236  002.236: sourcing /Users/yuzuemon/dotfiles/.vim/conf.d/plugin.vim
154.115  000.191  000.191: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/syntax/nosyntax.vim
155.398  000.349  000.349: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/syntax/syncolor.vim
156.104  000.348  000.348: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/syntax/syncolor.vim
156.823  002.404  001.707: sourcing /Users/yuzuemon/.vim/colors/metroid.vim
156.949  002.620  000.216: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/syntax/synload.vim
157.004  003.159  000.348: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/syntax/syntax.vim
157.919  122.887  001.958: sourcing $HOME/.vimrc
157.928  000.141: sourcing vimrc file(s)
158.385  000.073  000.073: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/neocomplete.vim/plugin/neocomplete/buffer.vim
158.492  000.069  000.069: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/neocomplete.vim/plugin/neocomplete/dictionary.vim
158.595  000.067  000.067: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/neocomplete.vim/plugin/neocomplete/include.vim
158.698  000.068  000.068: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/neocomplete.vim/plugin/neocomplete/syntax.vim
158.798  000.065  000.065: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/neocomplete.vim/plugin/neocomplete/tag.vim
159.491  000.658  000.658: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/neocomplete.vim/plugin/neocomplete.vim
159.978  000.344  000.344: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/neosnippet.vim/plugin/neosnippet.vim
160.596  000.268  000.268: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/unite.vim/plugin/unite/bookmark.vim
160.814  000.179  000.179: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/unite.vim/plugin/unite/buffer.vim
160.987  000.084  000.084: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/unite.vim/plugin/unite/history_yank.vim
161.164  000.141  000.141: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/unite.vim/plugin/unite/mru.vim
161.332  000.131  000.131: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/unite.vim/plugin/unite/window.vim
161.772  000.403  000.403: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/unite.vim/plugin/unite.vim
164.754  002.858  002.858: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/vimfiler.vim/plugin/vimfiler.vim
165.042  000.128  000.128: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/vimproc.vim/plugin/vimproc.vim
165.832  000.661  000.661: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/vimshell.vim/plugin/vimshell.vim
166.422  000.429  000.429: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/jump2pm.vim/plugin/jump2pm.vim
171.475  004.928  004.928: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/nerdcommenter/plugin/NERD_commenter.vim
173.500  001.375  001.375: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/nerdtree/autoload/nerdtree.vim
175.734  000.774  000.774: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/nerdtree/lib/nerdtree/path.vim
176.150  000.234  000.234: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/nerdtree/lib/nerdtree/menu_controller.vim
176.482  000.161  000.161: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/nerdtree/lib/nerdtree/menu_item.vim
176.835  000.187  000.187: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/nerdtree/lib/nerdtree/key_map.vim
177.410  000.408  000.408: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/nerdtree/lib/nerdtree/bookmark.vim
178.048  000.479  000.479: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/nerdtree/lib/nerdtree/tree_file_node.vim
178.752  000.549  000.549: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/nerdtree/lib/nerdtree/tree_dir_node.vim
179.171  000.271  000.271: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/nerdtree/lib/nerdtree/opener.vim
179.652  000.334  000.334: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/nerdtree/lib/nerdtree/creator.vim
192.871  000.152  000.152: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/nerdtree/nerdtree_plugin/exec_menuitem.vim
193.584  000.674  000.674: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/nerdtree/nerdtree_plugin/fs_menu.vim
193.919  022.313  016.715: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/nerdtree/plugin/NERD_tree.vim
194.134  000.097  000.097: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/vim-catn/plugin/catn.vim
194.410  000.158  000.158: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/vim-quickrun/plugin/quickrun.vim
195.205  000.678  000.678: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/vim-surround/plugin/surround.vim
195.937  000.612  000.612: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/taglist.vim/plugin/taglist.vim
196.337  000.283  000.283: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/sudo.vim/plugin/sudo.vim
196.868  000.088  000.088: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/plugin/getscriptPlugin.vim
197.133  000.232  000.232: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/plugin/gzip.vim
197.375  000.208  000.208: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/plugin/matchparen.vim
197.878  000.469  000.469: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/plugin/netrwPlugin.vim
197.989  000.065  000.065: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/plugin/rrhelper.vim
198.078  000.048  000.048: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/plugin/spellfile.vim
198.305  000.186  000.186: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/plugin/tarPlugin.vim
198.494  000.146  000.146: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/plugin/tohtml.vim
198.754  000.218  000.218: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/plugin/vimballPlugin.vim
199.044  000.232  000.232: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/plugin/zipPlugin.vim
199.420  000.135  000.135: sourcing /Applications/MacVim.app/Contents/Resources/vim/plugins/golang/plugin/godoc.vim
200.095  000.402  000.402: sourcing /Applications/MacVim.app/Contents/Resources/vim/plugins/kaoriya/plugin/autodate.vim
200.388  000.242  000.242: sourcing /Applications/MacVim.app/Contents/Resources/vim/plugins/kaoriya/plugin/cmdex.vim
201.237  000.799  000.799: sourcing /Applications/MacVim.app/Contents/Resources/vim/plugins/kaoriya/plugin/dicwin.vim
202.029  000.739  000.739: sourcing /Applications/MacVim.app/Contents/Resources/vim/plugins/kaoriya/plugin/hz_ja.vim
202.306  000.222  000.222: sourcing /Applications/MacVim.app/Contents/Resources/vim/plugins/kaoriya/plugin/scrnmode.vim
202.700  000.342  000.342: sourcing /Applications/MacVim.app/Contents/Resources/vim/plugins/kaoriya/plugin/verifyenc.vim
202.905  000.047  000.047: sourcing /Applications/MacVim.app/Contents/Resources/vim/plugins/vimproc/plugin/vimproc.vim
203.132  000.088  000.088: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/neobundle.vim/plugin/neobundle.vim
203.139  004.608: loading plugins
203.145  000.006: inits 3
205.168  002.023: reading viminfo
205.201  000.033: setting raw mode
205.209  000.008: start termcap
205.239  000.030: clearing screen
208.215  000.396  000.396: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/ftplugin/html.vim
211.101  002.037  002.037: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/indent/html.vim
216.406  002.965  002.965: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/emmet-vim/plugin/emmet.vim
219.248  000.609  000.609: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/syntax/javascript.vim
222.770  003.117  003.117: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/syntax/vb.vim
227.043  003.977  003.977: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/syntax/css.vim
229.038  011.606  003.903: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/syntax/html.vim
230.981  000.197  000.197: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/unite.vim/autoload/unite/sources/buffer/variables.vim
231.668  000.336  000.336: sourcing /Users/yuzuemon/dotfiles/.vim/neobundle/unite.vim/autoload/unite/sources/mru/variables.vim
231.988  009.212: opening buffers
232.588  000.600: BufEnter autocommands
232.596  000.008: editing files in windows
233.441  000.845: VimEnter autocommands
233.450  000.009: before starting main loop
239.944  006.494: first screen update
239.963  000.019: --- VIM STARTED ---

発生していない環境のresult.txt(CentOS 6)


times in msec
 clock   self+sourced   self:  sourced script
 clock   elapsed:              other lines

000.006  000.006: --- VIM STARTING ---
025.230  025.224: Allocated generic buffers
033.352  008.122: locale set
033.370  000.018: window checked
233.681  200.311: inits 1
243.008  009.327: parsing arguments
243.014  000.006: expanding arguments
243.029  000.015: shell init
243.549  000.520: Termcap init
243.590  000.041: inits 2
243.697  000.107: init highlight
433.437  000.361  000.361: sourcing /usr/share/vim/vim72/syntax/syncolor.vim
454.328  037.677  037.316: sourcing /usr/share/vim/vim72/syntax/synload.vim
606.095  103.957  103.957: sourcing /usr/share/vim/vim72/filetype.vim
606.211  247.816  106.182: sourcing /usr/share/vim/vim72/syntax/syntax.vim
606.362  000.019  000.019: sourcing /usr/share/vim/vim72/filetype.vim
617.443  000.127  000.127: sourcing /usr/share/vim/vim72/ftplugin.vim
617.556  347.356  099.394: sourcing /etc/vimrc
696.226  000.324  000.324: sourcing /usr/share/vim/vim72/syntax/syncolor.vim
696.689  000.298  000.298: sourcing /usr/share/vim/vim72/syntax/syncolor.vim
697.214  000.337  000.337: sourcing /usr/share/vim/vim72/syntax/syncolor.vim
697.430  001.741  000.782: sourcing /home/yuzuemon/.vim/colors/metroid.vim
697.912  000.287  000.287: sourcing /usr/share/vim/vim72/syntax/syncolor.vim
698.369  000.257  000.257: sourcing /usr/share/vim/vim72/syntax/syncolor.vim
698.574  001.083  000.539: sourcing /home/yuzuemon/.vim/colors/metroid.vim
834.663  000.502  000.502: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/neobundle.vim/autoload/neobundle/util.vim
835.811  026.996  026.494: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/neobundle.vim/autoload/neobundle.vim
856.833  000.862  000.862: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/neobundle.vim/autoload/neobundle/config.vim
869.279  000.518  000.518: sourcing /usr/share/vim/vim72/ftoff.vim
882.199  000.311  000.311: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/neobundle.vim/autoload/neobundle/autoload.vim
903.694  000.414  000.414: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/neobundle.vim/autoload/neobundle/parser.vim
933.292  000.421  000.421: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/neobundle.vim/autoload/neobundle/types/git.vim
944.885  000.336  000.336: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/neobundle.vim/autoload/neobundle/types/hg.vim
949.926  000.138  000.138: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/neobundle.vim/autoload/neobundle/types/nosync.vim
977.277  000.430  000.430: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/neobundle.vim/autoload/neobundle/types/raw.vim
990.725  000.289  000.289: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/neobundle.vim/autoload/neobundle/types/svn.vim
999.719  000.382  000.382: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/neobundle.vim/autoload/neobundle/init.vim
1063.342  000.261  000.261: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/neosnippet.vim/ftdetect/snippet.vim
1084.138  000.101  000.101: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/neobundle.vim/ftdetect/vimrecipe.vim
1084.345  059.755  059.393: sourcing /usr/share/vim/vim72/filetype.vim
1084.703  000.021  000.021: sourcing /usr/share/vim/vim72/ftplugin.vim
1109.691  000.101  000.101: sourcing /usr/share/vim/vim72/indent.vim
1152.147  010.011  010.011: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/neobundle.vim/autoload/neobundle/installer.vim
1182.751  460.855  359.870: sourcing /home/yuzuemon/dotfiles/.vimrc.neobundle
1266.618  000.857  000.857: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/unite.vim/autoload/unite/custom.vim
1268.910  064.681  063.824: sourcing /home/yuzuemon/dotfiles/.vimrc.plugin
1286.248  000.024  000.024: sourcing /usr/share/vim/vim72/filetype.vim
1286.487  000.048  000.048: sourcing /usr/share/vim/vim72/ftplugin.vim
1287.042  001.011  000.939: sourcing /home/yuzuemon/dotfiles/.vimrc.filetype
1306.400  000.389  000.389: sourcing /usr/share/vim/vim72/syntax/nosyntax.vim
1356.583  000.359  000.359: sourcing /usr/share/vim/vim72/syntax/syncolor.vim
1367.164  000.388  000.388: sourcing /usr/share/vim/vim72/syntax/syncolor.vim
1367.449  011.606  010.859: sourcing /home/yuzuemon/.vim/colors/metroid.vim
1367.603  011.888  000.282: sourcing /usr/share/vim/vim72/syntax/synload.vim
1367.667  080.491  068.214: sourcing /usr/share/vim/vim72/syntax/syntax.vim

---------
1369.040  725.764  115.902: sourcing $HOME/.vimrc
1369.056  053.239: sourcing vimrc file(s)
1418.780  000.277  000.277: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/neocomplcache.vim/plugin/neocomplcache/buffer_complete.vim
1428.442  000.136  000.136: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/neocomplcache.vim/plugin/neocomplcache/dictionary_complete.vim
1441.923  000.300  000.300: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/neocomplcache.vim/plugin/neocomplcache/include_complete.vim
1448.347  000.166  000.166: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/neocomplcache.vim/plugin/neocomplcache/syntax_complete.vim
1460.164  000.124  000.124: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/neocomplcache.vim/plugin/neocomplcache/tags_complete.vim
1474.390  001.049  001.049: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/neocomplcache.vim/plugin/neocomplcache.vim
1513.739  000.629  000.629: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/neosnippet.vim/plugin/neosnippet.vim
1535.326  000.657  000.657: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/unite.vim/plugin/unite/bookmark.vim
1551.054  000.559  000.559: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/unite.vim/plugin/unite/buffer.vim
1560.842  000.245  000.245: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/unite.vim/plugin/unite/history_yank.vim
1568.805  000.459  000.459: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/unite.vim/plugin/unite/mru.vim
1577.532  000.458  000.458: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/unite.vim/plugin/unite/window.vim
1586.583  000.916  000.916: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/unite.vim/plugin/unite.vim
1627.306  004.750  004.750: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/vimfiler.vim/plugin/vimfiler.vim
1659.187  000.335  000.335: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/vimproc.vim/plugin/vimproc.vim
1692.420  001.287  001.287: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/vimshell.vim/plugin/vimshell.vim
1721.750  000.035  000.035: sourcing /usr/share/vim/vim72/filetype.vim
1722.175  000.029  000.029: sourcing /usr/share/vim/vim72/ftplugin.vim
1722.550  001.513  001.449: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/jump2pm.vim/plugin/jump2pm.vim
1780.549  031.278  031.278: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/nerdcommenter/plugin/NERD_commenter.vim
1830.210  013.123  013.123: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/nerdtree/autoload/nerdtree.vim
1847.416  009.800  009.800: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/nerdtree/lib/nerdtree/path.vim
1863.721  000.270  000.270: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/nerdtree/lib/nerdtree/menu_controller.vim
1876.475  000.336  000.336: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/nerdtree/lib/nerdtree/menu_item.vim
1883.313  000.305  000.305: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/nerdtree/lib/nerdtree/key_map.vim
1890.874  000.727  000.727: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/nerdtree/lib/nerdtree/bookmark.vim
1909.648  000.800  000.800: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/nerdtree/lib/nerdtree/tree_file_node.vim
1920.671  000.604  000.604: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/nerdtree/lib/nerdtree/tree_dir_node.vim
1941.205  000.613  000.613: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/nerdtree/lib/nerdtree/opener.vim
1962.393  000.491  000.491: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/nerdtree/lib/nerdtree/creator.vim
2000.402  000.272  000.272: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/nerdtree/nerdtree_plugin/exec_menuitem.vim
2009.310  001.084  001.084: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/nerdtree/nerdtree_plugin/fs_menu.vim
2009.677  221.552  193.127: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/nerdtree/plugin/NERD_tree.vim
2037.706  000.288  000.288: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/vim-catn/plugin/catn.vim
2054.136  000.443  000.443: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/vim-quickrun/plugin/quickrun.vim
2081.721  001.189  001.189: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/vim-surround/plugin/surround.vim
2121.035  001.764  001.764: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/taglist.vim/plugin/taglist.vim
2161.967  000.604  000.604: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/sudo.vim/plugin/sudo.vim
2214.975  000.085  000.085: sourcing /usr/share/vim/vim72/plugin/filetype.vim
2230.062  000.267  000.267: sourcing /usr/share/vim/vim72/plugin/getscriptPlugin.vim
2231.248  000.449  000.449: sourcing /usr/share/vim/vim72/plugin/gzip.vim
2235.743  000.277  000.277: sourcing /usr/share/vim/vim72/plugin/matchparen.vim
2253.631  001.043  001.043: sourcing /usr/share/vim/vim72/plugin/netrwPlugin.vim
2269.904  000.133  000.133: sourcing /usr/share/vim/vim72/plugin/rrhelper.vim
2276.628  000.104  000.104: sourcing /usr/share/vim/vim72/plugin/spellfile.vim
2290.001  000.641  000.641: sourcing /usr/share/vim/vim72/plugin/tarPlugin.vim
2300.091  000.263  000.263: sourcing /usr/share/vim/vim72/plugin/tohtml.vim
2301.037  000.241  000.241: sourcing /usr/share/vim/vim72/plugin/vimballPlugin.vim
2320.206  000.608  000.608: sourcing /usr/share/vim/vim72/plugin/zipPlugin.vim
2375.899  000.256  000.256: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/neobundle.vim/plugin/neobundle.vim
2375.962  733.561: loading plugins
2375.976  000.014: inits 3
2390.828  014.852: reading viminfo
2390.840  000.012: setting raw mode
2390.850  000.010: start termcap
2390.872  000.022: clearing screen
2461.488  000.462  000.462: sourcing /usr/share/vim/vim72/ftplugin/html.vim
2533.817  003.944  003.944: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/emmet-vim/plugin/emmet.vim
2555.371  001.779  001.779: sourcing /usr/share/vim/vim72/indent/html.vim
2589.304  000.937  000.937: sourcing /usr/share/vim/vim72/syntax/javascript.vim
2627.975  016.364  016.364: sourcing /usr/share/vim/vim72/syntax/vb.vim
2648.159  002.541  002.541: sourcing /usr/share/vim/vim72/syntax/css.vim
2649.026  080.707  060.865: sourcing /usr/share/vim/vim72/syntax/html.vim
2755.708  000.285  000.285: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/unite.vim/autoload/unite/sources/buffer/variables.vim
2789.504  000.325  000.325: sourcing /home/yuzuemon/dotfiles/.vim/neobundle/unite.vim/autoload/unite/sources/mru/variables.vim
2789.844  311.470: opening buffers
2790.505  000.661: BufEnter autocommands
2790.509  000.004: editing files in windows
2791.542  001.033: VimEnter autocommands
2791.546  000.004: before starting main loop
2794.252  002.706: first screen update
2794.255  000.003: --- VIM STARTED ---

対応

dotfiles/conf.d/filetype.vim, conf.d/filetype.vim が複数回読み込まれているのが分かるのだが, set rtp や runtime! 周りを見直しても1度で済ますように出来なかった為, 暫定として autocmd 側の変更を行った.

autocmd BufNewFile *.html 0r $HOME/.vim/template/skeleton.html

autocmd! BufNewFile *.html 0r $HOME/.vim/template/skeleton.html

に変更した. autocmd は既存の cmd に追加される形で処理されるのが, autocmd! の場合には既存の cmd を破棄した後に以降の cmd が追加される為, 重複して実行されることを防ぐことができる.
詳しくは :help autocmd を参照.


そもそも2度読み込まれてしまう問題については, --startuptime result.txt で出力されたログを読み解きながらいずれ対応を考える.