ActionScript ã®ã³ã¼ãã«ã³ã¡ã³ããããã¯ãæ¿å ¥ãã Vim ã¹ã¯ãªãããæ¸ãããã«ã¼ã½ã«ä½ç½®ã«ä»»æã®æåãããã¯ãæ¿å ¥ããã¹ãã¼ããªæ¹æ³ããããããããæ³¥èãæ¸ãæ¹ã«ãªã£ãã function! ASCommentWriter() let c = col(".") let l = a:firstline - 1 let s = '' while len(s) < (c - 1) let s = s . " " endwhile call append(l, s . ' */') call append(l, s . ' *') call append(l, s . '/**') endfunction autocmd FileType actionscript map <C-c> :call ASCommentWriter()<CR> é©å½ãªé¢æ°ã®å é è¡ã«ã«ã¼ã½ã«ã移åãã¦ã
{{#tags}}- {{label}}
{{/tags}}