ユーザ用ツール

サイト用ツール


linux:vimrc

文書の過去の版を表示しています。


vimrc

Vim script 書法参照

.vimrc
unlet! skip_defaults_vim
source $VIMRUNTIME/defaults.vim
set laststatus=2
set statusline=%F%m%r%h%w%=%y[%{&fenc!=''?&fenc:&enc},%{&ff}]
set ambiwidth=double
set hlsearch
nnoremap <Esc><Esc> :noh<CR>
set ignorecase
set smartcase
set list
set listchars=tab:»-,trail:-,extends:»,precedes:«,nbsp:%
set clipboard+=unnamed
set softtabstop=-1
autocmd Filetype c          setlocal expandtab shiftwidth=2
autocmd Filetype cpp        setlocal expandtab shiftwidth=2
autocmd Filetype css        setlocal expandtab shiftwidth=2
autocmd Filetype html       setlocal expandtab shiftwidth=2
autocmd Filetype javascript setlocal expandtab shiftwidth=2
autocmd Filetype perl       setlocal expandtab shiftwidth=2
autocmd Filetype sh         setlocal expandtab shiftwidth=2
linux/vimrc.1615084094.txt.gz · 最終更新: 2021/03/07 11:28 by anineco