general udpates

This commit is contained in:
2018-06-11 21:29:46 -04:00
parent deae4f26e9
commit 65624da5a2
15 changed files with 2584 additions and 38 deletions

41
vimrc
View File

@@ -1,54 +1,39 @@
"""Weird tmux settings
let &t_Co=256
""" Load plugins
call plug#begin('~/.vim/plugged')
Plug 'whatyouhide/vim-gotham'
call plug#end()
""" Syntastic
" Recommended settings
set statusline+=%#warning#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0
function! SyntasticCheckHook(errors)
if !empty(a:errors)
let g:syntastic_loc_list_height = min([len(a:errors), 10])
endif
endfunction
""" General Settings
" Set tabs to 4 spaces
"""" General Settings
"" Set tabs to 4 spaces
set tabstop=4
set shiftwidth=4
set expandtab
" Remember location in file
"
"" Remember location in file
if has("autocmd")
au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif
endif
" Line numbers
"" Line numbers
set number
set relativenumber
" Autoindent
"" Autoindent
set autoindent
" Colors
"" Colors
syntax enable
set background=dark
colorscheme gotham256
filetype plugin on
" Fuzzy Finding
"" Fuzzy Finding
set path+=**
set wildmenu
" Window stuff
"" Window stuff
map <C-h> <C-w>h
map <C-j> <C-w>j
map <C-k> <C-w>k