• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Révisionfe7c61cd73b2eb55dca14946e35636a77339fd7f (tree)
l'heure2022-05-25 03:15:31
Auteurbadcoff33 <none@none>
Commiterbadcoff33

Message de Log

visual tunning

Change Summary

Modification

--- a/colors/twotone.vim
+++ b/colors/twotone.vim
@@ -32,21 +32,21 @@ let s:GuiBg = {str -> empty(str) ? "":"guibg=".str}
3232 let s:GuiAttr = {str -> empty(str) ? "":"gui=".str}
3333
3434 " Basics
35-execute 'hi Normal' s:GuiFg(s:silver2) s:GuiBg(s:white) s:GuiAttr('NONE')
36-execute 'hi Bold' s:GuiAttr('bold')
37-execute 'hi Italic' s:GuiAttr('italic')
38-execute 'hi NonText' s:GuiFg(s:silver6) s:GuiBg(s:silver9)
39-execute 'hi Visual' s:GuiFg(s:white) s:GuiBg(s:blue)
40-execute 'hi StatusLine' s:GuiFg(s:white) s:GuiBg(s:silver1) s:GuiAttr('bold')
41-execute 'hi StatusLineNC' s:GuiFg(s:silver2) s:GuiBg(s:silver7) s:GuiAttr('NONE')
42-execute 'hi StatusLineTerm' s:GuiFg(s:white) s:GuiBg(s:red) s:GuiAttr('bold')
43-execute 'hi VertSplit' s:GuiFg(s:silver9) s:GuiBg(s:silver9) s:GuiAttr('NONE')
44-execute 'hi IncSearch' s:GuiFg(s:white) s:GuiBg(s:black) s:GuiAttr('none')
45-execute 'hi Search' s:GuiFg(s:black) s:GuiBg(s:silver8) s:GuiAttr('NONE')
46-execute 'hi MatchParen' s:GuiFg(s:blue) s:GuiBg('bg') s:GuiAttr('bold')
47-execute 'hi CursorLine' s:GuiBg(s:silver9)
48-execute 'hi CursorLineNr' s:GuiFg(s:silver4) s:GuiAttr('bold')
49-execute 'hi LineNr' s:GuiFg(s:silver8) s:GuiAttr('bold')
35+execute "hi Normal" s:GuiFg(s:silver2) s:GuiBg(s:white) s:GuiAttr("NONE")
36+execute "hi Bold" s:GuiAttr("bold")
37+execute "hi Italic" s:GuiAttr("italic")
38+execute "hi NonText" s:GuiFg(s:silver6) s:GuiBg("bg")
39+execute "hi Visual" s:GuiFg(s:white) s:GuiBg(s:blue)
40+execute "hi StatusLine" s:GuiFg(s:white) s:GuiBg(s:silver1) s:GuiAttr("bold")
41+execute "hi StatusLineNC" s:GuiFg(s:silver2) s:GuiBg(s:silver7) s:GuiAttr("NONE")
42+execute "hi StatusLineTerm" s:GuiFg(s:white) s:GuiBg(s:red) s:GuiAttr("bold")
43+execute "hi VertSplit" s:GuiFg(s:silver9) s:GuiBg(s:silver9) s:GuiAttr("NONE")
44+execute "hi IncSearch" s:GuiFg(s:white) s:GuiBg(s:black) s:GuiAttr("none")
45+execute "hi Search" s:GuiFg(s:black) s:GuiBg(s:silver8) s:GuiAttr("NONE")
46+execute "hi MatchParen" s:GuiFg(s:blue) s:GuiBg("bg") s:GuiAttr("bold")
47+execute "hi CursorLine" s:GuiBg(s:silver9)
48+execute "hi CursorLineNr" s:GuiFg(s:silver4) s:GuiAttr("bold")
49+execute "hi LineNr" s:GuiFg(s:silver8) s:GuiAttr("bold")
5050
5151 highlight! link CursorColumn CursorLine
5252 highlight! link SignColumn LineNr
@@ -63,58 +63,58 @@ highlight! link TabLineSel Normal
6363 highlight! link TabLineFill Normal
6464 highlight! link TabLine Normal
6565
66-execute 'hi TabLineSel' s:GuiAttr('underline,bold')
66+execute "hi TabLineSel" s:GuiAttr("underline,bold")
6767
6868 " Code
69-execute 'hi Statement' s:GuiFg(s:red) s:GuiAttr('bold')
70-execute 'hi Conditional' s:GuiFg(s:red) s:GuiAttr('bold')
71-execute 'hi Type' s:GuiFg(s:blue) s:GuiAttr('italic')
72-execute 'hi Structure' s:GuiFg(s:red) s:GuiAttr('NONE')
73-execute 'hi StorageClass' s:GuiFg(s:red)
74-execute 'hi PreProc' s:GuiFg(s:blue) s:GuiAttr('bold')
75-execute 'hi PreCondit' s:GuiFg(s:blue) s:GuiAttr('bold')
76-execute 'hi Comment' s:GuiFg(s:silver5)
77-execute 'hi Function' s:GuiFg(s:blue)
78-execute 'hi Identifier' s:GuiFg(s:blue)
79-execute 'hi Special' s:GuiFg(s:silver1)
80-execute 'hi Constant' s:GuiFg(s:blue)
81-execute 'hi Number' s:GuiFg(s:blue)
82-execute 'hi String' s:GuiFg(s:silver4)
83-execute 'hi Title' s:GuiFg(s:black) s:GuiAttr('bold')
84-execute 'hi Todo' s:GuiFg(s:silver2) s:GuiBg(s:silver7)
85-execute 'hi Error' s:GuiFg(s:red) s:GuiBg('bg') s:GuiAttr('underline')
86-execute 'hi Directory' s:GuiFg(s:silver2)
87-execute 'hi ErrorMsg' s:GuiFg(s:red) s:GuiBg('bg')
88-execute 'hi WarningMsg' s:GuiFg(s:silver0) s:GuiBg('bg')
89-execute 'hi ModeMsg' s:GuiFg(s:blue) s:GuiBg('bg') s:GuiAttr('bold')
90-execute 'hi Question' s:GuiFg(s:silver1) s:GuiBg('bg')
91-execute 'hi QuickFixLine' s:GuiFg(s:red) s:GuiBg('bg') s:GuiAttr('bold')
92-execute 'hi qfFileName' s:GuiFg(s:blue)
93-execute 'hi qfLineNr' s:GuiFg(s:red)
69+execute "hi Statement" s:GuiFg(s:red) s:GuiAttr("bold")
70+execute "hi Conditional" s:GuiFg(s:red) s:GuiAttr("bold")
71+execute "hi Type" s:GuiFg(s:blue) s:GuiAttr("italic")
72+execute "hi Structure" s:GuiFg(s:red) s:GuiAttr("NONE")
73+execute "hi StorageClass" s:GuiFg(s:red)
74+execute "hi PreProc" s:GuiFg(s:blue) s:GuiAttr("bold")
75+execute "hi PreCondit" s:GuiFg(s:blue) s:GuiAttr("bold")
76+execute "hi Comment" s:GuiFg(s:silver5) s:GuiAttr("italic")
77+execute "hi Function" s:GuiFg(s:blue)
78+execute "hi Identifier" s:GuiFg(s:blue)
79+execute "hi Special" s:GuiFg(s:silver1)
80+execute "hi Constant" s:GuiFg(s:blue)
81+execute "hi Number" s:GuiFg(s:blue)
82+execute "hi String" s:GuiFg(s:silver4)
83+execute "hi Title" s:GuiFg(s:black) s:GuiAttr("bold")
84+execute "hi Todo" s:GuiFg(s:silver2) s:GuiBg(s:silver7)
85+execute "hi Error" s:GuiFg(s:red) s:GuiBg("bg") s:GuiAttr("underline")
86+execute "hi Directory" s:GuiFg(s:silver2)
87+execute "hi ErrorMsg" s:GuiFg(s:red) s:GuiBg("bg")
88+execute "hi WarningMsg" s:GuiFg(s:silver0) s:GuiBg("bg")
89+execute "hi ModeMsg" s:GuiFg(s:blue) s:GuiBg("bg") s:GuiAttr("bold")
90+execute "hi Question" s:GuiFg(s:silver1) s:GuiBg("bg")
91+execute "hi QuickFixLine" s:GuiFg(s:red) s:GuiBg("bg") s:GuiAttr("bold")
92+execute "hi qfFileName" s:GuiFg(s:blue)
93+execute "hi qfLineNr" s:GuiFg(s:red)
9494 highlight! link qfSeparator Normal
9595
9696 " Filetype VIM
97-execute 'hi vimCommentTitle' s:GuiFg(s:blue) s:GuiAttr('bold')
97+execute "hi vimCommentTitle" s:GuiFg(s:blue) s:GuiAttr("bold")
9898
9999 " Filetype C
100-execute 'hi cCppOut' s:GuiBg(s:silver9) s:GuiAttr('italic')
101-execute 'hi cCppOutIf2' s:GuiBg(s:silver9) s:GuiAttr('italic')
102-execute 'hi cParen' s:GuiFg(s:silver3)
103-execute 'hi cBlock' s:GuiFg(s:silver3)
100+execute "hi cCppOut" s:GuiBg(s:silver9) s:GuiAttr("italic")
101+execute "hi cCppOutIf2" s:GuiBg(s:silver9) s:GuiAttr("italic")
102+execute "hi cParen" s:GuiFg(s:silver3)
103+execute "hi cBlock" s:GuiFg(s:silver3)
104104
105105 " filetype HTML
106-execute 'hi htmlH1' s:GuiFg(s:blue) s:GuiAttr('bold')
107-execute 'hi htmlH2' s:GuiFg(s:blue) s:GuiAttr('bold')
108-execute 'hi htmlH3' s:GuiFg(s:blue) s:GuiAttr('bold')
106+execute "hi htmlH1" s:GuiFg(s:blue) s:GuiAttr("bold")
107+execute "hi htmlH2" s:GuiFg(s:blue) s:GuiAttr("bold")
108+execute "hi htmlH3" s:GuiFg(s:blue) s:GuiAttr("bold")
109109
110110 " markdown
111-execute 'hi markdownCode' s:GuiFg(s:silver3) s:GuiBg(s:silver9)
112-execute 'hi markdownCodeBlock' s:GuiFg(s:silver2)
113-execute 'hi rstEmphasis' s:GuiFg(s:silver2)
114-execute 'hi rstStrongEmphasis' s:GuiFg(s:silver2) s:GuiAttr('bold')
111+execute "hi markdownCode" s:GuiFg(s:silver3) s:GuiBg(s:silver9)
112+execute "hi markdownCodeBlock" s:GuiFg(s:silver2)
113+execute "hi rstEmphasis" s:GuiFg(s:silver2)
114+execute "hi rstStrongEmphasis" s:GuiFg(s:silver2) s:GuiAttr("bold")
115115
116116 " Diffs
117-execute 'hi DiffChange' s:GuiFg(s:white) s:GuiBg(s:blue)
118-execute 'hi DiffText' s:GuiFg(s:white) s:GuiBg(s:blue)
119-execute 'hi DiffDelete' s:GuiFg(s:red) s:GuiBg(s:red)
120-execute 'hi DiffAdd' s:GuiFg(s:silver3) s:GuiBg(s:silver8)
117+execute "hi DiffChange" s:GuiFg(s:white) s:GuiBg(s:blue)
118+execute "hi DiffText" s:GuiFg(s:white) s:GuiBg(s:blue)
119+execute "hi DiffDelete" s:GuiFg(s:red) s:GuiBg(s:red)
120+execute "hi DiffAdd" s:GuiFg(s:silver3) s:GuiBg(s:silver8)
--- a/gvimrc
+++ b/gvimrc
@@ -1,12 +1,6 @@
1-let FontFamily = {-> split(&gfn, ":")[0]}
2-let IncFontHeight = {-> string(str2nr(split(&gfn, ":h")[1]) + 1)}
3-let DecFontHeight = {-> string(str2nr(split(&gfn, ":h")[1]) - 1)}
4-
5-nnoremap <expr> <leader>+ ":set guifont="..FontFamily()..":h"..IncFontHeight().."<CR>"
6-nnoremap <expr> <leader>- ":set guifont="..FontFamily()..":h"..DecFontHeight().."<CR>"
7-
8-"set guifont=JetBrains\ Mono:h9
9-set guifont=Courier_Prime:h14
1+"set guifont=JetBrains\ Mono:h10
2+"set guifont=Courier\ Prime:h14
3+set guifont=Victor\ Mono:h14 linespace=5
104 set guiligatures=!\"#$%&()*+-./:<=>?@[]^_{\|~
115 set guioptions=!a
126 set guicursor+=a:blinkon0
@@ -15,6 +9,13 @@ set mousemodel=popup
159 set nomousefocus
1610 set signcolumn=yes
1711
12+let FontFamily = {-> escape(split(&gfn, ":")[0], ' ')}
13+let IncFontHeight = {-> string(str2nr(split(&gfn, ":h")[1]) + 1)}
14+let DecFontHeight = {-> string(str2nr(split(&gfn, ":h")[1]) - 1)}
15+
16+nnoremap <expr> <leader>+ ":set guifont="..FontFamily()..":h"..IncFontHeight().."<CR>"
17+nnoremap <expr> <leader>- ":set guifont="..FontFamily()..":h"..DecFontHeight().."<CR>"
18+
1819 tnoremap <LeftMouse> <C-w>N
1920 tmap <RightMouse> <C-w>N<RightMouse>
2021