Skip to content

Instantly share code, notes, and snippets.

@moyuanhuang

moyuanhuang/.vimrc

Last active Sep 3, 2018
Embed
What would you like to do?
Define vim terminal emulator's color scheme
" Add this in your ~/.vimrc
" The corresponding color matching is
" let g:terminal_ansi_colors = [
" \ '@guibase02', '@guired', '@guigreen', '@guiyellow',
" \ '@guiblue', '@guimagenta', '@guicyan', '@guibase2',
" \ '@guibase03', '@guiorange', '@guibase01', '@guibase00',
" \ '@guibase0', '@guiviolet', '@guibase1', '@guibase3'
" \]
" set the vim's terminal emulator color scheme
let g:terminal_ansi_colors = [
\ "#373c40", "#ff5454", "#8cc85f", "#e3c78a",
\ "#80a0ff", "#ce76e8", "#7ee0ce", "#c9c9c9",
\ "#f09479", "#f74782", "#42cf89", "#cfcfb0",
\ "#78c2ff", "#ae81ff", "#85dc85", "#e2637f"
\]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment