I'll be fine

技術ブログ

Vim

【vim】rubyでvim version manager書いてみました。

Vim

gemづくりの勉強がてらvimのversion manager書いてみました。 https://github.com/calorie/vvm-rbkanaさんのものをかなり参考にしています。 https://github.com/kana/vim-version-manager http://labs.timedia.co.jp/2011/09/vim-version-manager.htmlシン…

【Ubuntu, LinuxMint】vimでタイプ音を鳴らす方法

.vimrcに以下を追記 autocmd CursorMovedI * call vimproc#system('aplay -q /path/to/sound/type.wav')vimprocが入っていない場合は function! PlaySound() silent! exec '!aplay /path/to/sound/type.wav &' endfunction autocmd CursorMovedI * call Play…

【Linux Mint, vim】日本語のtexをvimで書く環境を整える

vim-latexを使わずにvimにtex環境を整えます。 $ sudo apt-get install ptex-bin $ sudo apt-get install texlive texlive-math-extra ptex-bin xdvik-ja $ sudo apt-get install dvipdfmx cmap-adobe-japan1 ptex-jisfonts okumura-clsfiles jmpost jbibtex…

【Linux Mint, vim】vim-powerlineにフォントRictyのパッチをあてる

$ cd $ apt-get install fontforge $ apt-get install libxml2 $ apt-get install libpng12 $ mkdir .fonts $ git clone git@github.com:yascentur/Ricty.git $ cd Ricty $ wget http://levien.com/type/myfonts/Inconsolata.otf $ wget -O mig1m.zip 'http:…

Linux Mint 13での開発環境構築

yuroyoroさんのdotfilesをclone $ cd $ git clone https://github.com/yuroyoro/dotfiles.git $ cd dotfiles $ ./setup.sh bundleをインストール $ cd $ mkdir .vim $ cd .vim $ mkdir bundle $ git clone https://github.com/gmarik/vundle.git $ vim :Bund…