This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; run GoogleIME word register dialog when press [ctrl]+[f10] key. | |
#NoEnv | |
#NoTrayIcon | |
#Persistent | |
run_googleime_word_register_dialog() | |
{ | |
GoogleIMEToolPath = C:\Program Files\Google\Google Japanese Input\GoogleIMEJaTool.exe | |
Option = "--mode=word_register_dialog" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" quickrun.vim | |
" RSpec 対応 | |
let g:quickrun_config = {} | |
let g:quickrun_config['ruby.rspec'] = {'command': 'rspec'} | |
augroup RSpec | |
autocmd! | |
autocmd BufWinEnter,BufNewFile *_spec.rb set filetype=ruby.rspec |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
IF NOT "%~f0" == "~f0" GOTO :WinNT | |
@"ruby.exe" "C:/ruby/bin/rspec" %1 %2 %3 %4 %5 %6 %7 %8 %9 | |
GOTO :EOF | |
:WinNT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
IF NOT "%~f0" == "~f0" GOTO :WinNT | |
@"ruby.exe" "C:/ruby/bin/rspec" %1 %2 %3 %4 %5 %6 %7 %8 %9 | |
GOTO :EOF | |
:WinNT | |
@"ruby.exe" "%~$PATH:0" %* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- ruby -*- | |
require 'autotest/growl' | |
Autotest.add_discovery { "rspec" } | |
# ./foo.rb が更新されると ./spec/foo_spec.rb が走る。 | |
Autotest.add_hook :initialize do |at| | |
at.add_mapping(/([\w\d_]+)\.rb$/) {|f, matched| | |
"spec/#{matched[1]}_spec.rb" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if filereadable('~/_vimrc.github') | |
source ~/_vimrc.github | |
endif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" 検索時に大文字小文字を無視 | |
set ignorecase | |
" 検索文字列に大文字が含まれている場合は区別して検索する、を無効に(nosmartcase) | |
set nosmartcase |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
rem rdoc -S -N -c <文字コード> -t <タイトル> -m <デフォルトページ> <対象ファイル> | |
rdoc -S -N -c UTF-8 -t "Process files properly." -m fileprocess.rb *.rb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'watchr' | |
def run(cmd) | |
cmd = "phpunit #{cmd}" | |
puts "$ #{cmd}" | |
system cmd | |
end | |
watch("^src/(.*).php") { |m| run "tests/#{m[1]}Test" } | |
watch("^tests/(.*)Test.php") { |m| run "tests/#{m[1]}Test" } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CHARACTER_SET:utf-8 |
OlderNewer