In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-10 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to configure the vi vim display color in docker, which has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.
Vi vim display color configuration in docker
Usually VIM color scheme files are stored in "/ usr/share/vim/vim74/colors", the specific location may be slightly different.
For example, the contents of my directory are: (where ".vim" is the color scheme)
Blue.vim default.vim desert.vim evening.vim koehler.vim morning.vim pablo.vim README.txt shine.vim torte.vimdarkblue.vim delek.vim elflord.vim industry.vim murphy.vim peachpuff.vim ron.vim slate.vim zellner.vim
Under the user home directory, create a new ".vimrc" file as follows:
# the number of columns occupied by a tab key. The linux kernel code recommends that each tab occupy the number of columns actually occupied by 8 columns of set tabstop=4# when typing the tab key. Set softtabstop=4# shiftwidth is used to set the width of Tab key set shiftwidth=4# expandtab is used to convert Tab to blank space set expandtab# is set to automatically indent set autoindentset cindentset cinoptions= {0rec 1srecorder t0jinlich 2je p2s, (03s record.5s, > 1srecorder 1srecorder 1s# nu to display the line number set nu# ts to set the number of spaces represented by the tab key set ts=4# colorscheme is used to select the color scheme colorscheme desert
Or it can be in the overall configuration: all users are valid
Vim / etc/vimrc
Add the following line to the last line of the file.
Colorscheme desert
Thank you for reading this article carefully. I hope the article "how to configure vi vim display colors in docker" shared by the editor will be helpful to everyone. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.