Skip to content

Instantly share code, notes, and snippets.

@cratermoon
Created June 12, 2025 23:52
Show Gist options
  • Save cratermoon/730353ce9e23e8731cc81768cdbb20de to your computer and use it in GitHub Desktop.
Save cratermoon/730353ce9e23e8731cc81768cdbb20de to your computer and use it in GitHub Desktop.
qOrange vim colorscheme
" Name: qOrange.vim
set background=dark
hi clear
if exists('syntax on')
syntax reset
endif
let g:colors_name='qOrange'
set t_Co=256
let s:purple = "#A277FF"
let s:green = "#61FFCA"
let s:orange = "#FFCA85"
let s:pink = "#F694FF"
let s:blue = "#82E2FF"
let s:red = "#FF6767"
let s:white = "#EDECEE"
let s:grey = "#6D6d6D"
let s:black = "#15141B"
let s:yellow = "#C7B234"
function! s:hi(group, guisp, guifg, guibg, gui, cterm)
let cmd = ""
if a:guisp != ""
let cmd = cmd . " guisp=" . a:guisp
endif
if a:guifg != ""
let cmd = cmd . " guifg=" . a:guifg
endif
if a:guibg != ""
let cmd = cmd . " guibg=" . a:guibg
endif
if a:gui != ""
let cmd = cmd . " gui=" . a:gui
endif
if a:cterm != ""
let cmd = cmd . " cterm=" . a:cterm
endif
if cmd != ""
exec "hi " . a:group . cmd
endif
endfunction
call s:hi("Normal", "NONE", s:white, s:black, "NONE", "NONE")
call s:hi("Visual", "NONE", "NONE", s:white,"bold", "bold")
call s:hi("Conceal", "NONE", s:grey, "NONE", "NONE", "NONE")
call s:hi("ColorColumn", "NONE", "NONE", s:grey, "NONE", "NONE")
call s:hi("Cursor", "NONE", s:black, s:pink, "NONE", "NONE")
call s:hi("lCursor", "NONE", s:black, s:pink, "NONE", "NONE")
call s:hi("CursorIM", "NONE", s:black, s:pink, "NONE", "NONE")
call s:hi("CursorColumn", "NONE", "NONE", s:orange, "NONE", "NONE")
call s:hi("CursorLine", "NONE", "NONE", s:pink, "NONE", "NONE")
call s:hi("Directory", "NONE", s:blue, "NONE", "NONE", "NONE")
call s:hi("DiffAdd", "NONE", s:black, s:green, "NONE", "NONE")
call s:hi("DiffChange", "NONE", s:black, s:yellow, "NONE", "NONE")
call s:hi("DiffDelete", "NONE", s:black, s:red, "NONE", "NONE")
call s:hi("DiffText", "NONE", s:black, s:blue, "NONE", "NONE")
call s:hi("EndOfBuffer", "NONE", "NONE", "NONE", "NONE", "NONE")
call s:hi("ErrorMsg", "NONE", s:red, "NONE", "bolditalic" , "bold,italic")
call s:hi("VertSplit", "NONE", s:orange, "NONE", "NONE", "NONE")
call s:hi("Folded", "NONE", s:blue, s:white, "NONE", "NONE")
call s:hi("FoldColumn", "NONE", s:grey, s:black, "NONE", "NONE")
call s:hi("SignColumn", "NONE", s:pink, s:black, "NONE", "NONE")
call s:hi("IncSearch", "NONE", s:pink, s:pink, "NONE", "NONE")
call s:hi("CursorLineNR", "NONE", s:blue, "NONE", "NONE", "NONE")
call s:hi("LineNr", "NONE", s:blue, "NONE", "NONE", "NONE")
call s:hi("MatchParen", "NONE", s:pink, "NONE", "bold", "bold")
call s:hi("ModeMsg", "NONE", s:white, "NONE", "bold", "bold")
call s:hi("MoreMsg", "NONE", s:blue, "NONE", "NONE", "NONE")
call s:hi("NonText", "NONE", s:yellow, "NONE", "NONE", "NONE")
call s:hi("Pmenu", "NONE", s:yellow, s:grey, "NONE", "NONE")
call s:hi("PmenuSel", "NONE", s:yellow, s:grey, "bold", "bold")
call s:hi("PmenuSbar", "NONE", "NONE", s:grey, "NONE", "NONE")
call s:hi("PmenuThumb", "NONE", "NONE", s:grey, "NONE", "NONE")
call s:hi("Question", "NONE", s:blue, "NONE", "NONE", "NONE")
call s:hi("QuickFixLine", "NONE", "NONE", s:grey, "bold", "bold")
call s:hi("Search", "NONE", s:pink, s:grey, "bold", "bold")
call s:hi("SpecialKey", "NONE", s:grey, "NONE", "NONE", "NONE")
call s:hi("SpellBad", "NONE", s:black, s:red, "NONE", "NONE")
call s:hi("SpellCap", "NONE", s:black, s:yellow, "NONE", "NONE")
call s:hi("SpellLocal", "NONE", s:black, s:blue, "NONE", "NONE")
call s:hi("SpellRare", "NONE", s:black, s:green, "NONE", "NONE")
call s:hi("StatusLine", "NONE", s:white, s:purple, "NONE", "NONE")
call s:hi("StatusLineNC", "NONE", s:grey, s:purple, "NONE", "NONE")
call s:hi("StatusLineTerm", "NONE", s:white, s:purple, "NONE", "NONE")
call s:hi("StatusLineTermNC", "NONE", s:grey, s:purple, "NONE", "NONE")
call s:hi("TabLine", "NONE", s:grey, s:purple, "NONE", "NONE")
call s:hi("TabLineFill", "NONE", "NONE", s:purple, "NONE", "NONE")
call s:hi("TabLineSel", "NONE", s:green, s:pink, "NONE", "NONE")
call s:hi("Title", "NONE", s:blue, "NONE", "bold", "bold")
call s:hi("VisualNOS", "NONE", "NONE", s:pink, "bold", "bold")
call s:hi("WarningMsg", "NONE", s:yellow, "NONE", "NONE", "NONE")
call s:hi("WildMenu", "NONE", "NONE", s:grey, "NONE", "NONE")
call s:hi("Comment", "NONE", s:grey, "NONE", "NONE", "NONE")
call s:hi("Constant", "NONE", s:pink, "NONE", "NONE", "NONE")
call s:hi("Identifier", "NONE", s:blue, "NONE", "NONE", "NONE")
call s:hi("Statement", "NONE", s:purple, "NONE", "NONE", "NONE")
call s:hi("PreProc", "NONE", s:pink, "NONE", "NONE", "NONE")
call s:hi("Type", "NONE", s:blue, "NONE", "NONE", "NONE")
call s:hi("Special", "NONE", s:pink, "NONE", "NONE", "NONE")
call s:hi("Underlined", "NONE", s:white, s:black, "underline", "underline")
call s:hi("Error", "NONE", s:red, "NONE", "NONE", "NONE")
call s:hi("Todo", "NONE", s:black, s:purple, "bold", "bold")
call s:hi("String", "NONE", s:green, "NONE", "NONE", "NONE")
call s:hi("Character", "NONE", s:blue, "NONE", "NONE", "NONE")
call s:hi("Number", "NONE", s:pink, "NONE", "NONE", "NONE")
call s:hi("Boolean", "NONE", s:pink, "NONE", "NONE", "NONE")
call s:hi("Float", "NONE", s:pink, "NONE", "NONE", "NONE")
call s:hi("Function", "NONE", s:blue, "NONE", "NONE", "NONE")
call s:hi("Conditional", "NONE", s:red, "NONE", "NONE", "NONE")
call s:hi("Repeat", "NONE", s:red, "NONE", "NONE", "NONE")
call s:hi("Label", "NONE", s:pink, "NONE", "NONE", "NONE")
call s:hi("Operator", "NONE", s:blue, "NONE", "NONE", "NONE")
call s:hi("Keyword", "NONE", s:pink, "NONE", "NONE", "NONE")
call s:hi("Include", "NONE", s:pink, "NONE", "NONE", "NONE")
call s:hi("StorageClass", "NONE", s:yellow, "NONE", "NONE", "NONE")
call s:hi("Structure", "NONE", s:yellow, "NONE", "NONE", "NONE")
call s:hi("Typedef", "NONE", s:yellow, "NONE", "NONE", "NONE")
call s:hi("debugPC", "NONE", "NONE", s:grey, "NONE", "NONE")
call s:hi("debugBreakpoint", "NONE", s:green, s:black, "NONE", "NONE")
hi link Define PreProc
hi link Macro PreProc
hi link PreCondit PreProc
hi link SpecialChar Special
hi link Tag Special
hi link Delimiter Special
hi link SpecialComment Special
hi link Debug Special
hi link Exception Error
hi link StatusLineTerm StatusLine
hi link StatusLineTermNC StatusLineNC
hi link Terminal Normal
hi link Ignore Comment
" Set terminal colors for playing well with plugins like fzf
let g:terminal_ansi_colors = [
\ s:white, s:red, s:green, s:yellow, s:blue, s:pink, s:blue, s:purple,
\ s:grey, s:red, s:green, s:yellow, s:blue, s:pink, s:blue, s:purple
\ ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment