update colors add markdown/texttile wrap settings

This commit is contained in:
Nick Nisi
2014-06-19 15:28:17 -07:00
parent 79aa0c57fc
commit 2943ba27a0

View File

@@ -59,6 +59,7 @@ if has("autocmd") && !exists("autocommands_loaded")
autocmd FileType html setlocal ts=4 sts=4 sw=4 noexpandtab indentkeys-=*<return> autocmd FileType html setlocal ts=4 sts=4 sw=4 noexpandtab indentkeys-=*<return>
autocmd FileType jade setlocal ts=2 sts=2 sw=2 noexpandtab autocmd FileType jade setlocal ts=2 sts=2 sw=2 noexpandtab
autocmd FileType *.md.js :call SyntasticReset<cr> autocmd FileType *.md.js :call SyntasticReset<cr>
autocmd FileType markdown,textile setlocal textwidth=0 wrapmargin=0 wrap
"autocmd WinEnter * setlocal cursorline "autocmd WinEnter * setlocal cursorline
"autocmd WinLeave * setlocal nocursorline "autocmd WinLeave * setlocal nocursorline
@@ -129,7 +130,7 @@ call matchadd('ColorColumn', '\%81v', 100)
set encoding=utf8 set encoding=utf8
set t_Co=256 " Explicitly tell vim that the terminal supports 256 colors" set t_Co=256 " Explicitly tell vim that the terminal supports 256 colors"
set background=dark set background=dark
colorscheme base16-default colorscheme hybrid
" set number " show line numbers " set number " show line numbers
set relativenumber " show relative line numbers set relativenumber " show relative line numbers
@@ -294,6 +295,7 @@ let g:ctrlp_working_path_mode = 'ra'
nmap <silent> <leader>gs :Gstatus<cr> nmap <silent> <leader>gs :Gstatus<cr>
nmap <leader>ge :Gedit<cr> nmap <leader>ge :Gedit<cr>
nmap <silent><leader>gr :Gread<cr> nmap <silent><leader>gr :Gread<cr>
nmap <silent><leader>gb :Gblame<cr>
nmap <leader>m :MarkedOpen!<cr> nmap <leader>m :MarkedOpen!<cr>
nmap <leader>mq :MarkedQuit<cr> nmap <leader>mq :MarkedQuit<cr>