]> git.madduck.net Git - etc/vim.git/blobdiff - templates/_terminal.colortemplate

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

- final commit before switching to Colortemplate v2
[etc/vim.git] / templates / _terminal.colortemplate
index 757136717f013b31aa154d9fb6611560d7559575..3bcc6e4473537e20635d53251da22c844a6c276d 100644 (file)
@@ -1,24 +1,24 @@
 # vim: ft=colortemplate
 
 verbatim
-if has('terminal')
-  let g:terminal_color_0  = '@guibg0'
-  let g:terminal_color_8  = '@guibrightblack'
-  let g:terminal_color_1  = '@guired'
-  let g:terminal_color_9  = '@guibrightred'
-  let g:terminal_color_2  = '@guigreen'
-  let g:terminal_color_10 = '@guibrightgreen'
-  let g:terminal_color_3  = '@guiyellow'
-  let g:terminal_color_11 = '@guibrightyellow'
-  let g:terminal_color_4  = '@guiblue'
-  let g:terminal_color_12 = '@guibrightblue'
-  let g:terminal_color_5  = '@guimagenta'
-  let g:terminal_color_13 = '@guibrightmagenta'
-  let g:terminal_color_6  = '@guicyan'
-  let g:terminal_color_14 = '@guibrightcyan'
-  let g:terminal_color_7  = '@guifg0'
-  let g:terminal_color_15 = '@guifg2'
-endif
+let g:terminal_ansi_colors = [
+    \ '@guibg0',
+    \ '@guired',
+    \ '@guigreen',
+    \ '@guiyellow',
+    \ '@guiblue',
+    \ '@guimagenta',
+    \ '@guicyan',
+    \ '@guifg0',
+    \ '@guibg0',
+    \ '@guired',
+    \ '@guigreen',
+    \ '@guiyellow',
+    \ '@guiblue',
+    \ '@guimagenta',
+    \ '@guicyan',
+    \ '@guifg2'
+\ ]
 endverbatim
 TermCursor        -> Cursor
 TermCursorNC         bg1            fg1