" 色の設定 (syntax on を先に書かないと、色指定が無視されてしまう?) syntax on highlight Comment cterm=bold ctermfg=7
" 拡張子別ファイル編集する時の設定 " もっとスマートな書き方誰かぉしぇて " See /usr/local/share/vim/vim57/filetype.vim <-- 登録されている FileType autocmd FileType c set tabstop=4 autocmd FileType c set softtabstop=4 autocmd FileType c set shiftwidth=4 autocmd FileType c set expandtab "autocmd FileType c highlight Comment cterm=bold ctermfg=2 "autocmd FileType c highlight Comment cterm=bold ctermfg=6
autocmd FileType cpp set tabstop=4 autocmd FileType cpp set softtabstop=4 autocmd FileType cpp set shiftwidth=4 autocmd FileType cpp set expandtab "autocmd FileType cpp highlight Comment cterm=bold ctermfg=4
autocmd FileType java set tabstop=4 autocmd FileType java set softtabstop=4 autocmd FileType java set shiftwidth=4 autocmd FileType java set expandtab "autocmd FileType java highlight Comment cterm=bold ctermfg=2
autocmd FileType scheme set tabstop=2 autocmd FileType scheme set softtabstop=2 autocmd FileType scheme set shiftwidth=2 autocmd FileType scheme set smarttab autocmd FileType scheme set expandtab
TeX のファイルは Tab をスペースとして入力したい autocmd FileType tex set softtabstop=2 autocmd FileType tex set shiftwidth=2 autocmd FileType tex set smarttab autocmd FileType tex set expandtab autocmd FileType tex highlight Special ctermfg=6
autocmd FileType ruby set softtabstop=2 autocmd FileType ruby set shiftwidth=2 autocmd FileType ruby set smarttab autocmd FileType ruby set expandtab
autocmd FileType sql set softtabstop=4 autocmd FileType sql set shiftwidth=4 autocmd FileType sql set smarttab autocmd FileType sql set expandtab
Thompson was faced with a hardware environment cramped and spartan even for the time: the DEC PDP-7 on which he started in 1968 was a machine with 8K 18-bit words of memory and no software useful to him. While wanting to use a higher-level language, he wrote the original Unix system in PDP-7 assembler. At the start, he did not even program on the PDP-7 itself, but instead used a set of macros for the GEMAP assembler on a GE-635 machine. A postprocessor generated a paper tape readable by the PDP-7.
-r /REGEXP/, --regex=/REGEXP/ or --regex=@regexfile Make a tag for each line matching pattern REGEXP in the following files. regexfile is a file containing one REGEXP per line. REGEXP is anchored (as if preceded by ^). The form /REGEXP/NAME/ creates a named tag. For example Tcl named tags can be created with: --regex=/proc[ \t]+\([^ \t]+\)/\1/.