VIM rc

This is my VIM rc which I tune a little bit to have a better look

[17:45]vhristev@g1r5:~/Desktop$cat ~/.vimrc
iab _NAME Valentin Hristev
iab _URL http://hristev.com
iab _DATE =strftime("%A, %B %e %Y %I:%M:%S %p %Z")
 
" Configuration file for vim
set modelines=1         " CVE-2007-2438
set nu
" Normally we use vim-extensions. If you want true vi-compatibility
" remove change the following statements
set nocompatible        " Use Vim defaults instead of 100% vi compatibility
set backspace=2         " more powerful backspacing
"Vhristev tuning"
 
set history=5000 "Keep my history in order"
set ruler " I want to see my cursor position"
 
set title
filetype plugin on
 
set title
set nowrap
set ignorecase
set smartcase
"set wildmenu"
 
set clipboard+=nonnamed
set mouse=a
set noerrorbells
set hidden
set wildmenu
set wildignore=*.dll,*.o,*.obj,*.bak,*.exe,*.pyc,
\*.jpg,*.gif,*.png
set wildmode=list:longest " turn on wild mode huge list
 
syntax on
 
"set cursorcolumn"
 
set cursorline
set incsearch
set hlsearch
set magic
syn on
set laststatus=2
set lazyredraw
set linespace=0
 
set list
set report=0
set showcmd
set showmatch
set backspace=indent,eol,start
 
 
 
" Don't write backup file if vim is being called by "crontab -e"
au BufWrite /private/tmp/crontab.* set nowritebackup
" Don't write backup file if vim is being called by "chpass"
au BufWrite /private/etc/pw.* set nowritebackup

You can find very useful information here –> VIMrc

Categories: Всичко друго Tags:
Автор
Вижте всички статии от
Този автор е написал 13 статии