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
Please report this error to author. | |
`:help eskk` to see author's e-mail address. | |
金 12/ 7 12:42:41 2012 | |
--- char --- | |
char: ''(0) | |
mode(): n | |
--- char --- |
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
"------------------------------------ | |
" eskk.vim | |
"------------------------------------ | |
" "{{{ | |
" " set imdisable | |
let g:eskk#debug = 0 | |
" let g:eskk#egg_like_newline = 1 | |
" let g:eskk#revert_henkan_style = "okuri" | |
let g:eskk#enable_completion = 1 | |
let g:eskk#directory = "~/.eskk" |
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
# coding: utf-8 | |
module Kernel | |
alias_method :old_puts, :puts | |
# putsをフック | |
# Stringに対しては自動的にto_s呼ばないのね... | |
def puts(*args) | |
args.map! { |obj| obj.to_s } | |
old_puts(args) |
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
# coding: utf-8 | |
class Object | |
def pinch2chance | |
gsub!('ピンチ', 'チャンス') if respond_to? :gsub | |
self | |
end | |
end | |
module Kernel |
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
# coding: utf-8 | |
module Kernel | |
alias_method :old_puts, :puts | |
def puts(*args) | |
args.map! do |obj| | |
obj.gsub('ピンチ', 'チャンス') if obj.respond_to? :gsub | |
end |
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 nobackup | |
" neobundle | |
filetype plugin indent off " required! | |
if has('vim_starting') | |
set runtimepath+=~/.bundle/neobundle.vim | |
call neobundle#rc(expand('~/.bundle/')) | |
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
" hamlとerbをhtmlに変換する | |
" | |
" 変換後のディレクトリを指定することも可能。 | |
" 同じディレクトリに、pathというファイルを作り | |
" `cat path` -> `../` | |
" となっていれば、その相対パスディレクトリに保存する | |
" | |
function! ConvertHamlToHtml(fileType) | |
" 設定ファイルを読み込む |
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
"------------------------------------ | |
" VimFiler | |
"------------------------------------ | |
" 起動コマンド | |
" default <leader><leader> | |
nnoremap <Leader><leader> :VimFilerBufferDir<CR> | |
" nnoremap <C-H><C-F> :VimFilerExplorer<CR> | |
nnoremap <C-H><C-F> :call VimFilerExplorerGit()<CR> | |
" lean more [ utf8 glyph ]( http://sheet.shiar.nl/unicode ) | |
let g:vimfiler_safe_mode_by_default = 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
"------------------------------------ | |
" VimFiler | |
"------------------------------------ | |
"{{{ | |
" 起動コマンド | |
" default <leader><leader> | |
nnoremap <Leader><leader> :VimFilerBufferDir<CR> | |
nnoremap <C-H><C-F> :VimFilerExplorer<CR> | |
" lean more [ utf8 glyph ]( http://sheet.shiar.nl/unicode ) |
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
# Custom directories with classes and modules you want to be autoloadable. | |
config.autoload_paths += %W(#{config.root}/lib) | |
config.autoload_paths += Dir["#{config.root}/lib/**/"] | |