HEX
Server: Apache
System: Linux wp02.tdr-lab.com 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64
User: kusanagi (1001)
PHP: 7.4.23
Disabled: NONE
Upload Files
File: //proc/self/root/etc/vimrc
set nocompatible
set backspace=indent,eol,start
set encoding=utf-8
set fileencodings=utf-8,euc-jp,sjis,iso-2022-jp
set number
set tabstop=4
set autoindent
set showmode
set showmatch
set ruler
syntax on
autocmd BufRead,BufNewFile /etc/php-fpm.conf set syntax=dosini
autocmd BufRead,BufNewFile /etc/php-fpm.d/*.conf set syntax=dosini
autocmd BufRead,BufNewFile /etc/nginx/*.conf set syntax=conf
autocmd BufRead,BufNewFile /etc/nginx/conf.d/*.conf set syntax=conf
autocmd BufRead,BufNewFile /etc/hhvm/*.hdf set syntax=conf
autocmd BufRead,BufNewFile *.yaml set tabstop=2 expandtab

if has("autocmd")
  augroup redhat
  autocmd!
  " In text files, always limit the width of text to 78 characters
  " autocmd BufRead *.txt set tw=78
  " When editing a file, always jump to the last cursor position
  autocmd BufReadPost *
  \ if line("'\"") > 0 && line ("'\"") <= line("$") |
  \   exe "normal! g'\"" |
  \ endif
  " don't write swapfile on most commonly used directories for NFS mounts or USB sticks
  autocmd BufNewFile,BufReadPre /media/*,/run/media/*,/mnt/* set directory=~/tmp,/var/tmp,/tmp
  " start with spec file template
  autocmd BufNewFile *.spec 0r /usr/share/vim/vimfiles/template.spec
  augroup END
endif

autocmd BufRead,BufNewFile *.py set softtabstop=4 expandtab shiftwidth=4