A tak wygląda .vimrc, jeden z wielu jakich używam
Kod: Zaznacz cały
syntax on
set autoindent
set ts=4
set sts=4
set sw=4
set expandtab
set background=dark
set incsearch
set hlsearch
set shiftwidth=2
set showmatch
set enc=utf-8
set fileencoding=utf-8
autocmd BufEnter *.c setlocal expandtab
set encoding=utf-8
set fileencodings=usc-bom,utf-8,latin2
set termencoding=utf-8
set ruler
set rulerformat=%40(%y/%{&fenc}/%{&ff}%=%l,%c%V%5(%P%)%)
set number
set ignorecase
set smartcase
set history=1000
set backup
set wildmenu