Fix OverLength and add README
This commit is contained in:
7
.vimrc
7
.vimrc
@@ -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
16
README.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# My settings for VIM
|
||||
|
||||
## Usage
|
||||
|
||||
If you find yourself wanting to use this 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.
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user