Don't like lists
[rc516-dotfiles.git] / .vimrc
blob1b46b0bb1d8350d7b169bc70780dbc5190900e11
1 noremap <up> <nop>
2 inoremap <up> <nop>
3 noremap <down> <nop>
4 inoremap <down> <nop>
5 noremap <left> <nop>
6 inoremap <left> <nop>
7 noremap <right> <nop>
8 inoremap <right> <nop>
10 "set number
11 set hlsearch
12 if executable("par")
13         set formatprg=par\ w72qregs0
14 endif
15 "set spell
16 "set spelllang=en_gb,pl
17 set hidden
18 "set list
19 "set listchars=tab:▸\ ,eol:¬
20 nmap <leader>l :set list!<CR>
21 highlight NonText guifg=#4a4a59
22 highlight SpecialKey guifg=#4a4a59
24 set background=dark
26 if has("autocmd")
27 filetype on
28         autocmd BufNewFile,BufRead *.rss,*.atom setfiletype xml
29         au BufRead,BufNewFile *.cf set ft=cf3
30 endif
32 set tabstop=4
33 set softtabstop=4
34 set shiftwidth=4
35 set expandtab
36 set autoindent
37 set smartindent
38 "set cindent