//etc UP
if v:lang =~ "utf8$" || v:lang =~ "UTF-8$"
set fileencodings=ucs-bom,utf-8,latin1
endif
set nocompatible " Use Vim defaults (much better!)
set bs=indent,eol,start " allow backspacing over everything in insert mode
"set ai " always set autoindenting on
"set backup " keep a backup file
set history=50 " keep 50 lines of command line history
set ruler " show the cursor position all the time
" Only do this part when compiled with support for autocommands
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
filetype plugin on
if &term=="xterm"
set t_Co=8
set t_Sb=[4%dm
set t_Sf=[3%dm
endif
| DIR_COLORS | 4536 | V |
| aliases | 1529 | V |
| alternatives | - | |
| bash_completion.d | - | |
| bashrc | 2917 | V |
| cl.nodejs | - | |
| cl.php.d | - | |
| cl.python | - | |
| cl.selector | - | |
| cl.selector.conf.d | - | |
| crypto-policies | - | |
| default | - | |
| environment | 36 | V |
| environment-modules | - | |
| fonts | - | |
| gcrypt | - | |
| group | 380 | V |
| host.conf | 9 | V |
| hosts | 1814 | V |
| inputrc | 942 | V |
| ld.so.cache | 46099 | V |
| ld.so.conf | 28 | V |
| ld.so.conf.d | - | |
| localtime | 127 | V |
| - | ||
| mc | - | |
| modulefiles | - | |
| motd.d | - | |
| my.cnf | 3377 | V |
| my.cnf.d | - | |
| nsswitch.conf | 2120 | V |
| odbc.ini | 0 | V |
| odbcinst.ini | 230 | V |
| openldap | - | |
| pam.d | - | |
| passwd | 974 | V |
| php.d | - | |
| php.ini | 62125 | V |
| pki | - | |
| profile | 2123 | V |
| profile.d | - | |
| protocols | 6568 | V |
| resolv.conf | 125 | V |
| rpc | 1634 | V |
| sasl2 | - | |
| scl | - | |
| security | - | |
| services | 692816 | V |
| shadow | 740 | V |
| skel | - | |
| ssh | - | |
| ssl | - | |
| subversion | - | |
| sysconfig | - | |
| trusted-key.key | 375 | V |
| vimrc | 1982 | V |
| virc | 1204 | V |
| wgetrc | 4925 | V |