Skip to content

Instantly share code, notes, and snippets.

@moyuanhuang
Last active May 10, 2022 06:48
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save moyuanhuang/3c30301baea7688fedc56841565c9725 to your computer and use it in GitHub Desktop.
Save moyuanhuang/3c30301baea7688fedc56841565c9725 to your computer and use it in GitHub Desktop.
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