mac下添加VIM配色方案

(1)安装vim后,执行命令

whereis vim

你会看到返回结果:vim: /usr/bin/vim /usr/share/vim /usr/share/man/man1/vim.1.gz

注意:/usr/share/vim 为vim为用户提供的共享数据或设置方案选择

(2) 在你的家目录下创建.vimrc

set tabstop=4
set softtabstop=4
set shiftwidth=4
set autoindent
set cindent
set cinoptions={0,1s,t0,n-2,p2s,(03s,=.5s,>1s,=1s,:1s
set expandtab

(3)增加配色方案

首先查看你的系统中自带的有哪些,从(1)中我们知道执行命令  ls -l  /usr/share/vim/vim70/colors/

可以看到

-rw-r–r– 1 root root 2588 2011-03-06 blue.vim
-rw-r–r– 1 root root 2809 2011-03-06 darkblue.vim
-rw-r–r– 1 root root  548 2011-03-06 default.vim
-rw-r–r– 1 root root 2399 2011-03-06 delek.vim
-rw-r–r– 1 root root 2812 2011-03-06 desert.vim
-rw-r–r– 1 root root 1666 2011-03-06 elflord.vim
-rw-r–r– 1 root root 2476 2011-03-06 evening.vim
-rw-r–r– 1 root root 3238 2011-03-06 koehler.vim
-rw-r–r– 1 root root 2460 2011-03-06 morning.vim
-rw-r–r– 1 root root 2006 2011-03-06 murphy.vim
-rw-r–r– 1 root root 1037 2011-03-06 pablo.vim
-rw-r–r– 1 root root 2673 2011-03-06 peachpuff.vim
-rw-r–r– 1 root root 2174 2011-03-06 README.txt
-rw-r–r– 1 root root 1239 2011-03-06 ron.vim
-rw-r–r– 1 root root 2720 2011-03-06 shine.vim
-rw-r–r– 1 root root 2419 2011-03-06 slate.vim
-rw-r–r– 1 root root 1627 2011-03-06 torte.vim
-rw-r–r– 1 root root 1840 2011-03-06 zellner.vim

所以我们知道配色方案的名字有morning,evening,desert等等,

如果我们想要将配色方案改为evening,那么我们只需要在.vimrc中增加一行  colorscheme evening 即可。

(4)如果觉得配色方案太少,可以从外部下载配色方案,这里给出一个网址:

http://vimcolorschemetest.googlecode.com/svn/colors/

你可以使用工具wget下载下来,然后将.vim的文件放入/usr/share/vim/vim70/colors/目录下,然后更改.vimrc即可生效。

141 thoughts on “mac下添加VIM配色方案

  1. Pingback: website

  2. Pingback: Hostinga cena

  3. Pingback: official website

  4. Pingback: https://exe-elit.pl/

  5. Pingback: movies

  6. Pingback: w88club

  7. Pingback: Watch Series Online 2020

  8. Pingback: Kinokrad 2019 Kinokrad Hd

  9. Pingback: Kinokrad

  10. Pingback: filmy-kinokrad

  11. Pingback: kinokrad-2019

  12. Pingback: filmy-2019-kinokrad

  13. Pingback: serial

  14. Pingback: die cuts for scrapbooking

  15. Pingback: cerialest.ru

  16. Pingback: Website

  17. Pingback: youtube2019.ru

  18. Pingback: Drogen

  19. Pingback: dorama hdrezka

  20. Pingback: HDrezka

  21. Pingback: kinosmotretonline

  22. Pingback: LostFilm HD 720

  23. Pingback: trustedmdstorefy.com

  24. Pingback: bofilm ñåðèàë

  25. Pingback: bofilm

  26. Pingback: 1 seriya

  27. Pingback: Êîíñóëüòàöèÿ ïñèõîëîãà

  28. Pingback: www.pokermas999.site

  29. Pingback: topedstoreusa.com

  30. Pingback: Travel tips

  31. Pingback: hqcialismht.com

  32. Pingback: viagramdtrustser.com

  33. Pingback: bitcoin qr code generator

  34. Pingback: มาเด้คอลลาเจน

  35. Pingback: Klik hier

  36. Pingback: link 12bet

  37. Pingback: vào w88

  38. Pingback: rick and morty season 3

  39. Pingback: Evil-Season-1

  40. Pingback: Evil-Season-2

  41. Pingback: Evil-Season-3

  42. Pingback: Evil-Season-4

  43. Pingback: Dollface-Season-1

  44. Pingback: Queer-Eye-We-re-in-Japan-Season-1

  45. Pingback: serial 2020

  46. Pingback: Dailymotion

  47. Pingback: Watch+movies+2020

  48. Pingback: serial-video-film-online

  49. Pingback: tvrv.ru

  50. Pingback: 1plus1serial.site

  51. Pingback: #1plus1

  52. Pingback: 1plus1

  53. Pingback: Watch Movies Online

  54. Pingback: Film

  55. Pingback: Film 2020

  56. Pingback: Top 10 Best

  57. Pingback: watch online TV LIVE

  58. Pingback: ignou synopsis

  59. Pingback: human design

  60. Pingback: dizajn cheloveka

  61. Pingback: human-design-space

  62. Pingback: 2020

  63. Pingback: koma 2020

  64. Pingback: hischnye-pticy-hisxne-ptic

  65. Pingback: The-Gentlemen

  66. Pingback: led-2

  67. Pingback: pod-vodoi

  68. Pingback: vk 2020

  69. Pingback: parazity-oskar-2020

  70. Pingback: human design human design

  71. Pingback: DSmlka

  72. Pingback: viagra

  73. Pingback: viagra online

  74. Pingback: +

  75. Pingback: ¯jak Son³k

  76. Pingback: astrolog

  77. Pingback: film-kalashnikov-watch

  78. Pingback: generic cialis

  79. Pingback: cialis 20mg

  80. Pingback: viagra buy online

  81. Pingback: generic viagra 100mg

  82. Pingback: cheap generic viagra online

  83. Pingback: kinoxaxru.ru

  84. Pingback: pobachennya u vegas

  85. Pingback: Proshanie so Stalinym

  86. Pingback: strelcov 2020

  87. Pingback: film t-34

  88. Pingback: online pharmacy

  89. Pingback: canadian pharmacy

  90. Pingback: buy viagra

  91. Pingback: sildenafil citrate

  92. Pingback: cialis generic

  93. Pingback: generic cialis

  94. Pingback: cialis

  95. Pingback: sildenafil

  96. Pingback: Beograd film 2020

  97. Pingback: viagra

  98. Pingback: psiholog

  99. Pingback: psyhelp_on_line

  100. Pingback: coronavirus

  101. Pingback: PSYCHOSOCIAL

  102. Pingback: rasstanovka hellinger

  103. Pingback: Cherekasi film 2020

  104. Pingback: film doktor_liza

  105. Pingback: djoker film

  106. Pingback: viagra online

  107. Pingback: generic viagra

  108. Pingback: buy viagra online

  109. Pingback: gidonline-filmix.ru

  110. Pingback: can i buy naltrexone over the counter

  111. Pingback: viagra generic

  112. Pingback: viagra generic

  113. Pingback: over the counter viagra

  114. Pingback: Canadian Online Pharmacies

  115. Pingback: Canadian Pharcharmy Online

  116. Pingback: t.me/psyhell

  117. Pingback: Ïñèõîëîã îíëàéí

  118. Pingback: viagra pills

  119. Pingback: bitly.com

  120. Pingback: viagra 100mg

  121. Pingback: viagra price

  122. Pingback: viagra coupon

  123. Pingback: cheap viagra

  124. Pingback: cialis

  125. Pingback: cialis coupon

  126. Pingback: canadian pharmacy cialis

  127. Pingback: cialis 5mg

  128. Pingback: rlowcostmd.com

  129. Pingback: bitly

  130. Pingback: movies-tekstmovies-tekst

  131. Pingback: Zemlyane 2005 smotret onlajn

  132. Pingback: ISBN Plus

  133. Pingback: effective workout

  134. Pingback: Safety

  135. Pingback: pharmacy

  136. Pingback: cialis generic

  137. Pingback: smotret onlajn besplatno v kachestve hd 1080

  138. Pingback: gusmeasu.com

  139. Pingback: movies-unhinged-film

  140. Pingback: malenkie-zhenshhiny-2020

  141. Pingback: dom 2

Comments are closed.