linux:vimrc
差分
このページの2つのバージョン間の差分を表示します。
次のリビジョン | 前のリビジョン最新のリビジョン両方とも次のリビジョン | ||
linux:vimrc [2021/03/04 07:08] – 作成 anineco | linux:vimrc [2021/03/07 11:28] – anineco | ||
---|---|---|---|
行 13: | 行 13: | ||
set list | set list | ||
set listchars=tab: | set listchars=tab: | ||
+ | set clipboard+=unnamed | ||
set softtabstop=-1 | set softtabstop=-1 | ||
- | autocmd Filetype c setlocal expandtab shiftwidth=4 | + | autocmd Filetype c setlocal expandtab shiftwidth=2 |
- | autocmd Filetype perl setlocal expandtab shiftwidth=4 | + | autocmd Filetype cpp setlocal expandtab shiftwidth=2 |
+ | autocmd Filetype css setlocal expandtab shiftwidth=2 | ||
+ | autocmd Filetype html | ||
+ | autocmd Filetype javascript setlocal expandtab shiftwidth=2 | ||
+ | autocmd Filetype perl setlocal expandtab shiftwidth=2 | ||
+ | autocmd Filetype sh setlocal expandtab shiftwidth=2 | ||
</ | </ | ||
+ |
linux/vimrc.txt · 最終更新: 2021/03/08 11:10 by anineco