当工作在控制台下的时候,一般使用的是黑色的背景和白色的前景字,这看起来似乎比较呆板,我们来给VIM增加一些颜色。
一般说来,VIM的颜色可能会和终端的颜色设置是一样的,但是,VIM可以自己的颜色设置,这是通过颜色配置文件来实现的,而这些文件放在了VIM安装目录下的colors目录下,到这个目录下就可以看到已经安装的各种颜色设置文件。你可以使用下面的命令来在已经安装的颜色中进行切换:
:colorscheme mycolors
其中,mycolors是已经安装的一种颜色。如果不知道有哪些可用的颜色的话,可以在 :colorscheme 后,按住TAB键来切换已经安装的颜色,如果找到自己想要的颜色的话,则使用Enter来使其生效。
颜色方案并不只是影响前景色和背景色,而且还会影响高亮,如何显示错误,如何显示可视化标记等。你可能会发现有些颜色文件之间的差异很小,这是由于颜色配置文件是由用户提供的,如果用户不喜欢其中的某些颜色,则可以将其修改后再将其改个名字发布。
使用不同的配色方案并且找到合适自己的方案。现在你就开始使用配色方案了,看看你是否喜欢一个界面上的所有颜色配置。在第六章中,将告诉你如何修改配色方案使之适合自己的个性化需要。
- 大小: 24 KB
分享到:
相关推荐
Hacking Vim 高清 英文版 Hacking Vim 高清 英文版 Hacking Vim 高清 英文版
除了实现对VI的兼容性外,VIM还扩展了很多的功能,包括语法高亮,代码折迭,脚本扩展等等,Packt Publishing出版社出版的这本书《Hacking VIM》就对VIM使用的一些TIP作了介绍,介绍的内容包括定制篇,移动篇,效率篇...
Hacking Vim: A Cookbook to get the Most out of the Latest Vim Editor: From personalizing Vim to productivity optimizations: Recipes to make life easier for experienced Vim users
Kim_Schulz Hacking Vim 高清英文 Kim_Schulz Hacking Vim 高清英文
Packtpub.Hacking.Vim.7.2.Apr.2010.rar
This entire time, Vim has been Kim's editor of choice and it has been the first thing he installs whenever he sits by a new computer. Today Kim works as a full-time software engineer at CSR Plc. ...
hacking_vim:Hacking Vim 7.2,采用LaTeX放置
Hacking Vim 7.2 - by Kim Schulz,
Hacking Vim 7.2
很好的vim学习资料
Ready-to-use hacks with solutions for common situations encountered by users of the Vim editor -- Kim Schulz 2010
Web Hacking 101: How to Make Money Hacking Ethically By 作者: Peter Yaworski Pub Date: 2018 ISBN: n/a Pages: 255 Language: English Format: PDF Size: 10 Mb With a Foreword written by HackerOne Co-...
vim实用手册,介绍使用 vim 作为开发编辑器时的一些技巧与常用插件,对于vimscript与配置文件也有讲解。
很不錯的一本關於VIM的書。 VIM官方網站也有推薦的書哦!
Hacking.Vim.May.2007.Packt.Publishing 这么好的书不用我多讲了吧
In this article, we give a quick introduction on how deep learning in security works and explore the basic methods of exploita- tion, but also look at the offensive capabilities deep learning enabled ...