32 lines
1.0 KiB
VimL
32 lines
1.0 KiB
VimL
" Colors
|
|
colorscheme badwolf " awesome colorscheme
|
|
syntax enable " enable syntax processing
|
|
|
|
" Tabs
|
|
set tabstop=4 " number of visual spaces per tab
|
|
set softtabstop=4 " number of spaces in tab when editing
|
|
set expandtab " tabs are spaces
|
|
|
|
" UI config
|
|
set number " sets line number
|
|
set cursorline " highlight current line
|
|
filetype indent on " load filetype-specific indent files
|
|
set wildmenu " visual autocomplete for command menu
|
|
set lazyredraw " redraw only when we need to
|
|
set showmatch " highlight matching brackets
|
|
|
|
" Searching
|
|
set incsearch " search as characters are entered
|
|
set hlsearch " highlight matches
|
|
|
|
" Folding
|
|
set foldenable " enable folding
|
|
set foldlevelstart=10 " open most fields by default
|
|
set foldnestmax=10 " 10 nested fold max
|
|
set foldmethod=indent " fold based on indent level
|
|
nnoremap <space> za
|
|
|
|
" Custom Key Bindings
|
|
inoremap jk <esc>
|
|
|