【Linux】Ubuntu系统中codeblocks主题修改(护vim)
2017-03-23 23:22
741 查看
参考
操作步骤
code
result
点击打开链接http://www.cnblogs.com/platero/p/3518850.html
2. find “colour_sets”,在<default></default>后添加你所需的主题。
插入到<default></default>后面即可,如果想直接将默认theme替换为目标<vim>主题,不妨把<default></default>之间的内容替换未<vim></vim>之间的配置信息。
3. 待配置文件设置好后,启动codeblocks来设置所需的主题。
settings->editor->syntax highlighting->colour theme来选择,如果按上面设置应该会出现default和vim的选项,选择所需即可。
4. 调整到黑色背景后,需要把光标颜色也改一下。
Setting-->Editor-->margins and caret-->caret color
操作步骤
code
result
1 参考
点击打开链接http://blog.csdn.net/gzshun/article/details/8294305点击打开链接http://www.cnblogs.com/platero/p/3518850.html
2 操作步骤
1. 导入主题到配置文件sudo gedit ~/.codeblocks/default.conf2. find “colour_sets”,在<default></default>后添加你所需的主题。
插入到<default></default>后面即可,如果想直接将默认theme替换为目标<vim>主题,不妨把<default></default>之间的内容替换未<vim></vim>之间的配置信息。
3. 待配置文件设置好后,启动codeblocks来设置所需的主题。
settings->editor->syntax highlighting->colour theme来选择,如果按上面设置应该会出现default和vim的选项,选择所需即可。
4. 调整到黑色背景后,需要把光标颜色也改一下。
Setting-->Editor-->margins and caret-->caret color
3 Code
主题vim 参考源码如下:<vim> <NAME> <str> <![CDATA[vim]]> </str> </NAME> <cc> <style0> <FORE> <colour r="170" g="170" b="170" /> </FORE> <BACK> <colour r="0" g="0" b="0" /> </BACK> <NAME> <str> <![CDATA[Default]]> </str> </NAME> </style0> <style1> <FORE> <colour r="170" g="170" b="170" /> </FORE> <BACK> <colour r="0" g="0" b="0" /> </BACK> <NAME> <str> <![CDATA[Default]]> </str> </NAME> </style1> <style5> <FORE> <colour r="85" g="255" b="255" /> </FORE> <NAME> <str> <![CDATA[Comment (normal)]]> </str> </NAME> </style5> <style6> <FORE> <colour r="85" g="255" b="255" /> </FORE> <NAME> <str> <![CDATA[Comment (normal)]]> </str> </NAME> </style6> <style7> <FORE> <colour r="85" g="255" b="255" /> </FORE> <NAME> <str> <![CDATA[Comment (normal)]]> </str> </NAME> </style7> <style8> <FORE> <colour r="85" g="255" b="255" /> </FORE> <NAME> <str> <![CDATA[Comment (normal)]]> </str> </NAME> </style8> <style9> <FORE> <colour r="85" g="255" b="255" /> </FORE> <NAME> <str> <![CDATA[Comment line (normal)]]> </str> </NAME> </style9> <style10> <FORE> <colour r="85" g="255" b="255" /> </FORE> <NAME> <str> <![CDATA[Comment line (normal)]]> </str> </NAME> </style10> <style11> <FORE> <colour r="85" g="255" b="255" /> </FORE> <BOLD bool="0" /> <NAME> <str> <![CDATA[Comment (documentation)]]> </str> </NAME> </style11> <style12> <FORE> <colour r="85" g="255" b="255" /> </FORE> <BOLD bool="0" /> <NAME> <str> <![CDATA[Comment (documentation)]]> </str> </NAME> </style12> <style13> <FORE> <colour r="85" g="255" b="255" /> </FORE> <BOLD bool="0" /> <NAME> <str> <![CDATA[Comment line (documentation)]]> </str> </NAME> </style13> <style14> <FORE> <colour r="85" g="255" b="255" /> </FORE> <BOLD bool="0" /> <NAME> <str> <![CDATA[Comment line (documentation)]]> </str> </NAME> </style14> <style19> <FORE> <colour r="255" g="85" b="255" /> </FORE> <NAME> <str> <![CDATA[Number]]> </str> </NAME> </style19> <style20> <FORE> <colour r="255" g="85" b="255" /> </FORE> <NAME> <str> <![CDATA[Number (inactive)]]> </str> </NAME> </style20> <style21> <FORE> <colour r="0" g="255" b="0" /> </FORE> <BOLD bool="0" /> <NAME> <str> <![CDATA[Keyword]]> </str> </NAME> </style21> <style23> <FORE> <colour r="225" g="160" b="0" /> </FORE> <BOLD bool="0" /> <NAME> <str> <![CDATA[User keyword]]> </str> </NAME> </style23> <style24> <FORE> <colour r="160" g="160" b="160" /> </FORE> <NAME> <str> <![CDATA[User keyword (inactive)]]> </str> </NAME> </style24> <style27> <FORE> <colour r="255" g="85" b="255" /> </FORE> <NAME> <str> <![CDATA[String]]> </str> </NAME> </style27> <style28> <FORE> <colour r="255" g="85" b="255" /> </FORE> <NAME> <str> <![CDATA[String]]> </str> </NAME> </style28> <style29> <FORE> <colour r="255" g="85" b="255" /> </FORE> <NAME> <str> <![CDATA[String (inactive)]]> </str> </NAME> </style29> <style30> <FORE> <colour r="255" g="85" b="255" /> </FORE> <NAME> <str> <![CDATA[String (inactive)]]> </str> </NAME> </style30> <style31> <FORE> <colour r="255" g="85" b="255" /> </FORE> <NAME> <str> <![CDATA[Character]]> </str> </NAME> </style31> <style34> <FORE> <colour r="85" g="85" b="255" /> </FORE> <NAME> <str> <![CDATA[Preprocessor]]> </str> </NAME> </style34> <style35> <FORE> <colour r="85" g="85" b="255" /> </FORE> <NAME> <str> <![CDATA[Preprocessor (inactive)]]> </str> </NAME> </style35> <style36> <FORE> <colour r="160" g="160" b="160" /> </FORE> <NAME> <str> <![CDATA[Operator]]> </str> </NAME> </style36> <style37> <FORE> <colour r="170" g="170" b="170" /> </FORE> <NAME> <str> <![CDATA[Operator (inactive)]]> </str> </NAME> </style37> <style38> <FORE> <colour r="0" g="0" b="0" /> </FORE> <BACK> <colour r="170" g="170" b="170" /> </BACK> <NAME> <str> <![CDATA[Selection]]> </str> </NAME> </style38> <style40> <FORE> <colour r="255" g="0" b="0" /> </FORE> <BACK> <colour r="0" g="0" b="0" /> </BACK> <ITALICS bool="1" /> <NAME> <str> <![CDATA[Matching brace highlight]]> </str> </NAME> </style40> <editor> <keywords> <SET4> <str> <![CDATA[__cplusplus __GNUC__ __GNUG__]]> </str> </SET4> </keywords> </editor> <NAME> <str> <![CDATA[C/C++]]> </str> </NAME> </cc> </vim>
4 result
相关文章推荐
- 【Linux系统使用】ubuntu修改主机名
- codeblocks主题修改(vim)
- codeblocks主题修改(vim)
- codeblocks主题修改(vim)
- 如何修改Linux系统时间 ubuntu
- Ubuntu Linux系统中使用命令行修改时区
- 【Linux/Ubuntu学习 12】ubuntu下对/etc/profile误修改导致系统不能登录
- codeblocks主题修改(vim)
- 修改ubuntu系统默认语言(linux中文乱码)
- 如何修改Linux系统时间 ubuntu
- Ubuntu Linux系统使用命令行修改时区
- Linux技巧--Redhat 5系统中的vim编辑器无法正常显示中文解决方案(中文显示为乱码)/Ubuntu 12.04系统gedit中文乱码
- 嵌入式linux:Ubuntu系统下bash和dash的区别(修改默认sh为bash)
- Ubuntu Linux系统下修改文档及文件夹权限的方法
- windows+linux修改系统启动项+fedora+ubuntu+deepin
- codeblocks主题修改(vim)
- linux(ubuntu) 系统修改/etc/fstab文件后无法进入系统的解决方法
- [系统操作][Linux]修改当前Ubuntu的启动方式
- ubuntu chmod 无法更改 文件夹权限 系统提示“不允许的操作 2、linux 如何修改只读文件 3、ubuntu安装
- 如何修改Linux系统时间 ubuntu