我最近切换到Spacemacs,我正在尝试合并自己的自定义颜色主题。通常,我会这样做。
Sub CheckEnglishAndTypos()
Do Until ActiveDocument.Bookmarks("\Sel").Range.End = ActiveDocument.Bookmarks("\EndOfDoc").Range.End
'Loop the search till the end
Selection.MoveDown Unit:=wdLine, Count:=1
Selection.Paragraphs(1).Range.Select
With Selection.Find
.Text = "(<*>) \1"
.Replacement.Text = ""
.Forward = True
.Wrap = wdFindStop
.Format = True
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = True
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll
Loop
' Searching the remaning (till the end of document)
Exit Sub
End Sub
Spacemacs有custom themes and colors的机制。但直接在我的自定义图层中调用时,这不起作用(请参阅here和here)。
答案 0 :(得分:1)
好的,也解决了这个问题。我刚拿了firebelly repo,把它变成了一个spacemacs图层。为此,我所做的只是:
dotspacemacs-configuration-layers
(在 .spacemacs.d / init.el 中)(B)。A)
firebelly/
├── firebelly-theme.el
├── packages.el -> firebelly-theme.el
├── readme.md
└── screenshot.png
B)
dotspacemacs-configuration-layers
'(
...
firebelly)
希望这有助于他人。