initial commit
This commit is contained in:
commit
b6809adf2a
4 changed files with 432 additions and 0 deletions
4
vim/.netrwhist
Normal file
4
vim/.netrwhist
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
let g:netrw_dirhistmax =10
|
||||
let g:netrw_dirhist_cnt =2
|
||||
let g:netrw_dirhist_1='/home/ray/.screenlayout'
|
||||
let g:netrw_dirhist_2='/home/ray/.config/i3status'
|
||||
79
vim/colors/README.txt
Normal file
79
vim/colors/README.txt
Normal file
|
|
@ -0,0 +1,79 @@
|
|||
README.txt for color scheme files
|
||||
|
||||
These files are used for the ":colorscheme" command. They appear in the
|
||||
Edit/Color Scheme menu in the GUI.
|
||||
|
||||
|
||||
Hints for writing a color scheme file:
|
||||
|
||||
There are two basic ways to define a color scheme:
|
||||
|
||||
1. Define a new Normal color and set the 'background' option accordingly.
|
||||
set background={light or dark}
|
||||
highlight clear
|
||||
highlight Normal ...
|
||||
...
|
||||
|
||||
2. Use the default Normal color and automatically adjust to the value of
|
||||
'background'.
|
||||
highlight clear Normal
|
||||
set background&
|
||||
highlight clear
|
||||
if &background == "light"
|
||||
highlight Error ...
|
||||
...
|
||||
else
|
||||
highlight Error ...
|
||||
...
|
||||
endif
|
||||
|
||||
You can use ":highlight clear" to reset everything to the defaults, and then
|
||||
change the groups that you want differently. This also will work for groups
|
||||
that are added in later versions of Vim.
|
||||
Note that ":highlight clear" uses the value of 'background', thus set it
|
||||
before this command.
|
||||
Some attributes (e.g., bold) might be set in the defaults that you want
|
||||
removed in your color scheme. Use something like "gui=NONE" to remove the
|
||||
attributes.
|
||||
|
||||
In case you want to set 'background' depending on the colorscheme selected,
|
||||
this autocmd might be useful:
|
||||
autocmd SourcePre */colors/blue_sky.vim set background=dark
|
||||
Replace "blue_sky" with the name of the colorscheme.
|
||||
|
||||
In case you want to tweak a colorscheme after it was loaded, check out the
|
||||
ColorScheme autocmd event.
|
||||
|
||||
To customize a colorscheme use another name, e.g. "~/.vim/colors/mine.vim",
|
||||
and use `:runtime` to load the original colorscheme:
|
||||
" load the "evening" colorscheme
|
||||
runtime colors/evening.vim
|
||||
" change the color of statements
|
||||
hi Statement ctermfg=Blue guifg=Blue
|
||||
|
||||
To see which highlight group is used where, find the help for
|
||||
"highlight-groups" and "group-name".
|
||||
|
||||
You can use ":highlight" to find out the current colors. Exception: the
|
||||
ctermfg and ctermbg values are numbers, which are only valid for the current
|
||||
terminal. Use the color names instead. See ":help cterm-colors".
|
||||
|
||||
The default color settings can be found in the source file src/syntax.c.
|
||||
Search for "highlight_init".
|
||||
|
||||
If you think you have a color scheme that is good enough to be used by others,
|
||||
please check the following items:
|
||||
|
||||
- Does it work in a color terminal as well as in the GUI?
|
||||
- Is "g:colors_name" set to a meaningful value? In case of doubt you can do
|
||||
it this way:
|
||||
let g:colors_name = expand('<sfile>:t:r')
|
||||
- Is 'background' either used or appropriately set to "light" or "dark"?
|
||||
- Try setting 'hlsearch' and searching for a pattern, is the match easy to
|
||||
spot?
|
||||
- Split a window with ":split" and ":vsplit". Are the status lines and
|
||||
vertical separators clearly visible?
|
||||
- In the GUI, is it easy to find the cursor, also in a file with lots of
|
||||
syntax highlighting?
|
||||
- Do not use hard coded escape sequences, these will not work in other
|
||||
terminals. Always use color names or #RRGGBB for the GUI.
|
||||
96
vim/colors/customred256.vim
Normal file
96
vim/colors/customred256.vim
Normal file
|
|
@ -0,0 +1,96 @@
|
|||
" Vim color file
|
||||
|
||||
set bg=dark
|
||||
hi clear Normal
|
||||
hi clear
|
||||
if exists("syntax_on")
|
||||
syntax reset
|
||||
endif
|
||||
|
||||
set fillchars=stl:\ ,stlnc:\ ,vert:\
|
||||
|
||||
let colors_name = "customred256"
|
||||
|
||||
|
||||
|
||||
hi Normal guifg=#c0c0c0 guibg=#000040 ctermfg=lightyellow ctermbg=16
|
||||
hi ErrorMsg guifg=#ffffff guibg=#287eff ctermfg=white ctermbg=lightblue
|
||||
hi Visual guifg=#8080ff guibg=fg gui=reverse ctermfg=lightblue ctermbg=fg cterm=reverse
|
||||
hi VisualNOS guifg=#8080ff guibg=fg gui=reverse,underline ctermfg=lightblue ctermbg=fg cterm=reverse,underline
|
||||
hi Todo guifg=#d14a14 guibg=#1248d1 ctermfg=red ctermbg=darkblue
|
||||
hi Search guifg=#90fff0 guibg=#2050d0 ctermfg=white ctermbg=darkblue cterm=underline term=underline
|
||||
hi IncSearch guifg=#b0ffff guibg=#2050d0 ctermfg=darkblue ctermbg=gray
|
||||
|
||||
|
||||
hi SpecialKey guifg=cyan ctermfg=33
|
||||
hi Directory guifg=cyan ctermfg=255
|
||||
hi Title guifg=magenta gui=none ctermfg=198 cterm=bold
|
||||
hi WarningMsg guifg=red ctermfg=red
|
||||
hi WildMenu guifg=yellow guibg=black ctermfg=yellow ctermbg=black cterm=none term=none
|
||||
hi ModeMsg guifg=#22cce2 ctermfg=255
|
||||
hi MoreMsg ctermfg=darkgreen ctermfg=darkgreen
|
||||
hi Question guifg=green gui=none ctermfg=green cterm=none
|
||||
hi NonText guifg=#0030ff ctermfg=darkblue
|
||||
|
||||
|
||||
hi StatusLine guifg=blue guibg=darkgray gui=none ctermfg=255 ctermbg=239 term=none cterm=none
|
||||
hi StatusLineNC guifg=black guibg=darkgray gui=none ctermfg=238 ctermbg=233 term=none cterm=none
|
||||
hi VertSplit guifg=black guibg=darkgray gui=none ctermfg=233 ctermbg=233 term=none cterm=none
|
||||
hi Folded guifg=#808080 guibg=#000040 ctermfg=243 ctermbg=232 cterm=bold term=bold
|
||||
hi FoldColumn guifg=#808080 guibg=#000040 ctermfg=240 ctermbg=none cterm=bold term=bold
|
||||
hi LineNr guifg=#90f020 ctermfg=235 ctermbg=none cterm=none
|
||||
hi EndOfBuffer ctermfg=233 ctermbg=none
|
||||
hi ColorColumn ctermbg=233
|
||||
|
||||
|
||||
hi DiffAdd guibg=darkblue ctermbg=darkblue term=none cterm=none
|
||||
hi DiffChange guibg=darkmagenta ctermbg=magenta cterm=none
|
||||
hi DiffDelete ctermfg=blue ctermbg=cyan gui=bold guifg=Blue guibg=DarkCyan
|
||||
hi DiffText cterm=bold ctermbg=red gui=bold guibg=Red
|
||||
|
||||
|
||||
hi Cursor guifg=black guibg=yellow ctermfg=black ctermbg=yellow
|
||||
hi lCursor guifg=black guibg=white ctermfg=black ctermbg=white
|
||||
|
||||
|
||||
|
||||
hi Comment guifg=#80a0ff ctermfg=238
|
||||
hi Constant ctermfg=magenta guifg=#ffa0a0 cterm=none
|
||||
hi Special ctermfg=brown guifg=Orange cterm=none gui=none
|
||||
hi Identifier ctermfg=cyan guifg=#40ffff cterm=none
|
||||
hi Statement ctermfg=yellow cterm=none guifg=#ffff60 gui=none
|
||||
hi PreProc ctermfg=magenta guifg=#ff80ff gui=none cterm=none
|
||||
hi type ctermfg=green guifg=#60ff60 gui=none cterm=none
|
||||
hi Underlined cterm=underline term=underline
|
||||
hi Ignore guifg=bg ctermfg=bg
|
||||
|
||||
|
||||
|
||||
" suggested by tigmoid, 2008 Jul 18
|
||||
hi Pmenu guifg=#c0c0c0 guibg=#404080
|
||||
hi PmenuSel guifg=#c0c0c0 guibg=#2050d0
|
||||
hi PmenuSbar guifg=blue guibg=darkgray
|
||||
hi PmenuThumb guifg=#c0c0c0
|
||||
|
||||
|
||||
" Tagbar highlighting
|
||||
hi TagbarFoldIcon ctermfg=237
|
||||
|
||||
hi TagbarHelp ctermfg=243
|
||||
hi TagbarHelpKey ctermfg=255
|
||||
hi TagbarHelpTitle ctermfg=238
|
||||
|
||||
hi TagbarKind ctermfg=220
|
||||
hi TagbarNestedKind ctermfg=214
|
||||
|
||||
hi TagbarScope ctermfg=220
|
||||
hi TagbarType ctermfg=214
|
||||
hi TagbarSignature ctermfg=88
|
||||
hi TagbarPseudoID ctermfg=160
|
||||
hi TagbarHighlight ctermfg=255 ctermbg=245
|
||||
|
||||
hi TagbarAccessPublic ctermfg=136
|
||||
hi TagbarAccessProtected ctermfg=130
|
||||
hi TagbarAccessPrivate ctermfg=124
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue