Fix OverLength and add README

This commit is contained in:
2017-11-25 16:45:21 +01:00
parent dca9a90f9f
commit 4d6bdbed69
3 changed files with 22 additions and 3 deletions

7
.vimrc
View File

@@ -53,7 +53,6 @@ set langmenu=en_US.UTF-8
"Colors
"{{{
colorscheme izi
"let g:airline_theme='light'
""}}}
"Tagbar stuff
@@ -70,7 +69,10 @@ set shortmess+=c
"Misc
"{{{
match OverLength '\%81v.'
augroup overlength
autocmd!
autocmd WinEnter * match OverLength '\%81v.'
augroup END
"}}}
"Mappings
@@ -117,4 +119,5 @@ nnoremap <leader>T :TagbarToggle<cr>
"Abbreviations
"{{{
iabbrev rr return
cabbrev w!! w !sudo tee > /dev/null %<cr>
"}}}

16
README.md Normal file
View File

@@ -0,0 +1,16 @@
# My settings for VIM
## Usage
If you find yourself wanting to use these settings, do the following:
```
colors -> ~/.vim/colors
ftplugin -> ~/.vim/ftplugin
.vimrc -> ~/.vimrc
```
Also create two files `~/.vim/plugins.vim` and `~/.vim/locals.vim`. The first
one contains commands for your plugin manager and in the second one are commands
that are local to the machine. You might use `plugin_template.vim` and
`locals_template.vim` for reference.

View File

@@ -39,7 +39,7 @@ hi Visual cterm=NONE ctermbg=159 gui=none guibg=#afffff
hi Error cterm=bold ctermfg=9 ctermbg=15 gui=bold guifg=#ff0000 guibg=#ffffff
hi SyntasticError cterm=bold ctermfg=9 ctermbg=15 gui=bold guifg=#ff0000 guibg=#ffffff
hi SyntasticWarning cterm=underline gui=undercurl guisp=#ffaf00
hi OverLength cterm=NONE ctermfg=0 ctermbg=7 gui=NONE guibg=#c0c0c0 guifg=#000000
hi OverLength cterm=NONE ctermfg=0 ctermbg=7 gui=NONE guibg=#ffc0c0 guifg=#000000
hi Identifier cterm=NONE ctermfg=6 ctermbg=NONE gui=NONE guifg=#00afaf guibg=#ffffff
"hi Ignore gui=NONE guifg=bg guibg=NONE
hi PreProc cterm=NONE ctermfg=94 ctermbg=15 gui=NONE guifg=#a75f5f guibg=#ffffff