@username
を付けます 7 | " condition variables
8 | let g:is_windows = has('win32') || has('win64')
9 | let g:is_unix = has('unix')
10 | let g:is_gui = has('gui_running')
11 | let g:is_terminal = !g:is_gui
12 | let g:is_unicode = (&termencoding ==# 'utf-8' || &encoding == 'utf-8') && !(exists('g:discard_unicode') && g:discard_unicode != 0)
861 | " インデントを簡単に設定
862 | " ISetting => 現在の状態を表示
863 | " ISetting t4 => tab で幅4
864 | " ISetting s2 => space で幅2
865 | function! ISetting(setting, force_retab)
866 | if !empty(a:setting)
1114 | if g:is_gui
1115 | autocmd myautocmd VimLeavePre * call SaveCurrentDirectory()
1116 | autocmd myautocmd VimEnter * call RememberLastCurrentDirectory()
1117 | endif
373 | " JavaScript を開いたとき
374 | function! WhenJavaScriptOpened()
375 | setlocal foldmethod=syntax
376 | endfunction
377 | autocmd myautocmd FileType javascript call WhenJavaScriptOpened()
457 | " my smooth scroll
458 | let s:scroll_time_ms = 100
459 | let s:scroll_precision = 8
460 | function! CohamaSmoothScroll(dir, windiv, factor)