vim.rc
download
set path=.,..
map <F4> :ls<C-M>:b
map <F5>f mm:e files<C-M>m
map \ o{<C-M>}<Esc>O<Tab>
map <F5>c :e ~/.vimrc<C-M>
map <F5>F :!prg files<C-M>
map <F5>n :bn<C-M>
map <F5>p :bp<C-M>
map <F5>b :buffers<C-M>:buffer
map <F5>e Y:!<C-R>0<Backspace><Return>
map <F6> <C-w>w
map <F3> :e
map <F8> :cn<C-M>
map <F9> :make<C-M>
set errorfile=err
set autowrite
set incsearch
set ttyfast
set nowrap
set writeany
set novisualbell
set cmdheight=1
set shortmess=at
set nobackup
set showcmd
set ruler
set hidden " ukryty bufor nie jest usuwany z pamięci
set bs=1
autocmd! BufReadPre,FileReadPre *.c*
autocmd! BufReadPre,FileReadPre *.h*
map! <Backspace> <Left><Delete>
autocmd BufRead *.tex :set textwidth=78
autocmd BufRead *.* :set iskeyword=@,48-57,_,128-255
set scrolljump=1
set ttyscroll=3
set showmatch
set autoindent
set ww=b,s,h,l,<,>,[,]
map! <F1>{ {<Return><Tab><Return><Backspace>}<Up><Right>
"set matchtime=2
syntax on
set autoindent
set shortmess=at
set wildignore=*.o,*.class,*.bmp,exe,*.dvi,*.ps,*.pyc
"set textwidth=70
nnoremap Q gq
set formatoptions=tc
set background=dark
augroup filetypedetect
au! BufRead,BufNewFile *.pyt set filetype=python
augroup END
" formatowanie poprzez Q
set formatoptions=tcrq
set textwidth=70
map <F7> :tn<Return>
:hi Comment ctermfg=6
:nnoremap Q {<Down>gq}
set complete=.,t,w,b,u