将明天主题添加到janus(macvim)

时间:2012-09-04 22:04:53

标签: vim themes macvim

如何在MacVim中将明天主题添加到Janus?

https://github.com/chriskempson/tomorrow-theme

有哪些步骤?

3 个答案:

答案 0 :(得分:6)

您可以将主题的vim文件夹复制到~/.janus文件夹中,如Janus的Customization wiki page中所述。为vim文件夹提供更具描述性的名称是个好主意,例如: tomorrow-theme

例如,假设您在<path_to_tomorrow_theme>获得明天主题的本地副本(克隆),则可以

$ cd ~/.janus
$ mkdir tomorrow-theme
$ cp -R <path_to_tomorrow_theme>/vim/ tomorrow-theme

请注意/文件夹路径末尾的斜杠vim

答案 1 :(得分:0)

reading the documentation开始。之后,将文件从github/vim复制到~/.vim目录。

答案 2 :(得分:-1)

我想有多种方法可以做到这一点。

cd'编入:

.vim/janus/vim/colors

我创建了tomorrow-theme文件夹,cd编辑了:

.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