如何在 MacVim 中将明天主题添加到 Janus?
https://github.com/chriskempson/tomorrow-theme
步骤是什么?
您可以将主题的vim文件夹复制到该~/.janus文件夹中,如Janus的自定义 wiki 页面中所述。给vim文件夹起一个更具描述性的名称是个好主意,例如tomorrow-theme.
例如,假设你有明天主题的本地副本(克隆) <path_to_tomorrow_theme>,你可以这样做
$ cd ~/.janus
$ mkdir tomorrow-theme
$ cp -R <path_to_tomorrow_theme>/vim/ tomorrow-theme
请注意文件夹/路径末尾的斜杠。vim
从阅读文档开始。之后,将文件从github/vim复制到~/.vim目录中。
我想有多种方法可以做到这一点。
我cd进入了:
.vim/janus/vim/colors
我创建了tomorrow-theme文件夹并cd'ed 进入:
.vim/janus/vim/colors/tomorrow-theme
在tomorrow-theme我创建colors目录的文件夹中
.vim/janus/vim/colors/tomorrow-theme/colors
这就是我粘贴下载的.vim主题的地方
Tomorrow-Night-Blue.vim Tomorrow-Night-Bright.vim Tomorrow-Night-Eighties.vim Tomorrow-Night.vim Tomorrow.vim