PHP 8.3.27
Preview: vimrc Size: 3.92 KB
//etc/vimrc
" When started as "evim", evim.vim will already have done these settings.
if v:progname =~? "evim"
  finish
endif

" Use Vim settings, rather than Vi settings (much better!).
" This must be first, because it changes other options as a side effect.
" Avoid side effects when it was already reset.
if &compatible
  set nocompatible
endif

" When the +eval feature is missing, the set command above will be skipped.
" Use a trick to reset compatible only when the +eval feature is missing.
silent! while 0
  set nocompatible
silent! endwhile

" Allow backspacing over everything in insert mode.
set backspace=indent,eol,start

"set ai			" always set autoindenting on
"set backup		" keep a backup file
set viminfo='20,\"50	" read/write a .viminfo file, don't store more
			" than 50 lines of registers
set history=50		" keep 50 lines of command line history
set ruler		" show the cursor position all the time
set showcmd		" display incomplete commands
set wildmenu		" display completion matches in a status line

set ttimeout		" time out for key codes
set ttimeoutlen=100	" wait up to 100ms after Esc for special key

" Show @@@ in the last line if it is truncated.
set display=truncate

" Show a few lines of context around the cursor.  Note that this makes the
" text scroll if you mouse-click near the start or end of the window.
set scrolloff=5

" Do incremental searching when it's possible to timeout.
if has('reltime')
  set incsearch
endif

" Do not recognize octal numbers for Ctrl-A and Ctrl-X, most users find it
" confusing.
set nrformats-=octal

" 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
  " 1724126 - do not open new file with .spec suffix with spec file template
  " apparently there are other file types with .spec suffix, so disable the
  " template
  " autocmd BufNewFile *.spec 0r /usr/share/vim/vimfiles/template.spec
  augroup END
endif

if has("cscope") && filereadable("/usr/bin/cscope")
   set csprg=/usr/bin/cscope
   set csto=0
   set cst
   set nocsverb
   " add any database in current directory
   if filereadable("cscope.out")
      cs add $PWD/cscope.out
   " else add database pointed to by environment
   elseif $CSCOPE_DB != ""
      cs add $CSCOPE_DB
   endif
   set csverb
endif

" Switch syntax highlighting on, when the terminal has colors
" Also switch on highlighting the last used search pattern.
if &t_Co > 2 || has("gui_running")
  " Revert with ":syntax off".
  syntax on

  " I like highlighting strings inside C comments.
  " Revert with ":unlet c_comment_strings".
  let c_comment_strings=1
  set hlsearch
endif

filetype plugin on

if &term=="xterm"
     set t_Co=8
     set t_Sb=[4%dm
     set t_Sf=[3%dm
endif

" Convenient command to see the difference between the current buffer and the
" file it was loaded from, thus the changes you made.
" Only define it when not defined already.
" Revert with: ":delcommand DiffOrig".
if !exists(":DiffOrig")
  command DiffOrig vert new | set bt=nofile | r ++edit # | 0d_ | diffthis
		  \ | wincmd p | diffthis
endif

if has('langmap') && exists('+langremap')
  " Prevent that the langmap option applies to characters that result from a
  " mapping.  If set (default), this may break plugins (but it's backward
  " compatible).
  set nolangremap
endif

" Don't wake up system with blinking cursor:
let &guicursor = &guicursor . ",a:blinkon0"

" Source a global configuration file if available
if filereadable("/etc/vimrc.local")
  source /etc/vimrc.local
endif

Directory Contents

Dirs: 31 × Files: 38
Name Size Perms Modified Actions
- drwxr-xr-x 2026-09-29 11:29:36
Edit Download
apache2 DIR
- drwxr-xr-x 2025-08-19 17:00:38
Edit Download
- drwxr-xr-x 2026-09-29 11:29:37
Edit Download
cl.nodejs DIR
- drwxr-xr-x 2025-08-19 13:35:09
Edit Download
cl.php.d DIR
- drwxr-xr-x 2025-08-21 03:41:38
Edit Download
cl.python DIR
- drwxr-xr-x 2025-08-19 13:35:10
Edit Download
- drwxr-xr-x 2025-08-19 17:00:38
Edit Download
- drwxr-xr-x 2025-12-12 01:15:22
Edit Download
cpanel DIR
- drwxr-x--x 2026-09-29 11:26:01
Edit Download
- drwxr-xr-x 2025-03-12 10:57:30
Edit Download
default DIR
- drwxr-xr-x 2025-11-28 01:15:08
Edit Download
- drwxr-xr-x 2024-10-22 12:55:45
Edit Download
fonts DIR
- drwxr-xr-x 2026-09-29 11:29:37
Edit Download
gcrypt DIR
- drwxr-xr-x 2024-10-01 12:43:35
Edit Download
- drwxr-xr-x 2025-08-19 23:03:05
Edit Download
- drwxr-xr-x 2026-09-29 11:29:36
Edit Download
mail DIR
- drwxr-xr-x 2024-10-22 12:55:50
Edit Download
- drwxr-xr-x 2023-09-27 11:12:39
Edit Download
motd.d DIR
- drwxr-xr-x 2025-09-02 23:47:05
Edit Download
my.cnf.d DIR
- drwxr-xr-x 2025-09-24 10:42:48
Edit Download
openldap DIR
- drwxr-xr-x 2026-09-29 11:29:37
Edit Download
pam.d DIR
- drwxr-xr-x 2026-09-29 11:29:37
Edit Download
pki DIR
- drwxr-xr-x 2025-08-19 12:38:39
Edit Download
profile.d DIR
- drwxr-xr-x 2026-09-29 11:29:37
Edit Download
sasl2 DIR
- drwxr-xr-x 2023-04-10 10:10:38
Edit Download
scl DIR
- drwxr-xr-x 2026-09-29 11:29:37
Edit Download
security DIR
- drwxr-xr-x 2026-09-29 11:29:37
Edit Download
skel DIR
- drwxr-xr-x 2026-09-29 11:29:35
Edit Download
ssh DIR
- drwxr-xr-x 2026-09-29 11:29:35
Edit Download
ssl DIR
- drwxr-xr-x 2026-09-29 11:29:36
Edit Download
sysconfig DIR
- drwxr-xr-x 2026-09-29 11:29:37
Edit Download
5 B lrw------- 2026-09-29 11:29:43
Edit Download
1.49 KB lrw-r--r-- 2020-06-23 02:11:43
Edit Download
1 B lrw-r--r-- 2025-08-05 02:15:38
Edit Download
0 B lrw-r----- 2024-10-22 12:55:09
Edit Download
3.38 KB lrw-r--r-- 2024-10-22 12:59:17
Edit Download
4.56 KB lrw-r--r-- 2025-03-12 08:50:36
Edit Download
3.63 KB lrw-r----- 2026-09-29 11:29:22
Edit Download
0 B lrw-r--r-- 2024-04-03 14:29:31
Edit Download
513 B lrw-r--r-- 2026-09-29 11:29:49
Edit Download
9 B lrw-r--r-- 2020-06-23 02:11:43
Edit Download
279 B lrw-r--r-- 2026-09-29 11:29:23
Edit Download
943 B lrw-r--r-- 2020-06-23 02:11:43
Edit Download
42.38 KB lrw-r--r-- 2026-09-25 03:50:55
Edit Download
28 B lrw-r--r-- 2025-11-05 03:48:22
Edit Download
3.47 KB lrw-r--r-- 2025-03-30 23:48:56
Edit Download
272 B lrw-r--r-- 2020-04-22 02:42:40
Edit Download
1.96 KB lrw-r----- 2026-09-29 11:29:22
Edit Download
1.84 KB lrw-r----- 2026-09-29 11:29:22
Edit Download
65.87 KB lrw-r--r-- 2020-04-22 02:42:40
Edit Download
1.75 KB lrw-r--r-- 2025-10-22 13:56:45
Edit Download
2.07 KB lrw-r--r-- 2024-09-03 12:41:20
Edit Download
1.29 KB lrw-r--r-- 2026-09-29 11:29:49
Edit Download
2.64 KB lrw-r--r-- 2024-10-22 12:59:17
Edit Download
6.41 KB lrw-r--r-- 2020-06-23 02:11:43
Edit Download
0 B ?????????? 2026-09-30 02:08:51
Edit Download
60 B lrw-r--r-- 2025-08-11 09:31:01
Edit Download
1.60 KB lrw-r--r-- 2021-08-01 21:33:43
Edit Download
6.56 KB lrw-r--r-- 2022-01-04 02:53:04
Edit Download
0 B lrw-r----- 2024-10-22 12:55:09
Edit Download
676.03 KB lrw-r--r-- 2020-06-23 02:11:43
Edit Download
855 B lrw------- 2026-09-29 11:29:49
Edit Download
0 B lrw-r----- 2024-10-22 12:55:09
Edit Download
0 B lrw-r----- 2024-10-22 12:55:09
Edit Download
375 B lrw-r--r-- 2025-11-09 22:35:44
Edit Download
0 B lrw-r----- 2026-09-25 01:15:39
Edit Download
3.92 KB lrw-r--r-- 2025-10-14 05:11:26
Edit Download
1.16 KB lrw-r--r-- 2025-10-14 05:11:26
Edit Download
4.81 KB lrw-r--r-- 2024-09-03 07:57:33
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).