
Играет: Bobina - Angel of the North
Для ценителей прекрасного, представляю свой вариант конфига .vimrc:
set tabstop=3
set shiftwidth=3
set smarttab
set et
set wrap
set ai
set cin
set showmatch
set hlsearch
set incsearch
set ignorecase
set smartcase
set lz
set list
set listchars=tab:··
set ffs=unix,dos,mac
set fencs=utf-8,cp1251,koi8-r,cp866
set pastetoggle=
set tildeop "~"
set wildmenu
set wcm=
set nocompatible
set showcmd
set cursorline
set cursorcolumn
set autoindent
set smartindent
set cindent
set modeline
set ruler
set statusline=%<%f%h%m%r\ %b\ %{&encoding}\ 0x\ \ %l,%c%V\ %P
set laststatus=2
set fo+=cr
set complete=""
set complete+=.
set complete+=k
set complete+=b
set complete+=t
colorscheme desert
menu Encoding.utf-8 :e ++enc=utf-8
menu Encoding.koi8-r :e ++enc=koi8-r
menu Encoding.windows-1251 :e ++enc=cp1251
menu Encoding.ibm-866 :e ++enc=ibm866
map:emenu Encoding.
map
map:make
imap
imap"+gPi
imapddi
imapyypi
imap:w i
imap:make i
imap=InsertTabWrapper()
nmapdd
nmap ; :%s/\<=expand(" ") \>/
nmap:w
vmap"+yi
vmap:w i
vmap:make i
vmap <vmap > >gv
inoremapu:set paste .:set nopaste gi
let php_folding=0
let php_sql_query=1
let php_htmlInStrings=1
let php_baselib=1
syntax on
filetype on
filetype plugin on
filetype indent on
if !has('gui_running')
set mouse=a
set mousemodel=popup
endif
if has('win32')
set makeprg=nmake
compiler msvc
else
set makeprg=make
compiler gcc
endif
function InsertTabWrapper()
let col = col('.') - 1
if !col || getline('.')[col - 1] !~ '\k'
return "\"
else
return "\"
endif
endfunction
Линк на файл для скачивания представлен тут.
Комментариев нет:
Отправка комментария