From 81a481d42b50dfdf275989a7812f46b854672c40 Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Mon, 7 Sep 2015 02:02:22 +0200 Subject: renamed colorscheme, included INSTALL instructions --- .gitignore | 2 + colors/coderonline.vim | 142 +++++++++++++++++++++++++++++++++++++++++++++++++ colors/maxvb6.vim | 142 ------------------------------------------------- doc/INSTALL | 23 ++++++++ doc/shortcuts.txt | 2 + vimrc | 2 +- 6 files changed, 170 insertions(+), 143 deletions(-) create mode 100644 colors/coderonline.vim delete mode 100644 colors/maxvb6.vim create mode 100644 doc/INSTALL diff --git a/.gitignore b/.gitignore index fbde122..e5a224b 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,5 @@ !temp/.keep /intent/** !indent/.keep +/spell/** +!spell/.keep diff --git a/colors/coderonline.vim b/colors/coderonline.vim new file mode 100644 index 0000000..eb8baa6 --- /dev/null +++ b/colors/coderonline.vim @@ -0,0 +1,142 @@ +" color theme for vim +" Maintainer: Max Christian Pohle +" Last Change: 07.09.2015 +" Web: http://max.coderonline.de/ + +set background=dark +hi clear +if exists("syntax_on") + syntax reset +endif +let g:colors_name="coderonline" + + +set guifont=Andale\ Mono\ 12 +"set guifont=Liberation\ Mono\ Normal\ 14 +"set guifont=Meslo\ LG\ S\ DZ\ for\ Powerline\ 14 +"set guifont=Monospace\ 11 +"set guifont=DejaVu\ Sans\ Mono\ 11 +"set guifont=Liberation\ Mono\ for\ Powerline\ 11 +"set guifont=Envy\ Code\ R\ 11 + +set number +set hls + +highlight Menu gui=none cterm=none term=none guibg=white ctermbg=white guifg=black ctermfg=black +highlight Scrollbar gui=none cterm=none term=none guibg=white ctermbg=white guifg=black ctermfg=black +highlight Tooltip gui=none cterm=none term=none guibg=yellow ctermbg=yellow guifg=black ctermfg=black + +highlight Normal gui=none cterm=none term=none guibg=white ctermbg=white guifg=black ctermfg=black +highlight! link NonText Normal + +highlight Statement gui=bold cterm=bold term=bold guibg=white ctermbg=white guifg=#0000ff ctermfg=21 +highlight! link Boolean Statement +highlight! link Identifier Statement + +highlight Type gui=bold cterm=bold term=bold guibg=white ctermbg=white guifg=DarkBlue ctermfg=darkblue + +highlight Constant gui=none cterm=none term=none guibg=white ctermbg=white guifg=brown ctermfg=brown +highlight! link String Constant +highlight! link Number Constant + +highlight Comment gui=none cterm=none term=none guibg=white ctermbg=white guifg=DarkGreen ctermfg=DarkGreen +highlight! link PreProc Comment + +highlight StatusLine gui=bold cterm=bold term=bold guibg=lightgray ctermbg=lightgray guifg=darkgray ctermfg=darkgrey +highlight! link StatusLineNC StatusLine + +highlight LineNr gui=none cterm=none term=none guibg=lightgray ctermbg=lightgray guifg=black ctermfg=black +highlight CursorLine gui=none cterm=none term=none guibg=lightgray ctermbg=lightgray +" highlight! link CursorLine LineNr +" highlight! link CursorColumn LineNr +" highlight! link ColorColumn LineNr + +" Cursor the character under the cursor +highlight Cursor gui=inverse cterm=inverse term=inverse guibg=lightgray ctermbg=lightgray guifg=black ctermfg=black +highlight iCursor gui=underline cterm=underline term=underline +highlight! link CursorLineNr Cursor +highlight! link CursorIM Cursor +highlight! link Visual Cursor +highlight! link VirualNOS Cursor +" highlight! link MatchParen LineNr +highlight MatchParen guibg=yellow ctermbg=yellow + +" WildMenu current match in 'wildmenu' completion +" Pmenu Popup menu: normal item. +" PmenuSel Popup menu: selected item. +" PmenuSbar Popup menu: scrollbar. +" PmenuThumb Popup menu: Thumb of the scrollbar. +highlight! link WildMenu Todo +highlight! link Popup LineNr +highlight! link PMenu Popup +highlight! link PMenuSel CursorLineNr +highlight! link PMenuSbar CursorLineNr +highlight! link PMenuThumb CursorLineNr + + +" Windows +highlight Title gui=bold cterm=bold term=bold guibg=lightgray ctermbg=lightgray guifg=darkgray ctermfg=darkgray +highlight! link VertSplit Title +highlight! link StatusLine Title +highlight! link StatusLineNC Title +highlight! link TabLine Title +highlight! link TabLineFill TabLine +highlight! link TabLineSel TabLine +highlight TabLineSel gui=inverse cterm=inverse term=inverse + +highlight cParen gui=none cterm=none term=none guibg=white ctermbg=white guifg=orange ctermfg=brown +highlight cBlock gui=none cterm=none term=none guibg=white ctermbg=cyan guifg=orange ctermfg=brown +highlight vimParenSep gui=none cterm=none term=none guibg=white ctermbg=white guifg=orange ctermfg=brown + +highlight Special gui=bold cterm=bold term=bold guibg=white ctermbg=white guifg=black ctermfg=178 +highlight! link SpecialKey Special + +highlight Todo gui=none cterm=none term=none guibg=yellow ctermbg=yellow guifg=black ctermfg=black +highlight! link ModeMsg Todo +highlight! link MoreMsg Todo +highlight! link ErrorMsg Todo +highlight! link Conceal Todo +highlight! link Directory Todo + +highlight Question gui=bold cterm=bold term=bold guibg=white ctermbg=white guifg=black ctermfg=black +highlight! link WarningMsg Question + +highlight SpellBad gui=underline cterm=underline term=underline ctermbg=white +highlight! link SpellCap SpellBad +highlight! link SpellLocal Todo +highlight! link SpellRare Todo +" *hl-Conceal* +" *hl-DiffAdd* +" DiffAdd diff mode: Added line |diff.txt| +" *hl-DiffChange* +" DiffChange diff mode: Changed line |diff.txt| +" *hl-DiffDelete* +" DiffDelete diff mode: Deleted line |diff.txt| +" *hl-DiffText* +" DiffText diff mode: Changed text within a changed line |diff.txt| +" *hl-ErrorMsg* +" Folded line used for closed folds +" *hl-FoldColumn* +" FoldColumn 'foldcolumn' +" *hl-SignColumn* +" SignColumn column where |signs| are displayed +" *hl-IncSearch* +" IncSearch 'incsearch' highlighting; also used for the text replaced with +" ":s///c" +" *hl-LineNr* +" MatchParen The character under the cursor or just before it, if it +" is a paired bracket, and its match. |pi_paren.txt| +" +" *hl-ModeMsg* +" *hl-NonText* +" *hl-Search* +" Search Last search pattern highlighting (see 'hlsearch'). +" Also used for highlighting the current line in the quickfix +" window and similar items that need to stand out. +" *hl-SpecialKey* +" to show unprintable characters in the text, 'listchars'. +" Generally: text that is displayed differently from what it +" really is. +" *hl-SpellBad* + + diff --git a/colors/maxvb6.vim b/colors/maxvb6.vim deleted file mode 100644 index eb3ddaa..0000000 --- a/colors/maxvb6.vim +++ /dev/null @@ -1,142 +0,0 @@ -" color theme for vim -" Maintainer: Max Christian Pohle -" Last Change: 11.09.2014 -" Web: http://max.entwicklerseite.de - -set background=dark -hi clear -if exists("syntax_on") - syntax reset -endif -let g:colors_name="maxvb6" - - -set guifont=Andale\ Mono\ 12 -"set guifont=Liberation\ Mono\ Normal\ 14 -"set guifont=Meslo\ LG\ S\ DZ\ for\ Powerline\ 14 -"set guifont=Monospace\ 11 -"set guifont=DejaVu\ Sans\ Mono\ 11 -"set guifont=Liberation\ Mono\ for\ Powerline\ 11 -"set guifont=Envy\ Code\ R\ 11 - -set number -set hls - -highlight Menu gui=none cterm=none term=none guibg=white ctermbg=white guifg=black ctermfg=black -highlight Scrollbar gui=none cterm=none term=none guibg=white ctermbg=white guifg=black ctermfg=black -highlight Tooltip gui=none cterm=none term=none guibg=yellow ctermbg=yellow guifg=black ctermfg=black - -highlight Normal gui=none cterm=none term=none guibg=white ctermbg=white guifg=black ctermfg=black -highlight! link NonText Normal - -highlight Statement gui=bold cterm=bold term=bold guibg=white ctermbg=white guifg=#0000ff ctermfg=21 -highlight! link Boolean Statement -highlight! link Identifier Statement - -highlight Type gui=bold cterm=bold term=bold guibg=white ctermbg=white guifg=DarkBlue ctermfg=darkblue - -highlight Constant gui=none cterm=none term=none guibg=white ctermbg=white guifg=brown ctermfg=brown -highlight! link String Constant -highlight! link Number Constant - -highlight Comment gui=none cterm=none term=none guibg=white ctermbg=white guifg=DarkGreen ctermfg=DarkGreen -highlight! link PreProc Comment - -highlight StatusLine gui=bold cterm=bold term=bold guibg=lightgray ctermbg=lightgray guifg=darkgray ctermfg=darkgrey -highlight! link StatusLineNC StatusLine - -highlight LineNr gui=none cterm=none term=none guibg=lightgray ctermbg=lightgray guifg=black ctermfg=black -highlight CursorLine gui=none cterm=none term=none guibg=lightgray ctermbg=lightgray -" highlight! link CursorLine LineNr -" highlight! link CursorColumn LineNr -" highlight! link ColorColumn LineNr - -" Cursor the character under the cursor -highlight Cursor gui=inverse cterm=inverse term=inverse guibg=lightgray ctermbg=lightgray guifg=black ctermfg=black -highlight iCursor gui=underline cterm=underline term=underline -highlight! link CursorLineNr Cursor -highlight! link CursorIM Cursor -highlight! link Visual Cursor -highlight! link VirualNOS Cursor -" highlight! link MatchParen LineNr -highlight MatchParen guibg=yellow ctermbg=yellow - -" WildMenu current match in 'wildmenu' completion -" Pmenu Popup menu: normal item. -" PmenuSel Popup menu: selected item. -" PmenuSbar Popup menu: scrollbar. -" PmenuThumb Popup menu: Thumb of the scrollbar. -highlight! link WildMenu Todo -highlight! link Popup LineNr -highlight! link PMenu Popup -highlight! link PMenuSel CursorLineNr -highlight! link PMenuSbar CursorLineNr -highlight! link PMenuThumb CursorLineNr - - -" Windows -highlight Title gui=bold cterm=bold term=bold guibg=lightgray ctermbg=lightgray guifg=darkgray ctermfg=darkgray -highlight! link VertSplit Title -highlight! link StatusLine Title -highlight! link StatusLineNC Title -highlight! link TabLine Title -highlight! link TabLineFill TabLine -highlight! link TabLineSel TabLine -highlight TabLineSel gui=inverse cterm=inverse term=inverse - -highlight cParen gui=none cterm=none term=none guibg=white ctermbg=white guifg=orange ctermfg=brown -highlight cBlock gui=none cterm=none term=none guibg=white ctermbg=cyan guifg=orange ctermfg=brown -highlight vimParenSep gui=none cterm=none term=none guibg=white ctermbg=white guifg=orange ctermfg=brown - -highlight Special gui=bold cterm=bold term=bold guibg=white ctermbg=white guifg=black ctermfg=178 -highlight! link SpecialKey Special - -highlight Todo gui=none cterm=none term=none guibg=yellow ctermbg=yellow guifg=black ctermfg=black -highlight! link ModeMsg Todo -highlight! link MoreMsg Todo -highlight! link ErrorMsg Todo -highlight! link Conceal Todo -highlight! link Directory Todo - -highlight Question gui=bold cterm=bold term=bold guibg=white ctermbg=white guifg=black ctermfg=black -highlight! link WarningMsg Question - -highlight SpellBad gui=underline cterm=underline term=underline ctermbg=white -highlight! link SpellCap SpellBad -highlight! link SpellLocal Todo -highlight! link SpellRare Todo -" *hl-Conceal* -" *hl-DiffAdd* -" DiffAdd diff mode: Added line |diff.txt| -" *hl-DiffChange* -" DiffChange diff mode: Changed line |diff.txt| -" *hl-DiffDelete* -" DiffDelete diff mode: Deleted line |diff.txt| -" *hl-DiffText* -" DiffText diff mode: Changed text within a changed line |diff.txt| -" *hl-ErrorMsg* -" Folded line used for closed folds -" *hl-FoldColumn* -" FoldColumn 'foldcolumn' -" *hl-SignColumn* -" SignColumn column where |signs| are displayed -" *hl-IncSearch* -" IncSearch 'incsearch' highlighting; also used for the text replaced with -" ":s///c" -" *hl-LineNr* -" MatchParen The character under the cursor or just before it, if it -" is a paired bracket, and its match. |pi_paren.txt| -" -" *hl-ModeMsg* -" *hl-NonText* -" *hl-Search* -" Search Last search pattern highlighting (see 'hlsearch'). -" Also used for highlighting the current line in the quickfix -" window and similar items that need to stand out. -" *hl-SpecialKey* -" to show unprintable characters in the text, 'listchars'. -" Generally: text that is displayed differently from what it -" really is. -" *hl-SpellBad* - - diff --git a/doc/INSTALL b/doc/INSTALL new file mode 100644 index 0000000..3c37ac5 --- /dev/null +++ b/doc/INSTALL @@ -0,0 +1,23 @@ +# INSTALL +# this should briefly show you how to install this bundle +# +# step 1) +# download the current version using git +git clone http://git.entwicklerseite.de/vim .vim/ + +# step 2) +# create a symbolic link to the downloaded vim.rc in you $HOME-directory +ln -s .vim/vimrc .vimrc + +# step 3) +# get vim submodules, namely this is just vundle as this will download the rest by itsown +git submodule update --init --recursive + +# step 4) +# fix errors caused by the different vim version you might be using and define the spell checkers language. Starting Vim will show you which lines are not supported on your vim installation so that you can fix them: +vim vimrc + +# step 5) +# download spell file for you language +vim -c ":au! SpellFileMissing" + diff --git a/doc/shortcuts.txt b/doc/shortcuts.txt index 9355433..18af473 100644 --- a/doc/shortcuts.txt +++ b/doc/shortcuts.txt @@ -2,3 +2,5 @@ [visual mode] - with selected lines gq - format text so that it fits in whatever :set textwidth was set +[commands] +:spell [word] - adds a word to the current dictionary (no mistake any more) diff --git a/vimrc b/vimrc index 4359852..4090dad 100644 --- a/vimrc +++ b/vimrc @@ -132,7 +132,7 @@ else set ttyfast | " modern terminals are all fast in a way endif -colorscheme maxvb6 +colorscheme coderonline syntax enable "================================================================================ -- cgit v1.2.3