You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

67 lines
1.0 KiB

set nocompatible
filetype off
filetype plugin on
filetype indent on
if &t_Co >= 256 || has("gui_running")
colorscheme mustang
endif
if &t_Co > 2 || has("gui_runnig")
syntax on
endif
autocmd BufEnter *.cls set syntax=tex
" must-have
" {
set hidden
set wildmenu
set showcmd
set hlsearch
" }
" usability
" {
set ignorecase
set smartcase
set backspace=indent,eol,start
set autoindent
set nostartofline
set ruler
set laststatus=2
set confirm
set visualbell
set t_vb=
set mouse=a
set cmdheight=2
set number
set notimeout nottimeout
set list
set scrolloff=5
set listchars=tab:>.,trail:!,extends:#,nbsp:‿
set wildignore+=*/.git/*,*/tmp/*,*.so,*.swp,*.zip
" }
" indentation
" {
set shiftwidth=4
set softtabstop=4
set tabstop=4
set expandtab
" }
" fold
" {
set foldmethod=indent
set foldnestmax=10
set nofoldenable
nnoremap <silent> <Space> @=(foldlevel('.')?'za':"\<Space>")<CR>
vnoremap <Space> zf
cabbrev h vert h
" }