Restructured folders

This commit is contained in:
Kristofers Solo
2022-05-11 15:33:22 +03:00
parent 4814ea6260
commit df4e49fd7d
483 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,114 @@
{
"kite.showWelcomeNotificationOnStartup": false,
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"explorer.confirmDelete": false,
"git.enableSmartCommit": true,
"git.confirmSync": false,
"terminal.explorerKind": "external",
"terminal.integrated.cursorStyle": "line",
"security.workspace.trust.untrustedFiles": "open",
"explorer.confirmDragAndDrop": false,
"python.formatting.provider": "yapf",
"python.formatting.yapfArgs": [
"--style",
"{USE_TABS: true, INDENT_WIDTH: 4, COLUMN_LIMIT: 150, DEDENT_CLOSING_BRACKETS: true}"
],
"[python]": {
"editor.defaultFormatter": "ms-python.python",
"editor.insertSpaces": false,
"editor.formatOnSave": true
},
"editor.insertSpaces": false,
"python.terminal.executeInFileDir": true,
"editor.detectIndentation": false,
"editor.guides.indentation": false,
"prettier.useTabs": true,
"workbench.startupEditor": "none",
"terminal.external.linuxExec": "alacritty",
"terminal.integrated.fontFamily": "JetBrainsMono NF",
"terminal.integrated.defaultProfile.linux": "zsh",
"cSpell.userWords": [
"blit",
"Cagulis",
"Cena",
"cenu",
"dirnx",
"dirny",
"grafiki",
"Istabu",
"Izvietošanas",
"korelacija",
"Kristiāns",
"Kristofers",
"Kvadratūra",
"pathlib",
"pygame",
"roboto",
"Sērija",
"Stāvs",
"xlabel",
"xticks",
"ylabel"
],
"bracketPairColorizer.depreciation-notice": false,
"gitlens.advanced.messages": {
"suppressLineUncommittedWarning": true
},
"vsicons.dontShowNewVersionMessage": true,
"indentRainbow.excludedLanguages": ["plaintext", "django-txt"],
"[markdown]": {
"editor.defaultFormatter": "yzhang.markdown-all-in-one"
},
"workbench.iconTheme": "material-icon-theme",
"json.schemas": [],
"workbench.enableExperiments": false,
"editor.fontFamily": "JetBrainsMono NF",
"markdown.extension.print.theme": "dark",
"editor.fontLigatures": true,
"editor.formatOnSave": true,
"code-runner.saveFileBeforeRun": true,
"code-runner.saveAllFilesBeforeRun": true,
"task.saveBeforeRun": "prompt",
"tabnine.experimentalAutoImports": true,
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"name": "One Dark italic",
"scope": [
"comment",
"entity.other.attribute-name",
"keyword",
"markup.underline.link",
"storage.modifier",
"storage.type",
"string.url",
"variable.language.super",
"variable.language.this"
],
"settings": {
"fontStyle": "italic"
}
},
{
"name": "One Dark italic reset",
"scope": [
"keyword.operator",
"keyword.other.type",
"storage.modifier.import",
"storage.modifier.package",
"storage.type.built-in",
"storage.type.function.arrow",
"storage.type.generic",
"storage.type.java",
"storage.type.primitive"
],
"settings": {
"fontStyle": ""
}
}
]
},
"workbench.colorTheme": "Sweet Dracula"
}

View File

@@ -0,0 +1,881 @@
# Configuration for Alacritty, the GPU enhanced terminal emulator.
# Import additional configuration files
#
# Imports are loaded in order, skipping all missing files, with the importing
# file being loaded last. If a field is already present in a previous import, it
# will be replaced.
#
# All imports must either be absolute paths starting with `/`, or paths relative
# to the user's home directory starting with `~/`.
#import:
# - /path/to/alacritty.yml
# Any items in the `env` entry below will be added as
# environment variables. Some entries may override variables
# set by alacritty itself.
env:
# TERM variable
#
# This value is used to set the `$TERM` environment variable for
# each instance of Alacritty. If it is not present, alacritty will
# check the local terminfo database and use `alacritty` if it is
# available, otherwise `xterm-256color` is used.
TERM: alacritty
# Background opacity
#
# Window opacity as a floating point number from `0.0` to `1.0`.
# The value `0.0` is completely transparent and `1.0` is opaque.
# background_opacity: 0.9
window:
# Window dimensions (changes require restart)
#
# Number of lines/columns (not pixels) in the terminal. The number of columns
# must be at least `2`, while using a value of `0` for columns and lines will
# fall back to the window manager's recommended size.
dimensions:
columns: 0
lines: 0
opacity: 0.9
# Window position (changes require restart)
#
# Specified in number of pixels.
# If the position is not set, the window manager will handle the placement.
#position:
# x: 0
# y: 0
# Window padding (changes require restart)
#
# Blank space added around the window in pixels. This padding is scaled
# by DPI and the specified value is always added at both opposing sides.
padding:
x: 0
y: 0
# Spread additional padding evenly around the terminal content.
dynamic_padding: true
# Window decorations
#
# Values for `decorations`:
# - full: Borders and title bar
# - none: Neither borders nor title bar
#
# Values for `decorations` (macOS only):
# - transparent: Title bar, transparent background and title bar buttons
# - buttonless: Title bar, transparent background and no title bar buttons
decorations: none
# Startup Mode (changes require restart)
#
# Values for `startup_mode`:
# - Windowed
# - Maximized
# - Fullscreen
#
# Values for `startup_mode` (macOS only):
# - SimpleFullscreen
startup_mode: Windowed
# Window title
title: Alacritty
# Allow terminal applications to change Alacritty's window title.
dynamic_title: true
# Window class (Linux/BSD only):
# class:
# Application instance name
# instance: Alacritty
# General application class
# general: Alacritty
# GTK theme variant (Linux/BSD only)
#
# Override the variant of the GTK theme. Commonly supported values are `dark`
# and `light`. Set this to `None` to use the default theme variant.
gtk_theme_variant: dark
scrolling:
# Maximum number of lines in the scrollback buffer.
# Specifying '0' will disable scrolling.
history: 10000
# Scrolling distance multiplier.
multiplier: 3
# Font configuration
font:
# Normal (roman) font face
normal:
# Font family
#
# Default:
# - (macOS) Menlo
# - (Linux/BSD) monospace
# - (Windows) Consolas
family: JetBrainsMono NF
# The `style` can be specified to pick a specific face.
style: Regular
# Bold font face
bold:
# Font family
#
# If the bold family is not specified, it will fall back to the
# value specified for the normal font.
family: JetBrainsMono NF
# The `style` can be specified to pick a specific face.
style: Bold
# Italic font face
italic:
# Font family
#
# If the italic family is not specified, it will fall back to the
# value specified for the normal font.
family: JetBrainsMono NF
# The `style` can be specified to pick a specific face.
style: Italic
# Bold italic font face
bold_italic:
# Font family
#
# If the bold italic family is not specified, it will fall back to the
# value specified for the normal font.
family: JetBrainsMono NF
# The `style` can be specified to pick a specific face.
style: Bold Italic
# Point size
size: 11.0
# Offset is the extra space around each character. `offset.y` can be thought
# of as modifying the line spacing, and `offset.x` as modifying the letter
# spacing.
offset:
x: 0
y: -1
# Glyph offset determines the locations of the glyphs within their cells with
# the default being at the bottom. Increasing `x` moves the glyph to the
# right, increasing `y` moves the glyph upward.
glyph_offset:
x: 0
y: 0
# Thin stroke font rendering (macOS only)
#
# Thin strokes are suitable for retina displays, but for non-retina screens
# it is recommended to set `use_thin_strokes` to `false`.
use_thin_strokes: false
# If `true`, bold text is drawn using the bright color variants.
draw_bold_text_with_bright_colors: true
# Colors (Tomorrow Night)
colors:
# Default colors
primary:
background: '#1d1f21'
foreground: '#c5c8c6'
# Bright and dim foreground colors
#
# The dimmed foreground color is calculated automatically if it is not
# present. If the bright foreground color is not set, or
# `draw_bold_text_with_bright_colors` is `false`, the normal foreground
# color will be used.
dim_foreground: '#828482'
bright_foreground: '#eaeaea'
# Cursor colors
#
# Colors which should be used to draw the terminal cursor.
#
# Allowed values are CellForeground/CellBackground, which reference the
# affected cell, or hexadecimal colors like #ff00ff.
cursor:
text: CellBackground
cursor: CellForeground
# Vi mode cursor colors
#
# Colors for the cursor when the vi mode is active.
#
# Allowed values are CellForeground/CellBackground, which reference the
# affected cell, or hexadecimal colors like #ff00ff.
vi_mode_cursor:
text: CellBackground
cursor: CellForeground
# Search colors
#
# Colors used for the search bar and match highlighting.
search:
# Allowed values are CellForeground/CellBackground, whichq reference the
# affected cell, or hexadecimal colors like #ff00ff.
# matches:
# foreground: '#000000'
# background: '#ffffff'
# focused_match:
# foreground: '#ffffff'
# background: '#000000'
bar:
background: '#282828'
foreground: '#EBEBE9'
# Keyboard regex hints
hints:
# First character in the hint label
#
# Allowed values are CellForeground/CellBackground, which reference the
# affected cell, or hexadecimal colors like #ff00ff.
start:
foreground: '#1d1f21'
background: '#e9ff5e'
# All characters after the first one in the hint label
#
# Allowed values are CellForeground/CellBackground, which reference the
# affected cell, or hexadecimal colors like #ff00ff.
end:
foreground: '#e9ff5e'
background: '#1d1f21'
# Line indicator
#
# Color used for the indicator displaying the position in history during
# search and vi mode.
#
# By default, these will use the opposing primary color.
#line_indicator:
# foreground: None
# background: None
# Selection colors
#
# Colors which should be used to draw the selection area.
#
# Allowed values are CellForeground/CellBackground, which reference the
# affected cell, or hexadecimal colors like #ff00ff.
selection:
text: CellBackground
background: CellForeground
# Normal colors
normal:
black: '#313539'
red: '#b02626'
green: '#40a62f'
yellow: '#f1e635'
blue: '#314ad0'
magenta: '#b30ad0'
cyan: '#32d0fc'
white: '#acadb1'
# Bright colors
bright:
black: '#717174'
red: '#b02626'
green: '#40a62f'
yellow: '#f1e635'
blue: '#314ad0'
magenta: '#b30ad0'
cyan: '#32d0fc'
white: '#acadb1'
# Dim colors
#
# If the dim colors are not set, they will be calculated automatically based
# on the `normal` colors.
dim:
black: '#676f78'
red: '#b55454'
green: '#78a670'
yellow: '#faf380'
blue: '#707fd0'
magenta: '#c583d0'
cyan: '#8adaf1'
white: '#e0e3e7'
# Indexed Colors
#
# The indexed colors include all colors from 16 to 256.
# When these are not set, they're filled with sensible defaults.
#
# Example:
# `- { index: 16, color: '#ff00ff' }`
#
#indexed_colors: []
# Transparent cell backgrounds
#
# Whether or not `window.opacity` applies to all cell backgrounds or only to
# the default background. When set to `true` all cells will be transparent
# regardless of their background color.
transparent_background_colors: false
# Bell
#
# The bell is rung every time the BEL control character is received.
#bell:
# Visual Bell Animation
#
# Animation effect for flashing the screen when the visual bell is rung.
#
# Values for `animation`:
# - Ease
# - EaseOut
# - EaseOutSine
# - EaseOutQuad
# - EaseOutCubic
# - EaseOutQuart
# - EaseOutQuint
# - EaseOutExpo
# - EaseOutCirc
# - Linear
#animation: EaseOutExpo
# Duration of the visual bell flash in milliseconds. A `duration` of `0` will
# disable the visual bell animation.
#duration: 0
# Visual bell animation color.
#color: '#ffffff'
# Bell Command
#
# This program is executed whenever the bell is rung.
#
# When set to `command: None`, no command will be executed.
#
# Example:
# command:
# program: notify-send
# args: ["Hello, World!"]
#
#command: None
selection:
# This string contains all characters that are used as separators for
# "semantic words" in Alacritty.
semantic_escape_chars: ",│`|:\"' ()[]{}<>\t"
# When set to `true`, selected text will be copied to the primary clipboard.
save_to_clipboard: true
cursor:
# Cursor style
style:
# Cursor shape
#
# Values for `shape`:
# - ▇ Block
# - _ Underline
# - | Beam
shape: Beam
# Cursor blinking state
#
# Values for `blinking`:
# - Never: Prevent the cursor from ever blinking
# - Off: Disable blinking by default
# - On: Enable blinking by default
# - Always: Force the cursor to always blink
#blinking: Off
# Vi mode cursor style
#
# If the vi mode cursor style is `None` or not specified, it will fall back to
# the style of the active value of the normal cursor.
#
# See `cursor.style` for available options.
vi_mode_style: Block
# Cursor blinking interval in milliseconds.
#blink_interval: 750
# If this is `true`, the cursor will be rendered as a hollow box when the
# window is not focused.
unfocused_hollow: false
# Thickness of the cursor relative to the cell width as floating point number
# from `0.0` to `1.0`.
#thickness: 0.15
# Live config reload (changes require restart)
#live_config_reload: true
# Shell
#
# You can set `shell.program` to the path of your favorite shell, e.g.
# `/bin/fish`. Entries in `shell.args` are passed unmodified as arguments to the
# shell.
#
# Default:
# - (macOS) /bin/bash --login
# - (Linux/BSD) user login shell
# - (Windows) powershell
shell:
program: /bin/zsh
# args:
# - --login
# Startup directory
#
# Directory the shell is started in. If this is unset, or `None`, the working
# directory of the parent process will be used.
#working_directory: None
# Send ESC (\x1b) before characters when alt is pressed.
#alt_send_esc: true
# Offer IPC using `alacritty msg` (unix only)
#ipc_socket: true
#mouse:
# Click settings
#
# The `double_click` and `triple_click` settings control the time
# alacritty should wait for accepting multiple clicks as one double
# or triple click.
#double_click: { threshold: 300 }
#triple_click: { threshold: 300 }
# If this is `true`, the cursor is temporarily hidden when typing.
#hide_when_typing: false
# Regex hints
#
# Terminal hints can be used to find text in the visible part of the terminal
# and pipe it to other applications.
#hints:
# Keys used for the hint labels.
#alphabet: "jfkdls;ahgurieowpq"
# List with all available hints
#
# Each hint must have a `regex` and either an `action` or a `command` field.
# The fields `mouse`, `binding` and `post_processing` are optional.
#
# The fields `command`, `binding.key`, `binding.mods`, `binding.mode` and
# `mouse.mods` accept the same values as they do in the `key_bindings` section.
#
# The `mouse.enabled` field controls if the hint should be underlined while
# the mouse with all `mouse.mods` keys held or the vi mode cursor is above it.
#
# If the `post_processing` field is set to `true`, heuristics will be used to
# shorten the match if there are characters likely not to be part of the hint
# (e.g. a trailing `.`). This is most useful for URIs.
#
# Values for `action`:
# - Copy
# Copy the hint's text to the clipboard.
# - Paste
# Paste the hint's text to the terminal or search.
# - Select
# Select the hint's text.
# - MoveViModeCursor
# Move the vi mode cursor to the beginning of the hint.
#enabled:
# - regex: "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)\
# [^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+"
# command: xdg-open
# post_processing: true
# mouse:
# enabled: true
# mods: None
# binding:
# key: U
# mods: Control|Shift
# Mouse bindings
#
# Mouse bindings are specified as a list of objects, much like the key
# bindings further below.
#
# To trigger mouse bindings when an application running within Alacritty
# captures the mouse, the `Shift` modifier is automatically added as a
# requirement.
#
# Each mouse binding will specify a:
#
# - `mouse`:
#
# - Middle
# - Left
# - Right
# - Numeric identifier such as `5`
#
# - `action` (see key bindings for actions not exclusive to mouse mode)
#
# - Mouse exclusive actions:
#
# - ExpandSelection
# Expand the selection to the current mouse cursor location.
#
# And optionally:
#
# - `mods` (see key bindings)
mouse_bindings:
# - { mouse: Right, action: ExpandSelection }
- { mouse: Middle, mode: ~Vi, action: PasteSelection }
# Key bindings
#
# Key bindings are specified as a list of objects. For example, this is the
# default paste binding:
#
# `- { key: V, mods: Control|Shift, action: Paste }`
#
# Each key binding will specify a:
#
# - `key`: Identifier of the key pressed
#
# - A-Z
# - F1-F24
# - Key0-Key9
#
# A full list with available key codes can be found here:
# https://docs.rs/glutin/*/glutin/event/enum.VirtualKeyCode.html#variants
#
# Instead of using the name of the keys, the `key` field also supports using
# the scancode of the desired key. Scancodes have to be specified as a
# decimal number. This command will allow you to display the hex scancodes
# for certain keys:
#
# `showkey --scancodes`.
#
# Then exactly one of:
#
# - `chars`: Send a byte sequence to the running application
#
# The `chars` field writes the specified string to the terminal. This makes
# it possible to pass escape sequences. To find escape codes for bindings
# like `PageUp` (`"\x1b[5~"`), you can run the command `showkey -a` outside
# of tmux. Note that applications use terminfo to map escape sequences back
# to keys. It is therefore required to update the terminfo when changing an
# escape sequence.
#
# - `action`: Execute a predefined action
#
# - ToggleViMode
# - SearchForward
# Start searching toward the right of the search origin.
# - SearchBackward
# Start searching toward the left of the search origin.
# - Copy
# - Paste
# - IncreaseFontSize
# - DecreaseFontSize
# - ResetFontSize
# - ScrollPageUp
# - ScrollPageDown
# - ScrollHalfPageUp
# - ScrollHalfPageDown
# - ScrollLineUp
# - ScrollLineDown
# - ScrollToTop
# - ScrollToBottom
# - ClearHistory
# Remove the terminal's scrollback history.
# - Hide
# Hide the Alacritty window.
# - Minimize
# Minimize the Alacritty window.
# - Quit
# Quit Alacritty.
# - ToggleFullscreen
# - SpawnNewInstance
# Spawn a new instance of Alacritty.
# - CreateNewWindow
# Create a new Alacritty window from the current process.
# - ClearLogNotice
# Clear Alacritty's UI warning and error notice.
# - ClearSelection
# Remove the active selection.
# - ReceiveChar
# - None
#
# - Vi mode exclusive actions:
#
# - Open
# Perform the action of the first matching hint under the vi mode cursor
# with `mouse.enabled` set to `true`.
# - ToggleNormalSelection
# - ToggleLineSelection
# - ToggleBlockSelection
# - ToggleSemanticSelection
# Toggle semantic selection based on `selection.semantic_escape_chars`.
#
# - Vi mode exclusive cursor motion actions:
#
# - Up
# One line up.
# - Down
# One line down.
# - Left
# One character left.
# - Right
# One character right.
# - First
# First column, or beginning of the line when already at the first column.
# - Last
# Last column, or beginning of the line when already at the last column.
# - FirstOccupied
# First non-empty cell in this terminal row, or first non-empty cell of
# the line when already at the first cell of the row.
# - High
# Top of the screen.
# - Middle
# Center of the screen.
# - Low
# Bottom of the screen.
# - SemanticLeft
# Start of the previous semantically separated word.
# - SemanticRight
# Start of the next semantically separated word.
# - SemanticLeftEnd
# End of the previous semantically separated word.
# - SemanticRightEnd
# End of the next semantically separated word.
# - WordLeft
# Start of the previous whitespace separated word.
# - WordRight
# Start of the next whitespace separated word.
# - WordLeftEnd
# End of the previous whitespace separated word.
# - WordRightEnd
# End of the next whitespace separated word.
# - Bracket
# Character matching the bracket at the cursor's location.
# - SearchNext
# Beginning of the next match.
# - SearchPrevious
# Beginning of the previous match.
# - SearchStart
# Start of the match to the left of the vi mode cursor.
# - SearchEnd
# End of the match to the right of the vi mode cursor.
#
# - Search mode exclusive actions:
# - SearchFocusNext
# Move the focus to the next search match.
# - SearchFocusPrevious
# Move the focus to the previous search match.
# - SearchConfirm
# - SearchCancel
# - SearchClear
# Reset the search regex.
# - SearchDeleteWord
# Delete the last word in the search regex.
# - SearchHistoryPrevious
# Go to the previous regex in the search history.
# - SearchHistoryNext
# Go to the next regex in the search history.
#
# - macOS exclusive actions:
# - ToggleSimpleFullscreen
# Enter fullscreen without occupying another space.
#
# - Linux/BSD exclusive actions:
#
# - CopySelection
# Copy from the selection buffer.
# - PasteSelection
# Paste from the selection buffer.
#
# - `command`: Fork and execute a specified command plus arguments
#
# The `command` field must be a map containing a `program` string and an
# `args` array of command line parameter strings. For example:
# `{ program: "alacritty", args: ["-e", "vttest"] }`
#
# And optionally:
#
# - `mods`: Key modifiers to filter binding actions
#
# - Command
# - Control
# - Option
# - Super
# - Shift
# - Alt
#
# Multiple `mods` can be combined using `|` like this:
# `mods: Control|Shift`.
# Whitespace and capitalization are relevant and must match the example.
#
# - `mode`: Indicate a binding for only specific terminal reported modes
#
# This is mainly used to send applications the correct escape sequences
# when in different modes.
#
# - AppCursor
# - AppKeypad
# - Search
# - Alt
# - Vi
#
# A `~` operator can be used before a mode to apply the binding whenever
# the mode is *not* active, e.g. `~Alt`.
#
# Bindings are always filled by default, but will be replaced when a new
# binding with the same triggers is defined. To unset a default binding, it can
# be mapped to the `ReceiveChar` action. Alternatively, you can use `None` for
# a no-op if you do not wish to receive input characters for that binding.
#
# If the same trigger is assigned to multiple actions, all of them are executed
# in the order they were defined in.
key_bindings:
#- { key: Paste, action: Paste }
#- { key: Copy, action: Copy }
# - { key: L, mods: Control, action: clear }
#- { key: L, mods: Control, mode: ~Vi|~Search, chars: "\x0c" }
- { key: Up, mods: Shift, mode: ~Alt, action: ScrollPageUp }
- { key: Down, mods: Shift, mode: ~Alt, action: ScrollPageDown }
- { key: Home, mods: Shift, mode: ~Alt, action: ScrollToTop }
- { key: End, mods: Shift, mode: ~Alt, action: ScrollToBottom }
# - { key: Delete, actions: Del }
# - { key: Key9, mods: Control|Shift, action: CreateNewWindow, }
# Vi Mode
# - { key: Space, mods: Shift|Control, mode: ~Search, action: ToggleViMode }
# - { key: Space, mods: Shift|Control, mode: Vi|~Search, action: ScrollToBottom }
# - { key: Escape, mode: ~Search, action: ToggleViMode }
# - { key: Escape, mode: Vi|~Search, action: ClearSelection }
# - { key: I, mode: Vi|~Search, action: ToggleViMode }
# - { key: I, mode: Vi|~Search, action: ScrollToBottom }
# - { key: C, mods: Control, mode: Vi|~Search, action: ToggleViMode }
# - { key: Y, mods: Control, mode: Vi|~Search, action: ScrollLineUp }
# - { key: E, mods: Control, mode: Vi|~Search, action: ScrollLineDown }
# - { key: G, mode: Vi|~Search, action: ScrollToTop }
# - { key: G, mods: Shift, mode: Vi|~Search, action: ScrollToBottom }
# - { key: B, mods: Control, mode: Vi|~Search, action: ScrollPageUp }
# - { key: F, mods: Control, mode: Vi|~Search, action: ScrollPageDown }
# - { key: U, mods: Control, mode: Vi|~Search, action: ScrollHalfPageUp }
# - { key: D, mods: Control, mode: Vi|~Search, action: ScrollHalfPageDown }
# - { key: Y, mode: Vi|~Search, action: Copy }
# - { key: Y, mode: Vi|~Search, action: ClearSelection }
# - { key: Copy, mode: Vi|~Search, action: ClearSelection }
# - { key: V, mode: Vi|~Search, action: ToggleNormalSelection }
# - { key: V, mods: Shift, mode: Vi|~Search, action: ToggleLineSelection }
# - { key: V, mods: Control, mode: Vi|~Search, action: ToggleBlockSelection }
# - { key: V, mods: Alt, mode: Vi|~Search, action: ToggleSemanticSelection }
# - { key: Return, mode: Vi|~Search, action: Open }
# - { key: K, mode: Vi|~Search, action: Up }
# - { key: J, mode: Vi|~Search, action: Down }
# - { key: H, mode: Vi|~Search, action: Left }
# - { key: L, mode: Vi|~Search, action: Right }
# - { key: Up, mode: Vi|~Search, action: Up }
# - { key: Down, mode: Vi|~Search, action: Down }
# - { key: Left, mode: Vi|~Search, action: Left }
# - { key: Right, mode: Vi|~Search, action: Right }
# - { key: Key0, mode: Vi|~Search, action: First }
# - { key: Key4, mods: Shift, mode: Vi|~Search, action: Last }
# - { key: Key6, mods: Shift, mode: Vi|~Search, action: FirstOccupied }
# - { key: H, mods: Shift, mode: Vi|~Search, action: High }
# - { key: M, mods: Shift, mode: Vi|~Search, action: Middle }
# - { key: L, mods: Shift, mode: Vi|~Search, action: Low }
# - { key: B, mode: Vi|~Search, action: SemanticLeft }
# - { key: W, mode: Vi|~Search, action: SemanticRight }
# - { key: E, mode: Vi|~Search, action: SemanticRightEnd }
# - { key: B, mods: Shift, mode: Vi|~Search, action: WordLeft }
# - { key: W, mods: Shift, mode: Vi|~Search, action: WordRight }
# - { key: E, mods: Shift, mode: Vi|~Search, action: WordRightEnd }
# - { key: Key5, mods: Shift, mode: Vi|~Search, action: Bracket }
# - { key: Slash, mode: Vi|~Search, action: SearchForward }
# - { key: Slash, mods: Shift, mode: Vi|~Search, action: SearchBackward }
# - { key: N, mode: Vi|~Search, action: SearchNext }
# - { key: N, mods: Shift, mode: Vi|~Search, action: SearchPrevious }
# Search Mode
#- { key: Return, mode: Search|Vi, action: SearchConfirm }
#- { key: Escape, mode: Search, action: SearchCancel }
#- { key: C, mods: Control, mode: Search, action: SearchCancel }
#- { key: U, mods: Control, mode: Search, action: SearchClear }
#- { key: W, mods: Control, mode: Search, action: SearchDeleteWord }
#- { key: P, mods: Control, mode: Search, action: SearchHistoryPrevious }
#- { key: N, mods: Control, mode: Search, action: SearchHistoryNext }
#- { key: Up, mode: Search, action: SearchHistoryPrevious }
#- { key: Down, mode: Search, action: SearchHistoryNext }
#- { key: Return, mode: Search|~Vi, action: SearchFocusNext }
#- { key: Return, mods: Shift, mode: Search|~Vi, action: SearchFocusPrevious }
# (Windows, Linux, and BSD only)
- { key: V, mods: Control|Shift, mode: ~Vi, action: Paste }
- { key: C, mods: Control|Shift, action: Copy }
- { key: F, mods: Control|Shift, mode: ~Search, action: SearchForward }
- { key: B, mods: Control|Shift, mode: ~Search, action: SearchBackward }
#- { key: C, mods: Control|Shift, mode: Vi|~Search, action: ClearSelection }
#- { key: Insert, mods: Shift, action: PasteSelection }
- { key: Key0, mods: Control, action: ResetFontSize }
- { key: Equals, mods: Control, action: IncreaseFontSize }
# - { key: Plus, mods: Control, action: IncreaseFontSize }
- { key: NumpadAdd, mods: Control, action: IncreaseFontSize }
- { key: Minus, mods: Control, action: DecreaseFontSize }
- { key: NumpadSubtract, mods: Control, action: DecreaseFontSize }
- { key: Q, mods: Control|Shift, action: Quit }
# (Windows only)
- { key: F11, action: ToggleFullscreen }
# (macOS only)
#- { key: K, mods: Command, mode: ~Vi|~Search, chars: "\x0c" }
#- { key: K, mods: Command, mode: ~Vi|~Search, action: ClearHistory }
#- { key: Key0, mods: Command, action: ResetFontSize }
#- { key: Equals, mods: Command, action: IncreaseFontSize }
#- { key: Plus, mods: Command, action: IncreaseFontSize }
#- { key: NumpadAdd, mods: Command, action: IncreaseFontSize }
#- { key: Minus, mods: Command, action: DecreaseFontSize }
#- { key: NumpadSubtract, mods: Command, action: DecreaseFontSize }
#- { key: V, mods: Command, action: Paste }
#- { key: C, mods: Command, action: Copy }
#- { key: C, mods: Command, mode: Vi|~Search, action: ClearSelection }
#- { key: H, mods: Command, action: Hide }
#- { key: H, mods: Command|Alt, action: HideOtherApplications }
#- { key: M, mods: Command, action: Minimize }
#- { key: Q, mods: Command, action: Quit }
#- { key: W, mods: Command, action: Quit }
#- { key: N, mods: Command, action: SpawnNewInstance }
#- { key: F, mods: Command|Control, action: ToggleFullscreen }
#- { key: F, mods: Command, mode: ~Search, action: SearchForward }
#- { key: B, mods: Command, mode: ~Search, action: SearchBackward }
#debug:
# Display the time it takes to redraw each frame.
#render_timer: false
# Keep the log file after quitting Alacritty.
#persistent_logging: false
# Log level
#
# Values for `log_level`:
# - Off
# - Error
# - Warn
# - Info
# - Debug
# - Trace
#log_level: Warn
# Print all received window events.
#print_events: false

View File

@@ -0,0 +1,657 @@
-- If LuaRocks is installed, make sure that packages installed through it are
-- found (e.g. lgi). If LuaRocks is not installed, do nothing.
pcall(require, "luarocks.loader")
-- Awesome Wm Widgets
local cpu_widget = require("awesome-wm-widgets.cpu-widget.cpu-widget")
local brightness_widget = require("awesome-wm-widgets.brightness-widget.brightness")
local spotify_widget = require("awesome-wm-widgets.spotify-widget.spotify")
local volume_widget = require("awesome-wm-widgets.volume-widget.volume")
local net_speed_widget = require("awesome-wm-widgets.net-speed-widget.net-speed")
local ram_widget = require("awesome-wm-widgets.ram-widget.ram-widget")
local weather_widget = require("awesome-wm-widgets.weather-widget.weather")
local calendar_widget = require("awesome-wm-widgets.calendar-widget.calendar")
local logout_menu_widget = require("awesome-wm-widgets.logout-menu-widget.logout-menu")
-- Standard awesome library
local gears = require("gears")
local awful = require("awful")
require("awful.autofocus")
-- Widget and layout library
local wibox = require("wibox")
-- Theme handling library
local beautiful = require("beautiful")
-- Notification library
local naughty = require("naughty")
local menubar = require("menubar")
local hotkeys_popup = require("awful.hotkeys_popup")
-- Enable hotkeys help widget for VIM and other apps
-- when client with a matching name is opened:
require("awful.hotkeys_popup.keys")
-- {{{ Error handling
-- Check if awesome encountered an error during startup and fell back to
-- another config (This code will only ever execute for the fallback config)
if awesome.startup_errors then
naughty.notify({ preset = naughty.config.presets.critical,
title = "Oops, there were errors during startup!",
text = awesome.startup_errors })
end
-- Handle runtime errors after startup
do
local in_error = false
awesome.connect_signal("debug::error", function (err)
-- Make sure we don't go into an endless error loop
if in_error then return end
in_error = true
naughty.notify({ preset = naughty.config.presets.critical,
title = "Oops, an error happened!",
text = tostring(err) })
in_error = false
end)
end
-- }}}
-- {{{ Variable definitions
-- Themes define colours, icons, font and wallpapers.
-- beautiful.init(gears.filesystem.get_themes_dir() .. "default/theme.lua")
beautiful.init(gears.filesystem.get_configuration_dir() .. "mytheme.lua")
-- This is used later as the default terminal and editor to run.
terminal = "alacritty"
editor = os.getenv("EDITOR") or "nvim"
editor_cmd = terminal .. " -e " .. editor
-- Default modkey.
-- Usually, Mod4 is the key with a logo between Control and Alt.
-- If you do not like this or do not have such a key,
-- I suggest you to remap Mod4 to another key using xmodmap or other tools.
-- However, you can use another modifier like Mod1, but it may interact with others.
modkey = "Mod4"
-- Table of layouts to cover with awful.layout.inc, order matters.
awful.layout.layouts = {
awful.layout.suit.tile,
awful.layout.suit.spiral.dwindle,
awful.layout.suit.spiral,
--awful.layout.suit.floating,
--awful.layout.suit.tile.left,
--awful.layout.suit.tile.bottom,
--awful.layout.suit.tile.top,
awful.layout.suit.fair,
--awful.layout.suit.fair.horizontal,
--awful.layout.suit.max,
--awful.layout.suit.max.fullscreen,
--awful.layout.suit.magnifier,
--awful.layout.suit.corner.nw,
--awful.layout.suit.corner.ne,
--awful.layout.suit.corner.sw,
--awful.layout.suit.corner.se,
}
-- }}}
-- {{{ Menu
-- Create a launcher widget and a main menu
myawesomemenu = {
{ "hotkeys", function() hotkeys_popup.show_help(nil, awful.screen.focused()) end },
{ "manual", terminal .. " -e man awesome" },
{ "edit config", editor_cmd .. " " .. awesome.conffile },
{ "restart", awesome.restart },
{ "quit", function() awesome.quit() end },
}
mymainmenu = awful.menu({ items = { { "awesome", myawesomemenu, beautiful.awesome_icon },
{ "open terminal", terminal }
}
})
mylauncher = awful.widget.launcher({ image = beautiful.awesome_icon,
menu = mymainmenu })
-- Menubar configuration
menubar.utils.terminal = terminal -- Set the terminal for applications that require it
-- }}}
-- Keyboard map indicator and switcher
-- mykeyboardlayout = awful.widget.keyboardlayout()
-- {{{ Wibar
-- Create a textclock widget
mytextclock = wibox.widget.textclock()
local cw = calendar_widget({
theme = 'nord',
placement = "top_right",
previous_month_button = 4,
next_month_button = 5,
})
mytextclock:connect_signal("button::press",
function(_, _, _, button)
if button == 1 then cw.toggle() end
end)
-- Create a wibox for each screen and add it
local taglist_buttons = gears.table.join(
awful.button({ }, 1, function(t) t:view_only() end),
awful.button({ modkey }, 1, function(t)
if client.focus then
client.focus:move_to_tag(t)
end
end),
awful.button({ }, 3, awful.tag.viewtoggle),
awful.button({ modkey }, 3, function(t)
if client.focus then
client.focus:toggle_tag(t)
end
end),
awful.button({ }, 4, function(t) awful.tag.viewnext(t.screen) end),
awful.button({ }, 5, function(t) awful.tag.viewprev(t.screen) end)
)
local tasklist_buttons = gears.table.join(
awful.button({ }, 1, function (c)
if c == client.focus then
c.minimized = true
else
c:emit_signal(
"request::activate",
"tasklist",
{raise = true}
)
end
end),
awful.button({ }, 3, function()
awful.menu.client_list({ theme = { width = 250 } })
end),
awful.button({ }, 4, function ()
awful.client.focus.byidx(1)
end),
awful.button({ }, 5, function ()
awful.client.focus.byidx(-1)
end))
local function set_wallpaper(s)
-- Wallpaper
if beautiful.wallpaper then
local wallpaper = beautiful.wallpaper
-- If wallpaper is a function, call it with the screen
if type(wallpaper) == "function" then
wallpaper = wallpaper(s)
end
gears.wallpaper.maximized(wallpaper, s, true)
end
end
-- Re-set wallpaper when a screen's geometry changes (e.g. different resolution)
screen.connect_signal("property::geometry", set_wallpaper)
awful.screen.connect_for_each_screen(function(s)
-- Wallpaper
set_wallpaper(s)
-- Each screen has its own tag table.
awful.tag({ "1", "2", "3", "4", "5", "6", "7", "8", "9"}, s, awful.layout.layouts[1])
-- Create a promptbox for each screen
s.mypromptbox = awful.widget.prompt()
-- Create an imagebox widget which will contain an icon indicating which layout we're using.
-- We need one layoutbox per screen.
s.mylayoutbox = awful.widget.layoutbox(s)
s.mylayoutbox:buttons(gears.table.join(
awful.button({ }, 1, function () awful.layout.inc( 1) end),
awful.button({ }, 3, function () awful.layout.inc(-1) end),
awful.button({ }, 4, function () awful.layout.inc( 1) end),
awful.button({ }, 5, function () awful.layout.inc(-1) end)))
-- Create a taglist widget
s.mytaglist = awful.widget.taglist {
screen = s,
filter = awful.widget.taglist.filter.all,
buttons = taglist_buttons
}
-- Create a tasklist widget
s.mytasklist = awful.widget.tasklist {
screen = s,
filter = awful.widget.tasklist.filter.currenttags,
buttons = tasklist_buttons
}
-- Create the wibox
s.mywibox = awful.wibar({ position = "top", screen = s })
-- Add widgets to the wibox
s.mywibox:setup {
layout = wibox.layout.align.horizontal,
{ -- Left widgets
layout = wibox.layout.fixed.horizontal,
--mylauncher,
s.mytaglist,
s.mypromptbox,
},
s.mytasklist, -- Middle widget
{ -- Right widgets
layout = wibox.layout.fixed.horizontal,
wibox.widget.systray(),
cpu_widget(),
ram_widget(),
net_speed_widget(),
spotify_widget({
dim_when_paused = true,
dim_opacity = 0.5,
max_lenght = -1,
}),
weather_widget({
api_key = '3bc28ba1ee6eeaf28af31d9d948aecd1',
coordinates = {56.861415323546815, 24.386162623793343},
show_daily_forecast = true,
}),
--volume_widget{
--widget_type = 'arc',
--mixer_cmd = 'pulsemixer',
--},
logout_menu_widget(),
mytextclock,
s.mylayoutbox,
},
}
end)
-- }}}
-- {{{ Mouse bindings
root.buttons(gears.table.join(
awful.button({ }, 3, function () mymainmenu:toggle() end),
awful.button({ }, 4, awful.tag.viewnext),
awful.button({ }, 5, awful.tag.viewprev)
))
-- }}}
-- {{{ Key bindings
globalkeys = gears.table.join(
awful.key( {}, "Pause", function () awful.spawn.with_shell("omnipause toggle") end,
{description="pause/play", group="media controls"}),
awful.key( {}, "#117", function () awful.spawn.with_shell("omnipause next") end,
{description="play next", group="media controls"}),
awful.key( {}, "#112", function () awful.spawn.with_shell("omnipause previous") end,
{description="play previous", group="media controls"}),
--awful.key( {}, "#123", function () volume_widget:inc(5) end ), -- increase volume
--awful.key( {}, "#122", function () volume_widget:dec(5) end ), -- decrease volume
--awful.key( {}, "#121", function () volume_widget:toggle() end ), -- mute
awful.key( {}, "#123", function () awful.spawn.with_shell("pulsemixer --change-volume +5") end ), -- increase volume
awful.key( {}, "#122", function () awful.spawn.with_shell("pulsemixer --change-volume -5") end ), -- decrease volume
awful.key( {}, "#121", function () awful.spawn.with_shell("pulsemixer --toggle-mute") end ), -- mute
awful.key( {}, "#171", function () awful.spawn.with_shell("omnipause next") end ), -- play next
awful.key( {}, "#173", function () awful.spawn.with_shell("omnipause previous") end ), -- play previous
awful.key( {}, "#174", function () awful.spawn.with_shell("omnipause stop") end ), -- stop
awful.key( {}, "#172", function () awful.spawn.with_shell("omnipause toggle") end ), -- play/pause
awful.key( { "Control" }, "#107", function () awful.spawn.with_shell("flameshot gui") end,
{description="take region screenshot", group="launcher"}), -- take region screenshot
awful.key({ modkey, }, "s", hotkeys_popup.show_help,
{description="show help", group="awesome"}),
awful.key({ modkey, }, "Left", awful.tag.viewprev,
{description = "view previous", group = "tag"}),
awful.key({ modkey, }, "Right", awful.tag.viewnext,
{description = "view next", group = "tag"}),
awful.key({ modkey, }, "Escape", awful.tag.history.restore,
{description = "go back", group = "tag"}),
awful.key({ modkey, }, "j",
function ()
awful.client.focus.byidx( 1)
end,
{description = "focus next by index", group = "client"}
),
awful.key({ modkey, }, "k",
function ()
awful.client.focus.byidx(-1)
end,
{description = "focus previous by index", group = "client"}
),
awful.key({ modkey, }, "w", function () mymainmenu:show() end,
{description = "show main menu", group = "awesome"}),
-- Layout manipulation
awful.key({ modkey, "Shift" }, "j", function () awful.client.swap.byidx( 1) end,
{description = "swap with next client by index", group = "client"}),
awful.key({ modkey, "Shift" }, "k", function () awful.client.swap.byidx( -1) end,
{description = "swap with previous client by index", group = "client"}),
awful.key({ modkey, "Control" }, "j", function () awful.screen.focus_relative( 1) end,
{description = "focus the next screen", group = "screen"}),
awful.key({ modkey, "Control" }, "k", function () awful.screen.focus_relative(-1) end,
{description = "focus the previous screen", group = "screen"}),
awful.key({ modkey, }, "u", awful.client.urgent.jumpto,
{description = "jump to urgent client", group = "client"}),
awful.key({ modkey, }, "Tab",
function ()
awful.client.focus.history.previous()
if client.focus then
client.focus:raise()
end
end,
{description = "go back", group = "client"}),
-- Standard program
awful.key({ modkey, }, "Return", function () awful.spawn(terminal) end,
{description = "open a terminal", group = "launcher"}),
awful.key({ modkey, "Control" }, "r", awesome.restart,
{description = "reload awesome", group = "awesome"}),
-- awful.key({ modkey, "Control" }, "q", awesome.quit,
-- {description = "quit awesome", group = "awesome"}),
awful.key({ modkey, }, "v", function () awful.spawn("vivaldi-stable") end,
{description = "open vivaldi", group = "launcher"}),
awful.key({ modkey, }, "n", function () awful.spawn("spacefm") end,
{description = "open spacefm", group = "launcher"}),
awful.key({ modkey, }, "l", function () awful.tag.incmwfact( 0.05) end,
{description = "increase master width factor", group = "layout"}),
awful.key({ modkey, }, "h", function () awful.tag.incmwfact(-0.05) end,
{description = "decrease master width factor", group = "layout"}),
awful.key({ modkey, "Shift" }, "h", function () awful.tag.incnmaster( 1, nil, true) end,
{description = "increase the number of master clients", group = "layout"}),
awful.key({ modkey, "Shift" }, "l", function () awful.tag.incnmaster(-1, nil, true) end,
{description = "decrease the number of master clients", group = "layout"}),
awful.key({ modkey, "Control" }, "h", function () awful.tag.incncol( 1, nil, true) end,
{description = "increase the number of columns", group = "layout"}),
awful.key({ modkey, "Control" }, "l", function () awful.tag.incncol(-1, nil, true) end,
{description = "decrease the number of columns", group = "layout"}),
awful.key({ modkey, }, "space", function () awful.layout.inc( 1) end,
{description = "select next", group = "layout"}),
awful.key({ modkey, "Shift" }, "space", function () awful.layout.inc(-1) end,
{description = "select previous", group = "layout"}),
-- Prompt
awful.key({ modkey }, "r", function () awful.screen.focused().mypromptbox:run() end,
{description = "run prompt", group = "launcher"}),
awful.key({ modkey }, "x",
function ()
awful.prompt.run {
prompt = "Run Lua code: ",
textbox = awful.screen.focused().mypromptbox.widget,
exe_callback = awful.util.eval,
history_path = awful.util.get_cache_dir() .. "/history_eval"
}
end,
{description = "lua execute prompt", group = "awesome"}),
-- Menubar
awful.key({ modkey }, "p", function() menubar.show() end,
{description = "show the menubar", group = "launcher"})
)
clientkeys = gears.table.join(
awful.key({ modkey, }, "f",
function (c)
c.fullscreen = not c.fullscreen
c:raise()
end,
{description = "toggle fullscreen", group = "client"}),
awful.key({ modkey, "Shift" }, "q", function (c) c:kill() end,
{description = "close", group = "client"}),
awful.key({ modkey, "Control" }, "space", awful.client.floating.toggle ,
{description = "toggle floating", group = "client"}),
awful.key({ modkey, "Control" }, "Return", function (c) c:swap(awful.client.getmaster()) end,
{description = "move to master", group = "client"}),
awful.key({ modkey, }, "o", function (c) c:move_to_screen() end,
{description = "move to screen", group = "client"}),
awful.key({ modkey, }, "t", function (c) c.ontop = not c.ontop end,
{description = "toggle keep on top", group = "client"}),
awful.key({ modkey, }, "n",
function (c)
-- The client currently has the input focus, so it cannot be
-- minimized, since minimized clients can't have the focus.
c.minimized = true
end ,
{description = "minimize", group = "client"}),
awful.key({ modkey, }, "m",
function (c)
c.maximized = not c.maximized
c:raise()
end ,
{description = "(un)maximize", group = "client"}),
awful.key({ modkey, "Control" }, "m",
function (c)
c.maximized_vertical = not c.maximized_vertical
c:raise()
end ,
{description = "(un)maximize vertically", group = "client"}),
awful.key({ modkey, "Shift" }, "m",
function (c)
c.maximized_horizontal = not c.maximized_horizontal
c:raise()
end ,
{description = "(un)maximize horizontally", group = "client"})
)
-- Bind all key numbers to tags.
-- Be careful: we use keycodes to make it work on any keyboard layout.
-- This should map on the top row of your keyboard, usually 1 to 9.
for i = 1, 9 do
globalkeys = gears.table.join(globalkeys,
-- View tag only.
awful.key({ modkey }, "#" .. i + 9,
function ()
local screen = awful.screen.focused()
local tag = screen.tags[i]
if tag then
tag:view_only()
end
end,
{description = "view tag #"..i, group = "tag"}),
-- Toggle tag display.
awful.key({ modkey, "Control" }, "#" .. i + 9,
function ()
local screen = awful.screen.focused()
local tag = screen.tags[i]
if tag then
awful.tag.viewtoggle(tag)
end
end,
{description = "toggle tag #" .. i, group = "tag"}),
-- Move client to tag.
awful.key({ modkey, "Shift" }, "#" .. i + 9,
function ()
if client.focus then
local tag = client.focus.screen.tags[i]
if tag then
client.focus:move_to_tag(tag)
end
end
end,
{description = "move focused client to tag #"..i, group = "tag"}),
-- Toggle tag on focused client.
awful.key({ modkey, "Control", "Shift" }, "#" .. i + 9,
function ()
if client.focus then
local tag = client.focus.screen.tags[i]
if tag then
client.focus:toggle_tag(tag)
end
end
end,
{description = "toggle focused client on tag #" .. i, group = "tag"})
)
end
clientbuttons = gears.table.join(
awful.button({ }, 1, function (c)
c:emit_signal("request::activate", "mouse_click", {raise = true})
end),
awful.button({ modkey }, 1, function (c)
c:emit_signal("request::activate", "mouse_click", {raise = true})
awful.mouse.client.move(c)
end),
awful.button({ modkey }, 3, function (c)
c:emit_signal("request::activate", "mouse_click", {raise = true})
awful.mouse.client.resize(c)
end)
)
-- Set keys
root.keys(globalkeys)
-- }}}
-- {{{ Rules
-- Rules to apply to new clients (through the "manage" signal).
awful.rules.rules = {
-- All clients will match this rule.
{ rule = { },
properties = { border_width = beautiful.border_width,
border_color = beautiful.border_normal,
focus = awful.client.focus.filter,
raise = true,
keys = clientkeys,
-- buttons = clientbuttons,
screen = awful.screen.preferred,
--placement = awful.placement.no_overlap+awful.placement.no_offscreen
}
},
-- Floating clients.
{ rule_any = {
instance = {
"DTA", -- Firefox addon DownThemAll.
"copyq", -- Includes session name in class.
"pinentry",
},
class = {
"Arandr",
"Blueman-manager",
"Gpick",
"Kruler",
"MessageWin", -- kalarm.
"Sxiv",
"Tor Browser", -- Needs a fixed window size to avoid fingerprinting by screen size.
"Wpa_gui",
"veromix",
"xtightvncviewer"},
-- Note that the name property shown in xprop might be set slightly after creation of the client
-- and the name shown there might not match defined rules here.
name = {
"Event Tester", -- xev.
},
role = {
"AlarmWindow", -- Thunderbird's calendar.
"ConfigManager", -- Thunderbird's about:config.
"pop-up", -- e.g. Google Chrome's (detached) Developer Tools.
}
}, properties = { floating = true, beautiful.useless }},
-- Add titlebars to normal clients and dialogs
{ rule_any = {type = { "normal", "dialog" }
}, properties = { titlebars_enabled = false }
},
{
rule_any = {
class = { "discord", "telegram-desktop", "TelegramDesktop" }
}, properties = { screen = 2, tag = "8" }
},
{
rule_any = {
class = { "firefox" }
}, properties = { screen = 1, tag = "7" }
},
{
rule_any = {
class = { "spotify", "Spotify" },
name = { "Spotify" }
}, properties = { screen = 2, tag = "9" }
},
}
-- {{{ Signals
-- Signal function to execute when a new client appears.
client.connect_signal("manage", function (c)
-- Set the windows at the slave,
-- i.e. put it at the end of others instead of setting it master.
-- if not awesome.startup then awful.client.setslave(c) end
if awesome.startup
and not c.size_hints.user_position
and not c.size_hints.program_position then
-- Prevent clients from being unreachable after screen count changes.
awful.placement.no_offscreen(c)
end
end)
-- Add a titlebar if titlebars_enabled is set to true in the rules.
client.connect_signal("request::titlebars", function(c)
-- buttons for the titlebar
local buttons = gears.table.join(
awful.button({ }, 1, function()
c:emit_signal("request::activate", "titlebar", {raise = true})
awful.mouse.client.move(c)
end),
awful.button({ }, 3, function()
c:emit_signal("request::activate", "titlebar", {raise = true})
awful.mouse.client.resize(c)
end)
)
awful.titlebar(c) : setup {
{ -- Left
awful.titlebar.widget.iconwidget(c),
buttons = buttons,
layout = wibox.layout.fixed.horizontal
},
{ -- Middle
{ -- Title
align = "center",
widget = awful.titlebar.widget.titlewidget(c)
},
buttons = buttons,
layout = wibox.layout.flex.horizontal
},
{ -- Right
awful.titlebar.widget.floatingbutton (c),
awful.titlebar.widget.maximizedbutton(c),
awful.titlebar.widget.stickybutton (c),
awful.titlebar.widget.ontopbutton (c),
awful.titlebar.widget.closebutton (c),
layout = wibox.layout.fixed.horizontal()
},
layout = wibox.layout.align.horizontal
}
end)
-- Enable sloppy focus, so that focus follows mouse.
client.connect_signal("mouse::enter", function(c)
c:emit_signal("request::activate", "mouse_enter", {raise = false})
end)
client.connect_signal("focus", function(c) c.border_color = beautiful.border_focus end)
client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_normal end)
-- }}}
-- Autostart Applications
awful.spawn.with_shell("picom --experimental-backends")
--awful.spawn.with_shell("picom")
awful.spawn.with_shell("feh --bg-scale --no-fehbg ~/.config/wallpapper.png")
awful.spawn.with_shell("xinput --set-prop 'COOLERMASTER CM310' 'libinput Accel Speed' -.7")
--awful.spawn.with_shell("xrandr --output DP-0 --mode 1920x1080 --output HDMI-0 --mode 1920x1080 --right-of DP-0")
--awful.spawn.with_shell("xrandr --output DP-0 --mode 1920x1080 --output HDMI-0 --mode 1920x1080 --left-of DP-0")
awful.spawn.with_shell("dropbox")
awful.spawn.with_shell("telegram-desktop")
awful.spawn.with_shell("flameshot")
awful.spawn.with_shell("discord")
-- awful.spawn.with_shell("discord-development")
--awful.spawn.with_shell("xrandr --output HDMI-0 --off")
awful.spawn.with_shell("setxkbmap lv")

388
.config/awesome/json.lua Normal file
View File

@@ -0,0 +1,388 @@
--
-- json.lua
--
-- Copyright (c) 2020 rxi
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy of
-- this software and associated documentation files (the "Software"), to deal in
-- the Software without restriction, including without limitation the rights to
-- use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
-- of the Software, and to permit persons to whom the Software is furnished to do
-- so, subject to the following conditions:
--
-- The above copyright notice and this permission notice shall be included in all
-- copies or substantial portions of the Software.
--
-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-- SOFTWARE.
--
local json = { _version = "0.1.2" }
-------------------------------------------------------------------------------
-- Encode
-------------------------------------------------------------------------------
local encode
local escape_char_map = {
[ "\\" ] = "\\",
[ "\"" ] = "\"",
[ "\b" ] = "b",
[ "\f" ] = "f",
[ "\n" ] = "n",
[ "\r" ] = "r",
[ "\t" ] = "t",
}
local escape_char_map_inv = { [ "/" ] = "/" }
for k, v in pairs(escape_char_map) do
escape_char_map_inv[v] = k
end
local function escape_char(c)
return "\\" .. (escape_char_map[c] or string.format("u%04x", c:byte()))
end
local function encode_nil(val)
return "null"
end
local function encode_table(val, stack)
local res = {}
stack = stack or {}
-- Circular reference?
if stack[val] then error("circular reference") end
stack[val] = true
if rawget(val, 1) ~= nil or next(val) == nil then
-- Treat as array -- check keys are valid and it is not sparse
local n = 0
for k in pairs(val) do
if type(k) ~= "number" then
error("invalid table: mixed or invalid key types")
end
n = n + 1
end
if n ~= #val then
error("invalid table: sparse array")
end
-- Encode
for i, v in ipairs(val) do
table.insert(res, encode(v, stack))
end
stack[val] = nil
return "[" .. table.concat(res, ",") .. "]"
else
-- Treat as an object
for k, v in pairs(val) do
if type(k) ~= "string" then
error("invalid table: mixed or invalid key types")
end
table.insert(res, encode(k, stack) .. ":" .. encode(v, stack))
end
stack[val] = nil
return "{" .. table.concat(res, ",") .. "}"
end
end
local function encode_string(val)
return '"' .. val:gsub('[%z\1-\31\\"]', escape_char) .. '"'
end
local function encode_number(val)
-- Check for NaN, -inf and inf
if val ~= val or val <= -math.huge or val >= math.huge then
error("unexpected number value '" .. tostring(val) .. "'")
end
return string.format("%.14g", val)
end
local type_func_map = {
[ "nil" ] = encode_nil,
[ "table" ] = encode_table,
[ "string" ] = encode_string,
[ "number" ] = encode_number,
[ "boolean" ] = tostring,
}
encode = function(val, stack)
local t = type(val)
local f = type_func_map[t]
if f then
return f(val, stack)
end
error("unexpected type '" .. t .. "'")
end
function json.encode(val)
return ( encode(val) )
end
-------------------------------------------------------------------------------
-- Decode
-------------------------------------------------------------------------------
local parse
local function create_set(...)
local res = {}
for i = 1, select("#", ...) do
res[ select(i, ...) ] = true
end
return res
end
local space_chars = create_set(" ", "\t", "\r", "\n")
local delim_chars = create_set(" ", "\t", "\r", "\n", "]", "}", ",")
local escape_chars = create_set("\\", "/", '"', "b", "f", "n", "r", "t", "u")
local literals = create_set("true", "false", "null")
local literal_map = {
[ "true" ] = true,
[ "false" ] = false,
[ "null" ] = nil,
}
local function next_char(str, idx, set, negate)
for i = idx, #str do
if set[str:sub(i, i)] ~= negate then
return i
end
end
return #str + 1
end
local function decode_error(str, idx, msg)
local line_count = 1
local col_count = 1
for i = 1, idx - 1 do
col_count = col_count + 1
if str:sub(i, i) == "\n" then
line_count = line_count + 1
col_count = 1
end
end
error( string.format("%s at line %d col %d", msg, line_count, col_count) )
end
local function codepoint_to_utf8(n)
-- http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=iws-appendixa
local f = math.floor
if n <= 0x7f then
return string.char(n)
elseif n <= 0x7ff then
return string.char(f(n / 64) + 192, n % 64 + 128)
elseif n <= 0xffff then
return string.char(f(n / 4096) + 224, f(n % 4096 / 64) + 128, n % 64 + 128)
elseif n <= 0x10ffff then
return string.char(f(n / 262144) + 240, f(n % 262144 / 4096) + 128,
f(n % 4096 / 64) + 128, n % 64 + 128)
end
error( string.format("invalid unicode codepoint '%x'", n) )
end
local function parse_unicode_escape(s)
local n1 = tonumber( s:sub(1, 4), 16 )
local n2 = tonumber( s:sub(7, 10), 16 )
-- Surrogate pair?
if n2 then
return codepoint_to_utf8((n1 - 0xd800) * 0x400 + (n2 - 0xdc00) + 0x10000)
else
return codepoint_to_utf8(n1)
end
end
local function parse_string(str, i)
local res = ""
local j = i + 1
local k = j
while j <= #str do
local x = str:byte(j)
if x < 32 then
decode_error(str, j, "control character in string")
elseif x == 92 then -- `\`: Escape
res = res .. str:sub(k, j - 1)
j = j + 1
local c = str:sub(j, j)
if c == "u" then
local hex = str:match("^[dD][89aAbB]%x%x\\u%x%x%x%x", j + 1)
or str:match("^%x%x%x%x", j + 1)
or decode_error(str, j - 1, "invalid unicode escape in string")
res = res .. parse_unicode_escape(hex)
j = j + #hex
else
if not escape_chars[c] then
decode_error(str, j - 1, "invalid escape char '" .. c .. "' in string")
end
res = res .. escape_char_map_inv[c]
end
k = j + 1
elseif x == 34 then -- `"`: End of string
res = res .. str:sub(k, j - 1)
return res, j + 1
end
j = j + 1
end
decode_error(str, i, "expected closing quote for string")
end
local function parse_number(str, i)
local x = next_char(str, i, delim_chars)
local s = str:sub(i, x - 1)
local n = tonumber(s)
if not n then
decode_error(str, i, "invalid number '" .. s .. "'")
end
return n, x
end
local function parse_literal(str, i)
local x = next_char(str, i, delim_chars)
local word = str:sub(i, x - 1)
if not literals[word] then
decode_error(str, i, "invalid literal '" .. word .. "'")
end
return literal_map[word], x
end
local function parse_array(str, i)
local res = {}
local n = 1
i = i + 1
while 1 do
local x
i = next_char(str, i, space_chars, true)
-- Empty / end of array?
if str:sub(i, i) == "]" then
i = i + 1
break
end
-- Read token
x, i = parse(str, i)
res[n] = x
n = n + 1
-- Next token
i = next_char(str, i, space_chars, true)
local chr = str:sub(i, i)
i = i + 1
if chr == "]" then break end
if chr ~= "," then decode_error(str, i, "expected ']' or ','") end
end
return res, i
end
local function parse_object(str, i)
local res = {}
i = i + 1
while 1 do
local key, val
i = next_char(str, i, space_chars, true)
-- Empty / end of object?
if str:sub(i, i) == "}" then
i = i + 1
break
end
-- Read key
if str:sub(i, i) ~= '"' then
decode_error(str, i, "expected string for key")
end
key, i = parse(str, i)
-- Read ':' delimiter
i = next_char(str, i, space_chars, true)
if str:sub(i, i) ~= ":" then
decode_error(str, i, "expected ':' after key")
end
i = next_char(str, i + 1, space_chars, true)
-- Read value
val, i = parse(str, i)
-- Set
res[key] = val
-- Next token
i = next_char(str, i, space_chars, true)
local chr = str:sub(i, i)
i = i + 1
if chr == "}" then break end
if chr ~= "," then decode_error(str, i, "expected '}' or ','") end
end
return res, i
end
local char_func_map = {
[ '"' ] = parse_string,
[ "0" ] = parse_number,
[ "1" ] = parse_number,
[ "2" ] = parse_number,
[ "3" ] = parse_number,
[ "4" ] = parse_number,
[ "5" ] = parse_number,
[ "6" ] = parse_number,
[ "7" ] = parse_number,
[ "8" ] = parse_number,
[ "9" ] = parse_number,
[ "-" ] = parse_number,
[ "t" ] = parse_literal,
[ "f" ] = parse_literal,
[ "n" ] = parse_literal,
[ "[" ] = parse_array,
[ "{" ] = parse_object,
}
parse = function(str, idx)
local chr = str:sub(idx, idx)
local f = char_func_map[chr]
if f then
return f(str, idx)
end
decode_error(str, idx, "unexpected character '" .. chr .. "'")
end
function json.decode(str)
if type(str) ~= "string" then
error("expected argument of type string, got " .. type(str))
end
local res, idx = parse(str, next_char(str, 1, space_chars, true))
idx = next_char(str, idx, space_chars, true)
if idx <= #str then
decode_error(str, idx, "trailing garbage")
end
return res
end
return json

132
.config/awesome/mytheme.lua Normal file
View File

@@ -0,0 +1,132 @@
---------------------------
-- Default awesome theme --
---------------------------
local theme_assets = require("beautiful.theme_assets")
local xresources = require("beautiful.xresources")
local dpi = xresources.apply_dpi
local gfs = require("gears.filesystem")
local themes_path = gfs.get_themes_dir()
local theme = {}
theme.font = "JetBrainsMono NF 8"
theme.bg_normal = "#222222"
theme.bg_focus = "#333333"
theme.bg_urgent = "#ff0000"
theme.bg_minimize = "#444444"
theme.bg_systray = theme.bg_normal
theme.fg_normal = "#aaaaaa"
theme.fg_focus = "#ffffff"
theme.fg_urgent = "#ffffff"
theme.fg_minimize = "#ffffff"
theme.useless_gap = dpi(4)
theme.border_width = dpi(2)
theme.border_normal = "#000000"
theme.border_focus = "#f2f2f2"
theme.border_marked = "#91231c"
-- There are other variable sets
-- overriding the default one when
-- defined, the sets are:
-- taglist_[bg|fg]_[focus|urgent|occupied|empty|volatile]
-- tasklist_[bg|fg]_[focus|urgent]
-- titlebar_[bg|fg]_[normal|focus]
-- tooltip_[font|opacity|fg_color|bg_color|border_width|border_color]
-- mouse_finder_[color|timeout|animate_timeout|radius|factor]
-- prompt_[fg|bg|fg_cursor|bg_cursor|font]
-- hotkeys_[bg|fg|border_width|border_color|shape|opacity|modifiers_fg|label_bg|label_fg|group_margin|font|description_font]
--theme.taglist_bg_focus = "#ff0000"
-- Generate taglist squares:
local taglist_square_size = dpi(4)
theme.taglist_squares_sel = theme_assets.taglist_squares_sel(
taglist_square_size, theme.fg_normal
)
theme.taglist_squares_unsel = theme_assets.taglist_squares_unsel(
taglist_square_size, theme.fg_normal
)
-- Variables set for theming notifications:
-- notification_font
-- notification_[bg|fg]
-- notification_[width|height|margin]
-- notification_[border_color|border_width|shape|opacity]
-- Variables set for theming the menu:
-- menu_[bg|fg]_[normal|focus]
-- menu_[border_color|border_width]
theme.menu_submenu_icon = themes_path.."default/submenu.png"
theme.menu_height = dpi(16)
theme.menu_width = dpi(100)
-- You can add as many variables as
-- you wish and access them by using
-- beautiful.variable in your rc.lua
--theme.bg_widget = "#cc0000"
-- Define the image to load
theme.titlebar_close_button_normal = themes_path.."default/titlebar/close_normal.png"
theme.titlebar_close_button_focus = themes_path.."default/titlebar/close_focus.png"
theme.titlebar_minimize_button_normal = themes_path.."default/titlebar/minimize_normal.png"
theme.titlebar_minimize_button_focus = themes_path.."default/titlebar/minimize_focus.png"
theme.titlebar_ontop_button_normal_inactive = themes_path.."default/titlebar/ontop_normal_inactive.png"
theme.titlebar_ontop_button_focus_inactive = themes_path.."default/titlebar/ontop_focus_inactive.png"
theme.titlebar_ontop_button_normal_active = themes_path.."default/titlebar/ontop_normal_active.png"
theme.titlebar_ontop_button_focus_active = themes_path.."default/titlebar/ontop_focus_active.png"
theme.titlebar_sticky_button_normal_inactive = themes_path.."default/titlebar/sticky_normal_inactive.png"
theme.titlebar_sticky_button_focus_inactive = themes_path.."default/titlebar/sticky_focus_inactive.png"
theme.titlebar_sticky_button_normal_active = themes_path.."default/titlebar/sticky_normal_active.png"
theme.titlebar_sticky_button_focus_active = themes_path.."default/titlebar/sticky_focus_active.png"
theme.titlebar_floating_button_normal_inactive = themes_path.."default/titlebar/floating_normal_inactive.png"
theme.titlebar_floating_button_focus_inactive = themes_path.."default/titlebar/floating_focus_inactive.png"
theme.titlebar_floating_button_normal_active = themes_path.."default/titlebar/floating_normal_active.png"
theme.titlebar_floating_button_focus_active = themes_path.."default/titlebar/floating_focus_active.png"
theme.titlebar_maximized_button_normal_inactive = themes_path.."default/titlebar/maximized_normal_inactive.png"
theme.titlebar_maximized_button_focus_inactive = themes_path.."default/titlebar/maximized_focus_inactive.png"
theme.titlebar_maximized_button_normal_active = themes_path.."default/titlebar/maximized_normal_active.png"
theme.titlebar_maximized_button_focus_active = themes_path.."default/titlebar/maximized_focus_active.png"
theme.wallpaper = themes_path.."~/.config/wallpaper.png"
-- You can use your own layout icons like this:
theme.layout_fairh = themes_path.."default/layouts/fairhw.png"
theme.layout_fairv = themes_path.."default/layouts/fairvw.png"
theme.layout_floating = themes_path.."default/layouts/floatingw.png"
theme.layout_magnifier = themes_path.."default/layouts/magnifierw.png"
theme.layout_max = themes_path.."default/layouts/maxw.png"
theme.layout_fullscreen = themes_path.."default/layouts/fullscreenw.png"
theme.layout_tilebottom = themes_path.."default/layouts/tilebottomw.png"
theme.layout_tileleft = themes_path.."default/layouts/tileleftw.png"
theme.layout_tile = themes_path.."default/layouts/tilew.png"
theme.layout_tiletop = themes_path.."default/layouts/tiletopw.png"
theme.layout_spiral = themes_path.."default/layouts/spiralw.png"
theme.layout_dwindle = themes_path.."default/layouts/dwindlew.png"
theme.layout_cornernw = themes_path.."default/layouts/cornernww.png"
theme.layout_cornerne = themes_path.."default/layouts/cornernew.png"
theme.layout_cornersw = themes_path.."default/layouts/cornersww.png"
theme.layout_cornerse = themes_path.."default/layouts/cornersew.png"
-- Generate Awesome icon:
theme.awesome_icon = theme_assets.awesome_icon(
theme.menu_height, theme.bg_focus, theme.fg_focus
)
-- Define the icon theme for application icons. If not set then the icons
-- from /usr/share/icons and /usr/share/icons/hicolor will be used.
theme.icon_theme = nil
return theme
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80

637
.config/awesome/rc.lua Normal file
View File

@@ -0,0 +1,637 @@
-- If LuaRocks is installed, make sure that packages installed through it are
-- found (e.g. lgi). If LuaRocks is not installed, do nothing.
pcall(require, "luarocks.loader")
-- Awesome Wm Widgets
local batteryarc_widget = require("awesome-wm-widgets.batteryarc-widget.batteryarc")
local cpu_widget = require("awesome-wm-widgets.cpu-widget.cpu-widget")
local brightness_widget = require("awesome-wm-widgets.brightness-widget.brightness")
local spotify_widget = require("awesome-wm-widgets.spotify-widget.spotify")
local volume_widget = require('awesome-wm-widgets.volume-widget.volume')
local calendar_widget = require('awesome-wm-widgets.calendar-widget.calendar')
local logout_menu_widget = require('awesome-wm-widgets.logout-menu-widget.logout-menu')
local net_speed_widget = require('awesome-wm-widgets.net-speed-widget.net-speed')
local ram_widget = require('awesome-wm-widgets.ram-widget.ram-widget')
local weather_widget = require("awesome-wm-widgets.weather-widget.weather")
-- Standard awesome library
local gears = require("gears")
local awful = require("awful")
require("awful.autofocus")
-- Widget and layout library
local wibox = require("wibox")
-- Theme handling library
local beautiful = require("beautiful")
-- Notification library
local naughty = require("naughty")
local menubar = require("menubar")
local hotkeys_popup = require("awful.hotkeys_popup")
-- Enable hotkeys help widget for VIM and other apps
-- when client with a matching name is opened:
require("awful.hotkeys_popup.keys")
-- {{{ Error handling
-- Check if awesome encountered an error during startup and fell back to
-- another config (This code will only ever execute for the fallback config)
if awesome.startup_errors then
naughty.notify({ preset = naughty.config.presets.critical,
title = "Oops, there were errors during startup!",
text = awesome.startup_errors })
end
-- Handle runtime errors after startup
do
local in_error = false
awesome.connect_signal("debug::error", function (err)
-- Make sure we don't go into an endless error loop
if in_error then return end
in_error = true
naughty.notify({ preset = naughty.config.presets.critical,
title = "Oops, an error happened!",
text = tostring(err) })
in_error = false
end)
end
-- }}}
-- {{{ Variable definitions
-- Themes define colours, icons, font and wallpapers.
-- beautiful.init(gears.filesystem.get_themes_dir() .. "default/theme.lua")
beautiful.init(gears.filesystem.get_configuration_dir() .. "mytheme.lua")
-- This is used later as the default terminal and editor to run.
terminal = "alacritty"
editor = os.getenv("EDITOR") or "nvim"
editor_cmd = terminal .. " -e " .. editor
-- Default modkey.
-- Usually, Mod4 is the key with a logo between Control and Alt.
-- If you do not like this or do not have such a key,
-- I suggest you to remap Mod4 to another key using xmodmap or other tools.
-- However, you can use another modifier like Mod1, but it may interact with others.
modkey = "Mod4"
-- Table of layouts to cover with awful.layout.inc, order matters.
awful.layout.layouts = {
awful.layout.suit.tile,
awful.layout.suit.spiral.dwindle,
awful.layout.suit.spiral,
--awful.layout.suit.floating,
--awful.layout.suit.tile.left,
--awful.layout.suit.tile.bottom,
--awful.layout.suit.tile.top,
awful.layout.suit.fair,
--awful.layout.suit.fair.horizontal,
--awful.layout.suit.max,
--awful.layout.suit.max.fullscreen,
--awful.layout.suit.magnifier,
--awful.layout.suit.corner.nw,
--awful.layout.suit.corner.ne,
--awful.layout.suit.corner.sw,
--awful.layout.suit.corner.se,
}
-- }}}
-- {{{ Menu
-- Create a launcher widget and a main menu
myawesomemenu = {
{ "hotkeys", function() hotkeys_popup.show_help(nil, awful.screen.focused()) end },
{ "manual", terminal .. " -e man awesome" },
{ "edit config", editor_cmd .. " " .. awesome.conffile },
{ "restart", awesome.restart },
{ "quit", function() awesome.quit() end },
}
mymainmenu = awful.menu({ items = { { "awesome", myawesomemenu, beautiful.awesome_icon },
{ "open terminal", terminal }
}
})
mylauncher = awful.widget.launcher({ image = beautiful.awesome_icon,
menu = mymainmenu })
-- Menubar configuration
menubar.utils.terminal = terminal -- Set the terminal for applications that require it
-- }}}
-- Keyboard map indicator and switcher
-- mykeyboardlayout = awful.widget.keyboardlayout()
-- {{{ Wibar
-- Create a textclock widget
mytextclock = wibox.widget.textclock()
local cw = calendar_widget({
theme = 'nord',
placement = "top_right",
previous_month_button = 4,
next_month_button = 5,
})
mytextclock:connect_signal("button::press",
function(_, _, _, button)
if button == 1 then cw.toggle() end
end)
-- Create a wibox for each screen and add it
local taglist_buttons = gears.table.join(
awful.button({ }, 1, function(t) t:view_only() end),
awful.button({ modkey }, 1, function(t)
if client.focus then
client.focus:move_to_tag(t)
end
end),
awful.button({ }, 3, awful.tag.viewtoggle),
awful.button({ modkey }, 3, function(t)
if client.focus then
client.focus:toggle_tag(t)
end
end),
awful.button({ }, 4, function(t) awful.tag.viewnext(t.screen) end),
awful.button({ }, 5, function(t) awful.tag.viewprev(t.screen) end)
)
local tasklist_buttons = gears.table.join(
awful.button({ }, 1, function (c)
if c == client.focus then
c.minimized = true
else
c:emit_signal(
"request::activate",
"tasklist",
{raise = true}
)
end
end),
awful.button({ }, 3, function()
awful.menu.client_list({ theme = { width = 250 } })
end),
awful.button({ }, 4, function ()
awful.client.focus.byidx(1)
end),
awful.button({ }, 5, function ()
awful.client.focus.byidx(-1)
end))
local function set_wallpaper(s)
-- Wallpaper
if beautiful.wallpaper then
local wallpaper = beautiful.wallpaper
-- If wallpaper is a function, call it with the screen
if type(wallpaper) == "function" then
wallpaper = wallpaper(s)
end
gears.wallpaper.maximized(wallpaper, s, true)
end
end
-- Re-set wallpaper when a screen's geometry changes (e.g. different resolution)
screen.connect_signal("property::geometry", set_wallpaper)
awful.screen.connect_for_each_screen(function(s)
-- Wallpaper
set_wallpaper(s)
-- Each screen has its own tag table.
awful.tag({ "1", "2", "3", "4", "5", "6", "7", "8", "9" }, s, awful.layout.layouts[1])
-- Create a promptbox for each screen
s.mypromptbox = awful.widget.prompt()
-- Create an imagebox widget which will contain an icon indicating which layout we're using.
-- We need one layoutbox per screen.
s.mylayoutbox = awful.widget.layoutbox(s)
s.mylayoutbox:buttons(gears.table.join(
awful.button({ }, 1, function () awful.layout.inc( 1) end),
awful.button({ }, 3, function () awful.layout.inc(-1) end),
awful.button({ }, 4, function () awful.layout.inc( 1) end),
awful.button({ }, 5, function () awful.layout.inc(-1) end)))
-- Create a taglist widget
s.mytaglist = awful.widget.taglist {
screen = s,
filter = awful.widget.taglist.filter.all,
buttons = taglist_buttons
}
-- Create a tasklist widget
s.mytasklist = awful.widget.tasklist {
screen = s,
filter = awful.widget.tasklist.filter.currenttags,
buttons = tasklist_buttons
}
-- Create the wibox
s.mywibox = awful.wibar({ position = "top", screen = s })
-- Add widgets to the wibox
s.mywibox:setup {
layout = wibox.layout.align.horizontal,
{ -- Left widgets
layout = wibox.layout.fixed.horizontal,
--mylauncher,
s.mytaglist,
s.mypromptbox,
},
s.mytasklist, -- Middle widget
{ -- Right widgets
layout = wibox.layout.fixed.horizontal,
wibox.widget.systray(),
cpu_widget(),
ram_widget(),
net_speed_widget(),
spotify_widget({
dim_when_paused = true,
dim_opacity = 0.5,
max_lenght = -1,
}),
batteryarc_widget({
show_current_level = true,
size = 32,
}),
brightness_widget{
program = 'brightnessctl',
step = 5,
base = 60,
tooltip = true,
},
weather_widget({
api_key = '3bc28ba1ee6eeaf28af31d9d948aecd1',
coordinates = {56.86140361300421, 24.386173343039193},
show_hourly_forecst = true,
show_daily_forecast = true,
}),
logout_menu_widget(),
mytextclock,
s.mylayoutbox,
},
}
end)
-- }}}
-- {{{ Mouse bindings
root.buttons(gears.table.join(
awful.button({ }, 3, function () mymainmenu:toggle() end),
awful.button({ }, 4, awful.tag.viewnext),
awful.button({ }, 5, awful.tag.viewprev)
))
-- }}}
-- {{{ Key bindings
globalkeys = gears.table.join(
awful.key( {}, "#233", function() brightness_widget:inc() end ), -- increase brightness
awful.key( {}, "#232", function() brightness_widget:dec() end ), -- decrease brightness
awful.key( {}, "#123", function () awful.spawn.with_shell("pulsemixer --change-volume +5") end ), -- increase volume
awful.key( {}, "#122", function () awful.spawn.with_shell("pulsemixer --change-volume -5") end ), -- decrease volume
awful.key( {}, "#121", function () awful.spawn.with_shell("pulsemixer --toggle-mute") end ), -- mute
awful.key( {}, "#172", function () awful.spawn.with_shell("omnipause toggle") end ), -- play/pause
awful.key( { "Control" }, "#107", function () awful.spawn.with_shell("flameshot gui") end,
{description="take region screenshot", group="launcher"}), -- take region screenshot
awful.key({ modkey, }, "s", hotkeys_popup.show_help,
{description="show help", group="awesome"}),
awful.key({ modkey, }, "Left", awful.tag.viewprev,
{description = "view previous", group = "tag"}),
awful.key({ modkey, }, "Right", awful.tag.viewnext,
{description = "view next", group = "tag"}),
awful.key({ modkey, }, "Escape", awful.tag.history.restore,
{description = "go back", group = "tag"}),
awful.key({ modkey, }, "j", function () awful.client.focus.byidx(1) end,
{description = "focus next by index", group = "client"}
),
awful.key({ modkey, }, "k", function () awful.client.focus.byidx(-1) end,
{description = "focus previous by index", group = "client"}
),
awful.key({ modkey, }, "w", function () mymainmenu:show() end,
{description = "show main menu", group = "awesome"}),
-- Layout manipulation
awful.key({ modkey, "Shift" }, "j", function () awful.client.swap.byidx( 1) end,
{description = "swap with next client by index", group = "client"}),
awful.key({ modkey, "Shift" }, "k", function () awful.client.swap.byidx( -1) end,
{description = "swap with previous client by index", group = "client"}),
awful.key({ modkey, "Control" }, "j", function () awful.screen.focus_relative( 1) end,
{description = "focus the next screen", group = "screen"}),
awful.key({ modkey, "Control" }, "k", function () awful.screen.focus_relative(-1) end,
{description = "focus the previous screen", group = "screen"}),
awful.key({ modkey, }, "u", awful.client.urgent.jumpto,
{description = "jump to urgent client", group = "client"}),
awful.key({ modkey, }, "Tab", function () awful.client.focus.history.previous()
if client.focus then
client.focus:raise()
end end,
{description = "go back", group = "client"}),
-- Standard program
awful.key({ modkey, }, "Return", function () awful.spawn(terminal) end,
{description = "open a terminal", group = "launcher"}),
awful.key({ modkey, "Control" }, "r", awesome.restart,
{description = "reload awesome", group = "awesome"}),
-- awful.key({ modkey, "Control" }, "q", awesome.quit,
-- {description = "quit awesome", group = "awesome"}),
awful.key({ modkey, }, "v", function () awful.spawn("vivaldi-stable") end,
{description = "open vivaldi", group = "launcher"}),
awful.key({ modkey, }, "n", function () awful.spawn("spacefm") end,
{description = "open spacefm", group = "launcher"}),
awful.key({ modkey, }, "l", function () awful.tag.incmwfact( 0.05) end,
{description = "increase master width factor", group = "layout"}),
awful.key({ modkey, }, "h", function () awful.tag.incmwfact(-0.05) end,
{description = "decrease master width factor", group = "layout"}),
awful.key({ modkey, "Shift" }, "h", function () awful.tag.incnmaster( 1, nil, true) end,
{description = "increase the number of master clients", group = "layout"}),
awful.key({ modkey, "Shift" }, "l", function () awful.tag.incnmaster(-1, nil, true) end,
{description = "decrease the number of master clients", group = "layout"}),
awful.key({ modkey, "Control" }, "h", function () awful.tag.incncol( 1, nil, true) end,
{description = "increase the number of columns", group = "layout"}),
awful.key({ modkey, "Control" }, "l", function () awful.tag.incncol(-1, nil, true) end,
{description = "decrease the number of columns", group = "layout"}),
awful.key({ modkey, }, "space", function () awful.layout.inc( 1) end,
{description = "select next", group = "layout"}),
awful.key({ modkey, "Shift" }, "space", function () awful.layout.inc(-1) end,
{description = "select previous", group = "layout"}),
-- awful.key({ modkey, "Control" }, "n",
-- function ()
-- local c = awful.client.restore()
-- -- Focus restored client
-- if c then
-- c:emit_signal(
-- "request::activate", "key.unminimize", {raise = true}
-- )
-- end
-- end,
-- {description = "restore minimized", group = "client"}),
-- Prompt
awful.key({ modkey }, "r", function () awful.screen.focused().mypromptbox:run() end,
{description = "run prompt", group = "launcher"}),
awful.key({ modkey }, "x",
function ()
awful.prompt.run {
prompt = "Run Lua code: ",
textbox = awful.screen.focused().mypromptbox.widget,
exe_callback = awful.util.eval,
history_path = awful.util.get_cache_dir() .. "/history_eval"
}
end,
{description = "lua execute prompt", group = "awesome"}),
-- Menubar
awful.key({ modkey }, "p", function() menubar.show() end,
{description = "show the menubar", group = "launcher"})
)
clientkeys = gears.table.join(
awful.key({ modkey, }, "f",
function (c)
c.fullscreen = not c.fullscreen
c:raise()
end,
{description = "toggle fullscreen", group = "client"}),
awful.key({ modkey, "Shift" }, "q", function (c) c:kill() end,
{description = "close", group = "client"}),
awful.key({ modkey, "Control" }, "space", awful.client.floating.toggle ,
{description = "toggle floating", group = "client"}),
awful.key({ modkey, "Control" }, "Return", function (c) c:swap(awful.client.getmaster()) end,
{description = "move to master", group = "client"}),
awful.key({ modkey, }, "o", function (c) c:move_to_screen() end,
{description = "move to screen", group = "client"}),
awful.key({ modkey, }, "t", function (c) c.ontop = not c.ontop end,
{description = "toggle keep on top", group = "client"}),
awful.key({ modkey, }, "n",
function (c)
-- The client currently has the input focus, so it cannot be
-- minimized, since minimized clients can't have the focus.
c.minimized = true
end ,
{description = "minimize", group = "client"}),
awful.key({ modkey, }, "m",
function (c)
c.maximized = not c.maximized
c:raise()
end ,
{description = "(un)maximize", group = "client"}),
awful.key({ modkey, "Control" }, "m",
function (c)
c.maximized_vertical = not c.maximized_vertical
c:raise()
end ,
{description = "(un)maximize vertically", group = "client"}),
awful.key({ modkey, "Shift" }, "m",
function (c)
c.maximized_horizontal = not c.maximized_horizontal
c:raise()
end ,
{description = "(un)maximize horizontally", group = "client"})
)
-- Bind all key numbers to tags.
-- Be careful: we use keycodes to make it work on any keyboard layout.
-- This should map on the top row of your keyboard, usually 1 to 9.
for i = 1, 9 do
globalkeys = gears.table.join(globalkeys,
-- View tag only.
awful.key({ modkey }, "#" .. i + 9,
function ()
local screen = awful.screen.focused()
local tag = screen.tags[i]
if tag then
tag:view_only()
end
end,
{description = "view tag #"..i, group = "tag"}),
-- Toggle tag display.
awful.key({ modkey, "Control" }, "#" .. i + 9,
function ()
local screen = awful.screen.focused()
local tag = screen.tags[i]
if tag then
awful.tag.viewtoggle(tag)
end
end,
{description = "toggle tag #" .. i, group = "tag"}),
-- Move client to tag.
awful.key({ modkey, "Shift" }, "#" .. i + 9,
function ()
if client.focus then
local tag = client.focus.screen.tags[i]
if tag then
client.focus:move_to_tag(tag)
end
end
end,
{description = "move focused client to tag #"..i, group = "tag"}),
-- Toggle tag on focused client.
awful.key({ modkey, "Control", "Shift" }, "#" .. i + 9,
function ()
if client.focus then
local tag = client.focus.screen.tags[i]
if tag then
client.focus:toggle_tag(tag)
end
end
end,
{description = "toggle focused client on tag #" .. i, group = "tag"})
)
end
clientbuttons = gears.table.join(
awful.button({ }, 1, function (c)
c:emit_signal("request::activate", "mouse_click", {raise = true})
end),
awful.button({ modkey }, 1, function (c)
c:emit_signal("request::activate", "mouse_click", {raise = true})
awful.mouse.client.move(c)
end),
awful.button({ modkey }, 3, function (c)
c:emit_signal("request::activate", "mouse_click", {raise = true})
awful.mouse.client.resize(c)
end)
)
-- Set keys
root.keys(globalkeys)
-- }}}
-- {{{ Rules
-- Rules to apply to new clients (through the "manage" signal).
awful.rules.rules = {
-- All clients will match this rule.
{ rule = { },
properties = { border_width = beautiful.border_width,
border_color = beautiful.border_normal,
focus = awful.client.focus.filter,
raise = true,
keys = clientkeys,
-- buttons = clientbuttons,
screen = awful.screen.preferred,
--placement = awful.placement.no_overlap+awful.placement.no_offscreen
}
},
-- Floating clients.
{ rule_any = {
instance = {
"DTA", -- Firefox addon DownThemAll.
"copyq", -- Includes session name in class.
"pinentry",
},
class = {
"Blueman-manager",
"MessageWin", -- kalarm.
"Tor Browser", -- Needs a fixed window size to avoid fingerprinting by screen size.
"Wpa_gui",
"veromix",
"xtightvncviewer"},
-- Note that the name property shown in xprop might be set slightly after creation of the client
-- and the name shown there might not match defined rules here.
name = {
"Event Tester", -- xev.
},
role = {
"AlarmWindow", -- Thunderbird's calendar.
"ConfigManager", -- Thunderbird's about:config.
"pop-up", -- e.g. Google Chrome's (detached) Developer Tools.
}
}, properties = { floating = true, beautiful.useless }},
-- Add titlebars to normal clients and dialogs
{ rule_any = {type = { "normal", "dialog" }
}, properties = { titlebars_enabled = false }
},
{
rule_any = {
class = { "Thunderbird", "discord", "telegram-desktop", "TelegramDesktop" }
}, properties = { screen = 1, tag = "8" }
},
-- Set Firefox to always map on the tag named "2" on screen 1.
-- { rule = { class = "Firefox" },
-- properties = { screen = 1, tag = "2" } },
}
-- }}}
-- {{{ Signals
-- Signal function to execute when a new client appears.
client.connect_signal("manage", function (c)
-- Set the windows at the slave,
-- i.e. put it at the end of others instead of setting it master.
-- if not awesome.startup then awful.client.setslave(c) end
if awesome.startup
and not c.size_hints.user_position
and not c.size_hints.program_position then
-- Prevent clients from being unreachable after screen count changes.
awful.placement.no_offscreen(c)
end
end)
-- Add a titlebar if titlebars_enabled is set to true in the rules.
client.connect_signal("request::titlebars", function(c)
-- buttons for the titlebar
local buttons = gears.table.join(
awful.button({ }, 1, function()
c:emit_signal("request::activate", "titlebar", {raise = true})
awful.mouse.client.move(c)
end),
awful.button({ }, 3, function()
c:emit_signal("request::activate", "titlebar", {raise = true})
awful.mouse.client.resize(c)
end)
)
awful.titlebar(c) : setup {
{ -- Left
awful.titlebar.widget.iconwidget(c),
buttons = buttons,
layout = wibox.layout.fixed.horizontal
},
{ -- Middle
{ -- Title
align = "center",
widget = awful.titlebar.widget.titlewidget(c)
},
buttons = buttons,
layout = wibox.layout.flex.horizontal
},
{ -- Right
awful.titlebar.widget.floatingbutton (c),
awful.titlebar.widget.maximizedbutton(c),
awful.titlebar.widget.stickybutton (c),
awful.titlebar.widget.ontopbutton (c),
awful.titlebar.widget.closebutton (c),
layout = wibox.layout.fixed.horizontal()
},
layout = wibox.layout.align.horizontal
}
end)
-- Enable sloppy focus, so that focus follows mouse.
client.connect_signal("mouse::enter", function(c)
c:emit_signal("request::activate", "mouse_enter", {raise = false})
end)
client.connect_signal("focus", function(c) c.border_color = beautiful.border_focus end)
client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_normal end)
-- }}}
-- Autostart Applications
awful.spawn.with_shell("picom --experimental-backends")
awful.spawn.with_shell("feh --bg-scale --no-fehbg ~/.config/wallpapper.png")
awful.spawn.with_shell("libinput-gestures-setup start")
--awful.spawn.with_shell("xrandr --output DisplayPort-0 --mode 1920x1080 --same-as EDp")
awful.spawn.with_shell("dropbox")
awful.spawn.with_shell("flameshot")
awful.spawn.with_shell(" /usr/bin/pipewire & /usr/bin/pipewire-pulse & /usr/bin/pipewire-media-session")
awful.spawn.with_shell("setxkbmap lv")

200
.config/btop/btop.conf Normal file
View File

@@ -0,0 +1,200 @@
#? Config file for btop v. 1.2.6
#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes.
#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes"
color_theme = "/usr/share/btop/themes/dracula.theme"
#* If the theme set background should be shown, set to False if you want terminal background transparency.
theme_background = False
#* Sets if 24-bit truecolor should be used, will convert 24-bit colors to 256 color (6x6x6 color cube) if false.
truecolor = True
#* Set to true to force tty mode regardless if a real tty has been detected or not.
#* Will force 16-color mode and TTY theme, set all graph symbols to "tty" and swap out other non tty friendly symbols.
force_tty = False
#* Define presets for the layout of the boxes. Preset 0 is always all boxes shown with default settings. Max 9 presets.
#* Format: "box_name:P:G,box_name:P:G" P=(0 or 1) for alternate positions, G=graph symbol to use for box.
#* Use withespace " " as separator between different presets.
#* Example: "cpu:0:default,mem:0:tty,proc:1:default cpu:0:braille,proc:0:tty"
presets = "cpu:1:default,proc:0:default cpu:0:default,mem:0:default,net:0:default cpu:0:block,net:0:tty"
#* Set to True to enable "h,j,k,l,g,G" keys for directional control in lists.
#* Conflicting keys for h:"help" and k:"kill" is accessible while holding shift.
vim_keys = True
#* Rounded corners on boxes, is ignored if TTY mode is ON.
rounded_corners = True
#* Default symbols to use for graph creation, "braille", "block" or "tty".
#* "braille" offers the highest resolution but might not be included in all fonts.
#* "block" has half the resolution of braille but uses more common characters.
#* "tty" uses only 3 different symbols but will work with most fonts and should work in a real TTY.
#* Note that "tty" only has half the horizontal resolution of the other two, so will show a shorter historical view.
graph_symbol = "braille"
# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
graph_symbol_cpu = "default"
# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
graph_symbol_mem = "default"
# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
graph_symbol_net = "default"
# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
graph_symbol_proc = "default"
#* Manually set which boxes to show. Available values are "cpu mem net proc", separate values with whitespace.
shown_boxes = "cpu mem proc net"
#* Update time in milliseconds, recommended 2000 ms or above for better sample times for graphs.
update_ms = 1000
#* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct",
#* "cpu lazy" sorts top process over time (easier to follow), "cpu direct" updates top process directly.
proc_sorting = "cpu direct"
#* Reverse sorting order, True or False.
proc_reversed = False
#* Show processes as a tree.
proc_tree = False
#* Use the cpu graph colors in the process list.
proc_colors = True
#* Use a darkening gradient in the process list.
proc_gradient = True
#* If process cpu usage should be of the core it's running on or usage of the total available cpu power.
proc_per_core = False
#* Show process memory as bytes instead of percent.
proc_mem_bytes = True
#* Use /proc/[pid]/smaps for memory information in the process info box (very slow but more accurate)
proc_info_smaps = False
#* Show proc box on left side of screen instead of right.
proc_left = False
#* Sets the CPU stat shown in upper half of the CPU graph, "total" is always available.
#* Select from a list of detected attributes from the options menu.
cpu_graph_upper = "total"
#* Sets the CPU stat shown in lower half of the CPU graph, "total" is always available.
#* Select from a list of detected attributes from the options menu.
cpu_graph_lower = "total"
#* Toggles if the lower CPU graph should be inverted.
cpu_invert_lower = True
#* Set to True to completely disable the lower CPU graph.
cpu_single_graph = False
#* Show cpu box at bottom of screen instead of top.
cpu_bottom = False
#* Shows the system uptime in the CPU box.
show_uptime = True
#* Show cpu temperature.
check_temp = True
#* Which sensor to use for cpu temperature, use options menu to select from list of available sensors.
cpu_sensor = "Auto"
#* Show temperatures for cpu cores also if check_temp is True and sensors has been found.
show_coretemp = True
#* Set a custom mapping between core and coretemp, can be needed on certain cpus to get correct temperature for correct core.
#* Use lm-sensors or similar to see which cores are reporting temperatures on your machine.
#* Format "x:y" x=core with wrong temp, y=core with correct temp, use space as separator between multiple entries.
#* Example: "4:0 5:1 6:3"
cpu_core_map = ""
#* Which temperature scale to use, available values: "celsius", "fahrenheit", "kelvin" and "rankine".
temp_scale = "celsius"
#* Use base 10 for bits/bytes sizes, KB = 1000 instead of KiB = 1024.
base_10_sizes = False
#* Show CPU frequency.
show_cpu_freq = True
#* Draw a clock at top of screen, formatting according to strftime, empty string to disable.
#* Special formatting: /host = hostname | /user = username | /uptime = system uptime
clock_format = "%X"
#* Update main ui in background when menus are showing, set this to false if the menus is flickering too much for comfort.
background_update = True
#* Custom cpu model name, empty string to disable.
custom_cpu_name = ""
#* Optional filter for shown disks, should be full path of a mountpoint, separate multiple values with whitespace " ".
#* Begin line with "exclude=" to change to exclude filter, otherwise defaults to "most include" filter. Example: disks_filter="exclude=/boot /home/user".
disks_filter = ""
#* Show graphs instead of meters for memory values.
mem_graphs = True
#* Show mem box below net box instead of above.
mem_below_net = False
#* If swap memory should be shown in memory box.
show_swap = True
#* Show swap as a disk, ignores show_swap value above, inserts itself after first disk.
swap_disk = True
#* If mem box should be split to also show disks info.
show_disks = True
#* Filter out non physical disks. Set this to False to include network disks, RAM disks and similar.
only_physical = True
#* Read disks list from /etc/fstab. This also disables only_physical.
use_fstab = True
#* Set to true to show available disk space for privileged users.
disk_free_priv = False
#* Toggles if io activity % (disk busy time) should be shown in regular disk usage view.
show_io_stat = True
#* Toggles io mode for disks, showing big graphs for disk read/write speeds.
io_mode = False
#* Set to True to show combined read/write io graphs in io mode.
io_graph_combined = False
#* Set the top speed for the io graphs in MiB/s (100 by default), use format "mountpoint:speed" separate disks with whitespace " ".
#* Example: "/mnt/media:100 /:20 /boot:1".
io_graph_speeds = ""
#* Set fixed values for network graphs in Mebibits. Is only used if net_auto is also set to False.
net_download = 100
net_upload = 100
#* Use network graphs auto rescaling mode, ignores any values set above and rescales down to 10 Kibibytes at the lowest.
net_auto = True
#* Sync the auto scaling for download and upload to whichever currently has the highest scale.
net_sync = False
#* Starts with the Network Interface specified here.
net_iface = ""
#* Show battery stats in top right if battery is present.
show_battery = True
#* Which battery to use if multiple are present. "Auto" for auto detection.
selected_battery = "Auto"
#* Set loglevel for "~/.config/btop/btop.log" levels are: "ERROR" "WARNING" "INFO" "DEBUG".
#* The level set includes all lower levels, i.e. "DEBUG" will show all logging info.
log_level = "WARNING"

View File

@@ -0,0 +1,233 @@
# Fastfetch configuration
# Write every argument in different lines.
# Direct arguments will overwrite the corresponding ones in this file.
# Argument keys are not case sensitive.
# Whitespaces are trimmed at the beginning and the end.
# Empty lines or lines starting with # are ignored.
# This file was shipped with 1.3.3.
# Use fastfetch --print-config > ~/.config/fastfetch/config.conf to overwrite this with the current defaults
# Below some often usefull options are listed. Uncomment and modify them so they take affect.
# Note that there are a lot more options than the ones listed here, take a look at "fastfetch --help".
# Of course all of them can be made persistent here too.
# Config option:
# Load additional config files.
# Some are shipped with fastfetch, list them with "fastfetch --list-presets".
# Must be a path to a config file or the name of a shipped preset.
# The config file is completly loaded before continuing in the current file, so the placement of this option matters, as later options overwrite already set ones.
# Can be used multiple times to load multiple config files / presets.
#--load-config /path/to/config.txt
# Structure option:
# Sets the modules to use and their order.
# Must be a list of module names, separated by colons.
# List available modules with "fastfetch --list-modules".
# Get the default structure with "fastfetch --print-structure".
# --structure Title:Separator:OS:Host:Kernel:Uptime:Packages:Shell:Resolution:DE:WM:WMTheme:Theme:Icons:Font:Cursor:Terminal:TerminalFont:CPU:GPU:Memory:Disk:Battery:Locale:Break:Colors
--structure Title:Separator:OS:Host:Kernel:Uptime:Packages:Resolution:DE:WM:WMTheme:Theme:Icons:CPU:GPU:Memory:Disk:Battery:Song:Break
# Multithreading option:
# Sets if fastfetch should use multiple threads to detect the values.
# Must be true or false.
# Default is true.
--multithreading true
# Slow operations option:
# Sets if fastfetch is allowed to use known slow operations to detect more / better values.
# Must be true or false.
# Default is false.
#--allow-slow-operations false
# Linewrap option:
# Sets if fastfetch should disable linewrap during the run.
# Must be true or false.
# Default is true.
#--disable-linewrap true
# Cursor option:
# Sets if fastfetch should hide the console cursor during the run.
# Must be true or false.
# Default is true.
--hide-cursor true
# Logo option:
# Sets the logo to use.
# List available logos with "fastfetch --list-logos".
# Print available logos with "fastfetch --print-logos".
# Must be the name of an available logo or a path to a text file containing a custom logo.
# Default is the current distribution.
#--logo arch
# Logo type option:
# Sets the logo type to use.
# Must be auto, builtin, file, raw, sixel or kitty.
# Default is auto.
--logo-type auto
# Logo width option:
# Sets the width of the logos (in characters) if the logo is an image.
# Must be a positive integer.
# Default is 65.
--logo-width 65
# Logo color options:
# Overwrite a color in the logo. Also works for user provided logos.
# In the user logo, they replace $[1-9]. Use $$ to print a single $ sign.
# Must be linux console color codes or the name of a color.
# Default is the one specified by the logo.
# Use "fastfetch --help color" to learn more and see examples.
# Valid index range is [1-9].
#--logo-color-1 red
#--logo-color-2 32
# [...]
# --logo-color-9 yellow
# Logo padding option:
# Adds a padding to the left and the right side of the logo.
# Must be a positive integer.
# Default is 0.
#--logo-padding 0
# Logo padding left option:
# Adds a padding to the left side of the logo.
# Must be a positive integer.
# Default is 0.
#--logo-padding-left 0
# Logo padding right option:
# Adds a padding to the right side of the logo.
# Must be a positive integer.
# Default is 0.
#--logo-padding-right 0
# Logo print remaining option:
# Sets if the remaining logo should be printed, it is has more lines than modules to show.
# Must be true or false.
# Default is true.
#--logo-print-remaining true
# Color option:
# Sets the color of the keys.
# Must be linux console color codes or the name of a color.
# Default is the primary color of the logo.
# Use "fastfetch --help color" to learn more and see examples.
#--color magenta
# Separator option:
# Sets the string placed between a key and its value.
# Can be any string.
# Default is ": ".
--separator ": "
# Separator string option:
# Sets the string printed by the "separator" module (usually between title and rest of output)
# Must be any string. It is repated / cut to fit perfectly.
# Default is "-"
--separator-string -
# Public IP timeout option:
# Sets the time to wait for the public ip server to respond.
# Must be a positive integer.
# Default is 0 (disabled).
#--public-ip-timeout 0
# OS file option
# Sets the path to the file containing the operating system information.
# Should be a valid path to an existing file.
# Note that you might need to run fastfetch with --recache once for it to take affect.
# Default is /etc/os-release.
#--os-file /etc/os-release
# Player name option
# Sets the name of the player. This is also used in song detection
# Must be the exact name of the player or a dbus address (e.g. org.mpris.MediaPlayer2.spotify)
# Default is the first match starting with org.mpris.MediaPlayer2.
--player-name spotify
# Key options:
# Sets the displayed key of a module
# Can be any string. Some of theme take an argument like a format string. See "fastfetch --help format" for help.
--os-key OS
--host-key Host
--kernel-key Kernel
--uptime-key Uptime
--processes-key Processes
--packages-key Packages
--shell-key Shell
--resolution-key Resolution {1}
--de-key DE
--wm-key WM
--wm-theme-key WM Theme
--theme-key Theme
--icons-key Icons
--font-key Font
--cursor-key Cursor
--terminal-key Terminal
--terminal-font-key Terminal Font
--cpu-key CPU
--cpu-usage-key CPU Usage
# --gpu-key GPU {1}
--memory-key Memory
--disk-key Disk ({1})
--battery-key Battery {1}
--locale-key Locale
--local-ip-key Local IP ({1})
--public-ip-key Public IP
--player-key Media Player
--song-key Song
--datetime-key Date Time
# Format options:
# Sets the format string for module values.
# For information on format strings, see "fastfetch --help format".
# To see the parameter they take and their default value, see "fastfetch --help *-format", e.g. "fastfetch --help os-format".
# An empty format string (As they are currently below) will behave as if it was not set.
# --os-format
# --host-format
# --kernel-format
# --uptime-format
# --processes-format
# --packages-format
# --shell-format
# --resolution-format
# --de-format
# --wm-format
# --wm-theme-format
#--theme-format
#--icons-format
#--font-format
#--cursor-format
#--terminal-format
#--terminal-font-format
# --cpu-format
# --cpu-usage-format
# --gpu-format
# --memory-format
# --disk-format
# --battery-format
# --locale-format
# --local-ip-format
# --public-ip-format
#--player-format
#--song-format
#--datetime-format
# Library options:
# Sets an user specific path to a library to load.
# Must be a valid path to a library.
#--lib-PCI /usr/lib/libpci.so
#--lib-vulkan /usr/lib/libvulkan.so
#--lib-wayland /usr/lib/libwayland-client.so
#--lib-xcb-randr /usr/lib/libxcb-randr.so
#--lib-xcb /usr/lib/libxcb.so
#--lib-Xrandr /usr/lib/libXrandr.so
#--lib-X11 /usr/lib/libX11.so
#--lib-gio /usr/lib/libgio-2.0.so
#--lib-DConf /usr/lib/libdconf.so
#--lib-DBus /usr/lib/libdbus-1.so
#--lib-XFConf /usr/lib/libxfconf-0.so
#--lib-rpm /usr/lib/librpm.so
#--lib-imagemagick /usr/lib/libMagickCore-7.Q16HDRI.so
#--lib-z /usr/lib/libz.so

357
.config/lf/icons Normal file
View File

@@ -0,0 +1,357 @@
# vim:ft=conf
# These examples require Nerd Fonts or a compatible font to be used.
# See https://www.nerdfonts.com for more information.
# default values from lf (with matching order)
# ln l # LINK
# or l # ORPHAN
# tw t # STICKY_OTHER_WRITABLE
# ow d # OTHER_WRITABLE
# st t # STICKY
# di d # DIR
# pi p # FIFO
# so s # SOCK
# bd b # BLK
# cd c # CHR
# su u # SETUID
# sg g # SETGID
# ex x # EXEC
# fi - # FILE
# file types (with matching order)
ln  # LINK
or  # ORPHAN
tw t # STICKY_OTHER_WRITABLE
ow  # OTHER_WRITABLE
st t # STICKY
di  # DIR
pi p # FIFO
so s # SOCK
bd b # BLK
cd c # CHR
su u # SETUID
sg g # SETGID
ex  # EXEC
fi  # FILE
# file extensions (vim-devicons)
*.styl 
*.sass 
*.scss 
*.htm 
*.html 
*.slim 
*.haml 
*.ejs 
*.css 
*.less 
*.md 
*.mdx 
*.markdown 
*.rmd 
*.json 
*.webmanifest 
*.js 
*.mjs 
*.jsx 
*.rb 
*.gemspec 
*.rake 
*.php 
*.py 
*.pyc 
*.pyo 
*.pyd 
*.coffee 
*.mustache 
*.hbs 
*.conf 
*.ini 
*.yml 
*.yaml 
*.toml 
*.bat 
*.mk 
*.jpg 
*.jpeg 
*.bmp 
*.png 
*.webp 
*.gif 
*.ico 
*.twig 
*.cpp 
*.c++ 
*.cxx 
*.cc 
*.cp 
*.c 
*.cs 
*.h 
*.hh 
*.hpp 
*.hxx 
*.hs 
*.lhs 
*.nix 
*.lua 
*.java 
*.sh 
*.fish 
*.bash 
*.zsh 
*.ksh 
*.csh 
*.awk 
*.ps1 
*.ml λ
*.mli λ
*.diff 
*.db 
*.sql 
*.dump 
*.clj 
*.cljc 
*.cljs 
*.edn 
*.scala 
*.go 
*.dart 
*.xul 
*.sln 
*.suo 
*.pl 
*.pm 
*.t 
*.rss 
'*.f#' 
*.fsscript 
*.fsx 
*.fs 
*.fsi 
*.rs 
*.rlib 
*.d 
*.erl 
*.hrl 
*.ex 
*.exs 
*.eex 
*.leex 
*.heex 
*.vim 
*.ai 
*.psd 
*.psb 
*.ts 
*.tsx 
*.jl 
*.pp 
*.vue ﵂
*.elm 
*.swift 
*.xcplayground 
*.tex ﭨ
*.r ﳒ
*.rproj 鉶
*.sol ﲹ
*.pem 
# file names (vim-devicons) (case-insensitive not supported in lf)
*gruntfile.coffee 
*gruntfile.js 
*gruntfile.ls 
*gulpfile.coffee 
*gulpfile.js 
*gulpfile.ls 
*mix.lock 
*dropbox 
*.ds_store 
*.gitconfig 
*.gitignore 
*.gitattributes 
*.gitlab-ci.yml 
*.bashrc 
*.zshrc 
*.zshenv 
*.zprofile 
*.vimrc 
*.gvimrc 
*_vimrc 
*_gvimrc 
*.bashprofile 
*favicon.ico 
*license 
*node_modules 
*react.jsx 
*procfile 
*dockerfile 
*docker-compose.yml 
*rakefile 
*config.ru 
*gemfile 
*makefile 
*cmakelists.txt 
*robots.txt
# file names (case-sensitive adaptations)
*Gruntfile.coffee 
*Gruntfile.js 
*Gruntfile.ls 
*Gulpfile.coffee 
*Gulpfile.js 
*Gulpfile.ls 
*Dropbox 
*.DS_Store 
*LICENSE 
*React.jsx 
*Procfile 
*Dockerfile 
*Docker-compose.yml 
*Rakefile 
*Gemfile 
*Makefile 
*CMakeLists.txt 
# file patterns (vim-devicons) (patterns not supported in lf)
# .*jquery.*\.js$ 
# .*angular.*\.js$ 
# .*backbone.*\.js$ 
# .*require.*\.js$ 
# .*materialize.*\.js$ 
# .*materialize.*\.css$ 
# .*mootools.*\.js$ 
# .*vimrc.* 
# Vagrantfile$ 
# file patterns (file name adaptations)
*jquery.min.js 
*angular.min.js 
*backbone.min.js 
*require.min.js 
*materialize.min.js 
*materialize.min.css 
*mootools.min.js 
*vimrc 
Vagrantfile 
# archives or compressed (extensions from dircolors defaults)
*.tar 
*.tgz 
*.arc 
*.arj 
*.taz 
*.lha 
*.lz4 
*.lzh 
*.lzma 
*.tlz 
*.txz 
*.tzo 
*.t7z 
*.zip 
*.z 
*.dz 
*.gz 
*.lrz 
*.lz 
*.lzo 
*.xz 
*.zst 
*.tzst 
*.bz2 
*.bz 
*.tbz 
*.tbz2 
*.tz 
*.deb 
*.rpm 
*.jar 
*.war 
*.ear 
*.sar 
*.rar 
*.alz 
*.ace 
*.zoo 
*.cpio 
*.7z 
*.rz 
*.cab 
*.wim 
*.swm 
*.dwm 
*.esd 
# image formats (extensions from dircolors defaults)
*.jpg 
*.jpeg 
*.mjpg 
*.mjpeg 
*.gif 
*.bmp 
*.pbm 
*.pgm 
*.ppm 
*.tga 
*.xbm 
*.xpm 
*.tif 
*.tiff 
*.png 
*.svg 
*.svgz 
*.mng 
*.pcx 
*.mov 
*.mpg 
*.mpeg 
*.m2v 
*.mkv 
*.webm 
*.ogm 
*.mp4 
*.m4v 
*.mp4v 
*.vob 
*.qt 
*.nuv 
*.wmv 
*.asf 
*.rm 
*.rmvb 
*.flc 
*.avi 
*.fli 
*.flv 
*.gl 
*.dl 
*.xcf 
*.xwd 
*.yuv 
*.cgm 
*.emf 
*.ogv 
*.ogx 
# audio formats (extensions from dircolors defaults)
*.aac 
*.au 
*.flac 
*.m4a 
*.mid 
*.midi 
*.mka 
*.mp3 
*.mpc 
*.ogg 
*.ra 
*.wav 
*.oga 
*.opus 
*.spx 
*.xspf 
# other formats
*.pdf 

98
.config/lf/lfrc Normal file
View File

@@ -0,0 +1,98 @@
# Basic Settings
# set ratios 1:2:3
set hidden true
set drawbox true
set icons true
set ignorecase true
set previewer "~/.config/lf/preview"
set cleaner "~/.config/lf/cleaner"
# Custom Functions
# Set Wallpapper
cmd setwallpaper ${{
cp "$f" ~/.config/wallpapper.png && feh --bg-scale --no-fehbg "$f"
}}
# Archive bindings
cmd unarchive ${{
case "$f" in
*.zip) unzip "$f" ;;
*.tar.gz) tar -xzvf "$f" ;;
*.tar.bz2) tar -xjvf "$f" ;;
*.tar) tar -xvf "$f" ;;
*) echo "Unsupported format" ;;
esac
}}
# cmds/functions
cmd mkdir $mkdir -p "$(echo $* | tr ' ' '\ ')"
cmd mkfile $touch "$(echo $* | tr ' ' '\ ')"
cmd moveto ${{
clear; tput cup $(($(tput lines)/3)); tput bold
set -f
clear; echo "Move to where?"
dest="$(sed -e 's/\s*#.*//' -e '/^$/d' -e 's/^\S*\s*//' ${XDG_CONFIG_HOME:-$HOME/.config}/shell/bm-dirs | sk | sed 's|~|$HOME|')" &&
for x in $fx; do
eval mv -iv \"$x\" \"$dest\"
done &&
notify-send "File(s) moved." "File(s) moved to $dest."
}}
cmd copyto ${{
clear; tput cup $(($(tput lines)/3)); tput bold
set -f
clear; echo "Copy to where?"
dest="$(sed -e 's/\s*#.*//' -e '/^$/d' -e 's/^\S*\s*//' ${XDG_CONFIG_HOME:-$HOME/.config}/shell/bm-dirs | sk | sed 's|~|$HOME|')" &&
for x in $fx; do
eval cp -ivr \"$x\" \"$dest\"
done &&
notify-send "File(s) copied." "File(s) copies to $dest."
}}
# Bindings
# Remove some defaults
map m
map o
map n
map "'"
map '"'
map d
map c
map p
#map c $vscodium "$f"
map au unarchive
# Basic Functions
map . set hidden!
map <c-h> set hidden!
map <enter> shell
map <enter> open
map <c-f> $lf -remote "send $id select '$(sk)'"
map <f-2> rename
map <c-n> push :mkdir<space>
map DD delete
map dd cut
map mv moveto
map cp copyto
map P paste
map mf push :mkfile<space>
map md push :mkdir<space>
map <c-l> clear
map bg setwallpaper
# Movement
map gd cd ~/Downloads
map gD cd ~/Dropbox
map gp cd ~/Pictures
map gc cd ~/.config
map gr cd ~/repos
map gv cd ~/Videos
# map gs cd ~/.local/bin
map gs cd /media/HardDrive/Pyhton/School/
map gh cd /media/HardDrive/

View File

@@ -0,0 +1,27 @@
" Author: Christian Chiarulli <chrisatmachine@gmail.com>
lua << EOF
package.loaded['darkplus'] = nil
package.loaded['darkplus.highlights'] = nil
package.loaded['darkplus.Treesitter'] = nil
package.loaded['darkplus.markdown'] = nil
package.loaded['darkplus.Whichkey'] = nil
package.loaded['darkplus.Git'] = nil
package.loaded['darkplus.LSP'] = nil
package.loaded['darkplus.Quickscope'] = nil
package.loaded['darkplus.Telescope'] = nil
package.loaded['darkplus.NvimTree'] = nil
package.loaded['darkplus.Lir'] = nil
package.loaded['darkplus.Buffer'] = nil
package.loaded['darkplus.StatusLine'] = nil
package.loaded['darkplus.IndentBlankline'] = nil
package.loaded['darkplus.Dashboard'] = nil
package.loaded['darkplus.DiffView'] = nil
package.loaded['darkplus.Bookmarks'] = nil
package.loaded['darkplus.Bqf'] = nil
package.loaded['darkplus.Cmp'] = nil
package.loaded['darkplus.SymbolOutline'] = nil
package.loaded['darkplus.Misc'] = nil
require("darkplus")
EOF

View File

@@ -0,0 +1,109 @@
" Vim color file
" Converted from Textmate theme Monokai using Coloration v0.3.2 (http://github.com/sickill/coloration)
set background=dark
highlight clear
if exists("syntax_on")
syntax reset
endif
set t_Co=256
let g:colors_name = "monokai"
hi Cursor ctermfg=235 ctermbg=231 cterm=NONE guifg=#272822 guibg=#f8f8f0 gui=NONE
hi Visual ctermfg=NONE ctermbg=59 cterm=NONE guifg=NONE guibg=#49483e gui=NONE
hi CursorLine ctermfg=NONE ctermbg=237 cterm=NONE guifg=NONE guibg=#3c3d37 gui=NONE
hi CursorColumn ctermfg=NONE ctermbg=237 cterm=NONE guifg=NONE guibg=#3c3d37 gui=NONE
hi ColorColumn ctermfg=NONE ctermbg=237 cterm=NONE guifg=NONE guibg=#3c3d37 gui=NONE
hi LineNr ctermfg=102 ctermbg=237 cterm=NONE guifg=#90908a guibg=#3c3d37 gui=NONE
hi VertSplit ctermfg=241 ctermbg=241 cterm=NONE guifg=#64645e guibg=#64645e gui=NONE
hi MatchParen ctermfg=197 ctermbg=NONE cterm=underline guifg=#f92672 guibg=NONE gui=underline
hi StatusLine ctermfg=231 ctermbg=241 cterm=bold guifg=#f8f8f2 guibg=#64645e gui=bold
hi StatusLineNC ctermfg=231 ctermbg=241 cterm=NONE guifg=#f8f8f2 guibg=#64645e gui=NONE
hi Pmenu ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
hi PmenuSel ctermfg=NONE ctermbg=59 cterm=NONE guifg=NONE guibg=#49483e gui=NONE
hi IncSearch term=reverse cterm=reverse ctermfg=193 ctermbg=16 gui=reverse guifg=#C4BE89 guibg=#000000
hi Search term=reverse cterm=NONE ctermfg=231 ctermbg=24 gui=NONE guifg=#f8f8f2 guibg=#204a87
hi Directory ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
hi Folded ctermfg=242 ctermbg=235 cterm=NONE guifg=#75715e guibg=#272822 gui=NONE
hi SignColumn ctermfg=NONE ctermbg=237 cterm=NONE guifg=NONE guibg=#3c3d37 gui=NONE
hi Normal ctermfg=231 ctermbg=235 cterm=NONE guifg=#f8f8f2 guibg=#272822 gui=NONE
hi Boolean ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
hi Character ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
hi Comment ctermfg=242 ctermbg=NONE cterm=NONE guifg=#75715e guibg=NONE gui=NONE
hi Conditional ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
hi Constant ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
hi Define ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
hi DiffAdd ctermfg=231 ctermbg=64 cterm=bold guifg=#f8f8f2 guibg=#46830c gui=bold
hi DiffDelete ctermfg=88 ctermbg=NONE cterm=NONE guifg=#8b0807 guibg=NONE gui=NONE
hi DiffChange ctermfg=NONE ctermbg=NONE cterm=NONE guifg=#f8f8f2 guibg=#243955 gui=NONE
hi DiffText ctermfg=231 ctermbg=24 cterm=bold guifg=#f8f8f2 guibg=#204a87 gui=bold
hi ErrorMsg ctermfg=231 ctermbg=197 cterm=NONE guifg=#f8f8f0 guibg=#f92672 gui=NONE
hi WarningMsg ctermfg=231 ctermbg=197 cterm=NONE guifg=#f8f8f0 guibg=#f92672 gui=NONE
hi Float ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
hi Function ctermfg=148 ctermbg=NONE cterm=NONE guifg=#a6e22e guibg=NONE gui=NONE
hi Identifier ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=italic
hi Keyword ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
hi Label ctermfg=186 ctermbg=NONE cterm=NONE guifg=#e6db74 guibg=NONE gui=NONE
hi NonText ctermfg=59 ctermbg=236 cterm=NONE guifg=#49483e guibg=#31322c gui=NONE
hi Number ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
hi Operator ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
hi PreProc ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
hi Special ctermfg=231 ctermbg=NONE cterm=NONE guifg=#f8f8f2 guibg=NONE gui=NONE
hi SpecialComment ctermfg=242 ctermbg=NONE cterm=NONE guifg=#75715e guibg=NONE gui=NONE
hi SpecialKey ctermfg=59 ctermbg=237 cterm=NONE guifg=#49483e guibg=#3c3d37 gui=NONE
hi Statement ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
hi StorageClass ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=italic
hi String ctermfg=186 ctermbg=NONE cterm=NONE guifg=#e6db74 guibg=NONE gui=NONE
hi Tag ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
hi Title ctermfg=231 ctermbg=NONE cterm=bold guifg=#f8f8f2 guibg=NONE gui=bold
hi Todo ctermfg=95 ctermbg=NONE cterm=inverse,bold guifg=#75715e guibg=NONE gui=inverse,bold
hi Type ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
hi Underlined ctermfg=NONE ctermbg=NONE cterm=underline guifg=NONE guibg=NONE gui=underline
hi rubyClass ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
hi rubyFunction ctermfg=148 ctermbg=NONE cterm=NONE guifg=#a6e22e guibg=NONE gui=NONE
hi rubyInterpolationDelimiter ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
hi rubySymbol ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
hi rubyConstant ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=italic
hi rubyStringDelimiter ctermfg=186 ctermbg=NONE cterm=NONE guifg=#e6db74 guibg=NONE gui=NONE
hi rubyBlockParameter ctermfg=208 ctermbg=NONE cterm=NONE guifg=#fd971f guibg=NONE gui=italic
hi rubyInstanceVariable ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
hi rubyInclude ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
hi rubyGlobalVariable ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
hi rubyRegexp ctermfg=186 ctermbg=NONE cterm=NONE guifg=#e6db74 guibg=NONE gui=NONE
hi rubyRegexpDelimiter ctermfg=186 ctermbg=NONE cterm=NONE guifg=#e6db74 guibg=NONE gui=NONE
hi rubyEscape ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
hi rubyControl ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
hi rubyClassVariable ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
hi rubyOperator ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
hi rubyException ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
hi rubyPseudoVariable ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
hi rubyRailsUserClass ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=italic
hi rubyRailsARAssociationMethod ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
hi rubyRailsARMethod ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
hi rubyRailsRenderMethod ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
hi rubyRailsMethod ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
hi erubyDelimiter ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
hi erubyComment ctermfg=95 ctermbg=NONE cterm=NONE guifg=#75715e guibg=NONE gui=NONE
hi erubyRailsMethod ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
hi htmlTag ctermfg=148 ctermbg=NONE cterm=NONE guifg=#a6e22e guibg=NONE gui=NONE
hi htmlEndTag ctermfg=148 ctermbg=NONE cterm=NONE guifg=#a6e22e guibg=NONE gui=NONE
hi htmlTagName ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
hi htmlArg ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
hi htmlSpecialChar ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
hi javaScriptFunction ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=italic
hi javaScriptRailsFunction ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
hi javaScriptBraces ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
hi yamlKey ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
hi yamlAnchor ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
hi yamlAlias ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
hi yamlDocumentHeader ctermfg=186 ctermbg=NONE cterm=NONE guifg=#e6db74 guibg=NONE gui=NONE
hi cssURL ctermfg=208 ctermbg=NONE cterm=NONE guifg=#fd971f guibg=NONE gui=italic
hi cssFunctionName ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
hi cssColor ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
hi cssPseudoClassId ctermfg=148 ctermbg=NONE cterm=NONE guifg=#a6e22e guibg=NONE gui=NONE
hi cssClassName ctermfg=148 ctermbg=NONE cterm=NONE guifg=#a6e22e guibg=NONE gui=NONE
hi cssValueLength ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
hi cssCommonAttr ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
hi cssBraces ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE

144
.config/nvim/init.vim Normal file
View File

@@ -0,0 +1,144 @@
let mapleader=" "
set mouse=a
set number
set relativenumber
set autoindent
set smarttab
set ignorecase
set smartcase
set termguicolors
syntax on
" Autocompletion
set wildmode=longest,list,full
" Fix splitting
set splitbelow splitright
"Tab settings
set expandtab
set shiftwidth=2
set softtabstop=2
set tabstop=2
set clipboard+=unnamedplus
call plug#begin()
Plug 'preservim/nerdtree'
Plug 'ap/vim-css-color'
Plug 'rafi/awesome-vim-colorschemes'
Plug 'ryanoasis/vim-devicons'
Plug 'mattn/emmet-vim'
Plug 'norcalli/nvim-colorizer.lua'
Plug 'tomasiser/vim-code-dark'
Plug 'lukas-reineke/indent-blankline.nvim'
Plug 'vimwiki/vimwiki'
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'numToStr/Comment.nvim'
Plug 'jiangmiao/auto-pairs'
Plug 'Mofiqul/dracula.nvim'
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
Plug 'nvim-lua/plenary.nvim'
Plug 'nvim-telescope/telescope.nvim'
Plug 'lewis6991/gitsigns.nvim'
Plug 'nvim-lualine/lualine.nvim'
" If you want to have icons in your statusline choose one of these
Plug 'kyazdani42/nvim-web-devicons'
call plug#end()
colorscheme dracula
set cursorline
set cursorcolumn
highlight CursorLine ctermbg=Yellow cterm=bold guibg=#2b2b2b
highlight CursorColumn ctermbg=Yellow cterm=bold guibg=#2b2b2b
nnoremap <C-t> :NERDTreeToggle<CR>
" Verticaly center document when entering insert mode
autocmd InsertEnter * norm zz
" Remove trailing whitespace on save
autocmd BufWritePre * %s/\s\+$//e
" Enable Disable auto comment
map <leader>c :setlocal formatoptions-=cro<CR>
map <leader>C :setlocal formatoptions=cro<CR>
" Enable spell checking, s for spell check
map <leader>s :setlocal spell! spelllang=en_us<CR>
" Enable Disable auto indent
map <leader>i :setlocal autoindent<Cr>
map <leader>I :setlocal noautoindent<Cr>
" Shortcutting split navigation
map <C-h> <C-w>h
map <C-j> <C-w>j
map <C-k> <C-w>k
map <C-l> <C-w>l
" Moving line up or down by one line
nmap <a-k> :m -2<CR>
nmap <a-up> :m -2<CR>
nmap <a-j> :m +1<CR>
nmap <a-down> :m +1<CR>
" Alias replace all to S
nnoremap S :%s//gI<Left><Left><Left>
" Use tab for trigger completion with characters ahead and navigate.
inoremap <silent><expr> <TAB>
\ pumvisible() ? "\<C-n>" :
\ <SID>check_back_space() ? "\<TAB>" :
\ coc#refresh()
inoremap <expr><S-TAB> pumvisible() ? "\<C-p>" : "\<C-h>"
function! s:check_back_space() abort
let col = col('.') - 1
return !col || getline('.')[col - 1] =~# '\s'
endfunction
" Use <c-space> to trigger completion.
if has('nvim')
inoremap <silent><expr> <c-space> coc#refresh()
else
inoremap <silent><expr> <c-@> coc#refresh()
endif
lua << END
require('Comment').setup()
require('lualine').setup {
options = {
icons_enabled = true,
theme = 'dracula',
component_separators = { left = '', right = ''},
section_separators = { left = '', right = ''},
disabled_filetypes = {},
always_divide_middle = true,
globalstatus = false,
},
sections = {
lualine_a = {'mode'},
lualine_b = {'branch', 'diff', 'diagnostics'},
lualine_c = {'filename'},
lualine_x = {'encoding', 'fileformat', 'filetype'},
lualine_y = {'progress'},
lualine_z = {'location'}
},
inactive_sections = {
lualine_a = {},
lualine_b = {},
lualine_c = {'filename'},
lualine_x = {'location'},
lualine_y = {},
lualine_z = {}
},
tabline = {},
extensions = {}
}
END

View File

@@ -0,0 +1,148 @@
# Awesome Vim Color Schemes
Collection of awesome color schemes for Vim, merged for quick use.
## Installation
Use your favorite package-manager to install, and enjoy!
## Color Schemes
| Scheme | Description | Terminal | GUI |
| -------------- | ------------|:--------:|:---:|
| [256noir] | Dark minimal colors, to avoid distraction | ✓ | ✓ |
| [abstract] | Dark theme based on Abstract app | ✓ | ✓ |
| [afterglow] | Adaptation from Sublime Text | ✓ | ✓ |
| [alduin] | Dark rustic colors | ✓ | ✓ |
| [anderson] | Dark vim colorscheme based on colors from Wes Anderson films | ✓ | ✓ |
| [angr] | Pleasant, mild, dark theme | ✓ | ✓ |
| [ayu-vim] | Simple, bright and elegant theme | | ✓ |
| [Apprentice] | Dark, low-contrast colorscheme | ✓ | ✓ |
| [Archery] | Vim colorscheme inspired by Arch Linux colors | ✓ | ✓ |
| [Atom] | Designed to be very readable in both light and dark environments | | ✓ |
| [carbonized] | Inspired by the Carbon keycap set | ✓ (16) | ✓ |
| [challenger-deep] | FlatColor colorscheme | ✓ | ✓ |
| [deep-space] | Intergalactic friendly color scheme based off Hybrid | ✓ | ✓ |
| [deus] | For the late night coder | ✓ | ✓ |
| [dogrun] | Dark purple | ✓ | ✓ |
| [flattened] | Solarized, without the bullshit | ✓ (16) | ✓ |
| [focuspoint] | Maintain color coordination and important keyword focus | | ✓ |
| [fogbell] | Minimal grey monotone with 3 variants | ✓ | ✓ |
| [github] | Based on Github's syntax highlighting | ✓ | ✓ |
| [gotham] | Very dark vim colorscheme | ✓ | ✓ |
| [gruvbox] | Retro groove color scheme | ✓ | ✓ |
| [happy hacking] | Fairly small set of colors instead of throwing rainbows at your face | ✓ | ✓ |
| [Iceberg] | Dark blue color scheme | ✓ | ✓ |
| [papercolor] | Light and Dark color schemes inspired by Google's Material Design | ✓ | ✓ |
| [parsec] | Color scheme for people tired of solarized | ✓ (16) | ✓ |
| [scheakur] | A light/dark colorscheme | ✓ | ✓ |
| [hybrid] | A dark colour scheme for Vim and gVim | ✓ | ✓ |
| [hybrid-material] | Material color scheme based on w0ng/vim-hybrid | ✓ | ✓ |
| [jellybeans] | Colorful, dark color scheme | ✓ | ✓ |
| [lightning] | Light vim colorscheme based on Apprentice | ✓ | ✓ |
| [lucid] | Vivid highlights and friendly, clear colors | | ✓ |
| [lucius] | Lucius color scheme | ✓ | ✓ |
| [materialbox] | Light and dark material palette inspired based on Gruvbox | | ✓ |
| [meta5] | Dark colorscheme, inspired by Tron | ✓ | ✓ |
| [minimalist] | Darker version of material theme inspired by Sublime Text | ✓ | ✓ |
| [molokai] | Molokai color scheme | ✓ | ✓ |
| [molokayo] | Very tweaked molokai based theme | ✓ | ✓ |
| [mountaineer] | A dark and adventurous theme | ✓ | ✓ |
| [nord] | An arctic, north-bluish clean and elegant theme | ✓ (16) | ✓ |
| [oceanicnext] | Oceanic Next theme | ✓ | ✓ |
| [oceanic-material] | Material dark colorscheme | ✓ | ✓ |
| [one] | Adaptation of one-light and one-dark | ✓ | ✓ |
| [onedark] | Inspired by Atom's One Dark syntax theme | ✓ | ✓ |
| [onehalf] | Clean, vibrant and pleasing color scheme | ✓ | ✓ |
| [orbital] | Dark blue base16 theme | ✓ | ✓ |
| [paramount] | Minimal colorscheme that only puts emphasis on the paramount | ✓ | ✓ |
| [pink-moon] | Dark pastel theme | ✓ | ✓ |
| [purify] | Clean & vibrant color schemes for Vim, Terminals... | ✓ | ✓ |
| [pyte] | Clean, light (nearly white) theme | | ✓ |
| [rakr] | Flat colorscheme light and dark variant | ✓ | ✓ |
| [rdark-terminal2] | Modified rdark-terminal to enhance visibility | ✓ | |
| [seoul256] | Low-contrast color scheme based on Seoul Colors | ✓ | ✓ |
| [sierra] | Dark vintage colors | ✓ | ✓ |
| [solarized8] | Optimized Solarized colorschemes | ✓ (16) | ✓ |
| [sonokai] | Vivid and high contrast based on Monokai Pro | ✓ | ✓ |
| [space-vim-dark] | Dark magenta colors | ✓ | ✓ |
| [spacecamp] | Colors for the final frontier | ✓ | ✓ |
| [sunbather] | Minimal pink colorscheme | ✓ | ✓ |
| [tender] | 24bit colorscheme for Vim | ✓ | ✓ |
| [termschool] | Based on the "codeschool" theme, with lots of tweaks | ✓ | ✓ |
| [twilight256] | Imitates the Twilight theme for TextMate | ✓ | ✓ |
| [two-firewatch] | A blend between duotone light and firewatch (for atom) | ✓ | ✓ |
| [wombat256] | Wombat for 256 color xterms | ✓ | ✓ |
[256noir]: https://github.com/andreasvc/vim-256noir
[abstract]: https://github.com/jdsimcoe/abstract.vim
[afterglow]: https://github.com/danilo-augusto/vim-afterglow
[alduin]: https://github.com/AlessandroYorba/Alduin
[Apprentice]: https://github.com/romainl/Apprentice
[Archery]: https://github.com/Badacadabra/vim-archery
[anderson]: https://github.com/gilgigilgil/anderson.vim
[angr]: https://github.com/zacanger/angr.vim
[Atom]: https://github.com/gregsexton/Atom
[ayu-vim]: https://github.com/ayu-theme/ayu-vim
[carbonized]: https://github.com/nightsense/carbonized
[challenger-deep]: https://github.com/challenger-deep-theme/vim
[deep-space]: https://github.com/tyrannicaltoucan/vim-deep-space
[deus]: https://github.com/ajmwagar/vim-deus
[dogrun]: https://github.com/wadackel/vim-dogrun
[flattened]: https://github.com/romainl/flattened
[focuspoint]: https://github.com/chase/focuspoint-vim
[fogbell]: https://github.com/jaredgorski/fogbell.vim
[github]: https://github.com/endel/vim-github-colorscheme
[gotham]: https://github.com/whatyouhide/vim-gotham
[gruvbox]: https://github.com/morhetz/gruvbox
[happy hacking]: https://github.com/yorickpeterse/happy_hacking.vim
[papercolor]: https://github.com/NLKNguyen/papercolor-theme
[parsec]: https://github.com/keith/parsec.vim
[scheakur]: https://github.com/scheakur/vim-scheakur
[hybrid]: https://github.com/w0ng/vim-hybrid
[hybrid-material]: https://github.com/kristijanhusak/vim-hybrid-material
[Iceberg]: https://github.com/cocopon/iceberg.vim
[jellybeans]: https://github.com/nanotech/jellybeans.vim
[lightning]: https://github.com/wimstefan/Lightning
[lucid]: https://github.com/cseelus/vim-colors-lucid
[lucius]: https://github.com/jonathanfilip/vim-lucius
[materialbox]: https://github.com/mkarmona/materialbox
[meta5]: https://github.com/christophermca/meta5
[minimalist]: https://github.com/dikiaap/minimalist
[molokai]: https://github.com/tomasr/molokai
[molokayo]: https://github.com/fmoralesc/molokayo
[mountaineer]: https://github.com/co1ncidence/mountaineer
[nord]: https://github.com/arcticicestudio/nord-vim
[oceanicnext]: https://github.com/mhartington/oceanic-next
[oceanic-material]: https://github.com/hardcoreplayers/oceanic-material
[one]: https://github.com/rakr/vim-one
[onedark]: https://github.com/joshdick/onedark.vim
[onehalf]: https://github.com/sonph/onehalf
[orbital]: https://github.com/fcpg/vim-orbital
[paramount]: https://github.com/owickstrom/vim-colors-paramount
[pink-moon]: https://github.com/sts10/vim-pink-moon
[purify]: https://github.com/kyoz/purify
[pyte]: https://github.com/vim-scripts/pyte
[rakr]: https://github.com/rakr/vim-colors-rakr
[rdark-terminal2]: https://github.com/vim-scripts/rdark-terminal2.vim
[seoul256]: https://github.com/junegunn/seoul256.vim
[sierra]: https://github.com/AlessandroYorba/Sierra
[solarized8]: https://github.com/lifepillar/vim-solarized8
[sonokai]: https://github.com/sainnhe/sonokai
[space-vim-dark]: https://github.com/liuchengxu/space-vim-dark
[spacecamp]: https://github.com/jaredgorski/SpaceCamp
[sunbather]: https://github.com/nikolvs/vim-sunbather
[tender]: https://github.com/jacoborus/tender.vim
[termschool]: https://github.com/marcopaganini/termschool-vim-theme
[twilight256]: https://github.com/vim-scripts/twilight256.vim
[two-firewatch]: https://github.com/rakr/vim-two-firewatch
[wombat256]: https://github.com/vim-scripts/wombat256.vim
## Other Collections
- [`mcchrish/vim-no-color-collections`](https://github.com/mcchrish/vim-no-color-collections) - List of colorschemes with barely any colors
- [`rainglow/vim`](https://github.com/rainglow/vim) - 320+ color themes for VIM
- [`nightsense/vimspectr`](https://github.com/nightsense/vimspectr) - Assemble your own Vim theme (choose base hue + saturation curve)
- [`chriskempson/base16-vim`](https://github.com/chriskempson/base16-vim) - Syntax highlighting for hackers
- [`mswift42/vim-themes`](https://github.com/mswift42/vim-themes) - Some emacs themes ported to Vim
- [`mkarmona/colorsbox`](https://github.com/mkarmona/colorsbox)

View File

@@ -0,0 +1,14 @@
" ===============================================================
" OceanicNext
" Language: XML
" Description: Overrides for XML
" Author: Mike Hartington
" Last Change: 2016/12/11 17:28
" ===============================================================
syn region xmlEndTag
\ start=+</+
\ end=+>+
\ contains=xmlTagN
syn match xmlTagN
\ contained +</\s*[-a-zA-Z0-9]\++hs=s+2

View File

@@ -0,0 +1,48 @@
let g:airline#themes#deep_space#palette = {}
" Normal
let s:N1 = ['#232936', '#709d6c', 235, 65]
let s:N2 = ['#9aa7bd', '#323c4d', 248, 238]
let s:N3 = ['#51617d', '#232a36', 243, 236]
let g:airline#themes#deep_space#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3)
let g:airline#themes#deep_space#palette.normal_modified = {
\ 'airline_c': ['#b3785d', '', 137, '', ''],
\ }
" Insert
let s:I1 = ['#232936', '#608cc3', 235, 67]
let g:airline#themes#deep_space#palette.insert = airline#themes#generate_color_map(s:I1, s:N2, s:N3)
let g:airline#themes#deep_space#palette.insert_modified =
\ copy(g:airline#themes#deep_space#palette.normal_modified)
" Replace
let s:R1 = ['#232936', '#b15e7c', 235, 132]
let g:airline#themes#deep_space#palette.replace = airline#themes#generate_color_map(s:R1, s:N2, s:N3)
let g:airline#themes#deep_space#palette.replace_modified =
\ copy(g:airline#themes#deep_space#palette.normal_modified)
" Visual
let s:V1 = ['#232936', '#b5a262' , 235, 143]
let g:airline#themes#deep_space#palette.visual = airline#themes#generate_color_map(s:V1, s:N2, s:N3)
let g:airline#themes#deep_space#palette.visual_modified =
\ copy(g:airline#themes#deep_space#palette.normal_modified)
" Inactive
let s:IA = ['#51617d', '#232936', 237, 235, '']
let g:airline#themes#deep_space#palette.inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA)
let g:airline#themes#deep_space#palette.inactive_modified =
\ copy(g:airline#themes#deep_space#palette.normal_modified)
" Readonly status
let g:airline#themes#deep_space#palette.accents = {
\ 'red': ['#b15e7c', '', 132, '']
\ }
" Ctrlp
if !get(g:, 'loaded_ctrlp', 0)
finish
endif
let g:airline#themes#deep_space#palette.ctrlp = airline#extensions#ctrlp#generate_color_map(
\ ['#9aa7bd', '#323c4d', 248, 237, ''],
\ ['#b3785d', '#232936', 137, 235, ''],
\ ['#232936', '#b3785d', 235, 137, 'bold'])

View File

@@ -0,0 +1,46 @@
" based on two-firewatch's airline theme
let g:airline#themes#github#palette = {}
function! airline#themes#github#refresh()
let g:airline#themes#github#palette.accents = {
\ 'red': airline#themes#get_highlight('Constant'),
\ }
let s:N1 = airline#themes#get_highlight('airlineN1')
let s:N2 = airline#themes#get_highlight('airlineN2')
let s:N3 = airline#themes#get_highlight('airlineN3')
let g:airline#themes#github#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3)
let group = airline#themes#get_highlight('vimCommand')
let g:airline#themes#github#palette.normal_modified = {
\ 'airline_c': [ group[0], '', group[2], '', '' ]
\ }
let s:I1 = airline#themes#get_highlight('airlineInsert1')
let s:I2 = airline#themes#get_highlight('airlineInsert2')
let s:I3 = s:N3
let g:airline#themes#github#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3)
let g:airline#themes#github#palette.insert_modified = g:airline#themes#github#palette.normal_modified
let s:R1 = airline#themes#get_highlight('airlineReplace1')
let s:R2 = airline#themes#get_highlight('airlineReplace2')
let s:R3 = s:N3
let g:airline#themes#github#palette.replace = airline#themes#generate_color_map(s:R1, s:R2, s:R3)
let g:airline#themes#github#palette.replace_modified = g:airline#themes#github#palette.normal_modified
let s:V1 = airline#themes#get_highlight('airlineVisual1')
let s:V2 = airline#themes#get_highlight('airlineVisual2')
let s:V3 = s:N3
let g:airline#themes#github#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3)
let g:airline#themes#github#palette.visual_modified = g:airline#themes#github#palette.normal_modified
let s:IA = airline#themes#get_highlight2(['NonText', 'fg'], ['StatusLineNC', 'bg'])
let g:airline#themes#github#palette.inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA)
let g:airline#themes#github#palette.inactive_modified = {
\ 'airline_c': [ group[0], '', group[2], '', '' ]
\ }
endfunction
call airline#themes#github#refresh()

View File

@@ -0,0 +1,46 @@
" Minimalist Airline - A Material Color Scheme Darker
"
" Author: Diki Ananta <diki1aap@gmail.com>
" Repository: https://github.com/dikiaap/minimalist
" Version: 1.6
" License: MIT
" Normal Mode
let s:N1 = [ '#E4E4E4', '#3A3A3A', 254, 237 ]
let s:N2 = [ '#E4E4E4', '#4E4E4E', 254, 239 ]
let s:N3 = [ '#EEEEEE', '#262626', 255, 235 ]
" Inactive Mode
let s:IA = [ '#666666', s:N3[1], 242, s:N3[3] ]
" Warning Mode
let s:WI = [ '#1C1C1C', '#FFAF5F', 234, 215 ]
" Error Mode
let s:ER = [ s:WI[0], '#D75F5F', s:WI[2], 167 ]
" Terminal Mode
let s:TE = [ s:WI[0], s:N1[1], s:N1[2], s:N1[3] ]
" Reverse Mode
let s:NR = [ s:N2[1], s:N2[0], s:N2[3], s:N2[2], 'bold' ]
let g:airline#themes#minimalist#palette = {}
" Generate
let g:airline#themes#minimalist#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3)
let g:airline#themes#minimalist#palette.insert = g:airline#themes#minimalist#palette.normal
let g:airline#themes#minimalist#palette.visual = g:airline#themes#minimalist#palette.normal
let g:airline#themes#minimalist#palette.replace = g:airline#themes#minimalist#palette.normal
let g:airline#themes#minimalist#palette.inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA)
let g:airline#themes#minimalist#palette.normal.airline_warning = s:WI
let g:airline#themes#minimalist#palette.normal.airline_error = s:ER
let g:airline#themes#minimalist#palette.normal.airline_term = s:TE
" Accents
let g:airline#themes#minimalist#palette.accents = { 'red': [ s:ER[1], '', s:ER[3], '' ] }
" CtrlP
if get(g:, 'loaded_ctrlp', 0)
let g:airline#themes#minimalist#palette.ctrlp = airline#extensions#ctrlp#generate_color_map(s:N3, s:N2, s:NR)
endif

View File

@@ -0,0 +1,44 @@
let g:airline#themes#one#palette = {}
function! airline#themes#one#refresh()
let g:airline#themes#one#palette.accents = {
\ 'red': airline#themes#get_highlight('Constant'),
\ }
let s:N1 = airline#themes#get_highlight2(['CursorLine', 'bg'], ['DiffAdd', 'fg'], 'none')
let s:N2 = airline#themes#get_highlight2(['Normal', 'fg'], ['SpecialKey', 'fg'], 'none')
let s:N3 = airline#themes#get_highlight('CursorLine')
let g:airline#themes#one#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3)
let group = airline#themes#get_highlight('vimCommand')
let g:airline#themes#one#palette.normal_modified = {
\ 'airline_c': [ group[0], '', group[2], '', '' ]
\ }
let s:I1 = airline#themes#get_highlight2(['Normal', 'bg'], ['DiffLine', 'fg'], 'none')
let s:I2 = airline#themes#get_highlight2(['Normal', 'fg'], ['SpecialKey', 'fg'], 'none')
let s:I3 = s:N3
let g:airline#themes#one#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3)
let g:airline#themes#one#palette.insert_modified = g:airline#themes#one#palette.normal_modified
let s:R1 = airline#themes#get_highlight2(['Normal', 'bg'], ['Error', 'fg'], 'none')
let s:R2 = s:N2
let s:R3 = s:N3
let g:airline#themes#one#palette.replace = airline#themes#generate_color_map(s:R1, s:R2, s:R3)
let g:airline#themes#one#palette.replace_modified = g:airline#themes#one#palette.normal_modified
let s:V1 = airline#themes#get_highlight2(['Normal', 'bg'], ['Statement', 'fg'], 'none')
let s:V2 = airline#themes#get_highlight2(['Normal', 'fg'], ['SpecialKey', 'fg'], 'none')
let s:V3 = s:N3
let g:airline#themes#one#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3)
let g:airline#themes#one#palette.visual_modified = g:airline#themes#one#palette.normal_modified
let s:IA = airline#themes#get_highlight2(['NonText', 'fg'], ['CursorLine', 'bg'])
let g:airline#themes#one#palette.inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA)
let g:airline#themes#one#palette.inactive_modified = {
\ 'airline_c': [ group[0], '', group[2], '', '' ]
\ }
endfunction
call airline#themes#one#refresh()

View File

@@ -0,0 +1,37 @@
let g:airline#themes#snow_dark#palette = {}
let s:gry0 = [ "#2c2d30", 236 ]
let s:gry1 = [ "#363a3e", 237 ]
let s:gry3 = [ "#afb7c0", 249 ]
let s:red_ = [ "#be868c", 138 ]
let s:gren = [ "#7f9d77", 108 ]
let s:blue = [ "#759abd", 110 ]
let s:nrm1 = [ s:gry0[0] , s:gry3[0] , s:gry0[1] , s:gry3[1] ]
let s:nrm2 = [ s:gry3[0] , s:gry1[0] , s:gry3[1] , s:gry1[1] ]
let s:insr = [ s:gry0[0] , s:gren[0] , s:gry0[1] , s:gren[1] ]
let s:visl = [ s:gry0[0] , s:blue[0] , s:gry0[1] , s:blue[1] ]
let s:rplc = [ s:gry0[0] , s:red_[0] , s:gry0[1] , s:red_[1] ]
let s:inac = [ s:gry3[0] , s:gry1[0] , s:gry3[1] , s:gry1[1] ]
let g:airline#themes#snow_dark#palette.normal =
\ airline#themes#generate_color_map( s:nrm1 , s:nrm2 , s:nrm2 )
let g:airline#themes#snow_dark#palette.insert =
\ airline#themes#generate_color_map( s:insr , s:nrm2 , s:nrm2 )
let g:airline#themes#snow_dark#palette.visual =
\ airline#themes#generate_color_map( s:visl , s:nrm2 , s:nrm2 )
let g:airline#themes#snow_dark#palette.replace =
\ airline#themes#generate_color_map( s:rplc , s:nrm2 , s:nrm2 )
let g:airline#themes#snow_dark#palette.inactive =
\ airline#themes#generate_color_map( s:inac , s:inac , s:inac )
if !get(g:, "loaded_ctrlp", 0)
finish
endif
let g:airline#themes#snow_dark#palette.ctrlp =
\ airline#extensions#ctrlp#generate_color_map( s:nrm2 , s:nrm1 , s:nrm2 )

View File

@@ -0,0 +1,37 @@
let g:airline#themes#snow_light#palette = {}
let s:gry0 = [ "#fbffff", 231 ]
let s:gry1 = [ "#e5ebf1", 255 ]
let s:gry3 = [ "#535c65", 240 ]
let s:red_ = [ "#ae5865", 131 ]
let s:gren = [ "#4d7f43", 65 ]
let s:blue = [ "#2b7ab2", 32 ]
let s:nrm1 = [ s:gry0[0] , s:gry3[0] , s:gry0[1] , s:gry3[1] ]
let s:nrm2 = [ s:gry3[0] , s:gry1[0] , s:gry3[1] , s:gry1[1] ]
let s:insr = [ s:gry0[0] , s:gren[0] , s:gry0[1] , s:gren[1] ]
let s:visl = [ s:gry0[0] , s:blue[0] , s:gry0[1] , s:blue[1] ]
let s:rplc = [ s:gry0[0] , s:red_[0] , s:gry0[1] , s:red_[1] ]
let s:inac = [ s:gry3[0] , s:gry1[0] , s:gry3[1] , s:gry1[1] ]
let g:airline#themes#snow_light#palette.normal =
\ airline#themes#generate_color_map( s:nrm1 , s:nrm2 , s:nrm2 )
let g:airline#themes#snow_light#palette.insert =
\ airline#themes#generate_color_map( s:insr , s:nrm2 , s:nrm2 )
let g:airline#themes#snow_light#palette.visual =
\ airline#themes#generate_color_map( s:visl , s:nrm2 , s:nrm2 )
let g:airline#themes#snow_light#palette.replace =
\ airline#themes#generate_color_map( s:rplc , s:nrm2 , s:nrm2 )
let g:airline#themes#snow_light#palette.inactive =
\ airline#themes#generate_color_map( s:inac , s:inac , s:inac )
if !get(g:, "loaded_ctrlp", 0)
finish
endif
let g:airline#themes#snow_light#palette.ctrlp =
\ airline#extensions#ctrlp#generate_color_map( s:nrm2 , s:nrm1 , s:nrm2 )

View File

@@ -0,0 +1,38 @@
let g:airline#themes#stellarized_dark#palette = {}
let s:gry0 = [ "#222532", 235 ]
let s:gry1 = [ "#2d3243", 236 ]
let s:gry3 = [ "#bead9d", 145 ]
let s:red_ = [ "#ca7375", 174 ]
let s:gren = [ "#5c9a61", 71 ]
let s:blue = [ "#578fcc", 32 ]
let s:nrm1 = [ s:gry0[0] , s:gry3[0] , s:gry0[1] , s:gry3[1] ]
let s:nrm2 = [ s:gry3[0] , s:gry1[0] , s:gry3[1] , s:gry1[1] ]
let s:insr = [ s:gry0[0] , s:gren[0] , s:gry0[1] , s:gren[1] ]
let s:visl = [ s:gry0[0] , s:blue[0] , s:gry0[1] , s:blue[1] ]
let s:rplc = [ s:gry0[0] , s:red_[0] , s:gry0[1] , s:red_[1] ]
let s:inac = [ s:gry3[0] , s:gry1[0] , s:gry3[1] , s:gry1[1] ]
let g:airline#themes#stellarized_dark#palette.normal =
\ airline#themes#generate_color_map( s:nrm1 , s:nrm2 , s:nrm2 )
let g:airline#themes#stellarized_dark#palette.insert =
\ airline#themes#generate_color_map( s:insr , s:nrm2 , s:nrm2 )
let g:airline#themes#stellarized_dark#palette.visual =
\ airline#themes#generate_color_map( s:visl , s:nrm2 , s:nrm2 )
let g:airline#themes#stellarized_dark#palette.replace =
\ airline#themes#generate_color_map( s:rplc , s:nrm2 , s:nrm2 )
let g:airline#themes#stellarized_dark#palette.inactive =
\ airline#themes#generate_color_map( s:inac , s:inac , s:inac )
if !get(g:, "loaded_ctrlp", 0)
finish
endif
let g:airline#themes#stellarized_dark#palette.ctrlp =
\ airline#extensions#ctrlp#generate_color_map( s:nrm2 , s:nrm1 , s:nrm2 )

View File

@@ -0,0 +1,38 @@
let g:airline#themes#stellarized_light#palette = {}
let s:gry0 = [ "#fceee0", 255 ]
let s:gry1 = [ "#ecdac9", 223 ]
let s:gry3 = [ "#4a5067", 60 ]
let s:red_ = [ "#c6394c", 161 ]
let s:gren = [ "#007f25", 28 ]
let s:blue = [ "#006dcc", 25 ]
let s:nrm1 = [ s:gry0[0] , s:gry3[0] , s:gry0[1] , s:gry3[1] ]
let s:nrm2 = [ s:gry3[0] , s:gry1[0] , s:gry3[1] , s:gry1[1] ]
let s:insr = [ s:gry0[0] , s:gren[0] , s:gry0[1] , s:gren[1] ]
let s:visl = [ s:gry0[0] , s:blue[0] , s:gry0[1] , s:blue[1] ]
let s:rplc = [ s:gry0[0] , s:red_[0] , s:gry0[1] , s:red_[1] ]
let s:inac = [ s:gry3[0] , s:gry1[0] , s:gry3[1] , s:gry1[1] ]
let g:airline#themes#stellarized_light#palette.normal =
\ airline#themes#generate_color_map( s:nrm1 , s:nrm2 , s:nrm2 )
let g:airline#themes#stellarized_light#palette.insert =
\ airline#themes#generate_color_map( s:insr , s:nrm2 , s:nrm2 )
let g:airline#themes#stellarized_light#palette.visual =
\ airline#themes#generate_color_map( s:visl , s:nrm2 , s:nrm2 )
let g:airline#themes#stellarized_light#palette.replace =
\ airline#themes#generate_color_map( s:rplc , s:nrm2 , s:nrm2 )
let g:airline#themes#stellarized_light#palette.inactive =
\ airline#themes#generate_color_map( s:inac , s:inac , s:inac )
if !get(g:, "loaded_ctrlp", 0)
finish
endif
let g:airline#themes#stellarized_light#palette.ctrlp =
\ airline#extensions#ctrlp#generate_color_map( s:nrm2 , s:nrm1 , s:nrm2 )

View File

@@ -0,0 +1,41 @@
" ============================================================
" tender
" Tender Airline theme
" URL:https://github/com/jacoborus/tender.vim
" Author: Jacobo Tabernero http://jacoborus.codes
" License: MIT
" Last Change: 2020/04/24 16:58
" ============================================================
let g:airline#themes#tender#palette = {}
let s:normal1 = [ "#335261", "#b3deef", 239, 153 ]
let s:normal2 = [ "#282828", "#73cef4", 235, 81 ]
let s:normal3 = [ "#b3deef", "#444444", 153, 238 ]
let g:airline#themes#tender#palette.normal = airline#themes#generate_color_map(s:normal1, s:normal2, s:normal3)
let s:insert1 = [ "#464632", "#c9d05c", 238, 185 ]
let s:insert2 = [ "#282828", "#9faa00", 235, 142 ]
let s:insert3 = [ "#c9d05c", "#464632", 185, 238 ]
let g:airline#themes#tender#palette.insert = airline#themes#generate_color_map(s:insert1, s:insert2, s:insert3)
let s:replace1 = [ "#282828", "#f43753", 235, 203 ]
let s:replace2 = [ "#282828", "#c5152f", 235, 160 ]
let s:replace3 = [ "#f43753", "#444444", 203, 238 ]
let g:airline#themes#tender#palette.replace = airline#themes#generate_color_map(s:replace1, s:replace2, s:replace3)
let s:visual1 = [ "#282828", "#ffc24b", 235, 215 ]
let s:visual2 = [ "#282828", "#715b2f", 235, 58 ]
let s:visual3 = [ "#ffc24b", "#444444", 215, 238 ]
let g:airline#themes#tender#palette.visual = airline#themes#generate_color_map(s:visual1, s:visual2, s:visual3)
let s:inactive1 = [ "#bbbbbb", "#666666", 250, 242 ]
let s:inactive2 = [ "#bbbbbb", "#666666", 250, 242 ]
let s:inactive3 = [ "#bbbbbb", "#444444", 250, 238 ]
let g:airline#themes#tender#palette.inactive = airline#themes#generate_color_map(s:inactive1, s:inactive2, s:inactive3)
" ===================================
" Generated by Estilo 1.4.1
" https://github.com/jacoborus/estilo
" ===================================

View File

@@ -0,0 +1,41 @@
" ============================================================
" tenderplus
" Tender Plus Airline theme
" URL:https://github/com/jacoborus/tender.vim
" Author: Jacobo Tabernero http://jacoborus.codes
" License: MIT
" Last Change: 2020/04/24 16:58
" ============================================================
let g:airline#themes#tenderplus#palette = {}
let s:normal1 = [ "#b3deef", "#335261", 153, 239 ]
let s:normal2 = [ "#282828", "#73cef4", 235, 81 ]
let s:normal3 = [ "#44778d", "#b3deef", 66, 153 ]
let g:airline#themes#tenderplus#palette.normal = airline#themes#generate_color_map(s:normal1, s:normal2, s:normal3)
let s:insert1 = [ "#c9d05c", "#464632", 185, 238 ]
let s:insert2 = [ "#282828", "#9faa00", 235, 142 ]
let s:insert3 = [ "#6a6b3f", "#c9d05c", 242, 185 ]
let g:airline#themes#tenderplus#palette.insert = airline#themes#generate_color_map(s:insert1, s:insert2, s:insert3)
let s:replace1 = [ "#f43753", "#79313c", 203, 237 ]
let s:replace2 = [ "#282828", "#c5152f", 235, 160 ]
let s:replace3 = [ "#79313c", "#f43753", 237, 203 ]
let g:airline#themes#tenderplus#palette.replace = airline#themes#generate_color_map(s:replace1, s:replace2, s:replace3)
let s:visual1 = [ "#d3b987", "#715b2f", 180, 58 ]
let s:visual2 = [ "#282828", "#ffc24b", 235, 215 ]
let s:visual3 = [ "#715b2f", "#d3b987", 58, 180 ]
let g:airline#themes#tenderplus#palette.visual = airline#themes#generate_color_map(s:visual1, s:visual2, s:visual3)
let s:inactive1 = [ "#bbbbbb", "#444444", 250, 238 ]
let s:inactive2 = [ "#bbbbbb", "#666666", 250, 242 ]
let s:inactive3 = [ "#bbbbbb", "#666666", 250, 242 ]
let g:airline#themes#tenderplus#palette.inactive = airline#themes#generate_color_map(s:inactive1, s:inactive2, s:inactive3)
" ===================================
" Generated by Estilo 1.4.1
" https://github.com/jacoborus/estilo
" ===================================

View File

@@ -0,0 +1,32 @@
" Normal mode " guifg guibg ctermfg ctermbg
let s:N1 = [ '#bcbcbc' , '#875faf' , 250 , 97 ]
let s:N2 = [ '#d75fd7' , '#4e4e4e' , 170 , 239 ]
let s:N3 = [ '#c6c6c6' , '#3a3a3a' , 251 , 237 ]
" Insert mode
let s:I1 = [ '#CACFD2' , '#009966' , 253 , 35 ]
let s:I2 = [ '#d75fd7' , '#4e4e4e' , 170 , 239 ]
let s:I3 = [ '#c6c6c6' , '#3a3a3a' , 251 , 237 ]
" Visual mode
let s:V1 = [ '#5f0000' , '#ff5faf' , 52 , 205 ]
" Replace mode
let s:RE = [ '#c6c6c6' , '#ce537a' , 251, 168 ]
let g:airline#themes#violet#palette = {}
let g:airline#themes#violet#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3)
let g:airline#themes#violet#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3)
let g:airline#themes#violet#palette.insert_replace = {
\ 'airline_a': [ s:RE[0] , s:I1[1] , s:RE[1] , s:I1[3] , '' ] }
let g:airline#themes#violet#palette.visual = {
\ 'airline_a': [ s:V1[0] , s:V1[1] , s:V1[2] , s:V1[3] , '' ] }
let g:airline#themes#violet#palette.replace = copy(airline#themes#violet#palette.normal)
let g:airline#themes#violet#palette.replace.airline_a = [ s:RE[0] , s:RE[1] , s:RE[2] , s:RE[3] , '' ]
let s:IA = [ s:N1[1] , s:N3[1] , s:N1[3] , s:N3[3] , '' ]
let g:airline#themes#violet#palette.inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA)

View File

@@ -0,0 +1,70 @@
let s:save_cpo = &cpoptions
set cpoptions&vim
" {{{ Colors
let s:base00 = ['#1b2b34', '235']
let s:base01 = ['#343d46', '237']
let s:base02 = ['#4f5b66', '240']
let s:base03 = ['#65737e', '243']
let s:base04 = ['#a7adba', '145']
let s:base05 = ['#c0c5ce', '251']
let s:base06 = ['#cdd3de', '252']
let s:base07 = ['#d8dee9', '253']
let s:red = ['#ec5f67', '203']
let s:orange = ['#f99157', '209']
let s:yellow = ['#fac863', '221']
let s:green = ['#99c794', '114']
let s:cyan = ['#62b3b2', '73']
let s:blue = ['#6699cc', '68']
let s:purple = ['#c594c5', '176']
let s:brown = ['#ab7967', '137']
let s:white = ['#ffffff', '15']
" }}}
let s:palette = {}
let s:palette.display = {
\ 'guibg': s:base01[0],
\ 'guifg': s:white[0],
\ 'ctermbg': s:base01[1],
\ 'ctermfg': s:white[1]
\ }
" Let ClapInput, ClapSpinner and ClapSearchText use the same backgound.
let s:bg0 = {
\ 'guibg': s:base01[0]
\ }
let s:palette.input = s:bg0
let s:palette.spinner = extend({
\ 'guifg': s:blue[0],
\ 'gui': 'bold'},
\ s:bg0
\ )
let s:palette.search_text = extend({
\ 'guifg': s:white[0],
\ 'gui': 'bold' },
\ s:bg0
\ )
let s:palette.preview = {
\ 'guibg': '#131C21'
\ }
let s:palette.selected = {
\ 'guibg': s:base02[0],
\ 'gui': 'bold'
\ }
let s:palette.selected_sign = s:palette.selected
let s:palette.current_selection = {
\ 'guibg': s:base02[0],
\ 'gui': 'bold'
\ }
let s:palette.current_selection_sign = s:palette.current_selection
let g:clap#themes#oceanicnext#palette = s:palette
let &cpoptions = s:save_cpo
unlet s:save_cpo

View File

@@ -0,0 +1,41 @@
" -----------------------------------------------------------------------------
" File: gruvbox.vim
" Description: Retro groove color scheme for Vim
" Author: morhetz <morhetz@gmail.com>
" Source: https://github.com/morhetz/gruvbox
" Last Modified: 09 Apr 2014
" -----------------------------------------------------------------------------
function! gruvbox#invert_signs_toggle()
if g:gruvbox_invert_signs == 0
let g:gruvbox_invert_signs=1
else
let g:gruvbox_invert_signs=0
endif
colorscheme gruvbox
endfunction
" Search Highlighting {{{
function! gruvbox#hls_show()
set hlsearch
call GruvboxHlsShowCursor()
endfunction
function! gruvbox#hls_hide()
set nohlsearch
call GruvboxHlsHideCursor()
endfunction
function! gruvbox#hls_toggle()
if &hlsearch
call gruvbox#hls_hide()
else
call gruvbox#hls_show()
endif
endfunction
" }}}
" vim: set sw=2 ts=2 sts=2 et tw=80 ft=vim fdm=marker:

View File

@@ -0,0 +1,6 @@
Lightline colorschemes
======================
These are the color schemes for the Lightline plugin which sets the status
line. The light and dark one are pretty much the same except the `baseX` and
`base0X` colors are each swapped.

View File

@@ -0,0 +1,48 @@
" =============================================================================
" Filename: autoload/lightline/colorscheme/carbonized_dark.vim
" Author: parmort
" License: MIT License
" Last Change: 2018/05/07 05:28 PM (EST).
" =============================================================================
let s:base03 = [ '#2b2b2b', 233 ]
let s:base02 = [ '#3b3b37', 236 ]
let s:base01 = [ '#75756e', 239 ]
let s:base00 = [ '#8a8a81', 242 ]
let s:base0 = [ '#9e9e95', 244 ]
let s:base1 = [ '#b5b5aa', 246 ]
let s:base2 = [ '#f0f0e1', 248 ]
let s:base3 = [ '#fffff0', 253 ]
let s:yellow = [ '#ab8e38', 215 ]
let s:orange = [ '#b56f45', 222 ]
let s:red = [ '#bf5858', 167 ]
let s:magenta = [ '#8b6a9e', 217 ]
let s:blue = [ '#557b9e', 103 ]
let s:cyan = [ '#458a8a', 110 ]
let s:green = [ '#508a50', 107 ]
let s:p = {'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}}
let s:p.normal.left = [ [ s:base02, s:blue ], [ s:base1, s:base02 ] ]
let s:p.normal.middle = [ [ s:base0, s:base02 ] ]
let s:p.normal.right = [ [ s:base02, s:blue ], [ s:base1, s:base02 ] ]
let s:p.normal.error = [ [ s:red, s:base02 ] ]
let s:p.normal.warning = [ [ s:yellow, s:base01 ] ]
let s:p.insert.left = [ [ s:base02, s:green ], [ s:base1, s:base02 ] ]
let s:p.insert.right = [ [ s:base02, s:green ], [ s:base1, s:base02 ] ]
let s:p.replace.left = [ [ s:base02, s:red ], [ s:base1, s:base02 ] ]
let s:p.replace.right = [ [ s:base02, s:red ], [ s:base1, s:base02 ] ]
let s:p.visual.left = [ [ s:base02, s:magenta ], [ s:base2, s:base02 ] ]
let s:p.visual.right = [ [ s:base02, s:magenta ], [ s:base2, s:base02 ] ]
let s:p.inactive.left = [ [ s:base0, s:base02 ], [ s:base00, s:base02 ] ]
let s:p.inactive.middle = [ [ s:base00, s:base02 ] ]
let s:p.inactive.right = [ [ s:base02, s:base00 ], [ s:base0, s:base02 ] ]
let s:p.tabline.left = [ [ s:base3, s:base02 ] ]
let s:p.tabline.middle = [ [ s:base01, s:base1 ] ]
let s:p.tabline.right = copy(s:p.normal.right)
let s:p.tabline.tabsel = [ [ s:base3, s:base02 ] ]
let g:lightline#colorscheme#carbonized_dark#palette = lightline#colorscheme#flatten(s:p)

View File

@@ -0,0 +1,48 @@
" =============================================================================
" Filename: autoload/lightline/colorscheme/carbonized_light.vim
" Author: parmort
" License: MIT License
" Last Change: 2018/05/07 05:23 PM (EST).
" =============================================================================
let s:base03 = [ '#2b2b2b', 233 ]
let s:base02 = [ '#3b3b37', 236 ]
let s:base01 = [ '#75756e', 239 ]
let s:base00 = [ '#8a8a81', 242 ]
let s:base0 = [ '#9e9e95', 244 ]
let s:base1 = [ '#b5b5aa', 246 ]
let s:base2 = [ '#efefe0', 248 ]
let s:base3 = [ '#fffff0', 253 ]
let s:yellow = [ '#d4ac35', 215 ]
let s:orange = [ '#e06a26', 222 ]
let s:red = [ '#f55050', 167 ]
let s:magenta = [ '#a26fbf', 217 ]
let s:blue = [ '#468dd4', 103 ]
let s:cyan = [ '#1b9e9e', 110 ]
let s:green = [ '#219e21', 107 ]
let s:p = {'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}}
let s:p.normal.left = [ [ s:base2, s:blue ], [ s:base01, s:base2 ] ]
let s:p.normal.middle = [ [ s:base01, s:base2 ] ]
let s:p.normal.right = [ [ s:base2, s:blue ], [ s:base01, s:base2 ] ]
let s:p.normal.error = [ [ s:red, s:base02 ] ]
let s:p.normal.warning = [ [ s:yellow, s:base01 ] ]
let s:p.insert.left = [ [ s:base2, s:green ], [ s:base01, s:base2 ] ]
let s:p.insert.right = [ [ s:base2, s:green ], [ s:base01, s:base2 ] ]
let s:p.replace.left = [ [ s:base2, s:red ], [ s:base01, s:base2 ] ]
let s:p.replace.right = [ [ s:base2, s:red ], [ s:base01, s:base2 ] ]
let s:p.visual.left = [ [ s:base2, s:magenta ], [ s:base01, s:base2 ] ]
let s:p.visual.right = [ [ s:base2, s:magenta ], [ s:base01, s:base2 ] ]
let s:p.inactive.left = [ [ s:base2, s:base0 ], [ s:base0, s:base2 ] ]
let s:p.inactive.middle = [ [ s:base0, s:base2 ] ]
let s:p.inactive.right = [ [ s:base2, s:base0 ], [ s:base0, s:base2 ] ]
let s:p.tabline.left = [ [ s:base3, s:base02 ] ]
let s:p.tabline.middle = [ [ s:base01, s:base1 ] ]
let s:p.tabline.right = copy(s:p.normal.right)
let s:p.tabline.tabsel = [ [ s:base3, s:base02 ] ]
let g:lightline#colorscheme#carbonized_light#palette = lightline#colorscheme#flatten(s:p)

View File

@@ -0,0 +1,48 @@
" Deep Space - An intergalactically friendly color scheme for lightline
" Author: Paul Meffle
" License: MIT
if(exists("g:lightline"))
" Color palette
let s:gray1 = '#1b202a'
let s:gray2 = '#232936'
let s:gray3 = '#323c4d'
let s:gray4 = '#51617d'
let s:gray5 = '#9aa7bd'
let s:red = '#b15e7c'
let s:green = '#709d6c'
let s:yellow = '#b5a262'
let s:blue = '#608cc3'
let s:purple = '#8f72bf'
let s:cyan = '#56adb7'
let s:orange = '#b3785d'
let s:pink = '#c47ebd'
let s:p = {'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}}
let s:p.normal.left = [ [ s:gray2, s:blue ], [ s:gray5, s:gray3 ] ]
let s:p.normal.right = [ [ s:gray2, s:blue ], [ s:gray5, s:gray3 ] ]
let s:p.normal.middle = [ [ s:gray4, s:gray2 ] ]
let s:p.normal.error = [ [ s:gray2, s:red ] ]
let s:p.normal.warning = [ [ s:gray2, s:yellow ] ]
let s:p.insert.left = [ [ s:gray2, s:green ], [ s:gray5, s:gray3 ] ]
let s:p.insert.right = [ [ s:gray2, s:green ], [ s:gray5, s:gray3 ] ]
let s:p.replace.left = [ [ s:gray2, s:red ], [ s:gray5, s:gray3 ] ]
let s:p.replace.right = [ [ s:gray2, s:red ], [ s:gray5, s:gray3 ] ]
let s:p.visual.left = [ [ s:gray2, s:orange ], [ s:gray5, s:gray3 ] ]
let s:p.visual.right = [ [ s:gray2, s:orange ], [ s:gray5, s:gray3 ] ]
let s:p.inactive.left = [ [ s:gray5, s:gray3 ], [ s:gray4, s:gray2 ] ]
let s:p.inactive.right = [ [ s:gray5, s:gray3 ], [ s:gray4, s:gray2 ] ]
let s:p.inactive.middle = [ [ s:gray4, s:gray2 ] ]
let s:p.tabline.left = [ [ s:gray5, s:gray3 ] ]
let s:p.tabline.middle = [ [ s:gray4, s:gray2 ] ]
let s:p.tabline.right = [ [ s:gray2, s:blue ] ]
let s:p.tabline.tabsel = [ [ s:gray2, s:blue ] ]
let g:lightline#colorscheme#deepspace#palette = lightline#colorscheme#fill(s:p)
endif

View File

@@ -0,0 +1,28 @@
" dogrun lightline theme
"
" Author: wadackel
" License: MIT
" Copyright (c) 2020 wadackel
let s:p = {'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}}
let s:p.normal.left = [[['#222433', 235], ['#929be5', 104]], [['#929be5', 104], ['#282a3a', 235]]]
let s:p.normal.middle = [[['#4b4e6d', 60], ['#282a3a', 235]]]
let s:p.normal.right = [[['#222433', 235], ['#929be5', 104]], [['#929be5', 104], ['#282a3a', 235]]]
let s:p.normal.error = [[['#dc6f79', 167], ['#282a3a', 235]]]
let s:p.normal.warning = [[['#ac8b83', 138], ['#282a3a', 235]]]
let s:p.inactive.left = [[['#4b4e6d', 60], ['#282a3a', 235]], [['#4b4e6d', 60], ['#282a3a', 235]]]
let s:p.inactive.middle = [[['#4b4e6d', 60], ['#282a3a', 235]]]
let s:p.inactive.right = [[['#4b4e6d', 60], ['#282a3a', 235]], [['#4b4e6d', 60], ['#282a3a', 235]]]
let s:p.insert.left = [[['#222433', 235], ['#73c1a9', 79]], [['#73c1a9', 79], ['#282a3a', 235]]]
let s:p.insert.right = [[['#222433', 235], ['#73c1a9', 79]], [['#73c1a9', 79], ['#282a3a', 235]]]
let s:p.visual.left = [[['#222433', 235], ['#b871b8', 133]], [['#b871b8', 133], ['#282a3a', 235]]]
let s:p.visual.right = [[['#222433', 235], ['#b871b8', 133]], [['#b871b8', 133], ['#282a3a', 235]]]
let s:p.replace.left = [[['#222433', 235], ['#dc6f7a', 167]], [['#dc6f7a', 167], ['#282a3a', 235]]]
let s:p.replace.right = [[['#222433', 235], ['#dc6f7a', 167]], [['#dc6f7a', 167], ['#282a3a', 235]]]
let s:p.tabline.left = [[['#4b4e6d', 60], ['#282a3a', 235]]]
let s:p.tabline.tabsel = [[['#222433', 235], ['#929be5', 104]]]
let s:p.tabline.middle = [[['#4b4e6d', 60], ['#282a3a', 235]]]
let s:p.tabline.right = [[['#4b4e6d', 60], ['#282a3a', 235]]]
let g:lightline#colorscheme#dogrun#palette = lightline#colorscheme#flatten(s:p)

View File

@@ -0,0 +1,46 @@
if exists('g:lightline')
let s:p = {
\'normal':{},
\'inactive':{},
\'insert':{},
\'replace':{},
\'visual':{},
\'tabline':{}
\}
let s:base00 = ['#657b83', '11']
let s:base01 = ['#586e75', '10']
let s:base02 = ['#073642', '0']
let s:base03 = ['#002b36', '8']
let s:base0 = ['#839496', '12']
let s:base1 = ['#93a1a1', '14']
let s:base2 = ['#eee8d5', '7']
let s:base3 = ['#fdf6e3', '15']
let s:red = ['#dc322f', '1']
let s:green = ['#859900', '2']
let s:blue = ['#268bd2', '4']
let s:cyan = ['#2aa198', '6']
let s:magenta = ['#d33682', '5']
let s:yellow = ['#b58900', '3']
let s:orange = ['#cb4b16', '9']
let s:violet = ['#6c71c4', '13']
let s:p.normal.left = [[s:base03, s:blue ], [s:base03, s:base00]]
let s:p.normal.right = [[s:base03, s:base1 ], [s:base03, s:base00]]
let s:p.normal.middle = [[s:base1 , s:base02 ]]
let s:p.inactive.left = [[s:base0 , s:base02 ], [s:base0, s:base02 ]]
let s:p.inactive.right = [[s:base03, s:base00 ], [s:base0, s:base02 ]]
let s:p.inactive.middle = [[s:base01, s:base02 ]]
let s:p.insert.left = [[s:base03, s:green ], [s:base03, s:base00]]
let s:p.replace.left = [[s:base03, s:red ], [s:base03, s:base00]]
let s:p.visual.left = [[s:base03, s:magenta], [s:base03, s:base00]]
let s:p.tabline.left = [[ s:base03, s:base00]]
let s:p.tabline.right = copy(s:p.normal.right)
let s:p.tabline.middle = [[ s:base0 , s:base02]]
let s:p.tabline.tabsel = [[ s:base03, s:base1 ]]
let s:p.normal.error = [[ s:base03, s:red ]]
let s:p.normal.warning = [[ s:base03, s:yellow]]
let g:lightline#colorscheme#flattened_dark#palette = lightline#colorscheme#flatten(s:p)
endif

View File

@@ -0,0 +1,45 @@
if exists('g:lightline')
let s:p = {
\'normal':{},
\'inactive':{},
\'insert':{},
\'replace':{},
\'visual':{},
\'tabline':{}
\}
let s:base00 = ['#839496', '12']
let s:base01 = ['#93a1a1', '14']
let s:base02 = ['#eee8d5', '7']
let s:base03 = ['#fdf6e3', '15']
let s:base0 = ['#657b83', '11']
let s:base1 = ['#586e75', '10']
let s:base2 = ['#073642', '0']
let s:base3 = ['#002b36', '8']
let s:red = ['#dc322f', '1']
let s:green = ['#859900', '2']
let s:blue = ['#268bd2', '4']
let s:cyan = ['#2aa198', '6']
let s:magenta = ['#d33682', '5']
let s:yellow = ['#b58900', '3']
let s:orange = ['#cb4b16', '9']
let s:violet = ['#6c71c4', '13']
let s:p.normal.left = [[s:base03, s:blue ], [s:base03, s:base00]]
let s:p.normal.right = [[s:base03, s:base1 ], [s:base03, s:base00]]
let s:p.normal.middle = [[s:base1 , s:base02 ]]
let s:p.inactive.left = [[s:base0 , s:base02 ], [s:base0, s:base02 ]]
let s:p.inactive.right = [[s:base03, s:base00 ], [s:base0, s:base02 ]]
let s:p.inactive.middle = [[s:base01, s:base02 ]]
let s:p.insert.left = [[s:base03, s:green ], [s:base03, s:base00]]
let s:p.replace.left = [[s:base03, s:red ], [s:base03, s:base00]]
let s:p.visual.left = [[s:base03, s:magenta], [s:base03, s:base00]]
let s:p.tabline.left = [[ s:base03, s:base00]]
let s:p.tabline.right = copy(s:p.normal.right)
let s:p.tabline.middle = [[ s:base0 , s:base02]]
let s:p.tabline.tabsel = [[ s:base03, s:base1 ]]
let s:p.normal.error = [[ s:base03, s:red ]]
let s:p.normal.warning = [[ s:base03, s:yellow]]
let g:lightline#colorscheme#flattened_light#palette = lightline#colorscheme#flatten(s:p)
endif

View File

@@ -0,0 +1,37 @@
let s:base03 = [ '#0c1014', '0' ]
let s:base02 = [ '#11151c', '8' ]
let s:base01 = [ '#091f2e', '10' ]
let s:base00 = [ '#0a3749', '12' ]
let s:base0 = [ '#1e6479', '11' ]
let s:base1 = [ '#599cab', '14' ]
let s:base2 = [ '#99d1ce', '7' ]
let s:base3 = [ '#d3ebe9', '15' ]
let s:red = [ '#c23127', '1' ]
let s:orange = [ '#d26937', '9' ]
let s:yellow = [ '#edb443', '3' ]
let s:magenta = [ '#888ca6', '13' ]
let s:violet = [ '#4e5166', '5' ]
let s:blue = [ '#195466', '4' ]
let s:cyan = [ '#33859e', '6' ]
let s:green = [ '#2aa889', '2' ]
let s:p = { 'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {} }
let s:p.normal.left = [ [ s:base3, s:blue ], [ s:base1, s:base01 ] ]
let s:p.normal.right = [ [ s:base3, s:blue ], [ s:base1, s:base01 ] ]
let s:p.inactive.left = [ [ s:blue, s:base02 ], [ s:blue, s:base02 ] ]
let s:p.inactive.right = [ [ s:blue, s:base01 ], [ s:blue, s:base02 ] ]
let s:p.insert.left = [ [ s:base3, s:green ], [ s:base1, s:base01 ] ]
let s:p.replace.left = [ [ s:base3, s:red ], [ s:base1, s:base01 ] ]
let s:p.visual.left = [ [ s:base3, s:violet ], [ s:base1, s:base01 ] ]
let s:p.normal.middle = [ [ s:base1, s:base02 ] ]
let s:p.inactive.middle = [ [ s:blue, s:base02 ] ]
let s:p.tabline.left = [ [ s:base1, s:base01 ] ]
let s:p.tabline.tabsel = [ [ s:base3, s:blue ] ]
let s:p.tabline.middle = [ [ s:base1, s:base02 ] ]
let s:p.tabline.right = [ [ s:base1, s:base01 ] ]
let s:p.normal.error = [ [ s:base3, s:red ] ]
let s:p.normal.warning = [ [ s:base3, s:orange ] ]
let g:lightline#colorscheme#gotham#palette = lightline#colorscheme#flatten(s:p)

View File

@@ -0,0 +1,37 @@
let s:base03 = [ '#0c1014', '232' ]
let s:base02 = [ '#11151c', '233' ]
let s:base01 = [ '#091f2e', '17' ]
let s:base00 = [ '#0a3749', '18' ]
let s:base0 = [ '#1e6479', '31' ]
let s:base1 = [ '#599cab', '81' ]
let s:base2 = [ '#99d1ce', '122' ]
let s:base3 = [ '#d3ebe9', '194' ]
let s:red = [ '#c23127', '124' ]
let s:orange = [ '#d26937', '166' ]
let s:yellow = [ '#edb443', '214' ]
let s:magenta = [ '#888ca6', '67' ]
let s:violet = [ '#4e5166', '60' ]
let s:blue = [ '#195466', '24' ]
let s:cyan = [ '#33859E', '44' ]
let s:green = [ '#2aa889', '78' ]
let s:p = { 'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {} }
let s:p.normal.left = [ [ s:base3, s:blue ], [ s:base1, s:base01 ] ]
let s:p.normal.right = [ [ s:base3, s:blue ], [ s:base1, s:base01 ] ]
let s:p.inactive.left = [ [ s:blue, s:base02 ], [ s:blue, s:base02 ] ]
let s:p.inactive.right = [ [ s:blue, s:base01 ], [ s:blue, s:base02 ] ]
let s:p.insert.left = [ [ s:base3, s:green ], [ s:base1, s:base01 ] ]
let s:p.replace.left = [ [ s:base3, s:red ], [ s:base1, s:base01 ] ]
let s:p.visual.left = [ [ s:base3, s:violet ], [ s:base1, s:base01 ] ]
let s:p.normal.middle = [ [ s:base1, s:base02 ] ]
let s:p.inactive.middle = [ [ s:blue, s:base02 ] ]
let s:p.tabline.left = [ [ s:base1, s:base01 ] ]
let s:p.tabline.tabsel = [ [ s:base3, s:blue ] ]
let s:p.tabline.middle = [ [ s:base1, s:base02 ] ]
let s:p.tabline.right = [ [ s:base1, s:base01 ] ]
let s:p.normal.error = [ [ s:base3, s:red ] ]
let s:p.normal.warning = [ [ s:base3, s:orange ] ]
let g:lightline#colorscheme#gotham256#palette = lightline#colorscheme#flatten(s:p)

View File

@@ -0,0 +1,40 @@
" =============================================================================
" Filename: autoload/lightline/colorscheme/mountaineer.vim
" Author: nuaNce
" License: MIT License
" Last Change: 2013/09/07 12:21:04.
" =============================================================================
let s:base03 = [ '#f0f0f0', 233 ]
let s:base02 = [ '#050505', 236 ]
let s:base01 = [ '#050505', 239 ]
let s:base00 = [ '#666656', 242 ]
let s:base0 = [ '#808070', 244 ]
let s:base1 = [ '#050505', 246 ]
let s:base2 = [ '#a8a897', 248 ]
let s:base3 = [ '#ebc7bc', 253 ]
let s:yellow = [ '#0f0f0f', 215 ]
let s:orange = [ '#0f0f0f', 222 ]
let s:red = [ '#0f0f0f', 167 ]
let s:magenta = [ '#0f0f0f', 217 ]
let s:blue = [ '#0f0f0f', 103 ]
let s:cyan = [ '#0f0f0f', 110 ]
let s:green = [ '#0f0f0f', 107 ]
let s:p = {'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}}
let s:p.normal.left = [ [ s:base03, s:blue ], [ s:base3, s:base01 ] ]
let s:p.normal.right = [ [ s:base03, s:green ], [ s:base2, s:base01 ] ]
let s:p.inactive.right = [ [ s:base03, s:base00 ], [ s:base0, s:base02 ] ]
let s:p.inactive.left = [ [ s:base0, s:base02 ], [ s:base00, s:base02 ] ]
let s:p.insert.left = [ [ s:base03, s:green ], [ s:base3, s:base01 ] ]
let s:p.replace.left = [ [ s:base03, s:red ], [ s:base3, s:base01 ] ]
let s:p.visual.left = [ [ s:base03, s:magenta ], [ s:base3, s:base01 ] ]
let s:p.normal.middle = [ [ s:base0, s:base02 ] ]
let s:p.inactive.middle = [ [ s:base00, s:base02 ] ]
let s:p.tabline.left = copy(s:p.normal.middle)
let s:p.tabline.tabsel = [ [ s:base3, s:base00 ] ]
let s:p.tabline.middle = copy(s:p.normal.middle)
let s:p.tabline.right = [ [ s:base03, s:green ] ]
let s:p.normal.error = [ [ s:red, s:base02 ] ]
let s:p.normal.warning = [ [ s:yellow, s:base01 ] ]
let g:lightline#colorscheme#mountaineer#palette = lightline#colorscheme#flatten(s:p)

View File

@@ -0,0 +1,40 @@
" =============================================================================
" Filename: autoload/lightline/colorscheme/mountaineer.vim
" Author: nuaNce
" License: MIT License
" Last Change: 2013/09/07 12:21:04.
" =============================================================================
let s:base03 = [ '#f0f0f0', 233 ]
let s:base02 = [ '#232323', 236 ]
let s:base01 = [ '#232323', 239 ]
let s:base00 = [ '#666656', 242 ]
let s:base0 = [ '#808070', 244 ]
let s:base1 = [ '#232323', 246 ]
let s:base2 = [ '#a8a897', 248 ]
let s:base3 = [ '#ac8a8c', 253 ]
let s:yellow = [ '#3d3d3d', 215 ]
let s:orange = [ '#3d3d3d', 222 ]
let s:red = [ '#3d3d3d', 167 ]
let s:magenta = [ '#3d3d3d', 217 ]
let s:blue = [ '#3d3d3d', 103 ]
let s:cyan = [ '#3d3d3d', 110 ]
let s:green = [ '#3d3d3d', 107 ]
let s:p = {'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}}
let s:p.normal.left = [ [ s:base03, s:blue ], [ s:base3, s:base01 ] ]
let s:p.normal.right = [ [ s:base03, s:green ], [ s:base2, s:base01 ] ]
let s:p.inactive.right = [ [ s:base03, s:base00 ], [ s:base0, s:base02 ] ]
let s:p.inactive.left = [ [ s:base0, s:base02 ], [ s:base00, s:base02 ] ]
let s:p.insert.left = [ [ s:base03, s:green ], [ s:base3, s:base01 ] ]
let s:p.replace.left = [ [ s:base03, s:red ], [ s:base3, s:base01 ] ]
let s:p.visual.left = [ [ s:base03, s:magenta ], [ s:base3, s:base01 ] ]
let s:p.normal.middle = [ [ s:base0, s:base02 ] ]
let s:p.inactive.middle = [ [ s:base00, s:base02 ] ]
let s:p.tabline.left = copy(s:p.normal.middle)
let s:p.tabline.tabsel = [ [ s:base3, s:base00 ] ]
let s:p.tabline.middle = copy(s:p.normal.middle)
let s:p.tabline.right = [ [ s:base03, s:green ] ]
let s:p.normal.error = [ [ s:red, s:base02 ] ]
let s:p.normal.warning = [ [ s:yellow, s:base01 ] ]
let g:lightline#colorscheme#mountaineer_grey#palette = lightline#colorscheme#flatten(s:p)

View File

@@ -0,0 +1,40 @@
" =============================================================================
" Filename: autoload/lightline/colorscheme/mountaineer.vim
" Author: nuaNce
" License: MIT License
" Last Change: 2013/09/07 12:21:04.
" =============================================================================
let s:base03 = [ '#050505', 233 ]
let s:base02 = [ '#f0f0f0', 236 ]
let s:base01 = [ '#f0f0f0', 239 ]
let s:base00 = [ '#666656', 242 ]
let s:base0 = [ '#808070', 244 ]
let s:base1 = [ '#f0f0f0', 246 ]
let s:base2 = [ '#a8a897', 248 ]
let s:base3 = [ '#ebc7bc', 253 ]
let s:yellow = [ '#d3d3d3', 215 ]
let s:orange = [ '#d3d3d3', 222 ]
let s:red = [ '#d3d3d3', 167 ]
let s:magenta = [ '#d3d3d3', 217 ]
let s:blue = [ '#d3d3d3', 103 ]
let s:cyan = [ '#d3d3d3', 110 ]
let s:green = [ '#d3d3d3', 107 ]
let s:p = {'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}}
let s:p.normal.left = [ [ s:base03, s:blue ], [ s:base3, s:base01 ] ]
let s:p.normal.right = [ [ s:base03, s:green ], [ s:base2, s:base01 ] ]
let s:p.inactive.right = [ [ s:base03, s:base00 ], [ s:base0, s:base02 ] ]
let s:p.inactive.left = [ [ s:base0, s:base02 ], [ s:base00, s:base02 ] ]
let s:p.insert.left = [ [ s:base03, s:green ], [ s:base3, s:base01 ] ]
let s:p.replace.left = [ [ s:base03, s:red ], [ s:base3, s:base01 ] ]
let s:p.visual.left = [ [ s:base03, s:magenta ], [ s:base3, s:base01 ] ]
let s:p.normal.middle = [ [ s:base0, s:base02 ] ]
let s:p.inactive.middle = [ [ s:base00, s:base02 ] ]
let s:p.tabline.left = copy(s:p.normal.middle)
let s:p.tabline.tabsel = [ [ s:base3, s:base00 ] ]
let s:p.tabline.middle = copy(s:p.normal.middle)
let s:p.tabline.right = [ [ s:base03, s:green ] ]
let s:p.normal.error = [ [ s:red, s:base02 ] ]
let s:p.normal.warning = [ [ s:yellow, s:base01 ] ]
let g:lightline#colorscheme#mountaineer_light#palette = lightline#colorscheme#flatten(s:p)

View File

@@ -0,0 +1,47 @@
" Copyright (C) 2016-present Arctic Ice Studio <development@arcticicestudio.com>
" Copyright (C) 2016-present Sven Greb <development@svengreb.de>
" Project: Nord Vim
" Repository: https://github.com/arcticicestudio/nord-vim
" License: MIT
let s:nord_vim_version="0.18.0"
let s:p = {'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}}
let s:nord0 = ["#2E3440", "NONE"]
let s:nord1 = ["#3B4252", 0]
let s:nord2 = ["#434C5E", "NONE"]
let s:nord3 = ["#4C566A", 8]
let s:nord4 = ["#D8DEE9", "NONE"]
let s:nord5 = ["#E5E9F0", 7]
let s:nord6 = ["#ECEFF4", 15]
let s:nord7 = ["#8FBCBB", 14]
let s:nord8 = ["#88C0D0", 6]
let s:nord9 = ["#81A1C1", 4]
let s:nord10 = ["#5E81AC", 12]
let s:nord11 = ["#BF616A", 1]
let s:nord12 = ["#D08770", 11]
let s:nord13 = ["#EBCB8B", 3]
let s:nord14 = ["#A3BE8C", 2]
let s:nord15 = ["#B48EAD", 5]
let s:p.normal.left = [ [ s:nord1, s:nord8 ], [ s:nord5, s:nord1 ] ]
let s:p.normal.middle = [ [ s:nord5, s:nord3 ] ]
let s:p.normal.right = [ [ s:nord5, s:nord1 ], [ s:nord5, s:nord1 ] ]
let s:p.normal.warning = [ [ s:nord1, s:nord13 ] ]
let s:p.normal.error = [ [ s:nord1, s:nord11 ] ]
let s:p.inactive.left = [ [ s:nord1, s:nord8 ], [ s:nord5, s:nord1 ] ]
let s:p.inactive.middle = g:nord_uniform_status_lines == 0 ? [ [ s:nord5, s:nord1 ] ] : [ [ s:nord5, s:nord3 ] ]
let s:p.inactive.right = [ [ s:nord5, s:nord1 ], [ s:nord5, s:nord1 ] ]
let s:p.insert.left = [ [ s:nord1, s:nord6 ], [ s:nord5, s:nord1 ] ]
let s:p.replace.left = [ [ s:nord1, s:nord13 ], [ s:nord5, s:nord1 ] ]
let s:p.visual.left = [ [ s:nord1, s:nord7 ], [ s:nord5, s:nord1 ] ]
let s:p.tabline.left = [ [ s:nord5, s:nord3 ] ]
let s:p.tabline.middle = [ [ s:nord5, s:nord3 ] ]
let s:p.tabline.right = [ [ s:nord5, s:nord3 ] ]
let s:p.tabline.tabsel = [ [ s:nord1, s:nord8 ] ]
let g:lightline#colorscheme#nord#palette = lightline#colorscheme#flatten(s:p)

View File

@@ -0,0 +1,35 @@
" ============================================================
" oceanicnext
" Author: Mike Hartington
" ============================================================
let s:p = {"normal": {}, "inactive": {}, "insert": {}, "replace": {}, "visual": {}, "tabline": {} }
let s:p.normal.left = [[["#ffffff", 15], ["#6699cc", 68]], [["#ffffff", 15], ["#65737e", 243]]]
let s:p.normal.middle = [[["#ffffff", 15], ["#343d46", 237]]]
let s:p.normal.right = [[["#ffffff", 15], ["#65737e", 243]], [["#ffffff", 15], ["#65737e", 243]]]
let s:p.normal.error = [[["#ffffff", 15], ["#ec5f67", 203]]]
let s:p.normal.warning = [[["#ffffff", 15], ["#fac863", 221]]]
let s:p.inactive.left = [[["#d8dee9", 253], ["#65737e", 243]], [["#d8dee9", 253], ["#343d46", 237]]]
let s:p.inactive.middle = [[["#65737e", 243], ["#343d46", 237]]]
let s:p.inactive.right = [[["#d8dee9", 253], ["#343d46", 237]], [["#d8dee9", 253], ["#65737e", 243]]]
let s:p.insert.left = [[["#ffffff", 15], ["#99c794", 114]], [["#ffffff", 15], ["#65737e", 243]]]
let s:p.insert.middle = [[["#ffffff", 15], ["#343d46", 237]]]
let s:p.insert.right = [[["#ffffff", 15], ["#65737e", 243]], [["#ffffff", 15], ["#99c794", 114]]]
let s:p.replace.left = [[["#ffffff", 15], ["#ec5f67", 203]], [["#ffffff", 15], ["#65737e", 243]]]
let s:p.replace.middle = [[["#ffffff", 15], ["#343d46", 237]]]
let s:p.replace.right = [[["#ffffff", 15], ["#65737e", 243]], [["#ffffff", 15], ["#ec5f67", 203]]]
let s:p.visual.left = [[["#ffffff", 15], ["#f99157", 209]], [["#ffffff", 15], ["#65737e", 243]]]
let s:p.visual.middle = [[["#ffffff", 15], ["#343d46", 237]]]
let s:p.visual.right = [[["#ffffff", 15], ["#65737e", 243]], [["#ffffff", 15], ["#f99157", 209]]]
let s:p.tabline.left = [[["#65737e", 243], ["#343d46", 237]]]
let s:p.tabline.tabsel = [[["#ffffff", 15], ["#65737e", 243]]]
let s:p.tabline.middle = [[["#65737e", 243], ["#343d46", 237]]]
let s:p.tabline.right = [[["#65737e", 243], ["#343d46", 237]]]
let g:lightline#colorscheme#oceanicnext#palette = lightline#colorscheme#flatten(s:p)

View File

@@ -0,0 +1,50 @@
" =============================================================================
" Filename: autoload/lightline/colorscheme/onehalfdark.vim
" Author: sonph
" License: MIT License
" Last Change: 2019/12/01
" =============================================================================
let s:mono0 = [ '#282c34', 236 ]
let s:mono1 = [ '#313640', 238 ]
let s:mono2 = [ '#5d677a', 243 ]
let s:mono3 = [ '#dcdfe4', 255 ]
let s:yellow = [ '#e5c07b', 180 ]
let s:red = [ '#e06c75', 168 ]
let s:magenta = [ '#c678dd', 176 ]
let s:blue = [ '#61afef', 75 ]
let s:cyan = [ '#56b6c2', 73 ]
let s:green = [ '#98c379', 114 ]
let s:p = {'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}}
let s:p.normal.left = [ [ s:mono0, s:green ], [ s:mono3, s:mono2 ] ]
let s:p.normal.middle = [ [ s:green, s:mono1 ] ]
let s:p.normal.right = [ [ s:mono0, s:green ], [ s:mono3, s:mono2 ] ]
let s:p.normal.error = [ [ s:mono0, s:red ] ]
let s:p.normal.warning = [ [ s:mono0, s:yellow ] ]
let s:p.inactive.left = [ [ s:mono3, s:mono2 ], [ s:mono3, s:mono2 ] ]
let s:p.inactive.middle = [ [ s:mono3, s:mono1 ] ]
let s:p.inactive.right = [ [ s:mono0, s:mono3 ], [ s:mono3, s:mono2 ] ]
let s:p.insert.left = [ [ s:mono0, s:blue ], [ s:mono3, s:mono2 ] ]
let s:p.insert.middle = [ [ s:blue, s:mono1 ] ]
let s:p.insert.right = [ [ s:mono0, s:blue ], [ s:mono3, s:mono2 ] ]
let s:p.replace.left = [ [ s:mono0, s:red ], [ s:mono3, s:mono2 ] ]
let s:p.replace.middle = [ [ s:red, s:mono1 ] ]
let s:p.replace.right = [ [ s:mono0, s:red ], [ s:mono3, s:mono2 ] ]
let s:p.visual.left = [ [ s:mono0, s:yellow ], [ s:mono3, s:mono2 ] ]
let s:p.visual.middle = [ [ s:yellow, s:mono1 ] ]
let s:p.visual.right = [ [ s:mono0, s:yellow ], [ s:mono3, s:mono2 ] ]
let s:p.tabline.left = [ [ s:mono2, s:mono1] ]
let s:p.tabline.tabsel = [ [ s:mono3, s:mono2 ] ]
let s:p.tabline.middle = [ [ s:mono2, s:mono1] ]
let s:p.tabline.right = [ [ s:mono0, s:mono3 ] ]
let g:lightline#colorscheme#onehalfdark#palette = lightline#colorscheme#flatten(s:p)

View File

@@ -0,0 +1,37 @@
let s:gry0 = [ "#2c2d30", 236 ]
let s:gry1 = [ "#363a3e", 237 ]
let s:gry3 = [ "#afb7c0", 249 ]
let s:red_ = [ "#be868c", 138 ]
let s:mgnt = [ "#a88cb3", 139 ]
let s:gren = [ "#7f9d77", 108 ]
let s:blue = [ "#759abd", 110 ]
let s:p = { "normal" : {} , "inactive": {} , "insert" : {} ,
\ "replace": {} , "visual" : {} , "tabline" : {} }
let s:p.normal.left = [[ s:gry0, s:gry3 ], [ s:gry3, s:gry1 ]]
let s:p.normal.middle = [[ s:gry3, s:gry1 ]]
let s:p.normal.right = [[ s:gry0, s:gry3 ], [ s:gry0, s:gry3 ]]
let s:p.inactive.left = copy(s:p.normal.middle)
let s:p.inactive.middle = copy(s:p.normal.middle)
let s:p.inactive.right = copy(s:p.normal.middle)
let s:p.insert.left = [[ s:gry0, s:gren ]]
let s:p.insert.right = [[ s:gry0, s:gren ], [ s:gry0, s:gren ]]
let s:p.visual.left = [[ s:gry0, s:blue ]]
let s:p.visual.right = [[ s:gry0, s:blue ], [ s:gry0, s:blue ]]
let s:p.replace.left = [[ s:gry0, s:red_ ]]
let s:p.replace.right = [[ s:gry0, s:red_ ], [ s:gry0, s:red_ ]]
let s:p.tabline.left = copy(s:p.normal.middle)
let s:p.tabline.tabsel = [[ s:gry0, s:gren ]]
let s:p.tabline.right = copy(s:p.normal.middle)
let s:p.normal.error = [[ s:red_, s:gry0 ]]
let s:p.normal.warning = [[ s:mgnt, s:gry0 ]]
let g:lightline#colorscheme#snow_dark#palette =
\ lightline#colorscheme#flatten(s:p)

View File

@@ -0,0 +1,37 @@
let s:gry0 = [ "#fbffff", 231 ]
let s:gry1 = [ "#e5ebf1", 255 ]
let s:gry3 = [ "#535c65", 240 ]
let s:red_ = [ "#ae5865", 131 ]
let s:mgnt = [ "#8f63a2", 97 ]
let s:gren = [ "#4d7f43", 65 ]
let s:blue = [ "#2b7ab2", 32 ]
let s:p = { "normal" : {} , "inactive": {} , "insert" : {} ,
\ "replace": {} , "visual" : {} , "tabline" : {} }
let s:p.normal.left = [[ s:gry0, s:gry3 ], [ s:gry3, s:gry1 ]]
let s:p.normal.middle = [[ s:gry3, s:gry1 ]]
let s:p.normal.right = [[ s:gry0, s:gry3 ], [ s:gry0, s:gry3 ]]
let s:p.inactive.left = copy(s:p.normal.middle)
let s:p.inactive.middle = copy(s:p.normal.middle)
let s:p.inactive.right = copy(s:p.normal.middle)
let s:p.insert.left = [[ s:gry0, s:gren ]]
let s:p.insert.right = [[ s:gry0, s:gren ], [ s:gry0, s:gren ]]
let s:p.visual.left = [[ s:gry0, s:blue ]]
let s:p.visual.right = [[ s:gry0, s:blue ], [ s:gry0, s:blue ]]
let s:p.replace.left = [[ s:gry0, s:red_ ]]
let s:p.replace.right = [[ s:gry0, s:red_ ], [ s:gry0, s:red_ ]]
let s:p.tabline.left = copy(s:p.normal.middle)
let s:p.tabline.tabsel = [[ s:gry0, s:gren ]]
let s:p.tabline.right = copy(s:p.normal.middle)
let s:p.normal.error = [[ s:red_, s:gry0 ]]
let s:p.normal.warning = [[ s:mgnt, s:gry0 ]]
let g:lightline#colorscheme#snow_light#palette =
\ lightline#colorscheme#flatten(s:p)

View File

@@ -0,0 +1,38 @@
let s:gry0 = [ "#222532", 235 ]
let s:gry1 = [ "#2d3243", 236 ]
let s:gry3 = [ "#bead9d", 145 ]
let s:red_ = [ "#ca7375", 174 ]
let s:mgnt = [ "#b178b5", 139 ]
let s:gren = [ "#5c9a61", 71 ]
let s:blue = [ "#578fcc", 32 ]
let s:p = { "normal" : {} , "inactive": {} , "insert" : {} ,
\ "replace": {} , "visual" : {} , "tabline" : {} }
let s:p.normal.left = [[ s:gry0, s:gry3 ], [ s:gry3, s:gry1 ]]
let s:p.normal.middle = [[ s:gry3, s:gry1 ]]
let s:p.normal.right = [[ s:gry0, s:gry3 ], [ s:gry0, s:gry3 ]]
let s:p.inactive.left = copy(s:p.normal.middle)
let s:p.inactive.middle = copy(s:p.normal.middle)
let s:p.inactive.right = copy(s:p.normal.middle)
let s:p.insert.left = [[ s:gry0, s:gren ]]
let s:p.insert.right = [[ s:gry0, s:gren ], [ s:gry0, s:gren ]]
let s:p.visual.left = [[ s:gry0, s:blue ]]
let s:p.visual.right = [[ s:gry0, s:blue ], [ s:gry0, s:blue ]]
let s:p.replace.left = [[ s:gry0, s:red_ ]]
let s:p.replace.right = [[ s:gry0, s:red_ ], [ s:gry0, s:red_ ]]
let s:p.tabline.left = copy(s:p.normal.middle)
let s:p.tabline.tabsel = [[ s:gry0, s:gren ]]
let s:p.tabline.right = copy(s:p.normal.middle)
let s:p.normal.error = [[ s:red_, s:gry0 ]]
let s:p.normal.warning = [[ s:mgnt, s:gry0 ]]
let g:lightline#colorscheme#stellarized_dark#palette =
\ lightline#colorscheme#flatten(s:p)

View File

@@ -0,0 +1,38 @@
let s:gry0 = [ "#fceee0", 255 ]
let s:gry1 = [ "#ecdac9", 223 ]
let s:gry3 = [ "#4a5067", 60 ]
let s:red_ = [ "#c6394c", 161 ]
let s:mgnt = [ "#a348ae", 133 ]
let s:gren = [ "#007f25", 28 ]
let s:blue = [ "#006dcc", 25 ]
let s:p = { "normal" : {} , "inactive": {} , "insert" : {} ,
\ "replace": {} , "visual" : {} , "tabline" : {} }
let s:p.normal.left = [[ s:gry0, s:gry3 ], [ s:gry3, s:gry1 ]]
let s:p.normal.middle = [[ s:gry3, s:gry1 ]]
let s:p.normal.right = [[ s:gry0, s:gry3 ], [ s:gry0, s:gry3 ]]
let s:p.inactive.left = copy(s:p.normal.middle)
let s:p.inactive.middle = copy(s:p.normal.middle)
let s:p.inactive.right = copy(s:p.normal.middle)
let s:p.insert.left = [[ s:gry0, s:gren ]]
let s:p.insert.right = [[ s:gry0, s:gren ], [ s:gry0, s:gren ]]
let s:p.visual.left = [[ s:gry0, s:blue ]]
let s:p.visual.right = [[ s:gry0, s:blue ], [ s:gry0, s:blue ]]
let s:p.replace.left = [[ s:gry0, s:red_ ]]
let s:p.replace.right = [[ s:gry0, s:red_ ], [ s:gry0, s:red_ ]]
let s:p.tabline.left = copy(s:p.normal.middle)
let s:p.tabline.tabsel = [[ s:gry0, s:gren ]]
let s:p.tabline.right = copy(s:p.normal.middle)
let s:p.normal.error = [[ s:red_, s:gry0 ]]
let s:p.normal.warning = [[ s:mgnt, s:gry0 ]]
let g:lightline#colorscheme#stellarized_light#palette =
\ lightline#colorscheme#flatten(s:p)

View File

@@ -0,0 +1,37 @@
if exists('g:lightline')
let s:bg = '#282c34'
let s:fg = '#abb2bf'
let s:gray1 = '#3e4452'
let s:gray2 = '#2c323c'
let s:gray3 = '#55606d'
let s:green = '#43d08a'
let s:red = '#e05252'
let s:red2 = '#e06c75'
let s:orange = '#c8ae9d'
let s:p = {'normal':{}, 'inactive':{}, 'insert':{}, 'replace':{}, 'visual':{}, 'tabline':{}}
let s:p.normal.left = [ [ s:bg, s:green, 'bold' ], [ s:fg, s:gray1 ] ]
let s:p.normal.right = [ [s:bg, s:green ], [ s:fg, s:gray1 ] ]
let s:p.normal.middle = [ [ s:fg, s:gray2 ] ]
let s:p.inactive.right = [ [ s:gray3, s:gray2 ], [ s:gray3, s:gray2 ] ]
let s:p.inactive.left = [ [ s:gray3, s:gray2 ], [ s:gray3, s:gray2 ] ]
let s:p.inactive.middle = [ [ s:gray3, s:gray2 ] ]
let s:p.insert.left = [ [ s:bg, s:fg, 'bold' ], [ s:fg, s:gray3 ] ]
let s:p.insert.right = [ [ s:bg, s:fg ], [ s:fg, s:gray1 ] ]
let s:p.insert.middle = [ [ s:fg, s:gray2 ] ]
let s:p.replace.left = [ [ s:bg, s:red, 'bold' ], [ s:fg, s:gray1 ] ]
let s:p.replace.right = [ [ s:bg, s:red ], [ s:fg, s:gray1 ] ]
let s:p.replace.middle = [ [ s:fg, s:gray2 ] ]
let s:p.visual.left = [ [ s:bg, s:orange, 'bold' ], [ s:red2, s:gray1 ] ]
let s:p.visual.right = [ [ s:bg, s:orange ], [ s:red2, s:gray1 ] ]
let s:p.visual.middle = [ [ s:fg, s:gray2 ] ]
let s:p.tabline.left = [ [ s:fg, s:gray1 ] ]
let s:p.tabline.tabsel = [ [ s:bg, s:green ] ]
let s:p.tabline.middle = [ [ s:bg, s:bg ] ]
let s:p.tabline.right = [ [ s:bg, s:red ] ]
let s:p.normal.error = [ [ s:bg, s:red ] ]
let s:p.normal.warning = [ [ s:bg, s:orange ] ]
let g:lightline#colorscheme#twofirewatch#palette = lightline#colorscheme#fill(s:p)
endif

View File

@@ -0,0 +1,40 @@
" =============================================================================
" Filename: autoload/lightline/colorscheme/mountaineer.vim
" Author: itchyny
" License: MIT License
" Last Change: 2013/09/07 12:21:04.
" =============================================================================
let s:base03 = [ '#f0f0f0', 233 ]
let s:base02 = [ '#050505', 236 ]
let s:base01 = [ '#050505', 239 ]
let s:base00 = [ '#666656', 242 ]
let s:base0 = [ '#808070', 244 ]
let s:base1 = [ '#050505', 246 ]
let s:base2 = [ '#a8a897', 248 ]
let s:base3 = [ '#ebc7bc', 253 ]
let s:yellow = [ '#0f0f0f', 215 ]
let s:orange = [ '#0f0f0f', 222 ]
let s:red = [ '#0f0f0f', 167 ]
let s:magenta = [ '#0f0f0f', 217 ]
let s:blue = [ '#0f0f0f', 103 ]
let s:cyan = [ '#0f0f0f', 110 ]
let s:green = [ '#0f0f0f', 107 ]
let s:p = {'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}}
let s:p.normal.left = [ [ s:base03, s:blue ], [ s:base3, s:base01 ] ]
let s:p.normal.right = [ [ s:base03, s:green ], [ s:base2, s:base01 ] ]
let s:p.inactive.right = [ [ s:base03, s:base00 ], [ s:base0, s:base02 ] ]
let s:p.inactive.left = [ [ s:base0, s:base02 ], [ s:base00, s:base02 ] ]
let s:p.insert.left = [ [ s:base03, s:green ], [ s:base3, s:base01 ] ]
let s:p.replace.left = [ [ s:base03, s:red ], [ s:base3, s:base01 ] ]
let s:p.visual.left = [ [ s:base03, s:magenta ], [ s:base3, s:base01 ] ]
let s:p.normal.middle = [ [ s:base0, s:base02 ] ]
let s:p.inactive.middle = [ [ s:base00, s:base02 ] ]
let s:p.tabline.left = copy(s:p.normal.middle)
let s:p.tabline.tabsel = [ [ s:base3, s:base00 ] ]
let s:p.tabline.middle = copy(s:p.normal.middle)
let s:p.tabline.right = [ [ s:base03, s:green ] ]
let s:p.normal.error = [ [ s:red, s:base02 ] ]
let s:p.normal.warning = [ [ s:yellow, s:base01 ] ]
let g:lightline#colorscheme#mountaineer#palette = lightline#colorscheme#flatten(s:p)

View File

@@ -0,0 +1,40 @@
" =============================================================================
" Filename: autoload/lightline/colorscheme/mountaineer-grey.vim
" Author: itchyny
" License: MIT License
" Last Change: 2013/09/07 12:21:04.
" =============================================================================
let s:base03 = [ '#f0f0f0', 233 ]
let s:base02 = [ '#191919', 236 ]
let s:base01 = [ '#191919', 239 ]
let s:base00 = [ '#666656', 242 ]
let s:base0 = [ '#808070', 244 ]
let s:base1 = [ '#191919', 246 ]
let s:base2 = [ '#a8a897', 248 ]
let s:base3 = [ '#ebc7bc', 253 ]
let s:yellow = [ '#2c2c2c', 215 ]
let s:orange = [ '#2c2c2c', 222 ]
let s:red = [ '#2c2c2c', 167 ]
let s:magenta = [ '#2c2c2c', 217 ]
let s:blue = [ '#2c2c2c', 103 ]
let s:cyan = [ '#2c2c2c', 110 ]
let s:green = [ '#2c2c2c', 107 ]
let s:p = {'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}}
let s:p.normal.left = [ [ s:base03, s:blue ], [ s:base3, s:base01 ] ]
let s:p.normal.right = [ [ s:base03, s:green ], [ s:base2, s:base01 ] ]
let s:p.inactive.right = [ [ s:base03, s:base00 ], [ s:base0, s:base02 ] ]
let s:p.inactive.left = [ [ s:base0, s:base02 ], [ s:base00, s:base02 ] ]
let s:p.insert.left = [ [ s:base03, s:green ], [ s:base3, s:base01 ] ]
let s:p.replace.left = [ [ s:base03, s:red ], [ s:base3, s:base01 ] ]
let s:p.visual.left = [ [ s:base03, s:magenta ], [ s:base3, s:base01 ] ]
let s:p.normal.middle = [ [ s:base0, s:base02 ] ]
let s:p.inactive.middle = [ [ s:base00, s:base02 ] ]
let s:p.tabline.left = copy(s:p.normal.middle)
let s:p.tabline.tabsel = [ [ s:base3, s:base00 ] ]
let s:p.tabline.middle = copy(s:p.normal.middle)
let s:p.tabline.right = [ [ s:base03, s:green ] ]
let s:p.normal.error = [ [ s:red, s:base02 ] ]
let s:p.normal.warning = [ [ s:yellow, s:base01 ] ]
let g:lightline#colorscheme#mountaineer_grey#palette = lightline#colorscheme#flatten(s:p)

View File

@@ -0,0 +1,40 @@
" =============================================================================
" Filename: autoload/lightline/colorscheme/mountaineer-light.vim
" Author: itchyny
" License: MIT License
" Last Change: 2013/09/07 12:21:04.
" =============================================================================
let s:base03 = [ '#050505', 233 ]
let s:base02 = [ '#f0f0f0', 236 ]
let s:base01 = [ '#f0f0f0', 239 ]
let s:base00 = [ '#666656', 242 ]
let s:base0 = [ '#808070', 244 ]
let s:base1 = [ '#f0f0f0', 246 ]
let s:base2 = [ '#a8a897', 248 ]
let s:base3 = [ '#ebc7bc', 253 ]
let s:yellow = [ '#d3d3d3', 215 ]
let s:orange = [ '#d3d3d3', 222 ]
let s:red = [ '#d3d3d3', 167 ]
let s:magenta = [ '#d3d3d3', 217 ]
let s:blue = [ '#d3d3d3', 103 ]
let s:cyan = [ '#d3d3d3', 110 ]
let s:green = [ '#d3d3d3', 107 ]
let s:p = {'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}}
let s:p.normal.left = [ [ s:base03, s:blue ], [ s:base3, s:base01 ] ]
let s:p.normal.right = [ [ s:base03, s:green ], [ s:base2, s:base01 ] ]
let s:p.inactive.right = [ [ s:base03, s:base00 ], [ s:base0, s:base02 ] ]
let s:p.inactive.left = [ [ s:base0, s:base02 ], [ s:base00, s:base02 ] ]
let s:p.insert.left = [ [ s:base03, s:green ], [ s:base3, s:base01 ] ]
let s:p.replace.left = [ [ s:base03, s:red ], [ s:base3, s:base01 ] ]
let s:p.visual.left = [ [ s:base03, s:magenta ], [ s:base3, s:base01 ] ]
let s:p.normal.middle = [ [ s:base0, s:base02 ] ]
let s:p.inactive.middle = [ [ s:base00, s:base02 ] ]
let s:p.tabline.left = copy(s:p.normal.middle)
let s:p.tabline.tabsel = [ [ s:base3, s:base00 ] ]
let s:p.tabline.middle = copy(s:p.normal.middle)
let s:p.tabline.right = [ [ s:base03, s:green ] ]
let s:p.normal.error = [ [ s:red, s:base02 ] ]
let s:p.normal.warning = [ [ s:yellow, s:base01 ] ]
let g:lightline#colorscheme#mountaineer_light#palette = lightline#colorscheme#flatten(s:p)

View File

@@ -0,0 +1,29 @@
" [onedark.vim](https://github.com/joshdick/onedark.vim/)
let s:overrides = get(g:, "onedark_color_overrides", {})
let s:colors = {
\ "red": get(s:overrides, "red", { "gui": "#E06C75", "cterm": "204", "cterm16": "1" }),
\ "dark_red": get(s:overrides, "dark_red", { "gui": "#BE5046", "cterm": "196", "cterm16": "9" }),
\ "green": get(s:overrides, "green", { "gui": "#98C379", "cterm": "114", "cterm16": "2" }),
\ "yellow": get(s:overrides, "yellow", { "gui": "#E5C07B", "cterm": "180", "cterm16": "3" }),
\ "dark_yellow": get(s:overrides, "dark_yellow", { "gui": "#D19A66", "cterm": "173", "cterm16": "11" }),
\ "blue": get(s:overrides, "blue", { "gui": "#61AFEF", "cterm": "39", "cterm16": "4" }),
\ "purple": get(s:overrides, "purple", { "gui": "#C678DD", "cterm": "170", "cterm16": "5" }),
\ "cyan": get(s:overrides, "cyan", { "gui": "#56B6C2", "cterm": "38", "cterm16": "6" }),
\ "white": get(s:overrides, "white", { "gui": "#ABB2BF", "cterm": "145", "cterm16": "15" }),
\ "black": get(s:overrides, "black", { "gui": "#282C34", "cterm": "235", "cterm16": "0" }),
\ "foreground": get(s:overrides, "foreground", { "gui": "#ABB2BF", "cterm": "145", "cterm16": "NONE" }),
\ "background": get(s:overrides, "background", { "gui": "#282C34", "cterm": "235", "cterm16": "NONE" }),
\ "comment_grey": get(s:overrides, "comment_grey", { "gui": "#5C6370", "cterm": "59", "cterm16": "7" }),
\ "gutter_fg_grey": get(s:overrides, "gutter_fg_grey", { "gui": "#4B5263", "cterm": "238", "cterm16": "8" }),
\ "cursor_grey": get(s:overrides, "cursor_grey", { "gui": "#2C323C", "cterm": "236", "cterm16": "0" }),
\ "visual_grey": get(s:overrides, "visual_grey", { "gui": "#3E4452", "cterm": "237", "cterm16": "8" }),
\ "menu_grey": get(s:overrides, "menu_grey", { "gui": "#3E4452", "cterm": "237", "cterm16": "7" }),
\ "special_grey": get(s:overrides, "special_grey", { "gui": "#3B4048", "cterm": "238", "cterm16": "7" }),
\ "vertsplit": get(s:overrides, "vertsplit", { "gui": "#3E4452", "cterm": "59", "cterm16": "7" }),
\}
function! onedark#GetColors()
return s:colors
endfunction

View File

@@ -0,0 +1,66 @@
" ==============================================================================
" Name: purify
" Author: Kyoz
" Repository: https://github.com/kyoz/purify/
" License: The MIT License (MIT)
" Copyright: Kyoz (banminkyoz@gmail.com)
"
" Clean and beautiful colorscheme for vim (neovim)
" ==============================================================================
" Color Pallete {{{
" Purify is based on 10 main colors
" +--------------------------------+
" | Color Name | Hex | cterm |
" |--------------+---------+-------|
" | Black | #282C34 | 235 |
" |--------------+---------+-------|
" | White | #FFFFFF | 15 |
" |--------------+---------+-------|
" | Red | #FF0000 | 196 |
" |--------------+---------+-------|
" | Green | #5FFF87 | 84 |
" |--------------+---------+-------|
" | Blue | #5FAFFF | 75 |
" |--------------+---------+-------|
" | Yellow | #FFFF87 | 228 |
" |--------------+---------+-------|
" | Pink | #FF79C6 | 212 |
" |--------------+---------+-------|
" | Salmon | #FF875F | 209 |
" |--------------+---------+-------|
" | Pulple | #AF87FF | 141 |
" |--------------+---------+-------|
" | Dark yellow | #D19A66 | 173 |
" |--------------+---------+-------|
" }}}
let s:override_colors = get(g:, 'purify_override_colors', {})
let s:colors = {
\ 'black': get(s:override_colors, 'black', { 'gui': '#282C34', 'cterm': '235' }),
\ 'white': get(s:override_colors, 'white', { 'gui': '#FFFFFF', 'cterm': '15' }),
\ 'red': get(s:override_colors, 'red', { 'gui': '#FF0000', 'cterm': '196' }),
\ 'green': get(s:override_colors, 'green', { 'gui': '#5FFF87', 'cterm': '84' }),
\ 'blue': get(s:override_colors, 'blue', { 'gui': '#5FAFFF', 'cterm': '75' }),
\ 'yellow': get(s:override_colors, 'yellow', { 'gui': '#FFFF87', 'cterm': '228' }),
\ 'pink': get(s:override_colors, 'pink', { 'gui': '#FF79C6', 'cterm': '212' }),
\ 'salmon': get(s:override_colors, 'salmon', { 'gui': '#FF875F', 'cterm': '209' }),
\ 'purple': get(s:override_colors, 'purple', { 'gui': '#AF87FF', 'cterm': '141' }),
\ 'dark_yellow': get(s:override_colors, 'dark_yellow', { 'gui': '#D19A66', 'cterm': '173' }),
\ 'comment_grey': get(s:override_colors, 'comment_grey', { 'gui': '#5F5F87', 'cterm': '61' }),
\ 'cursor_grey': get(s:override_colors, 'cursor_grey', { 'gui': '#2C323C', 'cterm': '236' }),
\ 'gutter_grey_fg': get(s:override_colors, 'gutter_grey_fg', { 'gui': '#4B5263', 'cterm': '238' }),
\ 'blur_grey': get(s:override_colors, 'blur_grey', { 'gui': '#3B4048', 'cterm': '238' }),
\ 'menu_grey': get(s:override_colors, 'menu_grey', { 'gui': '#3E4452', 'cterm': '237' }),
\ 'visual_grey': get(s:override_colors, 'visual_grey', { 'gui': '#3E4452', 'cterm': '237' }),
\ 'visual_black': get(s:override_colors, 'visual_black', { 'gui': 'NONE', 'cterm': 'NONE' }),
\ 'none': get(s:override_colors, 'none', { 'gui': 'NONE', 'cterm': 'NONE' })
\ }
function! purify#get_colors()
return s:colors
endfunction

View File

@@ -0,0 +1,307 @@
" =============================================================================
" URL: https://github.com/sainnhe/sonokai
" Filename: autoload/sonokai.vim
" Author: sainnhe
" Email: sainnhe@gmail.com
" License: MIT License
" =============================================================================
function! sonokai#get_configuration() "{{{
return {
\ 'style': get(g:, 'sonokai_style', 'default'),
\ 'transparent_background': get(g:, 'sonokai_transparent_background', 0),
\ 'disable_italic_comment': get(g:, 'sonokai_disable_italic_comment', 0),
\ 'enable_italic': get(g:, 'sonokai_enable_italic', 0),
\ 'cursor': get(g:, 'sonokai_cursor', 'auto'),
\ 'menu_selection_background': get(g:, 'sonokai_menu_selection_background', 'blue'),
\ 'show_eob': get(g:, 'sonokai_show_eob', 1),
\ 'current_word': get(g:, 'sonokai_current_word', get(g:, 'sonokai_transparent_background', 0) == 0 ? 'grey background' : 'bold'),
\ 'lightline_disable_bold': get(g:, 'sonokai_lightline_disable_bold', 0),
\ 'diagnostic_text_highlight': get(g:, 'sonokai_diagnostic_text_highlight', 0),
\ 'diagnostic_line_highlight': get(g:, 'sonokai_diagnostic_line_highlight', 0),
\ 'diagnostic_virtual_text': get(g:, 'sonokai_diagnostic_virtual_text', 'grey'),
\ 'better_performance': get(g:, 'sonokai_better_performance', 0),
\ }
endfunction "}}}
function! sonokai#get_palette(style) "{{{
if a:style ==# 'default'
let palette = {
\ 'black': ['#181819', '237'],
\ 'bg0': ['#2c2e34', '235'],
\ 'bg1': ['#33353f', '236'],
\ 'bg2': ['#363944', '236'],
\ 'bg3': ['#3b3e48', '237'],
\ 'bg4': ['#414550', '237'],
\ 'bg_red': ['#ff6077', '203'],
\ 'diff_red': ['#55393d', '52'],
\ 'bg_green': ['#a7df78', '107'],
\ 'diff_green': ['#394634', '22'],
\ 'bg_blue': ['#85d3f2', '110'],
\ 'diff_blue': ['#354157', '17'],
\ 'diff_yellow':['#4e432f', '54'],
\ 'fg': ['#e2e2e3', '250'],
\ 'red': ['#fc5d7c', '203'],
\ 'orange': ['#f39660', '215'],
\ 'yellow': ['#e7c664', '179'],
\ 'green': ['#9ed072', '107'],
\ 'blue': ['#76cce0', '110'],
\ 'purple': ['#b39df3', '176'],
\ 'grey': ['#7f8490', '246'],
\ 'grey_dim': ['#595f6f', '240'],
\ 'none': ['NONE', 'NONE']
\ }
elseif a:style ==# 'shusia'
let palette = {
\ 'black': ['#1a181a', '237'],
\ 'bg0': ['#2d2a2e', '235'],
\ 'bg1': ['#37343a', '236'],
\ 'bg2': ['#3b383e', '236'],
\ 'bg3': ['#423f46', '237'],
\ 'bg4': ['#49464e', '237'],
\ 'bg_red': ['#ff6188', '203'],
\ 'diff_red': ['#55393d', '52'],
\ 'bg_green': ['#a9dc76', '107'],
\ 'diff_green': ['#394634', '22'],
\ 'bg_blue': ['#78dce8', '110'],
\ 'diff_blue': ['#354157', '17'],
\ 'diff_yellow':['#4e432f', '54'],
\ 'fg': ['#e3e1e4', '250'],
\ 'red': ['#f85e84', '203'],
\ 'orange': ['#ef9062', '215'],
\ 'yellow': ['#e5c463', '179'],
\ 'green': ['#9ecd6f', '107'],
\ 'blue': ['#7accd7', '110'],
\ 'purple': ['#ab9df2', '176'],
\ 'grey': ['#848089', '246'],
\ 'grey_dim': ['#605d68', '240'],
\ 'none': ['NONE', 'NONE']
\ }
elseif a:style ==# 'andromeda'
let palette = {
\ 'black': ['#181a1c', '237'],
\ 'bg0': ['#2b2d3a', '235'],
\ 'bg1': ['#333648', '236'],
\ 'bg2': ['#363a4e', '236'],
\ 'bg3': ['#393e53', '237'],
\ 'bg4': ['#3f445b', '237'],
\ 'bg_red': ['#ff6188', '203'],
\ 'diff_red': ['#55393d', '52'],
\ 'bg_green': ['#a9dc76', '107'],
\ 'diff_green': ['#394634', '22'],
\ 'bg_blue': ['#77d5f0', '110'],
\ 'diff_blue': ['#354157', '17'],
\ 'diff_yellow':['#4e432f', '54'],
\ 'fg': ['#e1e3e4', '250'],
\ 'red': ['#fb617e', '203'],
\ 'orange': ['#f89860', '215'],
\ 'yellow': ['#edc763', '179'],
\ 'green': ['#9ed06c', '107'],
\ 'blue': ['#6dcae8', '110'],
\ 'purple': ['#bb97ee', '176'],
\ 'grey': ['#7e8294', '246'],
\ 'grey_dim': ['#5a5e7a', '240'],
\ 'none': ['NONE', 'NONE']
\ }
elseif a:style ==# 'atlantis'
let palette = {
\ 'black': ['#181a1c', '237'],
\ 'bg0': ['#2a2f38', '235'],
\ 'bg1': ['#333846', '236'],
\ 'bg2': ['#373c4b', '236'],
\ 'bg3': ['#3d4455', '237'],
\ 'bg4': ['#424b5b', '237'],
\ 'bg_red': ['#ff6d7e', '203'],
\ 'diff_red': ['#55393d', '52'],
\ 'bg_green': ['#a5e179', '107'],
\ 'diff_green': ['#394634', '22'],
\ 'bg_blue': ['#7ad5f1', '110'],
\ 'diff_blue': ['#354157', '17'],
\ 'diff_yellow':['#4e432f', '54'],
\ 'fg': ['#e1e3e4', '250'],
\ 'red': ['#ff6578', '203'],
\ 'orange': ['#f69c5e', '215'],
\ 'yellow': ['#eacb64', '179'],
\ 'green': ['#9dd274', '107'],
\ 'blue': ['#72cce8', '110'],
\ 'purple': ['#ba9cf3', '176'],
\ 'grey': ['#828a9a', '246'],
\ 'grey_dim': ['#5a6477', '240'],
\ 'none': ['NONE', 'NONE']
\ }
elseif a:style ==# 'maia'
let palette = {
\ 'black': ['#1c1e1f', '237'],
\ 'bg0': ['#273136', '235'],
\ 'bg1': ['#313b42', '236'],
\ 'bg2': ['#353f46', '236'],
\ 'bg3': ['#3a444b', '237'],
\ 'bg4': ['#414b53', '237'],
\ 'bg_red': ['#ff6d7e', '203'],
\ 'diff_red': ['#55393d', '52'],
\ 'bg_green': ['#a2e57b', '107'],
\ 'diff_green': ['#394634', '22'],
\ 'bg_blue': ['#7cd5f1', '110'],
\ 'diff_blue': ['#354157', '17'],
\ 'diff_yellow':['#4e432f', '54'],
\ 'fg': ['#e1e2e3', '250'],
\ 'red': ['#f76c7c', '203'],
\ 'orange': ['#f3a96a', '215'],
\ 'yellow': ['#e3d367', '179'],
\ 'green': ['#9cd57b', '107'],
\ 'blue': ['#78cee9', '110'],
\ 'purple': ['#baa0f8', '176'],
\ 'grey': ['#82878b', '246'],
\ 'grey_dim': ['#55626d', '240'],
\ 'none': ['NONE', 'NONE']
\ }
elseif a:style ==# 'espresso'
let palette = {
\ 'black': ['#1f1e1c', '237'],
\ 'bg0': ['#312c2b', '235'],
\ 'bg1': ['#393230', '236'],
\ 'bg2': ['#413937', '236'],
\ 'bg3': ['#49403c', '237'],
\ 'bg4': ['#4e433f', '237'],
\ 'bg_red': ['#fd6883', '203'],
\ 'diff_red': ['#55393d', '52'],
\ 'bg_green': ['#adda78', '107'],
\ 'diff_green': ['#394634', '22'],
\ 'bg_blue': ['#85dad2', '110'],
\ 'diff_blue': ['#354157', '17'],
\ 'diff_yellow':['#4e432f', '54'],
\ 'fg': ['#e4e3e1', '250'],
\ 'red': ['#f86882', '203'],
\ 'orange': ['#f08d71', '215'],
\ 'yellow': ['#f0c66f', '179'],
\ 'green': ['#a6cd77', '107'],
\ 'blue': ['#81d0c9', '110'],
\ 'purple': ['#9fa0e1', '176'],
\ 'grey': ['#90817b', '246'],
\ 'grey_dim': ['#6a5e59', '240'],
\ 'none': ['NONE', 'NONE']
\ }
endif
return palette
endfunction "}}}
function! sonokai#highlight(group, fg, bg, ...) "{{{
execute 'highlight' a:group
\ 'guifg=' . a:fg[0]
\ 'guibg=' . a:bg[0]
\ 'ctermfg=' . a:fg[1]
\ 'ctermbg=' . a:bg[1]
\ 'gui=' . (a:0 >= 1 ?
\ a:1 :
\ 'NONE')
\ 'cterm=' . (a:0 >= 1 ?
\ (a:1 ==# 'undercurl' ?
\ 'underline' :
\ a:1) :
\ 'NONE')
\ 'guisp=' . (a:0 >= 2 ?
\ a:2[0] :
\ 'NONE')
endfunction "}}}
function! sonokai#ft_gen(path, last_modified, msg) "{{{
" Generate the `after/ftplugin` directory.
let full_content = join(readfile(a:path), "\n") " Get the content of `colors/sonokai.vim`
let ft_content = []
let rootpath = sonokai#ft_rootpath(a:path) " Get the path to place the `after/ftplugin` directory.
call substitute(full_content, '" ft_begin.\{-}ft_end', '\=add(ft_content, submatch(0))', 'g') " Search for 'ft_begin.\{-}ft_end' (non-greedy) and put all the search results into a list.
for content in ft_content
let ft_list = []
call substitute(matchstr(matchstr(content, 'ft_begin:.\{-}{{{'), ':.\{-}{{{'), '\(\w\|-\)\+', '\=add(ft_list, submatch(0))', 'g') " Get the file types. }}}}}}
for ft in ft_list
call sonokai#ft_write(rootpath, ft, content) " Write the content.
endfor
endfor
call sonokai#ft_write(rootpath, 'text', "let g:sonokai_last_modified = '" . a:last_modified . "'") " Write the last modified time to `after/ftplugin/text/sonokai.vim`
if a:msg ==# 'update'
echohl WarningMsg | echom '[sonokai] Updated ' . rootpath . '/after/ftplugin' | echohl None
else
echohl WarningMsg | echom '[sonokai] Generated ' . rootpath . '/after/ftplugin' | echohl None
endif
endfunction "}}}
function! sonokai#ft_write(rootpath, ft, content) "{{{
" Write the content.
let ft_path = a:rootpath . '/after/ftplugin/' . a:ft . '/sonokai.vim' " The path of a ftplugin file.
" create a new file if it doesn't exist
if !filereadable(ft_path)
call mkdir(a:rootpath . '/after/ftplugin/' . a:ft, 'p')
call writefile([
\ "if !exists('g:colors_name') || g:colors_name !=# 'sonokai'",
\ ' finish',
\ 'endif'
\ ], ft_path, 'a') " Abort if the current color scheme is not sonokai.
call writefile([
\ "if index(g:sonokai_loaded_file_types, '" . a:ft . "') ==# -1",
\ " call add(g:sonokai_loaded_file_types, '" . a:ft . "')",
\ 'else',
\ ' finish',
\ 'endif'
\ ], ft_path, 'a') " Abort if this file type has already been loaded.
endif
" If there is something like `call sonokai#highlight()`, then add
" code to initialize the palette and configuration.
if matchstr(a:content, 'sonokai#highlight') !=# ''
call writefile([
\ 'let s:configuration = sonokai#get_configuration()',
\ 'let s:palette = sonokai#get_palette(s:configuration.style)'
\ ], ft_path, 'a')
endif
" Append the content.
call writefile(split(a:content, "\n"), ft_path, 'a')
" Add modeline.
call writefile(['" vim: set sw=2 ts=2 sts=2 et tw=80 ft=vim fdm=marker fmr={{{,}}}:'], ft_path, 'a')
endfunction "}}}
function! sonokai#ft_rootpath(path) "{{{
" Get the directory where `after/ftplugin` is generated.
if (matchstr(a:path, '^/usr/share') ==# '') || has('win32') " Return the plugin directory. The `after/ftplugin` directory should never be generated in `/usr/share`, even if you are a root user.
return fnamemodify(a:path, ':p:h:h')
else " Use vim home directory.
if has('nvim')
return stdpath('config')
else
if has('win32') || has ('win64')
return $VIM . '/vimfiles'
else
return $HOME . '/.vim'
endif
endif
endif
endfunction "}}}
function! sonokai#ft_newest(path, last_modified) "{{{
" Determine whether the current ftplugin files are up to date by comparing the last modified time in `colors/sonokai.vim` and `after/ftplugin/text/sonokai.vim`.
let rootpath = sonokai#ft_rootpath(a:path)
execute 'source ' . rootpath . '/after/ftplugin/text/sonokai.vim'
return a:last_modified ==# g:sonokai_last_modified ? 1 : 0
endfunction "}}}
function! sonokai#ft_clean(path, msg) "{{{
" Clean the `after/ftplugin` directory.
let rootpath = sonokai#ft_rootpath(a:path)
" Remove `after/ftplugin/**/sonokai.vim`.
let file_list = split(globpath(rootpath, 'after/ftplugin/**/sonokai.vim'), "\n")
for file in file_list
call delete(file)
endfor
" Remove empty directories.
let dir_list = split(globpath(rootpath, 'after/ftplugin/*'), "\n")
for dir in dir_list
if globpath(dir, '*') ==# ''
call delete(dir, 'd')
endif
endfor
if globpath(rootpath . '/after/ftplugin', '*') ==# ''
call delete(rootpath . '/after/ftplugin', 'd')
endif
if globpath(rootpath . '/after', '*') ==# ''
call delete(rootpath . '/after', 'd')
endif
if a:msg
echohl WarningMsg | echom '[sonokai] Cleaned ' . rootpath . '/after/ftplugin' | echohl None
endif
endfunction "}}}
function! sonokai#ft_exists(path) "{{{
return filereadable(sonokai#ft_rootpath(a:path) . '/after/ftplugin/text/sonokai.vim')
endfunction "}}}
" vim: set sw=2 ts=2 sts=2 et tw=80 ft=vim fdm=marker fmr={{{,}}}:

View File

@@ -0,0 +1,130 @@
" Vim color file
" Name: 256_noir.vim
" Maintainer: Andreas van Cranenburgh <andreas@unstable.nl>
" Homepage: https://github.com/andreasvc/vim-256noir/
" Basically: dark background, numerals & errors red,
" rest different shades of gray.
"
" colors 232--250 are shades of gray, from dark to light;
" 16=black, 255=white, 196=red, 88=darkred.
highlight clear
set background=dark
if version > 580
" no guarantees for version 5.8 and below, but this makes it stop
" complaining
if exists("syntax_on")
syntax reset
endif
endif
let g:colors_name = "256_noir"
if has("gui_running") || &t_Co == 256
hi Normal cterm=NONE ctermfg=250 ctermbg=16 gui=NONE guifg=#bcbcbc guibg=#000000
hi Keyword cterm=NONE ctermfg=255 ctermbg=16 gui=NONE guifg=#eeeeee guibg=#000000
hi Constant cterm=NONE ctermfg=252 ctermbg=16 gui=NONE guifg=#d0d0d0 guibg=#000000
hi String cterm=NONE ctermfg=245 ctermbg=16 gui=NONE guifg=#8a8a8a guibg=#000000
hi Comment cterm=NONE ctermfg=240 ctermbg=16 gui=NONE guifg=#585858 guibg=#000000
hi Number cterm=NONE ctermfg=196 ctermbg=16 gui=NONE guifg=#ff0000 guibg=#000000
hi Error cterm=NONE ctermfg=255 ctermbg=88 gui=NONE guifg=#eeeeee guibg=#870000
hi ErrorMsg cterm=NONE ctermfg=255 ctermbg=124 gui=NONE guifg=#eeeeee guibg=#af0000
hi Search cterm=NONE ctermfg=245 ctermbg=236 gui=NONE guifg=#8a8a8a guibg=#303030
hi IncSearch cterm=reverse ctermfg=255 ctermbg=245 gui=reverse guifg=#eeeeee guibg=#8a8a8a
hi DiffChange cterm=NONE ctermfg=160 ctermbg=255 gui=NONE guifg=#d70000 guibg=#eeeeee
hi DiffText cterm=bold ctermfg=250 ctermbg=196 gui=bold guifg=#bcbcbc guibg=#ff0000
hi SignColumn cterm=NONE ctermfg=124 ctermbg=240 gui=NONE guifg=#af0000 guibg=#585858
hi SpellBad cterm=undercurl ctermfg=255 ctermbg=88 gui=undercurl guifg=#eeeeee guibg=#870000
hi SpellCap cterm=NONE ctermfg=255 ctermbg=124 gui=NONE guifg=#eeeeee guibg=#af0000
hi SpellRare cterm=NONE ctermfg=124 ctermbg=16 gui=NONE guifg=#af0000 guibg=#000000
hi WildMenu cterm=NONE ctermfg=240 ctermbg=255 gui=NONE guifg=#585858 guibg=#eeeeee
hi Pmenu cterm=NONE ctermfg=255 ctermbg=240 gui=NONE guifg=#eeeeee guibg=#585858
hi PmenuThumb cterm=NONE ctermfg=232 ctermbg=240 gui=NONE guifg=#080808 guibg=#585858
hi SpecialKey cterm=NONE ctermfg=16 ctermbg=255 gui=NONE guifg=#000000 guibg=#eeeeee
hi MatchParen cterm=NONE ctermfg=16 ctermbg=240 gui=NONE guifg=#000000 guibg=#585858
hi CursorLine cterm=NONE ctermfg=NONE ctermbg=233 gui=NONE guifg=NONE guibg=#121212
hi StatusLine cterm=bold,reverse ctermfg=245 ctermbg=16 gui=bold,reverse guifg=#8a8a8a guibg=#000000
hi StatusLineNC cterm=reverse ctermfg=236 ctermbg=16 gui=reverse guifg=#303030 guibg=#000000
hi Visual cterm=reverse ctermfg=250 ctermbg=16 gui=reverse guifg=#bcbcbc guibg=#000000
hi TermCursor cterm=reverse ctermfg=NONE ctermbg=NONE gui=reverse guifg=NONE guibg=NONE
else
hi Normal cterm=NONE ctermfg=Gray ctermbg=Black
hi Keyword cterm=NONE ctermfg=White ctermbg=Black
hi Constant cterm=NONE ctermfg=Gray ctermbg=Black
hi String cterm=NONE ctermfg=Gray ctermbg=Black
hi Comment cterm=NONE ctermfg=DarkGray ctermbg=Black
hi Number cterm=NONE ctermfg=Red ctermbg=Black
hi Error cterm=NONE ctermfg=White ctermbg=DarkRed
hi ErrorMsg cterm=NONE ctermfg=White ctermbg=Red
hi Search cterm=NONE ctermfg=Gray ctermbg=DarkGray
hi IncSearch cterm=reverse ctermfg=White ctermbg=Gray
hi DiffChange cterm=NONE ctermfg=Red ctermbg=White
hi DiffText cterm=bold ctermfg=Gray ctermbg=Red
hi SignColumn cterm=NONE ctermfg=Red ctermbg=DarkGray
hi SpellBad cterm=undercurl ctermfg=White ctermbg=DarkRed
hi SpellCap cterm=NONE ctermfg=White ctermbg=Red
hi SpellRare cterm=NONE ctermfg=Red ctermbg=Black
hi WildMenu cterm=NONE ctermfg=DarkGray ctermbg=White
hi Pmenu cterm=NONE ctermfg=White ctermbg=DarkGray
hi PmenuThumb cterm=NONE ctermfg=Black ctermbg=DarkGray
hi SpecialKey cterm=NONE ctermfg=Black ctermbg=White
hi MatchParen cterm=NONE ctermfg=Black ctermbg=DarkGray
hi CursorLine cterm=NONE ctermfg=NONE ctermbg=Black
hi StatusLine cterm=bold,reverse ctermfg=Gray ctermbg=Black
hi StatusLineNC cterm=reverse ctermfg=DarkGray ctermbg=Black
hi Visual cterm=reverse ctermfg=Gray ctermbg=Black
hi TermCursor cterm=reverse ctermfg=NONE ctermbg=NONE
endif
highlight! link Boolean Normal
highlight! link Delimiter Normal
highlight! link Identifier Normal
highlight! link Title Normal
highlight! link Debug Normal
highlight! link Exception Normal
highlight! link FoldColumn Normal
highlight! link Macro Normal
highlight! link ModeMsg Normal
highlight! link MoreMsg Normal
highlight! link Question Normal
highlight! link Conditional Keyword
highlight! link Statement Keyword
highlight! link Operator Keyword
highlight! link Structure Keyword
highlight! link Function Keyword
highlight! link Include Keyword
highlight! link Type Keyword
highlight! link Typedef Keyword
highlight! link Todo Keyword
highlight! link Label Keyword
highlight! link Define Keyword
highlight! link DiffAdd Keyword
highlight! link diffAdded Keyword
highlight! link diffCommon Keyword
highlight! link Directory Keyword
highlight! link PreCondit Keyword
highlight! link PreProc Keyword
highlight! link Repeat Keyword
highlight! link Special Keyword
highlight! link SpecialChar Keyword
highlight! link StorageClass Keyword
highlight! link SpecialComment String
highlight! link CursorLineNr String
highlight! link Character Number
highlight! link Float Number
highlight! link Tag Number
highlight! link Folded Number
highlight! link WarningMsg Number
highlight! link iCursor SpecialKey
highlight! link SpellLocal SpellCap
highlight! link LineNr Comment
highlight! link NonText Comment
highlight! link DiffDelete Comment
highlight! link diffRemoved Comment
highlight! link PmenuSbar Visual
highlight! link PmenuSel Visual
highlight! link VisualNOS Visual
highlight! link VertSplit Visual
highlight! link Cursor StatusLine
highlight! link Underlined SpellRare
highlight! link rstEmphasis SpellRare
highlight! link diffChanged DiffChange

View File

@@ -0,0 +1,368 @@
" ===============================================================
" OceanicNext
" Author: Mike Hartington
" ===============================================================
" {{{ Setup
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name="OceanicNext"
" }}}
" {{{ Italics
let g:oceanic_next_terminal_italic = get(g:, 'oceanic_next_terminal_italic', 0)
let s:italic = ""
if g:oceanic_next_terminal_italic == 1
let s:italic = "italic"
endif
"}}}
" {{{ Bold
let g:oceanic_next_terminal_bold = get(g:, 'oceanic_next_terminal_bold', 0)
let s:bold = ""
if g:oceanic_next_terminal_bold == 1
let s:bold = "bold"
endif
"}}}
" {{{ Colors
let s:base00 = ['#1b2b34', '235']
let s:base01 = ['#343d46', '237']
let s:base02 = ['#4f5b66', '240']
let s:base03 = ['#65737e', '243']
let s:base04 = ['#a7adba', '145']
let s:base05 = ['#c0c5ce', '251']
let s:base06 = ['#cdd3de', '252']
let s:base07 = ['#d8dee9', '253']
let s:red = ['#ec5f67', '203']
let s:orange = ['#f99157', '209']
let s:yellow = ['#fac863', '221']
let s:green = ['#99c794', '114']
let s:cyan = ['#62b3b2', '73']
let s:blue = ['#6699cc', '68']
let s:purple = ['#c594c5', '176']
let s:brown = ['#ab7967', '137']
let s:white = ['#ffffff', '15']
let s:none = ['NONE', 'NONE']
" }}}
" {{{ Highlight function
function! s:hi(group, fg, bg, attr, attrsp)
" fg, bg, attr, attrsp
if !empty(a:fg)
exec "hi " . a:group . " guifg=" . a:fg[0]
exec "hi " . a:group . " ctermfg=" . a:fg[1]
endif
if !empty(a:bg)
exec "hi " . a:group . " guibg=" . a:bg[0]
exec "hi " . a:group . " ctermbg=" . a:bg[1]
endif
if a:attr != ""
exec "hi " . a:group . " gui=" . a:attr
exec "hi " . a:group . " cterm=" . a:attr
endif
if !empty(a:attrsp)
exec "hi " . a:group . " guisp=" . a:attrsp[0]
endif
endfunction
" }}}
" {{{ call s::hi(group, fg, bg, gui, guisp)
call s:hi('Bold', '', '', s:bold, '')
call s:hi('Debug', s:red, '', '', '')
call s:hi('Directory', s:blue, '', '', '')
call s:hi('ErrorMsg', s:red, s:base00, '', '')
call s:hi('Exception', s:red, '', '', '')
call s:hi('FoldColumn', s:blue, s:base00, '', '')
call s:hi('Folded', s:base03, s:base01, s:italic, '')
call s:hi('IncSearch', s:base01, s:orange, 'NONE', '')
call s:hi('Italic', '', '', s:italic, '')
call s:hi('Macro', s:red, '', '', '')
call s:hi('MatchParen', s:base05, s:base03, '', '')
call s:hi('ModeMsg', s:green, '', '', '')
call s:hi('MoreMsg', s:green, '', '', '')
call s:hi('Question', s:blue, '', '', '')
call s:hi('Search', s:base03, s:yellow, '', '')
call s:hi('SpecialKey', s:base03, '', '', '')
call s:hi('TooLong', s:red, '', '', '')
call s:hi('Underlined', s:red, '', '', '')
call s:hi('Visual', '', s:base02, '', '')
call s:hi('VisualNOS', s:red, '', '', '')
call s:hi('WarningMsg', s:red, '', '', '')
call s:hi('WildMenu', s:base07, s:blue, '', '')
call s:hi('Title', s:blue, '', '', '')
call s:hi('Conceal', s:blue, s:base00, '', '')
call s:hi('Cursor', s:base00, s:base05, '', '')
call s:hi('NonText', s:base03, '', '', '')
call s:hi('Normal', s:base07, s:base00, '', '')
call s:hi('EndOfBuffer', s:base05, s:base00, '', '')
call s:hi('LineNr', s:base03, s:base00, '', '')
call s:hi('SignColumn', s:base00, s:base00, '', '')
call s:hi('StatusLine', s:base01, s:base03, '', '')
call s:hi('StatusLineNC', s:base03, s:base01, '', '')
call s:hi('VertSplit', s:base00, s:base02, '', '')
call s:hi('ColorColumn', '', s:base01, '', '')
call s:hi('CursorColumn', '', s:base01, '', '')
call s:hi('CursorLine', '', s:base01, 'None', '')
call s:hi('CursorLineNR', s:base00, s:base00, '', '')
call s:hi('CursorLineNr', s:base03, s:base01, '', '')
call s:hi('PMenu', s:base04, s:base01, '', '')
call s:hi('PMenuSel', s:base07, s:blue, '', '')
call s:hi('PmenuSbar', '', s:base02, '', '')
call s:hi('PmenuThumb', '', s:base07, '', '')
call s:hi('TabLine', s:base03, s:base01, '', '')
call s:hi('TabLineFill', s:base03, s:base01, '', '')
call s:hi('TabLineSel', s:green, s:base01, '', '')
call s:hi('helpExample', s:yellow, '', '', '')
call s:hi('helpCommand', s:yellow, '', '', '')
" Standard syntax highlighting
call s:hi('Boolean', s:orange, '', '', '')
call s:hi('Character', s:red, '', '', '')
call s:hi('Comment', s:base03, '', s:italic, '')
call s:hi('Conditional', s:purple, '', '', '')
call s:hi('Constant', s:orange, '', '', '')
call s:hi('Define', s:purple, '', '', '')
call s:hi('Delimiter', s:brown, '', '', '')
call s:hi('Float', s:orange, '', '', '')
call s:hi('Function', s:blue, '', '', '')
call s:hi('Identifier', s:cyan, '', '', '')
call s:hi('Include', s:blue, '', '', '')
call s:hi('Keyword', s:purple, '', '', '')
call s:hi('Label', s:yellow, '', '', '')
call s:hi('Number', s:orange, '', '', '')
call s:hi('Operator', s:base05, '', '', '')
call s:hi('PreProc', s:yellow, '', '', '')
call s:hi('Repeat', s:yellow, '', '', '')
call s:hi('Special', s:cyan, '', '', '')
call s:hi('SpecialChar', s:brown, '', '', '')
call s:hi('Statement', s:red, '', '', '')
call s:hi('StorageClass', s:yellow, '', '', '')
call s:hi('String', s:green, '', '', '')
call s:hi('Structure', s:purple, '', '', '')
call s:hi('Tag', s:yellow, '', '', '')
call s:hi('Todo', s:yellow, s:base01, '', '')
call s:hi('Type', s:yellow, '', '', '')
call s:hi('Typedef', s:yellow, '', '', '')
" LSP
call s:hi('LspDiagnosticsDefaultError', '', '', '', '')
call s:hi('LspDiagnosticsSignError', s:red, '', '', '')
call s:hi('LspDiagnosticsUnderlineError', '', '', 'undercurl', '')
call s:hi('LspDiagnosticsDefaultWarning', '', '', '', '')
call s:hi('LspDiagnosticsSignWarning', s:yellow, '', '', '')
call s:hi('LspDiagnosticsUnderlineWarning', '', '', 'undercurl', '')
call s:hi('LspDiagnosticsDefaultInformation', '', '', '', '')
call s:hi('LspDiagnosticsSignInformation', s:blue, '', '', '')
call s:hi('LspDiagnosticsUnderlineInformation', '', '', 'undercurl', '')
call s:hi('LspDiagnosticsDefaultHint', '', '', '', '')
call s:hi('LspDiagnosticsSignHint', s:cyan, '', '', '')
call s:hi('LspDiagnosticsUnderlineHint', '', '', 'undercurl', '')
" TreeSitter stuff
call s:hi('TSInclude', s:cyan, '', '', '')
call s:hi('TSPunctBracket', s:cyan, '', '', '')
call s:hi('TSPunctDelimiter', s:base07, '', '', '')
call s:hi('TSParameter', s:base07, '', '', '')
call s:hi('TSType', s:blue, '', '', '')
call s:hi('TSFunction', s:cyan, '', '', '')
call s:hi('TSTagDelimiter', s:cyan, '', '', '')
call s:hi('TSProperty', s:yellow, '', '', '')
call s:hi('TSMethod', s:blue, '', '', '')
call s:hi('TSParameter', s:yellow, '', '', '')
call s:hi('TSConstructor', s:base07, '', '', '')
call s:hi('TSVariable', s:base07, '', '', '')
call s:hi('TSOperator', s:base07, '', '', '')
call s:hi('TSTag', s:base07, '', '', '')
call s:hi('TSKeyword', s:purple, '', '', '')
call s:hi('TSKeywordOperator', s:purple, '', '', '')
call s:hi('TSVariableBuiltin', s:red, '', '', '')
call s:hi('TSLabel', s:cyan, '', '', '')
call s:hi('SpellBad', '', '', 'undercurl', '')
call s:hi('SpellLocal', '', '', 'undercurl', '')
call s:hi('SpellCap', '', '', 'undercurl', '')
call s:hi('SpellRare', '', '', 'undercurl', '')
call s:hi('csClass', s:yellow, '', '', '')
call s:hi('csAttribute', s:yellow, '', '', '')
call s:hi('csModifier', s:purple, '', '', '')
call s:hi('csType', s:red, '', '', '')
call s:hi('csUnspecifiedStatement', s:blue, '', '', '')
call s:hi('csContextualStatement', s:purple, '', '', '')
call s:hi('csNewDecleration', s:red, '', '', '')
call s:hi('cOperator', s:cyan, '', '', '')
call s:hi('cPreCondit', s:purple, '', '', '')
call s:hi('cssColor', s:cyan, '', '', '')
call s:hi('cssBraces', s:base05, '', '', '')
call s:hi('cssClassName', s:purple, '', '', '')
call s:hi('DiffAdd', s:green, s:base01, s:bold, '')
call s:hi('DiffChange', s:base03, s:base01, '', '')
call s:hi('DiffDelete', s:red, s:base01, '', '')
call s:hi('DiffText', s:blue, s:base01, '', '')
call s:hi('DiffAdded', s:base07, s:green, s:bold, '')
call s:hi('DiffFile', s:red, s:base00, '', '')
call s:hi('DiffNewFile', s:green, s:base00, '', '')
call s:hi('DiffLine', s:blue, s:base00, '', '')
call s:hi('DiffRemoved', s:base07, s:red, s:bold, '')
call s:hi('gitCommitOverflow', s:red, '', '', '')
call s:hi('gitCommitSummary', s:green, '', '', '')
call s:hi('htmlBold', s:yellow, '', '', '')
call s:hi('htmlItalic', s:purple, '', '', '')
call s:hi('htmlTag', s:cyan, '', '', '')
call s:hi('htmlEndTag', s:cyan, '', '', '')
call s:hi('htmlArg', s:yellow, '', '', '')
call s:hi('htmlTagName', s:base07, '', '', '')
call s:hi('javaScript', s:base05, '', '', '')
call s:hi('javaScriptNumber', s:orange, '', '', '')
call s:hi('javaScriptBraces', s:base05, '', '', '')
call s:hi('jsonKeyword', s:green, '', '', '')
call s:hi('jsonQuote', s:green, '', '', '')
call s:hi('markdownCode', s:green, '', '', '')
call s:hi('markdownCodeBlock', s:green, '', '', '')
call s:hi('markdownHeadingDelimiter', s:blue, '', '', '')
call s:hi('markdownItalic', s:purple, '', s:italic, '')
call s:hi('markdownBold', s:yellow, '', s:bold, '')
call s:hi('markdownCodeDelimiter', s:brown, '', s:italic, '')
call s:hi('markdownError', s:base05, s:base00, '', '')
call s:hi('typescriptParens', s:base05, s:none, '', '')
call s:hi('NeomakeErrorSign', s:red, s:base00, '', '')
call s:hi('NeomakeWarningSign', s:yellow, s:base00, '', '')
call s:hi('NeomakeInfoSign', s:white, s:base00, '', '')
call s:hi('NeomakeError', s:red, '', 'underline', s:red)
call s:hi('NeomakeWarning', s:red, '', 'underline', s:red)
call s:hi('ALEErrorSign', s:red, s:base00, s:bold, '')
call s:hi('ALEWarningSign', s:yellow, s:base00, s:bold, '')
call s:hi('ALEInfoSign', s:white, s:base00, s:bold, '')
call s:hi('NERDTreeExecFile', s:base05, '', '', '')
call s:hi('NERDTreeDirSlash', s:blue, '', '', '')
call s:hi('NERDTreeOpenable', s:blue, '', '', '')
call s:hi('NERDTreeFile', '', s:none, '', '')
call s:hi('NERDTreeFlags', s:blue, '', '', '')
call s:hi('phpComparison', s:base05, '', '', '')
call s:hi('phpParent', s:base05, '', '', '')
call s:hi('phpMemberSelector', s:base05, '', '', '')
call s:hi('pythonRepeat', s:purple, '', '', '')
call s:hi('pythonOperator', s:purple, '', '', '')
call s:hi('rubyConstant', s:yellow, '', '', '')
call s:hi('rubySymbol', s:green, '', '', '')
call s:hi('rubyAttribute', s:blue, '', '', '')
call s:hi('rubyInterpolation', s:green, '', '', '')
call s:hi('rubyInterpolationDelimiter', s:brown, '', '', '')
call s:hi('rubyStringDelimiter', s:green, '', '', '')
call s:hi('rubyRegexp', s:cyan, '', '', '')
call s:hi('sassidChar', s:red, '', '', '')
call s:hi('sassClassChar', s:orange, '', '', '')
call s:hi('sassInclude', s:purple, '', '', '')
call s:hi('sassMixing', s:purple, '', '', '')
call s:hi('sassMixinName', s:blue, '', '', '')
call s:hi('vimfilerLeaf', s:base05, '', '', '')
call s:hi('vimfilerNormalFile', s:base05, s:base00, '', '')
call s:hi('vimfilerOpenedFile', s:blue, '', '', '')
call s:hi('vimfilerClosedFile', s:blue, '', '', '')
call s:hi('GitGutterAdd', s:green, s:base00, s:bold, '')
call s:hi('GitGutterChange', s:blue, s:base00, s:bold, '')
call s:hi('GitGutterDelete', s:red, s:base00, s:bold, '')
call s:hi('GitGutterChangeDelete', s:purple, s:base00, s:bold, '')
call s:hi('SignifySignAdd', s:green, s:base00, s:bold, '')
call s:hi('SignifySignChange', s:blue, s:base00, s:bold, '')
call s:hi('SignifySignDelete', s:red, s:base00, s:bold, '')
call s:hi('SignifySignChangeDelete', s:purple, s:base00, s:bold, '')
call s:hi('SignifySignDeleteFirstLine', s:red, s:base00, s:bold, '')
call s:hi('xmlTag', s:cyan, '', '', '')
call s:hi('xmlTagName', s:base05, '', '', '')
call s:hi('xmlEndTag', s:cyan, '', '', '')
call s:hi('Defx_filename_directory', s:blue, '', '', '')
call s:hi('CocErrorSign', s:red, '', '', '')
call s:hi('CocWarningSign', s:yellow, '', '', '')
call s:hi('CocInfoSign', s:blue, '', '', '')
call s:hi('CocHintSign', s:cyan, '', '', '')
call s:hi('CocErrorFloat', s:red, '', '', '')
call s:hi('CocWarningFloat', s:yellow, '', '', '')
call s:hi('CocInfoFloat', s:blue, '', '', '')
call s:hi('CocHintFloat', s:cyan, '', '', '')
call s:hi('CocDiagnosticsError', s:red, '', '', '')
call s:hi('CocDiagnosticsWarning', s:yellow, '', '', '')
call s:hi('CocDiagnosticsInfo', s:blue, '', '', '')
call s:hi('CocDiagnosticsHint', s:cyan, '', '', '')
call s:hi('CocSelectedText', s:purple, '', '', '')
call s:hi('CocCodeLens', s:base04, '', '', '')
" }}}
" {{{ Terminal
if has('nvim')
let g:terminal_color_0=s:base00[0]
let g:terminal_color_8=s:base03[0]
let g:terminal_color_1=s:red[0]
let g:terminal_color_9=s:red[0]
let g:terminal_color_2=s:green[0]
let g:terminal_color_10=s:green[0]
let g:terminal_color_3=s:yellow[0]
let g:terminal_color_11=s:yellow[0]
let g:terminal_color_4=s:blue[0]
let g:terminal_color_12=s:blue[0]
let g:terminal_color_5=s:purple[0]
let g:terminal_color_13=s:purple[0]
let g:terminal_color_6=s:cyan[0]
let g:terminal_color_14=s:cyan[0]
let g:terminal_color_7=s:base05[0]
let g:terminal_color_15=s:base05[0]
let g:terminal_color_background=s:base00[0]
let g:terminal_color_foreground=s:white[0]
else
let g:terminal_ansi_colors = [
\ s:base00[0],
\ s:red[0],
\ s:green[0],
\ s:yellow[0],
\ s:blue[0],
\ s:purple[0],
\ s:cyan[0],
\ s:white[0],
\ s:base03[0],
\ s:red[0],
\ s:green[0],
\ s:yellow[0],
\ s:blue[0],
\ s:purple[0],
\ s:cyan[0],
\ s:white[0],
\]
endif

View File

@@ -0,0 +1,368 @@
" ===============================================================
" OceanicNextLight
" Author: Mike Hartington
" ===============================================================
" {{{ Setup
set background=light
hi clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name="OceanicNextLight"
" }}}
" {{{ Italics
let g:oceanic_next_terminal_italic = get(g:, 'oceanic_next_terminal_italic', 0)
let s:italic = ""
if g:oceanic_next_terminal_italic == 1
let s:italic = "italic"
endif
" }}}
" {{{ Bold
let g:oceanic_next_terminal_bold = get(g:, 'oceanic_next_terminal_bold', 0)
let s:bold = ""
if g:oceanic_next_terminal_bold == 1
let s:bold = "bold"
endif
" }}}
" {{{ Colors
let s:base00 = ['#d8dee9', '253']
let s:base01 = ['#cdd3de', '252']
let s:base02 = ['#c0c5ce', '251']
let s:base03 = ['#a7adba', '145']
let s:base04 = ['#65737e', '243']
let s:base05 = ['#4f5b66', '240']
let s:base06 = ['#343d46', '237']
let s:base07 = ['#1b2b34', '235']
let s:red = ['#b40b11', '124']
let s:orange = ['#b4713d', '131']
let s:yellow = ['#a48c32', '137']
let s:green = ['#869235', '101']
let s:cyan = ['#5b9c90', '72']
let s:blue = ['#526f93', '60']
let s:purple = ['#896a98', '96']
let s:brown = ['#9a806d', '101']
let s:white = ['#ffffff', '15']
let s:none = ['NONE', 'NONE']
" }}}
" {{{ Highlight function
function! <sid>hi(group, fg, bg, attr, attrsp)
" fg, bg, attr, attrsp
if !empty(a:fg)
exec "hi " . a:group . " guifg=" . a:fg[0]
exec "hi " . a:group . " ctermfg=" . a:fg[1]
endif
if !empty(a:bg)
exec "hi " . a:group . " guibg=" . a:bg[0]
exec "hi " . a:group . " ctermbg=" . a:bg[1]
endif
if a:attr != ""
exec "hi " . a:group . " gui=" . a:attr
exec "hi " . a:group . " cterm=" . a:attr
endif
if !empty(a:attrsp)
exec "hi " . a:group . " guisp=" . a:attrsp[0]
endif
endfunction
" }}}
" {{{ call s::hi(group, fg, bg, gui, guisp)
call s:hi('Bold', '', '', s:bold, '')
call s:hi('Debug', s:red, '', '', '')
call s:hi('Directory', s:blue, '', '', '')
call s:hi('ErrorMsg', s:red, s:base00, '', '')
call s:hi('Exception', s:red, '', '', '')
call s:hi('FoldColumn', s:blue, s:base00, '', '')
call s:hi('Folded', s:base03, s:base01, s:italic, '')
call s:hi('IncSearch', s:base01, s:orange, 'NONE', '')
call s:hi('Italic', '', '', s:italic, '')
call s:hi('Macro', s:red, '', '', '')
call s:hi('MatchParen', s:base05, s:base03, '', '')
call s:hi('ModeMsg', s:green, '', '', '')
call s:hi('MoreMsg', s:green, '', '', '')
call s:hi('Question', s:blue, '', '', '')
call s:hi('Search', s:base03, s:yellow, '', '')
call s:hi('SpecialKey', s:base03, '', '', '')
call s:hi('TooLong', s:red, '', '', '')
call s:hi('Underlined', s:red, '', '', '')
call s:hi('Visual', '', s:base02, '', '')
call s:hi('VisualNOS', s:red, '', '', '')
call s:hi('WarningMsg', s:red, '', '', '')
call s:hi('WildMenu', s:base07, s:blue, '', '')
call s:hi('Title', s:blue, '', '', '')
call s:hi('Conceal', s:blue, s:base00, '', '')
call s:hi('Cursor', s:base00, s:base05, '', '')
call s:hi('NonText', s:base03, '', '', '')
call s:hi('Normal', s:base07, s:base00, '', '')
call s:hi('EndOfBuffer', s:base05, s:base00, '', '')
call s:hi('LineNr', s:base03, s:base00, '', '')
call s:hi('SignColumn', s:base00, s:base00, '', '')
call s:hi('StatusLine', s:base01, s:base03, '', '')
call s:hi('StatusLineNC', s:base03, s:base01, '', '')
call s:hi('VertSplit', s:base00, s:base02, '', '')
call s:hi('ColorColumn', '', s:base01, '', '')
call s:hi('CursorColumn', '', s:base01, '', '')
call s:hi('CursorLine', '', s:base01, 'None', '')
call s:hi('CursorLineNR', s:base00, s:base00, '', '')
call s:hi('CursorLineNr', s:base03, s:base01, '', '')
call s:hi('PMenu', s:base04, s:base01, '', '')
call s:hi('PMenuSel', s:base07, s:blue, '', '')
call s:hi('PmenuSbar', '', s:base02, '', '')
call s:hi('PmenuThumb', '', s:base07, '', '')
call s:hi('TabLine', s:base03, s:base01, '', '')
call s:hi('TabLineFill', s:base03, s:base01, '', '')
call s:hi('TabLineSel', s:green, s:base01, '', '')
call s:hi('helpExample', s:yellow, '', '', '')
call s:hi('helpCommand', s:yellow, '', '', '')
" Standard syntax highlighting
call s:hi('Boolean', s:orange, '', '', '')
call s:hi('Character', s:red, '', '', '')
call s:hi('Comment', s:base03, '', s:italic, '')
call s:hi('Conditional', s:purple, '', '', '')
call s:hi('Constant', s:orange, '', '', '')
call s:hi('Define', s:purple, '', '', '')
call s:hi('Delimiter', s:brown, '', '', '')
call s:hi('Float', s:orange, '', '', '')
call s:hi('Function', s:blue, '', '', '')
call s:hi('Identifier', s:cyan, '', '', '')
call s:hi('Include', s:blue, '', '', '')
call s:hi('Keyword', s:purple, '', '', '')
call s:hi('Label', s:yellow, '', '', '')
call s:hi('Number', s:orange, '', '', '')
call s:hi('Operator', s:base05, '', '', '')
call s:hi('PreProc', s:yellow, '', '', '')
call s:hi('Repeat', s:yellow, '', '', '')
call s:hi('Special', s:cyan, '', '', '')
call s:hi('SpecialChar', s:brown, '', '', '')
call s:hi('Statement', s:red, '', '', '')
call s:hi('StorageClass', s:yellow, '', '', '')
call s:hi('String', s:green, '', '', '')
call s:hi('Structure', s:purple, '', '', '')
call s:hi('Tag', s:yellow, '', '', '')
call s:hi('Todo', s:yellow, s:base01, '', '')
call s:hi('Type', s:yellow, '', '', '')
call s:hi('Typedef', s:yellow, '', '', '')
" LSP
call s:hi('LspDiagnosticsDefaultError', '', '', '', '')
call s:hi('LspDiagnosticsSignError', s:red, '', '', '')
call s:hi('LspDiagnosticsUnderlineError', '', '', 'undercurl', '')
call s:hi('LspDiagnosticsDefaultWarning', '', '', '', '')
call s:hi('LspDiagnosticsSignWarning', s:yellow, '', '', '')
call s:hi('LspDiagnosticsUnderlineWarning', '', '', 'undercurl', '')
call s:hi('LspDiagnosticsDefaultInformation', '', '', '', '')
call s:hi('LspDiagnosticsSignInformation', s:blue, '', '', '')
call s:hi('LspDiagnosticsUnderlineInformation', '', '', 'undercurl', '')
call s:hi('LspDiagnosticsDefaultHint', '', '', '', '')
call s:hi('LspDiagnosticsSignHint', s:cyan, '', '', '')
call s:hi('LspDiagnosticsUnderlineHint', '', '', 'undercurl', '')
" TreeSitter stuff
call s:hi('TSInclude', s:cyan, '', '', '')
call s:hi('TSPunctBracket', s:cyan, '', '', '')
call s:hi('TSPunctDelimiter', s:base07, '', '', '')
call s:hi('TSParameter', s:base07, '', '', '')
call s:hi('TSType', s:blue, '', '', '')
call s:hi('TSFunction', s:cyan, '', '', '')
call s:hi('TSTagDelimiter', s:cyan, '', '', '')
call s:hi('TSProperty', s:yellow, '', '', '')
call s:hi('TSMethod', s:blue, '', '', '')
call s:hi('TSParameter', s:yellow, '', '', '')
call s:hi('TSConstructor', s:base07, '', '', '')
call s:hi('TSVariable', s:base07, '', '', '')
call s:hi('TSOperator', s:base07, '', '', '')
call s:hi('TSTag', s:base07, '', '', '')
call s:hi('TSKeyword', s:purple, '', '', '')
call s:hi('TSKeywordOperator', s:purple, '', '', '')
call s:hi('TSVariableBuiltin', s:red, '', '', '')
call s:hi('TSLabel', s:cyan, '', '', '')
call s:hi('SpellBad', '', '', 'undercurl', '')
call s:hi('SpellLocal', '', '', 'undercurl', '')
call s:hi('SpellCap', '', '', 'undercurl', '')
call s:hi('SpellRare', '', '', 'undercurl', '')
call s:hi('csClass', s:yellow, '', '', '')
call s:hi('csAttribute', s:yellow, '', '', '')
call s:hi('csModifier', s:purple, '', '', '')
call s:hi('csType', s:red, '', '', '')
call s:hi('csUnspecifiedStatement', s:blue, '', '', '')
call s:hi('csContextualStatement', s:purple, '', '', '')
call s:hi('csNewDecleration', s:red, '', '', '')
call s:hi('cOperator', s:cyan, '', '', '')
call s:hi('cPreCondit', s:purple, '', '', '')
call s:hi('cssColor', s:cyan, '', '', '')
call s:hi('cssBraces', s:base05, '', '', '')
call s:hi('cssClassName', s:purple, '', '', '')
call s:hi('DiffAdd', s:green, s:base01, s:bold, '')
call s:hi('DiffChange', s:base03, s:base01, '', '')
call s:hi('DiffDelete', s:red, s:base01, '', '')
call s:hi('DiffText', s:blue, s:base01, '', '')
call s:hi('DiffAdded', s:base07, s:green, s:bold, '')
call s:hi('DiffFile', s:red, s:base00, '', '')
call s:hi('DiffNewFile', s:green, s:base00, '', '')
call s:hi('DiffLine', s:blue, s:base00, '', '')
call s:hi('DiffRemoved', s:base07, s:red, s:bold, '')
call s:hi('gitCommitOverflow', s:red, '', '', '')
call s:hi('gitCommitSummary', s:green, '', '', '')
call s:hi('htmlBold', s:yellow, '', '', '')
call s:hi('htmlItalic', s:purple, '', '', '')
call s:hi('htmlTag', s:cyan, '', '', '')
call s:hi('htmlEndTag', s:cyan, '', '', '')
call s:hi('htmlArg', s:yellow, '', '', '')
call s:hi('htmlTagName', s:base07, '', '', '')
call s:hi('javaScript', s:base05, '', '', '')
call s:hi('javaScriptNumber', s:orange, '', '', '')
call s:hi('javaScriptBraces', s:base05, '', '', '')
call s:hi('jsonKeyword', s:green, '', '', '')
call s:hi('jsonQuote', s:green, '', '', '')
call s:hi('markdownCode', s:green, '', '', '')
call s:hi('markdownCodeBlock', s:green, '', '', '')
call s:hi('markdownHeadingDelimiter', s:blue, '', '', '')
call s:hi('markdownItalic', s:purple, '', s:italic, '')
call s:hi('markdownBold', s:yellow, '', s:bold, '')
call s:hi('markdownCodeDelimiter', s:brown, '', s:italic, '')
call s:hi('markdownError', s:base05, s:base00, '', '')
call s:hi('typescriptParens', s:base05, s:none, '', '')
call s:hi('NeomakeErrorSign', s:red, s:base00, '', '')
call s:hi('NeomakeWarningSign', s:yellow, s:base00, '', '')
call s:hi('NeomakeInfoSign', s:white, s:base00, '', '')
call s:hi('NeomakeError', s:red, '', 'underline', s:red)
call s:hi('NeomakeWarning', s:red, '', 'underline', s:red)
call s:hi('ALEErrorSign', s:red, s:base00, s:bold, '')
call s:hi('ALEWarningSign', s:yellow, s:base00, s:bold, '')
call s:hi('ALEInfoSign', s:white, s:base00, s:bold, '')
call s:hi('NERDTreeExecFile', s:base05, '', '', '')
call s:hi('NERDTreeDirSlash', s:blue, '', '', '')
call s:hi('NERDTreeOpenable', s:blue, '', '', '')
call s:hi('NERDTreeFile', '', s:none, '', '')
call s:hi('NERDTreeFlags', s:blue, '', '', '')
call s:hi('phpComparison', s:base05, '', '', '')
call s:hi('phpParent', s:base05, '', '', '')
call s:hi('phpMemberSelector', s:base05, '', '', '')
call s:hi('pythonRepeat', s:purple, '', '', '')
call s:hi('pythonOperator', s:purple, '', '', '')
call s:hi('rubyConstant', s:yellow, '', '', '')
call s:hi('rubySymbol', s:green, '', '', '')
call s:hi('rubyAttribute', s:blue, '', '', '')
call s:hi('rubyInterpolation', s:green, '', '', '')
call s:hi('rubyInterpolationDelimiter', s:brown, '', '', '')
call s:hi('rubyStringDelimiter', s:green, '', '', '')
call s:hi('rubyRegexp', s:cyan, '', '', '')
call s:hi('sassidChar', s:red, '', '', '')
call s:hi('sassClassChar', s:orange, '', '', '')
call s:hi('sassInclude', s:purple, '', '', '')
call s:hi('sassMixing', s:purple, '', '', '')
call s:hi('sassMixinName', s:blue, '', '', '')
call s:hi('vimfilerLeaf', s:base05, '', '', '')
call s:hi('vimfilerNormalFile', s:base05, s:base00, '', '')
call s:hi('vimfilerOpenedFile', s:blue, '', '', '')
call s:hi('vimfilerClosedFile', s:blue, '', '', '')
call s:hi('GitGutterAdd', s:green, s:base00, s:bold, '')
call s:hi('GitGutterChange', s:blue, s:base00, s:bold, '')
call s:hi('GitGutterDelete', s:red, s:base00, s:bold, '')
call s:hi('GitGutterChangeDelete', s:purple, s:base00, s:bold, '')
call s:hi('SignifySignAdd', s:green, s:base00, s:bold, '')
call s:hi('SignifySignChange', s:blue, s:base00, s:bold, '')
call s:hi('SignifySignDelete', s:red, s:base00, s:bold, '')
call s:hi('SignifySignChangeDelete', s:purple, s:base00, s:bold, '')
call s:hi('SignifySignDeleteFirstLine', s:red, s:base00, s:bold, '')
call s:hi('xmlTag', s:cyan, '', '', '')
call s:hi('xmlTagName', s:base05, '', '', '')
call s:hi('xmlEndTag', s:cyan, '', '', '')
call s:hi('Defx_filename_directory', s:blue, '', '', '')
call s:hi('CocErrorSign', s:red, '', '', '')
call s:hi('CocWarningSign', s:yellow, '', '', '')
call s:hi('CocInfoSign', s:blue, '', '', '')
call s:hi('CocHintSign', s:cyan, '', '', '')
call s:hi('CocErrorFloat', s:red, '', '', '')
call s:hi('CocWarningFloat', s:yellow, '', '', '')
call s:hi('CocInfoFloat', s:blue, '', '', '')
call s:hi('CocHintFloat', s:cyan, '', '', '')
call s:hi('CocDiagnosticsError', s:red, '', '', '')
call s:hi('CocDiagnosticsWarning', s:yellow, '', '', '')
call s:hi('CocDiagnosticsInfo', s:blue, '', '', '')
call s:hi('CocDiagnosticsHint', s:cyan, '', '', '')
call s:hi('CocSelectedText', s:purple, '', '', '')
call s:hi('CocCodeLens', s:base04, '', '', '')
" }}}
" {{{ Terminal
if has('nvim')
let g:terminal_color_0=s:base00[0]
let g:terminal_color_8=s:base03[0]
let g:terminal_color_1=s:red[0]
let g:terminal_color_9=s:red[0]
let g:terminal_color_2=s:green[0]
let g:terminal_color_10=s:green[0]
let g:terminal_color_3=s:yellow[0]
let g:terminal_color_11=s:yellow[0]
let g:terminal_color_4=s:blue[0]
let g:terminal_color_12=s:blue[0]
let g:terminal_color_5=s:purple[0]
let g:terminal_color_13=s:purple[0]
let g:terminal_color_6=s:cyan[0]
let g:terminal_color_14=s:cyan[0]
let g:terminal_color_7=s:base05[0]
let g:terminal_color_15=s:base05[0]
let g:terminal_color_background=s:base00[0]
let g:terminal_color_foreground=s:white[0]
else
let g:terminal_ansi_colors = [
\ s:base00[0],
\ s:red[0],
\ s:green[0],
\ s:yellow[0],
\ s:blue[0],
\ s:purple[0],
\ s:cyan[0],
\ s:white[0],
\ s:base03[0],
\ s:red[0],
\ s:green[0],
\ s:yellow[0],
\ s:blue[0],
\ s:purple[0],
\ s:cyan[0],
\ s:white[0],
\]
endif

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,149 @@
" Abstract Theme v1.0.0
"
" https://github.com/jdsimcoe/abstract.vim
"
" Copyright 2016. All rights reserved
"
" Code licensed under the MIT license
" https://mit-license.org/
"
" @author Jonathan Simcoe <@jdsimcoe>
set background=dark
highlight clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name = "abstract"
hi Cursor ctermfg=236 ctermbg=15 cterm=NONE guifg=#2E2F31 guibg=#f8f8f0 gui=NONE
hi Visual ctermfg=NONE ctermbg=241 cterm=NONE guifg=NONE guibg=#2E2F31 gui=NONE
hi CursorLine ctermbg=236 cterm=NONE guifg=NONE guibg=#2E2F31 gui=NONE
hi CursorColumn ctermbg=236 cterm=NONE guifg=NONE guibg=#2E2F31 gui=NONE
hi ColorColumn ctermfg=NONE ctermbg=236 cterm=NONE guifg=NONE guibg=#3d3f49 gui=NONE
hi LineNr ctermfg=240 ctermbg=NONE cterm=NONE guifg=#5C5E5F guibg=#2E2F31 gui=NONE
hi VertSplit ctermfg=231 ctermbg=236 cterm=bold guifg=#64666d guibg=#64666d gui=bold
hi MatchParen ctermfg=205 ctermbg=NONE cterm=underline guifg=#FF479F guibg=NONE gui=underline
hi StatusLine ctermfg=231 ctermbg=236 cterm=bold guifg=#f8f8f2 guibg=#64666d gui=bold
hi StatusLineNC ctermfg=231 ctermbg=236 cterm=NONE guifg=#f8f8f2 guibg=#64666d gui=NONE
hi Pmenu ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
hi PmenuSel ctermfg=NONE ctermbg=236 cterm=NONE guifg=NONE guibg=#2E2F31 gui=NONE
hi IncSearch ctermfg=236 ctermbg=229 cterm=NONE guifg=#2E2F31 guibg=#FEF29E gui=NONE
hi Search ctermfg=NONE ctermbg=NONE cterm=underline guifg=NONE guibg=NONE gui=underline
hi Directory ctermfg=62 ctermbg=NONE cterm=NONE guifg=#5A5AE6 guibg=NONE gui=NONE
hi Folded ctermfg=33 ctermbg=235 cterm=NONE guifg=#007AFF guibg=#2E2F31 gui=NONE
hi SignColumn ctermfg=246 ctermbg=235 cterm=NONE guifg=#909194 guibg=#2E2F31 gui=NONE
hi FoldColmun ctermfg=246 ctermbg=235 cterm=NONE guifg=#909194 guibg=#2E2F31 gui=NONE
hi Normal guifg=#f8f8f2 guibg=#2E2F31 gui=NONE
hi Boolean ctermfg=62 ctermbg=NONE cterm=NONE guifg=#5A5AE6 guibg=NONE gui=NONE
hi Character ctermfg=62 ctermbg=NONE cterm=NONE guifg=#5A5AE6 guibg=NONE gui=NONE
hi Comment ctermfg=240 ctermbg=NONE cterm=NONE guifg=#5C5E5F guibg=NONE gui=NONE
hi Conditional ctermfg=205 ctermbg=NONE cterm=NONE guifg=#FF479F guibg=NONE gui=NONE
hi Constant ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
hi Define ctermfg=205 ctermbg=NONE cterm=NONE guifg=#FF479F guibg=NONE gui=NONE
hi DiffAdd ctermfg=231 ctermbg=79 cterm=bold guifg=#f8f8f2 guibg=#00CC95 gui=bold
hi DiffDelete ctermfg=196 ctermbg=NONE cterm=NONE guifg=#F30000 guibg=NONE gui=NONE
hi DiffChange ctermfg=231 ctermbg=221 cterm=NONE guifg=#f8f8f2 guibg=#F4D25D gui=NONE
hi DiffText ctermfg=231 ctermbg=221 cterm=bold guifg=#f8f8f2 guibg=#F4D25D gui=bold
hi ErrorMsg ctermfg=231 ctermbg=205 cterm=NONE guifg=#f8f8f0 guibg=#FF479F gui=NONE
hi WarningMsg ctermfg=231 ctermbg=205 cterm=NONE guifg=#f8f8f0 guibg=#FF479F gui=NONE
hi Float ctermfg=62 ctermbg=NONE cterm=NONE guifg=#5A5AE6 guibg=NONE gui=NONE
hi Function ctermfg=50 ctermbg=NONE cterm=NONE guifg=#45FFC8 guibg=NONE gui=NONE
hi Identifier ctermfg=87 ctermbg=NONE cterm=NONE guifg=#5CF1FF guibg=NONE gui=italic
hi Keyword ctermfg=205 ctermbg=NONE cterm=NONE guifg=#FF479F guibg=NONE gui=NONE
hi Label ctermfg=229 ctermbg=NONE cterm=NONE guifg=#FEF29E guibg=NONE gui=NONE
hi NonText ctermfg=231 ctermbg=NONE cterm=NONE guifg=#2E2F31 guibg=#2E2F31 gui=NONE
hi Number ctermfg=62 ctermbg=NONE cterm=NONE guifg=#5A5AE6 guibg=NONE gui=NONE
hi Operator ctermfg=205 ctermbg=NONE cterm=NONE guifg=#FF479F guibg=NONE gui=NONE
hi PreProc ctermfg=205 ctermbg=NONE cterm=NONE guifg=#FF479F guibg=NONE gui=NONE
hi Special ctermfg=231 ctermbg=NONE cterm=NONE guifg=#f8f8f2 guibg=NONE gui=NONE
hi SpecialKey ctermfg=231 ctermbg=235 cterm=NONE guifg=#2E2F31 guibg=#2E2F31 gui=NONE
hi Statement ctermfg=205 ctermbg=NONE cterm=NONE guifg=#FF479F guibg=NONE gui=NONE
hi StorageClass ctermfg=87 ctermbg=NONE cterm=NONE guifg=#5CF1FF guibg=NONE gui=italic
hi String ctermfg=229 ctermbg=NONE cterm=NONE guifg=#FEF29E guibg=NONE gui=NONE
hi Tag ctermfg=205 ctermbg=NONE cterm=NONE guifg=#FF479F guibg=NONE gui=NONE
hi Title ctermfg=231 ctermbg=NONE cterm=bold guifg=#f8f8f2 guibg=NONE gui=bold
hi Todo ctermfg=33 ctermbg=NONE cterm=inverse,bold guifg=#007AFF guibg=NONE gui=inverse,bold
hi Type ctermfg=87 ctermbg=NONE cterm=NONE guifg=#5CF1FF guibg=NONE gui=NONE
hi Underlined ctermfg=NONE ctermbg=NONE cterm=underline guifg=NONE guibg=NONE gui=underline
hi rubyClass ctermfg=205 ctermbg=NONE cterm=NONE guifg=#FF479F guibg=NONE gui=NONE
hi rubyFunction ctermfg=50 ctermbg=NONE cterm=NONE guifg=#45FFC8 guibg=NONE gui=NONE
hi rubyInterpolationDelimiter ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
hi rubySymbol ctermfg=62 ctermbg=NONE cterm=NONE guifg=#5A5AE6 guibg=NONE gui=NONE
hi rubyConstant ctermfg=87 ctermbg=NONE cterm=NONE guifg=#5CF1FF guibg=NONE gui=italic
hi rubyStringDelimiter ctermfg=229 ctermbg=NONE cterm=NONE guifg=#FEF29E guibg=NONE gui=NONE
hi rubyBlockParameter ctermfg=221 ctermbg=NONE cterm=NONE guifg=#FFD75F guibg=NONE gui=italic
hi rubyInstanceVariable ctermfg=203 ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
hi rubyInclude ctermfg=205 ctermbg=NONE cterm=NONE guifg=#FF479F guibg=NONE gui=NONE
hi rubyGlobalVariable ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
hi rubyRegexp ctermfg=229 ctermbg=NONE cterm=NONE guifg=#FEF29E guibg=NONE gui=NONE
hi rubyRegexpDelimiter ctermfg=229 ctermbg=NONE cterm=NONE guifg=#FEF29E guibg=NONE gui=NONE
hi rubyEscape ctermfg=62 ctermbg=NONE cterm=NONE guifg=#5A5AE6 guibg=NONE gui=NONE
hi rubyControl ctermfg=205 ctermbg=NONE cterm=NONE guifg=#FF479F guibg=NONE gui=NONE
hi rubyClassVariable ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
hi rubyOperator ctermfg=205 ctermbg=NONE cterm=NONE guifg=#FF479F guibg=NONE gui=NONE
hi rubyException ctermfg=205 ctermbg=NONE cterm=NONE guifg=#FF479F guibg=NONE gui=NONE
hi rubyPseudoVariable ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
hi rubyRailsUserClass ctermfg=87 ctermbg=NONE cterm=NONE guifg=#5CF1FF guibg=NONE gui=italic
hi rubyRailsARAssociationMethod ctermfg=87 ctermbg=NONE cterm=NONE guifg=#5CF1FF guibg=NONE gui=NONE
hi rubyRailsARMethod ctermfg=87 ctermbg=NONE cterm=NONE guifg=#5CF1FF guibg=NONE gui=NONE
hi rubyRailsRenderMethod ctermfg=87 ctermbg=NONE cterm=NONE guifg=#5CF1FF guibg=NONE gui=NONE
hi rubyRailsMethod ctermfg=87 ctermbg=NONE cterm=NONE guifg=#5CF1FF guibg=NONE gui=NONE
hi erubyDelimiter ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
hi erubyComment ctermfg=33 ctermbg=NONE cterm=NONE guifg=#007AFF guibg=NONE gui=NONE
hi erubyRailsMethod ctermfg=87 ctermbg=NONE cterm=NONE guifg=#5CF1FF guibg=NONE gui=NONE
hi htmlTag ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
hi htmlEndTag ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
hi htmlTagName ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
hi htmlArg ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
hi htmlSpecialChar ctermfg=62 ctermbg=NONE cterm=NONE guifg=#5A5AE6 guibg=NONE gui=NONE
hi javaScriptFunction ctermfg=87 ctermbg=NONE cterm=NONE guifg=#5CF1FF guibg=NONE gui=italic
hi javaScriptRailsFunction ctermfg=87 ctermbg=NONE cterm=NONE guifg=#5CF1FF guibg=NONE gui=NONE
hi javaScriptBraces ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
hi yamlKey ctermfg=205 ctermbg=NONE cterm=NONE guifg=#FF479F guibg=NONE gui=NONE
hi yamlAnchor ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
hi yamlAlias ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
hi yamlDocumentHeader ctermfg=229 ctermbg=NONE cterm=NONE guifg=#FEF29E guibg=NONE gui=NONE
hi cssURL ctermfg=221 ctermbg=NONE cterm=NONE guifg=#FFD75F guibg=NONE gui=italic
hi cssFunctionName ctermfg=87 ctermbg=NONE cterm=NONE guifg=#5CF1FF guibg=NONE gui=NONE
hi cssColor ctermfg=62 ctermbg=NONE cterm=NONE guifg=#5A5AE6 guibg=NONE gui=NONE
hi cssPseudoClassId ctermfg=50 ctermbg=NONE cterm=NONE guifg=#45FFC8 guibg=NONE gui=NONE
hi cssClassName ctermfg=50 ctermbg=NONE cterm=NONE guifg=#45FFC8 guibg=NONE gui=NONE
hi cssValueLength ctermfg=62 ctermbg=NONE cterm=NONE guifg=#5A5AE6 guibg=NONE gui=NONE
hi cssCommonAttr ctermfg=87 ctermbg=NONE cterm=NONE guifg=#6be5fd guibg=NONE gui=NONE
hi cssBraces ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
hi TabLineFill guifg=#333333 guibg=#2E2F31 gui=none
hi TabLine guifg=#666666 guibg=#2E2F31 gui=none
hi TabLineSel guifg=WHITE guibg=#2E2F31 gui=none
" Elixir {{{
hi elixirAtom ctermfg=87 ctermbg=NONE cterm=NONE guifg=#5CF1FF guibg=NONE gui=italic"
hi elixirModuleDeclaration ctermfg=87 ctermbg=NONE cterm=NONE guifg=#5CF1FF guibg=NONE gui=italic"
hi elixirAlias ctermfg=87 ctermbg=NONE cterm=NONE guifg=#5CF1FF guibg=NONE gui=italic"
hi elixirInterpolationDelimiter ctermfg=50 ctermbg=NONE cterm=NONE guifg=#45FFC8 guibg=NONE gui=NONE
hi elixirStringDelimiter ctermfg=229 ctermbg=NONE cterm=NONE guifg=#FEF29E guibg=NONE gui=NONE
"}}}
"
" Vim Script {{{
hi vimGroupName ctermfg=87 ctermbg=NONE cterm=NONE guifg=#5CF1FF guibg=NONE
hi vimGroup ctermfg=87 ctermbg=NONE cterm=NONE guifg=#5CF1FF guibg=NONE
hi vimOption ctermfg=87 ctermbg=NONE cterm=NONE guifg=#5CF1FF guibg=NONE
hi vimHiCtermFgBg ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE
hi vimHiGuiFgBg ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE
" }}}
"
"cygwin has an annoying behavior where it resets background to light
"regardless of what is set above, so we force it yet again
"
"add these to get cygwin shell working when used to ssh into a centos6 vm
"this requires your TERM=xterm-256color in the guest vm
"- one way to do this is to append to /home/vagrant/.bash_profile ala:
" TERM=xterm-256color
" export $TERM
execute "set background=dark"
"-------------------

View File

@@ -0,0 +1,628 @@
" File: afterglow.vim
" Author: Danilo Augusto
" Date: 2017-02-27
" Vim color file - Afterglow (monokai version)
"
" Hex color conversion functions borrowed from the theme 'Desert256'
set background=dark
if version > 580
hi clear
if exists("syntax_on")
syntax reset
endif
endif
let g:colors_name = "afterglow"
" Default GUI Colours
let s:foreground = "d6d6d6"
let s:background = "1a1a1a"
let s:selection = "5a647e"
let s:line = "393939"
let s:comment = "797979"
let s:red = "ac4142"
let s:orange = "e87d3e"
let s:yellow = "e5b567"
let s:green = "b4c973"
let s:blue = "6c99bb"
let s:wine = "b05279"
let s:purple = "9e86c8"
let s:window = "4d5057"
" Auxiliar colors
let s:black = "000000"
if has("gui_running") || &t_Co == 88 || &t_Co == 256
" Returns an approximate grey index for the given grey level
fun <SID>grey_number(x)
if &t_Co == 88
if a:x < 23
return 0
elseif a:x < 69
return 1
elseif a:x < 103
return 2
elseif a:x < 127
return 3
elseif a:x < 150
return 4
elseif a:x < 173
return 5
elseif a:x < 196
return 6
elseif a:x < 219
return 7
elseif a:x < 243
return 8
else
return 9
endif
else
if a:x < 14
return 0
else
let l:n = (a:x - 8) / 10
let l:m = (a:x - 8) % 10
if l:m < 5
return l:n
else
return l:n + 1
endif
endif
endif
endfun
" Returns the actual grey level represented by the grey index
fun <SID>grey_level(n)
if &t_Co == 88
if a:n == 0
return 0
elseif a:n == 1
return 46
elseif a:n == 2
return 92
elseif a:n == 3
return 115
elseif a:n == 4
return 139
elseif a:n == 5
return 162
elseif a:n == 6
return 185
elseif a:n == 7
return 208
elseif a:n == 8
return 231
else
return 255
endif
else
if a:n == 0
return 0
else
return 8 + (a:n * 10)
endif
endif
endfun
" Returns the palette index for the given grey index
fun <SID>grey_colour(n)
if &t_Co == 88
if a:n == 0
return 16
elseif a:n == 9
return 79
else
return 79 + a:n
endif
else
if a:n == 0
return 16
elseif a:n == 25
return 231
else
return 231 + a:n
endif
endif
endfun
" Returns an approximate colour index for the given colour level
fun <SID>rgb_number(x)
if &t_Co == 88
if a:x < 69
return 0
elseif a:x < 172
return 1
elseif a:x < 230
return 2
else
return 3
endif
else
if a:x < 75
return 0
else
let l:n = (a:x - 55) / 40
let l:m = (a:x - 55) % 40
if l:m < 20
return l:n
else
return l:n + 1
endif
endif
endif
endfun
" Returns the actual colour level for the given colour index
fun <SID>rgb_level(n)
if &t_Co == 88
if a:n == 0
return 0
elseif a:n == 1
return 139
elseif a:n == 2
return 205
else
return 255
endif
else
if a:n == 0
return 0
else
return 55 + (a:n * 40)
endif
endif
endfun
" Returns the palette index for the given R/G/B colour indices
fun <SID>rgb_colour(x, y, z)
if &t_Co == 88
return 16 + (a:x * 16) + (a:y * 4) + a:z
else
return 16 + (a:x * 36) + (a:y * 6) + a:z
endif
endfun
" Returns the palette index to approximate the given R/G/B colour levels
fun <SID>colour(r, g, b)
" Get the closest grey
let l:gx = <SID>grey_number(a:r)
let l:gy = <SID>grey_number(a:g)
let l:gz = <SID>grey_number(a:b)
" Get the closest colour
let l:x = <SID>rgb_number(a:r)
let l:y = <SID>rgb_number(a:g)
let l:z = <SID>rgb_number(a:b)
if l:gx == l:gy && l:gy == l:gz
" There are two possibilities
let l:dgr = <SID>grey_level(l:gx) - a:r
let l:dgg = <SID>grey_level(l:gy) - a:g
let l:dgb = <SID>grey_level(l:gz) - a:b
let l:dgrey = (l:dgr * l:dgr) + (l:dgg * l:dgg) + (l:dgb * l:dgb)
let l:dr = <SID>rgb_level(l:gx) - a:r
let l:dg = <SID>rgb_level(l:gy) - a:g
let l:db = <SID>rgb_level(l:gz) - a:b
let l:drgb = (l:dr * l:dr) + (l:dg * l:dg) + (l:db * l:db)
if l:dgrey < l:drgb
" Use the grey
return <SID>grey_colour(l:gx)
else
" Use the colour
return <SID>rgb_colour(l:x, l:y, l:z)
endif
else
" Only one possibility
return <SID>rgb_colour(l:x, l:y, l:z)
endif
endfun
" Returns the palette index to approximate the 'rrggbb' hex string
fun <SID>rgb(rgb)
let l:r = ("0x" . strpart(a:rgb, 0, 2)) + 0
let l:g = ("0x" . strpart(a:rgb, 2, 2)) + 0
let l:b = ("0x" . strpart(a:rgb, 4, 2)) + 0
return <SID>colour(l:r, l:g, l:b)
endfun
" Sets the highlighting for the given group
fun <SID>X(group, fg, bg, attr)
if a:fg != ""
if a:fg == "NONE"
exec "hi " . a:group . " guifg=NONE ctermfg=NONE"
else
exec "hi " . a:group . " guifg=#" . a:fg . " ctermfg=" . <SID>rgb(a:fg)
endif
endif
if a:bg != ""
if a:bg == "NONE"
exec "hi " . a:group . " guibg=NONE ctermbg=NONE"
else
exec "hi " . a:group . " guibg=#" . a:bg . " ctermbg=" . <SID>rgb(a:bg)
endif
endif
if a:attr != ""
exec "hi " . a:group . " gui=" . a:attr . " cterm=" . a:attr
endif
endfun
" by default: toggled on (backcompatibility with g:afterglow_italic_comments)
" option g:afterglow_use_italics
if exists("g:afterglow_use_italics") && !g:afterglow_use_italics
let italic = ""
else
" make the global variable available to command mode
let g:afterglow_use_italics = 1
let italic = "italic"
endif
" option g:afterglow_italic_comments
if exists("g:afterglow_italic_comments") && g:afterglow_italic_comments
call <SID>X("Comment", s:comment, "", italic)
else
" make the global variable available to command mode
let g:afterglow_italic_comments = 0
call <SID>X("Comment", s:comment, "", "")
endif
" Vim Highlighting
call <SID>X("NonText", s:selection, "", "")
call <SID>X("SpecialKey", s:selection, "", "")
call <SID>X("Search", s:background, s:yellow, "")
call <SID>X("TabLine", s:window, s:foreground, "reverse")
call <SID>X("TabLineFill", s:window, s:foreground, "reverse")
call <SID>X("StatusLine", s:window, s:yellow, "reverse")
call <SID>X("StatusLineNC", s:window, s:foreground, "reverse")
call <SID>X("VertSplit", s:window, s:window, "NONE")
call <SID>X("Visual", "", s:selection, "")
call <SID>X("Directory", s:blue, "", "")
call <SID>X("ModeMsg", s:green, "", "")
call <SID>X("MoreMsg", s:green, "", "")
call <SID>X("Question", s:green, "", "")
call <SID>X("WarningMsg", s:orange, "", "bold")
call <SID>X("MatchParen", "", s:selection, "")
call <SID>X("Folded", s:comment, s:background, "")
call <SID>X("FoldColumn", "", s:background, "")
if version >= 700
call <SID>X("CursorLine", "", s:line, "NONE")
call <SID>X("CursorLineNR", s:orange, "", "NONE")
call <SID>X("CursorColumn", "", s:line, "NONE")
call <SID>X("PMenu", s:foreground, s:selection, "NONE")
call <SID>X("PMenuSel", s:foreground, s:selection, "reverse")
end
if version >= 703
call <SID>X("ColorColumn", "", s:line, "NONE")
end
" Standard Highlighting
call <SID>X("Title", s:comment, "", "bold")
call <SID>X("Identifier", s:orange, "", "")
call <SID>X("Statement", s:wine, "", "")
call <SID>X("Conditional", s:wine, "", "")
call <SID>X("Repeat", s:wine, "", "")
call <SID>X("Structure", s:wine, "", "")
call <SID>X("Function", s:orange, "", "")
call <SID>X("Constant", s:purple, "", "")
call <SID>X("Keyword", s:orange, "", "")
call <SID>X("String", s:yellow, "", "")
call <SID>X("Special", s:blue, "", "")
call <SID>X("PreProc", s:green, "", "")
call <SID>X("Operator", s:purple, "", "")
call <SID>X("Type", s:blue, "", "")
call <SID>X("Define", s:wine, "", "")
call <SID>X("Include", s:wine, "", "")
call <SID>X("Tag", s:orange, "", "bold")
call <SID>X("Underlined", s:orange, "", "underline")
syntax match commonOperator "\(+\|=\|-\|*\|\^\|\/\||\)"
hi! link commonOperator Operator
" Vim Highlighting
call <SID>X("vimCommand", s:wine, "", "NONE")
" C Highlighting
call <SID>X("cType", s:wine, "", "")
call <SID>X("cStorageClass", s:orange, "", "")
call <SID>X("cConditional", s:wine, "", "")
call <SID>X("cRepeat", s:wine, "", "")
" PHP Highlighting
call <SID>X("phpVarSelector", s:wine, "", "")
call <SID>X("phpKeyword", s:wine, "", "")
call <SID>X("phpRepeat", s:wine, "", "")
call <SID>X("phpConditional", s:wine, "", "")
call <SID>X("phpStatement", s:wine, "", "")
call <SID>X("phpMemberSelector", s:foreground, "", "")
" Ruby Highlighting
call <SID>X("rubySymbol", s:blue, "", "")
call <SID>X("rubyConstant", s:green, "", "")
call <SID>X("rubyAccess", s:yellow, "", "")
call <SID>X("rubyAttribute", s:blue, "", "")
call <SID>X("rubyInclude", s:blue, "", "")
call <SID>X("rubyLocalVariableOrMethod", s:orange, "", "")
call <SID>X("rubyCurlyBlock", s:orange, "", "")
call <SID>X("rubyStringDelimiter", s:yellow, "", "")
call <SID>X("rubyInterpolationDelimiter", s:orange, "", "")
call <SID>X("rubyConditional", s:wine, "", "")
call <SID>X("rubyRepeat", s:wine, "", "")
call <SID>X("rubyControl", s:wine, "", "")
call <SID>X("rubyException", s:wine, "", "")
" Crystal Highlighting
call <SID>X("crystalSymbol", s:green, "", "")
call <SID>X("crystalConstant", s:yellow, "", "")
call <SID>X("crystalAccess", s:yellow, "", "")
call <SID>X("crystalAttribute", s:blue, "", "")
call <SID>X("crystalInclude", s:blue, "", "")
call <SID>X("crystalLocalVariableOrMethod", s:orange, "", "")
call <SID>X("crystalCurlyBlock", s:orange, "", "")
call <SID>X("crystalStringDelimiter", s:green, "", "")
call <SID>X("crystalInterpolationDelimiter", s:orange, "", "")
call <SID>X("crystalConditional", s:wine, "", "")
call <SID>X("crystalRepeat", s:wine, "", "")
call <SID>X("crystalControl", s:wine, "", "")
call <SID>X("crystalException", s:wine, "", "")
" Python Highlighting
call <SID>X("pythonInclude", s:green, "", italic)
call <SID>X("pythonStatement", s:blue, "", "")
call <SID>X("pythonConditional", s:wine, "", "")
call <SID>X("pythonRepeat", s:wine, "", "")
call <SID>X("pythonException", s:orange, "", "")
call <SID>X("pythonFunction", s:green, "", italic)
call <SID>X("pythonPreCondit", s:wine, "", "")
call <SID>X("pythonExClass", s:orange, "", "")
call <SID>X("pythonBuiltin", s:blue, "", "")
call <SID>X("pythonOperator", s:wine, "", "")
call <SID>X("pythonNumber", s:purple, "", "")
call <SID>X("pythonString", s:yellow, "", "")
call <SID>X("pythonRawString", s:yellow, "", "")
call <SID>X("pythonDecorator", s:wine, "", "")
call <SID>X("pythonDoctest", s:yellow, "", "")
call <SID>X("pythonImportFunction", s:orange, "", "")
call <SID>X("pythonImportModule", s:orange, "", "")
call <SID>X("pythonImportObject", s:orange, "", "")
call <SID>X("pythonImportedClassDef", s:orange, "", "")
call <SID>X("pythonImportedFuncDef", s:orange, "", "")
call <SID>X("pythonImportedModule", s:orange, "", "")
call <SID>X("pythonImportedObject", s:orange, "", "")
" JavaScript Highlighting
call <SID>X("javaScriptEndColons", s:foreground, "", "")
call <SID>X("javaScriptOpSymbols", s:foreground, "", "")
call <SID>X("javaScriptLogicSymbols", s:foreground, "", "")
call <SID>X("javaScriptBraces", s:foreground, "", "")
call <SID>X("javaScriptParens", s:foreground, "", "")
call <SID>X("javaScriptFunction", s:green, "", "")
call <SID>X("javaScriptComment", s:comment, "", "")
call <SID>X("javaScriptLineComment", s:comment, "", "")
call <SID>X("javaScriptDocComment", s:comment, "", "")
call <SID>X("javaScriptCommentTodo", s:red, "", "")
call <SID>X("javaScriptString", s:yellow, "", "")
call <SID>X("javaScriptRegexpString", s:yellow, "", "")
call <SID>X("javaScriptTemplateString", s:yellow, "", "")
call <SID>X("javaScriptNumber", s:purple, "", "")
call <SID>X("javaScriptFloat", s:purple, "", "")
call <SID>X("javaScriptGlobal", s:purple, "", "")
call <SID>X("javaScriptCharacter", s:blue, "", "")
call <SID>X("javaScriptPrototype", s:blue, "", "")
call <SID>X("javaScriptConditional", s:blue, "", "")
call <SID>X("javaScriptBranch", s:blue, "", "")
call <SID>X("javaScriptIdentifier", s:orange, "", "")
call <SID>X("javaScriptRepeat", s:blue, "", "")
call <SID>X("javaScriptStatement", s:blue, "", "")
call <SID>X("javaScriptMessage", s:blue, "", "")
call <SID>X("javaScriptReserved", s:blue, "", "")
call <SID>X("javaScriptOperator", s:blue, "", "")
call <SID>X("javaScriptNull", s:purple, "", "")
call <SID>X("javaScriptBoolean", s:purple, "", "")
call <SID>X("javaScriptLabel", s:blue, "", "")
call <SID>X("javaScriptSpecial", s:blue, "", "")
call <SID>X("javaScriptExceptions", s:red, "", "")
call <SID>X("javaScriptDeprecated", s:red, "", "")
call <SID>X("javaScriptError", s:red, "", "")
" LaTeX
call <SID>X("texStatement",s:blue, "", "")
call <SID>X("texMath", s:wine, "", "NONE")
call <SID>X("texMathMacher", s:yellow, "", "NONE")
call <SID>X("texRefLabel", s:wine, "", "NONE")
call <SID>X("texRefZone", s:blue, "", "NONE")
call <SID>X("texComment", s:comment, "", "NONE")
call <SID>X("texDelimiter", s:purple, "", "NONE")
call <SID>X("texMathZoneX", s:purple, "", "NONE")
" CoffeeScript Highlighting
call <SID>X("coffeeRepeat", s:wine, "", "")
call <SID>X("coffeeConditional", s:wine, "", "")
call <SID>X("coffeeKeyword", s:wine, "", "")
call <SID>X("coffeeObject", s:yellow, "", "")
" HTML Highlighting
call <SID>X("htmlTag", s:blue, "", "")
call <SID>X("htmlEndTag", s:blue, "", "")
call <SID>X("htmlTagName", s:wine, "", "bold")
call <SID>X("htmlArg", s:green, "", italic)
call <SID>X("htmlScriptTag", s:wine, "", "")
" Diff Highlighting
call <SID>X("diffAdd", "", "4c4e39", "")
call <SID>X("diffDelete", s:background, s:red, "")
call <SID>X("diffChange", "", "2B5B77", "")
call <SID>X("diffText", s:line, s:blue, "")
" ShowMarks Highlighting
call <SID>X("ShowMarksHLl", s:orange, s:background, "NONE")
call <SID>X("ShowMarksHLo", s:wine, s:background, "NONE")
call <SID>X("ShowMarksHLu", s:yellow, s:background, "NONE")
call <SID>X("ShowMarksHLm", s:wine, s:background, "NONE")
" Lua Highlighting
call <SID>X("luaStatement", s:wine, "", "")
call <SID>X("luaRepeat", s:wine, "", "")
call <SID>X("luaCondStart", s:wine, "", "")
call <SID>X("luaCondElseif", s:wine, "", "")
call <SID>X("luaCond", s:wine, "", "")
call <SID>X("luaCondEnd", s:wine, "", "")
" Cucumber Highlighting
call <SID>X("cucumberGiven", s:blue, "", "")
call <SID>X("cucumberGivenAnd", s:blue, "", "")
" Go Highlighting
call <SID>X("goDirective", s:wine, "", "")
call <SID>X("goDeclaration", s:wine, "", "")
call <SID>X("goStatement", s:wine, "", "")
call <SID>X("goConditional", s:wine, "", "")
call <SID>X("goConstants", s:orange, "", "")
call <SID>X("goTodo", s:red, "", "")
call <SID>X("goDeclType", s:blue, "", "")
call <SID>X("goBuiltins", s:wine, "", "")
call <SID>X("goRepeat", s:wine, "", "")
call <SID>X("goLabel", s:wine, "", "")
" Clojure Highlighting
call <SID>X("clojureConstant", s:orange, "", "")
call <SID>X("clojureBoolean", s:orange, "", "")
call <SID>X("clojureCharacter", s:orange, "", "")
call <SID>X("clojureKeyword", s:green, "", "")
call <SID>X("clojureNumber", s:orange, "", "")
call <SID>X("clojureString", s:green, "", "")
call <SID>X("clojureRegexp", s:green, "", "")
call <SID>X("clojureParen", s:wine, "", "")
call <SID>X("clojureVariable", s:yellow, "", "")
call <SID>X("clojureCond", s:blue, "", "")
call <SID>X("clojureDefine", s:wine, "", "")
call <SID>X("clojureException", s:red, "", "")
call <SID>X("clojureFunc", s:blue, "", "")
call <SID>X("clojureMacro", s:blue, "", "")
call <SID>X("clojureRepeat", s:blue, "", "")
call <SID>X("clojureSpecial", s:wine, "", "")
call <SID>X("clojureQuote", s:blue, "", "")
call <SID>X("clojureUnquote", s:blue, "", "")
call <SID>X("clojureMeta", s:blue, "", "")
call <SID>X("clojureDeref", s:blue, "", "")
call <SID>X("clojureAnonArg", s:blue, "", "")
call <SID>X("clojureRepeat", s:blue, "", "")
call <SID>X("clojureDispatch", s:blue, "", "")
" Scala Highlighting
call <SID>X("scalaKeyword", s:wine, "", "")
call <SID>X("scalaKeywordModifier", s:wine, "", "")
call <SID>X("scalaOperator", s:blue, "", "")
call <SID>X("scalaPackage", s:wine, "", "")
call <SID>X("scalaFqn", s:foreground, "", "")
call <SID>X("scalaFqnSet", s:foreground, "", "")
call <SID>X("scalaImport", s:wine, "", "")
call <SID>X("scalaBoolean", s:orange, "", "")
call <SID>X("scalaDef", s:wine, "", "")
call <SID>X("scalaVal", s:wine, "", "")
call <SID>X("scalaVar", s:wine, "", "")
call <SID>X("scalaClass", s:wine, "", "")
call <SID>X("scalaObject", s:wine, "", "")
call <SID>X("scalaTrait", s:wine, "", "")
call <SID>X("scalaDefName", s:blue, "", "")
call <SID>X("scalaValName", s:foreground, "", "")
call <SID>X("scalaVarName", s:foreground, "", "")
call <SID>X("scalaClassName", s:foreground, "", "")
call <SID>X("scalaType", s:yellow, "", "")
call <SID>X("scalaTypeSpecializer", s:yellow, "", "")
call <SID>X("scalaAnnotation", s:orange, "", "")
call <SID>X("scalaNumber", s:orange, "", "")
call <SID>X("scalaDefSpecializer", s:yellow, "", "")
call <SID>X("scalaClassSpecializer", s:yellow, "", "")
call <SID>X("scalaBackTick", s:green, "", "")
call <SID>X("scalaRoot", s:foreground, "", "")
call <SID>X("scalaMethodCall", s:blue, "", "")
call <SID>X("scalaCaseType", s:yellow, "", "")
call <SID>X("scalaLineComment", s:comment, "", "")
call <SID>X("scalaComment", s:comment, "", "")
call <SID>X("scalaDocComment", s:comment, "", "")
call <SID>X("scalaDocTags", s:comment, "", "")
call <SID>X("scalaEmptyString", s:green, "", "")
call <SID>X("scalaMultiLineString", s:green, "", "")
call <SID>X("scalaUnicode", s:orange, "", "")
call <SID>X("scalaString", s:green, "", "")
call <SID>X("scalaStringEscape", s:green, "", "")
call <SID>X("scalaSymbol", s:orange, "", "")
call <SID>X("scalaChar", s:orange, "", "")
call <SID>X("scalaXml", s:green, "", "")
call <SID>X("scalaConstructorSpecializer", s:yellow, "", "")
call <SID>X("scalaBackTick", s:blue, "", "")
" Git
call <SID>X("gitFile", s:orange, "", "")
call <SID>X("gitcommitSummary", "", "", "bold")
" Option g:afterglow_blackout
if !exists( "g:afterglow_blackout")
let g:afterglow_blackout = 0
endif
" Option g:afterglow_no_terminal_background
if !exists("g:afterglow_inherit_background")
let g:afterglow_inherit_background = 0
endif
" Background behavior inference here
if g:afterglow_inherit_background && has("gui_running")
echohl WarningMsg | echom "Inherit background is ignored in GUI." | echohl NONE
let g:afterglow_inherit_background = 0
endif
if g:afterglow_inherit_background
let s:chosen_background = "NONE"
elseif g:afterglow_blackout
let s:chosen_background = s:black
else
let s:chosen_background = s:background
endif
" Settings dependent on g:afterglow_blackout
call <SID>X("Normal", s:foreground, s:chosen_background, "")
call <SID>X("LineNr", s:comment, s:chosen_background, "")
if version >= 700
call <SID>X("SignColumn", "", s:chosen_background, "NONE")
end
call <SID>X("Todo", s:red, s:chosen_background, "bold")
" Diffs
" Plugin GitGutter uses highlight link to some of the groups below
call <SID>X("DiffAdded", s:green, s:chosen_background, "")
call <SID>X("DiffChange", s:yellow, s:chosen_background, "")
call <SID>X("DiffDelete", s:red, s:chosen_background, "")
call <SID>X("DiffLine", s:blue, s:chosen_background, italic)
call <SID>X("DiffSubname", s:foreground, s:chosen_background, "")
" Aliases
" For plugins compatibility and some backcompatibility
" cf. https://github.com/vim/vim-history/blob/c2257f84a000fd08d3ba80d6b1a5d1c0148a39ea/runtime/syntax/diff.vim#L13
hi! link diffAdded DiffAdded
hi! link diffChange DiffChange
hi! link diffDelete DiffDelete
hi! link diffLine DiffLine
hi! link diffSubname DiffSubname
hi! link DiffRemoved DiffDelete
hi! link diffRemoved DiffDelete
hi! link GitGutterChangeLineDefault DiffDelete
hi! link DiffAdd DiffAdded
hi! link diffAdd DiffAdded
" ALE (plugin)
call <SID>X("ALEWarningSign", s:orange, s:chosen_background, "bold")
call <SID>X("ALEErrorSign", s:red, s:chosen_background, "bold")
" Delete Functions
delf <SID>X
delf <SID>rgb
delf <SID>colour
delf <SID>rgb_colour
delf <SID>rgb_level
delf <SID>rgb_number
delf <SID>grey_colour
delf <SID>grey_level
delf <SID>grey_number
endif

View File

@@ -0,0 +1,297 @@
"AUTHOR: Alessandro Yorba
"SCRIPT: https://github.com/AlessandroYorba/Alduin
"UPDATED: November 26th, 2019
"CHANGES: Reverted back to original LineNr for all modes
"Arch Linux Package: George Angelopoulos https://github.com/lathan
"Design Inspiration: Karolis Koncevičius https://github.com/KKPMW
"Design Inspiration: Romain Lafourcade https://github.com/romainl
"UI Contributions: jiyyti https://github.com/jiyyt
"UI Contributions: Aramis Razzaghipour arzg https://github.com/arzg
"
"SUPPORT:
"256 color terminals, Gui versions of vim, and Termguicolors versions of vim
"
"INSTALL LOCATION:
"Unix users, place alduin.vim in ~/.vim/colors
"Windows users, place alduin.vim in ~\vimfiles\colors
"From your .vimrc add one of the following options
"colorscheme alduin
"
"DARKER GRAY BACKGROUND COLOR:
"let g:alduin_Shout_Dragon_Aspect = 1
"colorscheme alduin
"
"BLACK BACKGROUND COLOR:
"let g:alduin_Shout_Become_Ethereal = 1
"colorscheme alduin
"
"ADDS DEEP RED COLOR FOR SPECIAL HIGHLIGHT GROUPS:
"let g:alduin_Shout_Fire_Breath = 1
"colorscheme alduin
"
"REMOVE SUBTLE BACKGROUND HIGHLIGHTING FROM STRINGS:
"let g:alduin_Shout_Animal_Allegiance = 1
"colorscheme alduin
"
"REMOVES BLOCK MATCHPARENS ADDS UNDERLINE:
"let g:alduin_Shout_Aura_Whisper = 1
"colorscheme alduin
"
"ALDUIN:
set background=dark
highlight clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name="alduin"
if !exists( "g:alduin_Shout_Aura_Whisper")
let g:alduin_Shout_Aura_Whisper = 0
endif
if !exists( "g:alduin_Shout_Fire_Breath" )
let g:alduin_Shout_Fire_Breath = 0
endif
if !exists("g:alduin_Shout_Animal_Allegiance")
let g:alduin_Shout_Animal_Allegiance = 0
endif
if !exists("g:alduin_Shout_Dragon_Aspect" )
let g:alduin_Shout_Dragon_Aspect = 0
endif
if !exists( "g:alduin_Shout_Become_Ethereal" )
let g:alduin_Shout_Become_Ethereal = 0
endif
" COMMON COLORS AND SETTINGS
highlight PreProc guifg=#dfaf87 guibg=NONE gui=NONE ctermfg=180 ctermbg=NONE cterm=NONE
highlight Function guifg=#875f5f guibg=NONE gui=NONE ctermfg=95 ctermbg=NONE cterm=NONE
highlight Identifier guifg=#87afaf guibg=NONE gui=NONE ctermfg=109 ctermbg=NONE cterm=NONE
highlight Statement guifg=#878787 guibg=NONE gui=NONE ctermfg=102 ctermbg=NONE cterm=NONE
highlight Constant guifg=#af8787 guibg=NONE gui=NONE ctermfg=138 ctermbg=NONE cterm=NONE
highlight Type guifg=#af875f guibg=NONE gui=NONE ctermfg=137 ctermbg=NONE cterm=NONE
highlight Label guifg=#878787 guibg=NONE gui=NONE ctermfg=102 ctermbg=NONE cterm=NONE
highlight Special guifg=#af5f5f guibg=NONE gui=NONE ctermfg=131 ctermbg=NONE cterm=NONE
highlight Operator guifg=#878787 guibg=NONE gui=NONE ctermfg=102 ctermbg=NONE cterm=NONE
highlight Title guifg=#dfaf87 guibg=NONE gui=NONE ctermfg=180 ctermbg=NONE cterm=NONE
highlight Conditional guifg=#878787 guibg=NONE gui=NONE ctermfg=102 ctermbg=NONE cterm=NONE
highlight StorageClass guifg=#875f5f guibg=NONE gui=NONE ctermfg=95 ctermbg=NONE cterm=NONE
highlight htmlStatement guifg=#878787 guibg=NONE gui=NONE ctermfg=102 ctermbg=NONE cterm=NONE
highlight htmlItalic guifg=#dfaf87 guibg=NONE gui=NONE ctermfg=180 ctermbg=NONE cterm=NONE
highlight htmlArg guifg=#875f5f guibg=NONE gui=NONE ctermfg=95 ctermbg=NONE cterm=NONE
highlight cssIdentifier guifg=#dfaf87 guibg=NONE gui=NONE ctermfg=180 ctermbg=NONE cterm=NONE
highlight cssClassName guifg=#dfaf87 guibg=NONE gui=NONE ctermfg=180 ctermbg=NONE cterm=NONE
highlight Structure guifg=#875f5f guibg=NONE gui=NONE ctermfg=95 ctermbg=NONE cterm=NONE
highlight Typedef guifg=#875f5f guibg=NONE gui=NONE ctermfg=95 ctermbg=NONE cterm=NONE
highlight Repeat guifg=#878787 guibg=NONE gui=NONE ctermfg=102 ctermbg=NONE cterm=NONE
highlight Keyword guifg=#878787 guibg=NONE gui=NONE ctermfg=102 ctermbg=NONE cterm=NONE
highlight Exception guifg=#878787 guibg=NONE gui=NONE ctermfg=102 ctermbg=NONE cterm=NONE
highlight Number guifg=#af5f00 guibg=NONE gui=NONE ctermfg=130 ctermbg=NONE cterm=NONE
highlight Character guifg=#af5f00 guibg=NONE gui=NONE ctermfg=130 ctermbg=NONE cterm=NONE
highlight Boolean guifg=#af5f00 guibg=NONE gui=NONE ctermfg=130 ctermbg=NONE cterm=NONE
highlight Float guifg=#af5f00 guibg=NONE gui=NONE ctermfg=130 ctermbg=NONE cterm=NONE
highlight Include guifg=#dfaf87 guibg=NONE gui=NONE ctermfg=180 ctermbg=NONE cterm=NONE
highlight Define guifg=#dfaf87 guibg=NONE gui=NONE ctermfg=180 ctermbg=NONE cterm=NONE
highlight Comment guifg=#87875f guibg=NONE gui=NONE ctermfg=101 ctermbg=NONE cterm=NONE
" VIMSCRIPT
highlight link vimAutoCmdSfxList Type
highlight link vimAutoEventList Identifier
highlight link vimCmdSep Special
highlight link vimCommentTitle SpecialComment
highlight link vimFunction Function
highlight link vimUserFunc Function
"WINDOW UI
highlight MoreMsg guifg=#dfaf87 guibg=NONE gui=NONE ctermfg=180 ctermbg=NONE cterm=NONE
highlight SpecialComment guifg=#87875f guibg=NONE gui=reverse ctermfg=101 ctermbg=NONE cterm=reverse
highlight Underlined guifg=#af5f5f guibg=NONE gui=NONE ctermfg=131 ctermbg=NONE cterm=NONE
highlight Todo guifg=#af5f00 guibg=NONE gui=reverse ctermfg=130 ctermbg=NONE cterm=reverse
highlight Visual guifg=#dfdfaf guibg=#875f5f gui=NONE ctermfg=187 ctermbg=95 cterm=NONE
highlight Question guifg=#875f5f guibg=NONE gui=NONE ctermfg=95 ctermbg=NONE cterm=NONE
highlight Search guifg=#dfdfaf guibg=#878787 gui=NONE ctermfg=187 ctermbg=102 cterm=NONE
highlight PmenuSel guifg=#dfdfaf guibg=#875f5f gui=NONE ctermfg=187 ctermbg=95 cterm=NONE
highlight MatchParen guifg=#dfdfaf guibg=#875f5f gui=NONE ctermfg=187 ctermbg=95 cterm=NONE
highlight Error guifg=#af5f5f guibg=#121212 gui=reverse ctermfg=131 ctermbg=233 cterm=reverse
highlight ErrorMsg guifg=#af5f5f guibg=NONE gui=NONE ctermfg=131 ctermbg=NONE cterm=NONE
highlight WarningMsg guifg=#af5f5f guibg=NONE gui=NONE ctermfg=131 ctermbg=NONE cterm=NONE
highlight Directory guifg=#af5f5f guibg=NONE gui=NONE ctermfg=131 ctermbg=NONE cterm=NONE
highlight Cursor guifg=#000000 guibg=#dfdfaf gui=NONE ctermfg=16 ctermbg=187 cterm=NONE
highlight WildMenu guifg=#dfdfaf guibg=#875f5f gui=NONE ctermfg=187 ctermbg=95 cterm=NONE
highlight ModeMsg guifg=#dfdfaf guibg=NONE gui=NONE ctermfg=187 ctermbg=NONE cterm=NONE
highlight Macro guifg=#dfaf87 guibg=NONE gui=NONE ctermfg=180 ctermbg=NONE cterm=NONE
highlight PreCondit guifg=#dfaf87 guibg=NONE gui=NONE ctermfg=180 ctermbg=NONE cterm=NONE
highlight IncSearch guifg=#af5f5f guibg=NONE gui=reverse ctermfg=131 ctermbg=NONE cterm=reverse
highlight VisualNOS guifg=NONE guibg=NONE gui=underline ctermfg=NONE ctermbg=NONE cterm=underline
"DIFF
highlight DiffAdd guifg=#008787 guibg=NONE gui=reverse ctermfg=30 ctermbg=NONE cterm=reverse
highlight DiffText guifg=#008787 guibg=NONE gui=reverse ctermfg=30 ctermbg=NONE cterm=reverse
highlight DiffChange guifg=#005f5f guibg=NONE gui=reverse ctermfg=23 ctermbg=NONE cterm=reverse
highlight DiffDelete guifg=#af5f5f guibg=NONE gui=reverse ctermfg=131 ctermbg=NONE cterm=reverse
highlight link diffAdded DiffAdd
highlight link diffBDiffer WarningMsg
highlight link diffChanged DiffChange
highlight link diffCommon WarningMsg
highlight link diffDiffer WarningMsg
highlight link diffFile Directory
highlight link diffIdentical WarningMsg
highlight link diffIndexLine Number
highlight link diffIsA WarningMsg
highlight link diffNoEOL WarningMsg
highlight link diffOnly WarningMsg
highlight link diffRemoved DiffDelete
"SPELLING
highlight SpellBad guifg=#ff0000 guibg=NONE gui=undercurl ctermfg=196 ctermbg=NONE cterm=undercurl
highlight SpellLocal guifg=#5f875f guibg=NONE gui=undercurl ctermfg=65 ctermbg=NONE cterm=undercurl
highlight SpellCap guifg=#87afff guibg=NONE gui=undercurl ctermfg=111 ctermbg=NONE cterm=undercurl
highlight SpellRare guifg=#d75f00 guibg=NONE gui=undercurl ctermfg=166 ctermbg=NONE cterm=undercurl
"DEFAULT
if 1
"COLORS
highlight Normal guifg=#dfdfaf guibg=#1c1c1c gui=NONE ctermfg=187 ctermbg=234 cterm=NONE
highlight String guifg=#ffdf87 guibg=#262626 gui=NONE ctermfg=222 ctermbg=235 cterm=NONE
"WINDOW UI
highlight CursorLineNR guifg=#9e9e9e guibg=NONE gui=NONE ctermfg=247 ctermbg=NONE cterm=NONE
highlight StatusLine guifg=#9e9e9e guibg=#121212 gui=NONE ctermfg=247 ctermbg=233 cterm=NONE
highlight StatusLineNC guifg=#6c6c6c guibg=#121212 gui=NONE ctermfg=242 ctermbg=233 cterm=NONE
highlight StatusLineTerm guifg=#9e9e9e guibg=#121212 gui=NONE ctermfg=247 ctermbg=233 cterm=NONE
highlight StatusLineTermNC guifg=#6c6c6c guibg=#121212 gui=NONE ctermfg=242 ctermbg=233 cterm=NONE
highlight Pmenu guifg=#626262 guibg=#262626 gui=NONE ctermfg=241 ctermbg=235 cterm=NONE
highlight PmenuSbar guifg=#262626 guibg=#262626 gui=NONE ctermfg=235 ctermbg=235 cterm=NONE
highlight PmenuThumb guifg=#262626 guibg=#262626 gui=NONE ctermfg=235 ctermbg=235 cterm=NONE
highlight TabLineSel guifg=#9e9e9e guibg=#121212 gui=NONE ctermfg=247 ctermbg=233 cterm=NONE
highlight TabLine guifg=#6c6c6c guibg=#121212 gui=NONE ctermfg=242 ctermbg=233 cterm=NONE
highlight TabLineFill guifg=#6c6c6c guibg=#121212 gui=NONE ctermfg=242 ctermbg=233 cterm=NONE
highlight CursorLine guifg=NONE guibg=#262626 gui=NONE ctermfg=NONE ctermbg=235 cterm=NONE
highlight CursorColumn guifg=NONE guibg=#121212 gui=NONE ctermfg=NONE ctermbg=233 cterm=NONE
highlight ColorColumn guifg=NONE guibg=#262626 gui=NONE ctermfg=NONE ctermbg=235 cterm=NONE
highlight Folded guifg=#444444 guibg=#121212 gui=NONE ctermfg=238 ctermbg=233 cterm=NONE
highlight VertSplit guifg=#444444 guibg=#1c1c1c gui=NONE ctermfg=238 ctermbg=234 cterm=NONE
highlight LineNr guifg=#4e4e4e guibg=#121212 gui=NONE ctermfg=239 ctermbg=233 cterm=NONE
highlight FoldColumn guifg=#87afaf guibg=#1c1c1c gui=NONE ctermfg=109 ctermbg=234 cterm=NONE
highlight SignColumn guifg=#87875f guibg=#080808 gui=NONE ctermfg=101 ctermbg=233 cterm=NONE
highlight NonText guifg=#444444 guibg=NONE gui=NONE ctermfg=238 ctermbg=NONE cterm=NONE
highlight SpecialKey guifg=#303030 guibg=NONE gui=NONE ctermfg=236 ctermbg=NONE cterm=NONE
endif
"DARKEST GRAY
if g:alduin_Shout_Dragon_Aspect
"COLORS
highlight Normal guifg=#dfdfaf guibg=#121212 gui=NONE ctermfg=187 ctermbg=233 cterm=NONE
highlight String guifg=#ffdf87 guibg=#1c1c1c gui=NONE ctermfg=222 ctermbg=234 cterm=NONE
"WINDOW UI
highlight StatusLine guifg=#949494 guibg=#080808 gui=NONE ctermfg=246 ctermbg=232 cterm=NONE
highlight StatusLineNC guifg=#626262 guibg=#080808 gui=NONE ctermfg=241 ctermbg=232 cterm=NONE
highlight StatusLineTerm guifg=#949494 guibg=#080808 gui=NONE ctermfg=246 ctermbg=232 cterm=NONE
highlight StatusLineTermNC guifg=#626262 guibg=#080808 gui=NONE ctermfg=241 ctermbg=232 cterm=NONE
highlight Pmenu guifg=#626262 guibg=#1c1c1c gui=NONE ctermfg=241 ctermbg=234 cterm=NONE
highlight PmenuSbar guifg=#1c1c1c guibg=#1c1c1c gui=NONE ctermfg=234 ctermbg=234 cterm=NONE
highlight PmenuThumb guifg=#1c1c1c guibg=#1c1c1c gui=NONE ctermfg=234 ctermbg=234 cterm=NONE
highlight TabLine guifg=#626262 guibg=#080808 gui=NONE ctermfg=241 ctermbg=232 cterm=NONE
highlight TabLineSel guifg=#949494 guibg=#080808 gui=NONE ctermfg=246 ctermbg=232 cterm=NONE
highlight TabLineFill guifg=#262626 guibg=#080808 gui=NONE ctermfg=241 ctermbg=232 cterm=NONE
highlight CursorLine guifg=NONE guibg=#1c1c1c gui=NONE ctermfg=NONE ctermbg=234 cterm=NONE
highlight CursorColumn guifg=NONE guibg=#080808 gui=NONE ctermfg=NONE ctermbg=232 cterm=NONE
highlight ColorColumn guifg=NONE guibg=#1c1c1c gui=NONE ctermfg=NONE ctermbg=234 cterm=NONE
highlight Folded guifg=#444444 guibg=#080808 gui=NONE ctermfg=238 ctermbg=232 cterm=NONE
highlight VertSplit guifg=#444444 guibg=#121212 gui=NONE ctermfg=238 ctermbg=233 cterm=NONE
highlight LineNr guifg=#444444 guibg=#080808 gui=NONE ctermfg=238 ctermbg=232 cterm=NONE
highlight FoldColumn guifg=#87afaf guibg=#121212 gui=NONE ctermfg=109 ctermbg=233 cterm=NONE
highlight SignColumn guifg=#87875f guibg=#080808 gui=NONE ctermfg=101 ctermbg=232 cterm=NONE
highlight NonText guifg=#3a3a3a guibg=NONE gui=NONE ctermfg=237 ctermbg=NONE cterm=NONE
highlight SpecialKey guifg=#262626 guibg=NONE gui=NONE ctermfg=235 ctermbg=NONE cterm=NONE
endif
"BLACK
if g:alduin_Shout_Become_Ethereal
"COLORS
highlight Normal guifg=#dfdfaf guibg=#080808 gui=NONE ctermfg=187 ctermbg=232 cterm=NONE
highlight String guifg=#ffdf87 guibg=#121212 gui=NONE ctermfg=222 ctermbg=233 cterm=NONE
"WINDOW UI
highlight StatusLine guifg=#8a8a8a guibg=#000000 gui=NONE ctermfg=245 ctermbg=16 cterm=NONE
highlight StatusLineNC guifg=#585858 guibg=#000000 gui=NONE ctermfg=240 ctermbg=16 cterm=NONE
highlight StatusLineTerm guifg=#8a8a8a guibg=#000000 gui=NONE ctermfg=245 ctermbg=16 cterm=NONE
highlight StatusLineTermNC guifg=#585858 guibg=#000000 gui=NONE ctermfg=240 ctermbg=16 cterm=NONE
highlight Pmenu guifg=#585858 guibg=#121212 gui=NONE ctermfg=240 ctermbg=233 cterm=NONE
highlight PmenuSbar guifg=#121212 guibg=#121212 gui=NONE ctermfg=233 ctermbg=233 cterm=NONE
highlight PmenuThumb guifg=#121212 guibg=#121212 gui=NONE ctermfg=233 ctermbg=233 cterm=NONE
highlight TabLine guifg=#585858 guibg=#000000 gui=NONE ctermfg=240 ctermbg=16 cterm=NONE
highlight TabLineSel guifg=#8a8a8a guibg=#000000 gui=NONE ctermfg=245 ctermbg=16 cterm=NONE
highlight TabLineFill guifg=#585858 guibg=#000000 gui=NONE ctermfg=240 ctermbg=16 cterm=NONE
highlight CursorLine guifg=NONE guibg=#121212 gui=NONE ctermfg=NONE ctermbg=233 cterm=NONE
highlight CursorColumn guifg=NONE guibg=#000000 gui=NONE ctermfg=NONE ctermbg=16 cterm=NONE
highlight ColorColumn guifg=NONE guibg=#121212 gui=NONE ctermfg=NONE ctermbg=233 cterm=NONE
highlight Folded guifg=#444444 guibg=#000000 gui=NONE ctermfg=238 ctermbg=16 cterm=NONE
highlight VertSplit guifg=#444444 guibg=#080808 gui=NONE ctermfg=238 ctermbg=232 cterm=NONE
highlight LineNr guifg=#444444 guibg=#000000 gui=NONE ctermfg=238 ctermbg=16 cterm=NONE
highlight FoldColumn guifg=#87afaf guibg=#080808 gui=NONE ctermfg=109 ctermbg=232 cterm=NONE
highlight SignColumn guifg=#87875f guibg=#000000 gui=NONE ctermfg=101 ctermbg=16 cterm=NONE
highlight NonText guifg=#303030 guibg=NONE gui=NONE ctermfg=236 ctermbg=NONE cterm=NONE
highlight SpecialKey guifg=#1c1c1c guibg=NONE gui=NONE ctermfg=234 ctermbg=NONE cterm=NONE
endif
"REMOVE BACKGROUND FROM STRINGS
if g:alduin_Shout_Animal_Allegiance
"COLORS
highlight String guifg=#ffdf87 guibg=NONE ctermfg=222 ctermbg=NONE cterm=NONE gui=NONE
endif
"REMOVE BLOCK MATCHPARENS - ADDS UNDERLINE
if g:alduin_Shout_Aura_Whisper
"WINDOW UI
highlight MatchParen guifg=#eeeeee guibg=#1c1c1c gui=underline ctermfg=255 ctermbg=234 cterm=underline
endif
"DEEP RED COLOR
if g:alduin_Shout_Fire_Breath
"COLORS
highlight Title guifg=#af5f5f guibg=NONE gui=NONE ctermfg=131 ctermbg=NONE cterm=NONE
highlight Special guifg=#af0000 guibg=NONE gui=NONE ctermfg=124 ctermbg=NONE cterm=NONE
"WINDOW UI
highlight Search guifg=#dfdfaf guibg=#5f0000 gui=NONE ctermfg=187 ctermbg=52 cterm=NONE
endif
"LICENSE
"Copyright (c) 2019 Alessandro Yorba
"
"Permission is hereby granted, free of charge, to any person obtaining a copy
"of this software and associated documentation files (the "Software"), to deal
"in the Software without restriction, including without limitation the rights
"to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
"copies of the Software, and to permit persons to whom the Software is
"furnished to do so, subject to the following conditions:
"
"The above copyright notice and this permission notice shall be included in
"all copies or substantial portions of the Software.
"
"THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
"IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
"FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
"AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
"LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
"OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
"THE SOFTWARE.

View File

@@ -0,0 +1,235 @@
" __ _
" ___ ____ ___/ /__ _______ ___ ___ _ __(_)_ _
" / _ `/ _ \/ _ / -_) __(_-</ _ \/ _ \_| |/ / / ' \
" \_,_/_//_/\_,_/\__/_/ /___/\___/_//_(_)___/_/_/_/_/
"
" Dark vim colorscheme based on colors from Wes Anderson films
"
" File: anderson.vim
" URL: github.com/tlhr/anderson.vim
" Author: Thomas Löhr
" License: MIT
"
" Copyright (c) 2015 Thomas Löhr
"
" MIT License
"
" Permission is hereby granted, free of charge, to any person obtaining
" a copy of this software and associated documentation files (the
" "Software"), to deal in the Software without restriction, including
" without limitation the rights to use, copy, modify, merge, publish,
" distribute, sublicense, and/or sell copies of the Software, and to
" permit persons to whom the Software is furnished to do so, subject to
" the following conditions:
"
" The above copyright notice and this permission notice shall be
" included in all copies or substantial portions of the Software.
"
" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
" EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
" NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
" LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
" OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
" WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
hi clear
if exists("syntax_on")
syntax reset
endif
let colors_name = "anderson"
set background=dark
if version > 800
set termguicolors
endif
if &t_Co >= 256 || has("gui_running")
hi Normal ctermbg=0 ctermfg=15 cterm=NONE guibg=#363432 guifg=#c5beba gui=NONE
hi NonText ctermbg=bg ctermfg=8 cterm=NONE guibg=bg guifg=#645d59 gui=NONE
hi Comment ctermbg=bg ctermfg=7 cterm=NONE guibg=bg guifg=#837d7a gui=NONE
hi Constant ctermbg=bg ctermfg=5 cterm=NONE guibg=bg guifg=#c7a095 gui=NONE
hi Character ctermbg=bg ctermfg=5 cterm=NONE guibg=bg guifg=#c7a095 gui=NONE
hi Error ctermbg=8 ctermfg=1 cterm=NONE guibg=#645d59 guifg=#be503e gui=NONE
hi Identifier ctermbg=bg ctermfg=14 cterm=NONE guibg=bg guifg=#a8c1c5 gui=NONE
hi Function ctermbg=bg ctermfg=2 cterm=NONE guibg=bg guifg=#7bb292 gui=NONE
hi Ignore ctermbg=bg ctermfg=13 cterm=NONE guibg=bg guifg=#e7c6be gui=NONE
hi PreProc ctermbg=bg ctermfg=13 cterm=NONE guibg=bg guifg=#e7c6be gui=NONE
hi Include ctermbg=bg ctermfg=4 cterm=NONE guibg=bg guifg=#628b97 gui=NONE
hi Define ctermbg=bg ctermfg=1 cterm=NONE guibg=bg guifg=#be503e gui=NONE
hi Macro ctermbg=bg ctermfg=13 cterm=NONE guibg=bg guifg=#e7c6be gui=NONE
hi PreCondit ctermbg=bg ctermfg=13 cterm=bold guibg=bg guifg=#e7c6be gui=bold
hi Special ctermbg=bg ctermfg=14 cterm=NONE guibg=bg guifg=#a8c1c5 gui=NONE
hi SpecialChar ctermbg=bg ctermfg=14 cterm=NONE guibg=bg guifg=#a8c1c5 gui=NONE
hi Tag ctermbg=bg ctermfg=9 cterm=bold guibg=bg guifg=#f0a4af gui=bold
hi Delimiter ctermbg=bg ctermfg=14 cterm=NONE guibg=bg guifg=#a8c1c5 gui=NONE
hi SpecialComment ctermbg=bg ctermfg=14 cterm=NONE guibg=bg guifg=#a8c1c5 gui=NONE
hi Debug ctermbg=bg ctermfg=9 cterm=NONE guibg=bg guifg=#f0a4af gui=NONE
hi Statement ctermbg=bg ctermfg=1 cterm=NONE guibg=bg guifg=#be503e gui=NONE
hi Conditional ctermbg=bg ctermfg=4 cterm=NONE guibg=bg guifg=#628b97 gui=NONE
hi Repeat ctermbg=bg ctermfg=4 cterm=NONE guibg=bg guifg=#628b97 gui=NONE
hi Label ctermbg=bg ctermfg=4 cterm=NONE guibg=bg guifg=#628b97 gui=NONE
hi Operator ctermbg=bg ctermfg=14 cterm=NONE guibg=bg guifg=#a8c1c5 gui=NONE
hi Exception ctermbg=bg ctermfg=14 cterm=NONE guibg=bg guifg=#a8c1c5 gui=NONE
hi Keyword ctermbg=bg ctermfg=3 cterm=NONE guibg=bg guifg=#d7ae38 gui=NONE
hi String ctermbg=bg ctermfg=6 cterm=NONE guibg=bg guifg=#88a2a4 gui=NONE
hi Number ctermbg=bg ctermfg=5 cterm=NONE guibg=bg guifg=#c7a095 gui=NONE
hi Float ctermbg=bg ctermfg=5 cterm=NONE guibg=bg guifg=#c7a095 gui=NONE
hi Boolean ctermbg=bg ctermfg=12 cterm=NONE guibg=bg guifg=#bad4f5 gui=NONE
hi Todo ctermbg=bg ctermfg=2 cterm=bold guibg=bg guifg=#7bb292 gui=bold
hi Type ctermbg=bg ctermfg=11 cterm=NONE guibg=bg guifg=#c4c18b gui=NONE
hi StorageClass ctermbg=bg ctermfg=5 cterm=NONE guibg=bg guifg=#c7a095 gui=NONE
hi Structure ctermbg=bg ctermfg=11 cterm=NONE guibg=bg guifg=#c4c18b gui=NONE
hi Typedef ctermbg=bg ctermfg=11 cterm=NONE guibg=bg guifg=#c4c18b gui=NONE
hi Underlined ctermbg=bg ctermfg=11 cterm=underline guibg=bg guifg=#c4c18b gui=underline
hi StatusLine ctermbg=8 ctermfg=15 cterm=NONE guibg=#645d59 guifg=#c5beba gui=NONE
hi StatusLineNC ctermbg=bg ctermfg=8 cterm=NONE guibg=bg guifg=#645d59 gui=NONE
hi VertSplit ctermbg=8 ctermfg=8 cterm=NONE guibg=#645d59 guifg=#645d59 gui=NONE
hi TabLine ctermbg=bg ctermfg=8 cterm=NONE guibg=bg guifg=#645d59 gui=NONE
hi TabLineFill ctermbg=bg ctermfg=8 cterm=NONE guibg=bg guifg=#645d59 gui=NONE
hi TabLineSel ctermbg=bg ctermfg=2 cterm=bold guibg=bg guifg=#7bb292 gui=bold
hi Title ctermbg=bg ctermfg=15 cterm=NONE guibg=bg guifg=#c5beba gui=NONE
hi CursorLine ctermbg=8 ctermfg=NONE cterm=NONE guibg=#645d59 guifg=NONE gui=NONE
hi LineNr ctermbg=bg ctermfg=8 cterm=NONE guibg=bg guifg=#645d59 gui=NONE
hi CursorLineNr ctermbg=bg ctermfg=2 cterm=bold guibg=bg guifg=#7bb292 gui=bold
hi helpLeadBlank ctermbg=bg ctermfg=NONE cterm=NONE guibg=bg guifg=NONE gui=NONE
hi helpNormal ctermbg=bg ctermfg=15 cterm=NONE guibg=bg guifg=#c5beba gui=NONE
hi Visual ctermbg=8 ctermfg=NONE cterm=NONE guibg=#645d59 guifg=NONE gui=NONE
hi VisualNOS ctermbg=0 ctermfg=8 cterm=bold guibg=#363432 guifg=#645d59 gui=bold
hi Pmenu ctermbg=8 ctermfg=14 cterm=NONE guibg=#645d59 guifg=#a8c1c5 gui=NONE
hi PmenuSbar ctermbg=8 ctermfg=0 cterm=NONE guibg=#645d59 guifg=#363432 gui=NONE
hi PmenuSel ctermbg=14 ctermfg=0 cterm=NONE guibg=#a8c1c5 guifg=#363432 gui=NONE
hi PmenuThumb ctermbg=10 ctermfg=0 cterm=NONE guibg=#9ad1bc guifg=#363432 gui=NONE
hi FoldColumn ctermbg=bg ctermfg=14 cterm=NONE guibg=bg guifg=#a8c1c5 gui=NONE
hi Folded ctermbg=bg ctermfg=14 cterm=NONE guibg=bg guifg=#a8c1c5 gui=NONE
hi WildMenu ctermbg=8 ctermfg=14 cterm=underline guibg=#645d59 guifg=#a8c1c5 gui=underline
hi SpecialKey ctermbg=8 ctermfg=2 cterm=NONE guibg=#645d59 guifg=#7bb292 gui=NONE
hi DiffAdd ctermbg=10 ctermfg=0 cterm=bold guibg=#9ad1bc guifg=#363432 gui=bold
hi DiffChange ctermbg=11 ctermfg=0 cterm=NONE guibg=#c4c18b guifg=#363432 gui=NONE
hi DiffDelete ctermbg=13 ctermfg=8 cterm=bold guibg=#e7c6be guifg=#645d59 gui=bold
hi DiffText ctermbg=9 ctermfg=0 cterm=bold guibg=#f0a4af guifg=#363432 gui=bold
hi IncSearch ctermbg=15 ctermfg=4 cterm=bold guibg=#c5beba guifg=#628b97 gui=bold
hi Search ctermbg=12 ctermfg=0 cterm=NONE guibg=#bad4f5 guifg=#363432 gui=NONE
hi Directory ctermbg=bg ctermfg=14 cterm=bold guibg=bg guifg=#a8c1c5 gui=bold
hi MatchParen ctermbg=8 ctermfg=9 cterm=bold guibg=#645d59 guifg=#f0a4af gui=bold
hi SpellBad ctermbg=bg ctermfg=NONE cterm=undercurl guibg=bg guifg=NONE gui=undercurl guisp=#f0a4af
hi SpellCap ctermbg=bg ctermfg=NONE cterm=undercurl guibg=bg guifg=NONE gui=undercurl guisp=#bad4f5
hi SpellLocal ctermbg=bg ctermfg=NONE cterm=undercurl guibg=bg guifg=NONE gui=undercurl guisp=#e7c6be
hi SpellRare ctermbg=bg ctermfg=NONE cterm=undercurl guibg=bg guifg=NONE gui=undercurl guisp=#a8c1c5
hi ColorColumn ctermbg=8 ctermfg=15 cterm=NONE guibg=#645d59 guifg=#c5beba gui=NONE
hi signColumn ctermbg=bg ctermfg=14 cterm=NONE guibg=bg guifg=#a8c1c5 gui=NONE
hi ErrorMsg ctermbg=bg ctermfg=1 cterm=bold guibg=bg guifg=#be503e gui=bold
hi ModeMsg ctermbg=bg ctermfg=2 cterm=NONE guibg=bg guifg=#7bb292 gui=NONE
hi MoreMsg ctermbg=bg ctermfg=14 cterm=bold guibg=bg guifg=#a8c1c5 gui=bold
hi Question ctermbg=bg ctermfg=15 cterm=bold guibg=bg guifg=#c5beba gui=bold
hi WarningMsg ctermbg=bg ctermfg=3 cterm=NONE guibg=bg guifg=#d7ae38 gui=NONE
hi Cursor ctermbg=14 ctermfg=0 cterm=bold guibg=#a8c1c5 guifg=#363432 gui=bold
hi CursorColumn ctermbg=8 ctermfg=15 cterm=NONE guibg=#645d59 guifg=#c5beba gui=NONE
elseif &t_Co == 8 || $TERM !~# '^linux' || &t_Co == 16
set t_Co=16
hi Normal ctermbg=black ctermfg=white cterm=NONE
hi NonText ctermbg=bg ctermfg=darkgray cterm=NONE
hi Comment ctermbg=bg ctermfg=gray cterm=NONE
hi Constant ctermbg=bg ctermfg=darkmagenta cterm=NONE
hi Character ctermbg=bg ctermfg=darkmagenta cterm=NONE
hi Error ctermbg=darkgray ctermfg=darkred cterm=NONE
hi Identifier ctermbg=bg ctermfg=cyan cterm=NONE
hi Function ctermbg=bg ctermfg=darkgreen cterm=NONE
hi Ignore ctermbg=bg ctermfg=magenta cterm=NONE
hi PreProc ctermbg=bg ctermfg=magenta cterm=NONE
hi Include ctermbg=bg ctermfg=darkblue cterm=NONE
hi Define ctermbg=bg ctermfg=darkred cterm=NONE
hi Macro ctermbg=bg ctermfg=magenta cterm=NONE
hi PreCondit ctermbg=bg ctermfg=magenta cterm=bold
hi Special ctermbg=bg ctermfg=cyan cterm=NONE
hi SpecialChar ctermbg=bg ctermfg=cyan cterm=NONE
hi Tag ctermbg=bg ctermfg=red cterm=bold
hi Delimiter ctermbg=bg ctermfg=cyan cterm=NONE
hi SpecialComment ctermbg=bg ctermfg=cyan cterm=NONE
hi Debug ctermbg=bg ctermfg=red cterm=NONE
hi Statement ctermbg=bg ctermfg=darkred cterm=NONE
hi Conditional ctermbg=bg ctermfg=darkblue cterm=NONE
hi Repeat ctermbg=bg ctermfg=darkblue cterm=NONE
hi Label ctermbg=bg ctermfg=darkblue cterm=NONE
hi Operator ctermbg=bg ctermfg=cyan cterm=NONE
hi Exception ctermbg=bg ctermfg=cyan cterm=NONE
hi Keyword ctermbg=bg ctermfg=darkyellow cterm=NONE
hi String ctermbg=bg ctermfg=darkcyan cterm=NONE
hi Number ctermbg=bg ctermfg=darkmagenta cterm=NONE
hi Float ctermbg=bg ctermfg=darkmagenta cterm=NONE
hi Boolean ctermbg=bg ctermfg=blue cterm=NONE
hi Todo ctermbg=bg ctermfg=darkgreen cterm=bold
hi Type ctermbg=bg ctermfg=yellow cterm=NONE
hi StorageClass ctermbg=bg ctermfg=darkmagenta cterm=NONE
hi Structure ctermbg=bg ctermfg=yellow cterm=NONE
hi Typedef ctermbg=bg ctermfg=yellow cterm=NONE
hi Underlined ctermbg=bg ctermfg=yellow cterm=underline
hi StatusLine ctermbg=darkgray ctermfg=white cterm=NONE
hi StatusLineNC ctermbg=bg ctermfg=darkgray cterm=NONE
hi VertSplit ctermbg=darkgray ctermfg=darkgray cterm=NONE
hi TabLine ctermbg=bg ctermfg=darkgray cterm=NONE
hi TabLineFill ctermbg=bg ctermfg=darkgray cterm=NONE
hi TabLineSel ctermbg=bg ctermfg=darkgreen cterm=bold
hi Title ctermbg=bg ctermfg=white cterm=NONE
hi CursorLine ctermbg=darkgray ctermfg=NONE cterm=NONE
hi LineNr ctermbg=bg ctermfg=darkgray cterm=NONE
hi CursorLineNr ctermbg=bg ctermfg=darkgreen cterm=bold
hi helpLeadBlank ctermbg=bg ctermfg=NONE cterm=NONE
hi helpNormal ctermbg=bg ctermfg=white cterm=NONE
hi Visual ctermbg=darkgray ctermfg=NONE cterm=NONE
hi VisualNOS ctermbg=black ctermfg=darkgray cterm=bold
hi Pmenu ctermbg=darkgray ctermfg=cyan cterm=NONE
hi PmenuSbar ctermbg=darkgray ctermfg=black cterm=NONE
hi PmenuSel ctermbg=cyan ctermfg=black cterm=NONE
hi PmenuThumb ctermbg=green ctermfg=black cterm=NONE
hi FoldColumn ctermbg=bg ctermfg=cyan cterm=NONE
hi Folded ctermbg=bg ctermfg=cyan cterm=NONE
hi WildMenu ctermbg=darkgray ctermfg=cyan cterm=underline
hi SpecialKey ctermbg=darkgray ctermfg=darkgreen cterm=NONE
hi DiffAdd ctermbg=green ctermfg=black cterm=bold
hi DiffChange ctermbg=yellow ctermfg=black cterm=NONE
hi DiffDelete ctermbg=magenta ctermfg=darkgray cterm=bold
hi DiffText ctermbg=red ctermfg=black cterm=bold
hi IncSearch ctermbg=white ctermfg=darkblue cterm=bold
hi Search ctermbg=blue ctermfg=black cterm=NONE
hi Directory ctermbg=bg ctermfg=cyan cterm=bold
hi MatchParen ctermbg=darkgray ctermfg=red cterm=bold
hi SpellBad ctermbg=bg ctermfg=NONE cterm=undercurl
hi SpellCap ctermbg=bg ctermfg=NONE cterm=undercurl
hi SpellLocal ctermbg=bg ctermfg=NONE cterm=undercurl
hi SpellRare ctermbg=bg ctermfg=NONE cterm=undercurl
hi ColorColumn ctermbg=darkgray ctermfg=white cterm=NONE
hi signColumn ctermbg=bg ctermfg=cyan cterm=NONE
hi ErrorMsg ctermbg=bg ctermfg=darkred cterm=bold
hi ModeMsg ctermbg=bg ctermfg=darkgreen cterm=NONE
hi MoreMsg ctermbg=bg ctermfg=cyan cterm=bold
hi Question ctermbg=bg ctermfg=white cterm=bold
hi WarningMsg ctermbg=bg ctermfg=darkyellow cterm=NONE
hi Cursor ctermbg=cyan ctermfg=black cterm=bold
hi CursorColumn ctermbg=darkgray ctermfg=white cterm=NONE
endif
if $NVIM_TUI_ENABLE_TRUE_COLOR == 1
let g:terminal_foreground = "#c5beba"
let g:terminal_background = "#363432"
let g:terminal_color_0 = "#363432"
let g:terminal_color_1 = "#be503e"
let g:terminal_color_2 = "#7bb292"
let g:terminal_color_3 = "#d7ae38"
let g:terminal_color_4 = "#628b97"
let g:terminal_color_5 = "#c7a095"
let g:terminal_color_6 = "#88a2a4"
let g:terminal_color_7 = "#837d7a"
let g:terminal_color_8 = "#645d59"
let g:terminal_color_9 = "#f0a4af"
let g:terminal_color_10 = "#9ad1bc"
let g:terminal_color_11 = "#c4c18b"
let g:terminal_color_12 = "#bad4f5"
let g:terminal_color_13 = "#e7c6be"
let g:terminal_color_14 = "#a8c1c5"
let g:terminal_color_15 = "#c5beba"
endif
" Generated with RNB (https://gist.github.com/romainl/5cd2f4ec222805f49eca)

View File

@@ -0,0 +1,154 @@
" Plugin: https://github.com/zacanger/angr.vim
" Description: angr.vim theme
" Maintainer: zacanger
" Heavily based on Janah and Ego
set background=dark
hi clear
if exists('syntax_on')
syntax reset
endif
let g:colors_name = 'angr'
hi Normal guifg=#e5e5e5 ctermfg=253 guibg=#262626 gui=NONE cterm=NONE
" Misc {{{1
hi Boolean guifg=#af97df ctermfg=98 ctermbg=NONE gui=NONE guibg=bg cterm=NONE
hi Character guifg=#9d7ff2 ctermfg=141 ctermbg=NONE gui=NONE guibg=bg cterm=NONE
hi Comment guifg=#585858 ctermfg=240 ctermbg=NONE gui=NONE cterm=NONE
hi Conditional guifg=#F6DA7B ctermfg=222 ctermbg=NONE gui=NONE guibg=bg cterm=NONE
hi Constant guifg=#87dfdf ctermfg=116 ctermbg=NONE gui=NONE cterm=NONE
hi Cursor guifg=#eeeeee ctermfg=15 ctermbg=247 gui=NONE guibg=#8DA1A1
hi CursorIM guifg=#eeeeee ctermfg=15 ctermbg=247 gui=bold guibg=#8da1a1 cterm=NONE
hi Debug guifg=#55747c ctermfg=66 ctermbg=NONE gui=NONE guibg=bg cterm=NONE
hi Define guifg=#F6DA7B ctermfg=222 ctermbg=NONE gui=NONE guibg=bg cterm=NONE
hi Delimiter guifg=#55747c ctermfg=66 ctermbg=NONE gui=NONE guibg=bg cterm=NONE
hi Directory guifg=#ffaf87 ctermfg=216 ctermbg=NONE gui=NONE cterm=NONE
hi Exception guifg=#c67c48 ctermfg=173 ctermbg=NONE gui=NONE guibg=bg cterm=NONE
hi Float guifg=#87dfdf ctermfg=116 ctermbg=NONE gui=NONE cterm=NONE
hi Function guifg=#82c057 ctermfg=107 ctermbg=NONE gui=NONE guibg=bg cterm=NONE
hi Identifier guifg=#ffaf87 ctermfg=216 ctermbg=NONE gui=NONE cterm=NONE
hi Ignore guifg=#55747c ctermfg=66
hi Include guifg=#c67c48 ctermfg=173 ctermbg=NONE gui=NONE guibg=bg cterm=NONE
hi Keyword guifg=#c67c48 ctermfg=173 ctermbg=NONE gui=NONE guibg=bg cterm=NONE
hi Label guifg=#F6DA7B ctermfg=222 ctermbg=NONE gui=NONE guibg=bg cterm=NONE
hi Macro guifg=#F6DA7B ctermfg=222 ctermbg=NONE gui=NONE guibg=bg cterm=NONE
hi MatchParen guifg=#df005f ctermfg=161 ctermbg=NONE gui=bold cterm=bold
hi NonText guifg=#ff00af ctermfg=199 ctermbg=NONE gui=bold cterm=bold
hi Number guifg=#87dfdf ctermfg=116 ctermbg=NONE gui=NONE cterm=NONE
hi Operator guifg=#F6DA7B ctermfg=222 ctermbg=NONE gui=NONE guibg=bg cterm=NONE
hi PreCondit guifg=#c67c48 ctermfg=173 ctermbg=NONE gui=NONE guibg=bg cterm=NONE
hi PreProc guifg=#ffdfaf ctermfg=223 ctermbg=NONE gui=NONE cterm=NONE
hi Question guifg=#c98de6 ctermfg=102 ctermbg=NONE gui=bold guibg=bg cterm=NONE
hi Repeat guifg=#c67c48 ctermfg=173 ctermbg=NONE gui=NONE guibg=bg cterm=NONE
hi Scrollbar guibg=bg
hi Special guifg=#dfafaf ctermfg=181 ctermbg=NONE gui=NONE cterm=NONE
hi SpecialChar guifg=#55747c ctermfg=66 ctermbg=NONE gui=NONE guibg=bg cterm=NONE
hi SpecialComment guifg=#55747c ctermfg=66 ctermbg=NONE gui=NONE guibg=bg cterm=NONE
hi SpecialKey guifg=#3a3a3a ctermfg=237 ctermbg=NONE gui=NONE cterm=NONE
hi Statement guifg=#afdf87 ctermfg=150 ctermbg=NONE gui=NONE cterm=NONE
hi StorageClass guifg=#95d5f1 ctermfg=117 ctermbg=NONE gui=NONE guibg=bg cterm=NONE
hi String guifg=#87afdf ctermfg=110 ctermbg=NONE gui=NONE cterm=NONE
hi Structure guifg=#95d5f1 ctermfg=117 ctermbg=NONE gui=NONE guibg=bg cterm=NONE
hi Tag guifg=#55747c ctermfg=66 ctermbg=NONE gui=NONE guibg=bg cterm=NONE
hi Title guifg=#9d7ff2 ctermfg=141 ctermbg=NONE gui=bold guibg=bg cterm=NONE
hi Todo guifg=#ffdfaf ctermfg=223 ctermbg=NONE gui=NONE cterm=NONE guibg=bg
hi Type guifg=#87dfaf ctermfg=115 ctermbg=NONE gui=NONE cterm=NONE
hi Typedef guifg=#95d5f1 ctermfg=117 ctermbg=NONE gui=NONE guibg=bg cterm=NONE
hi Underlined guifg=#c98de6 ctermfg=192 ctermbg=NONE gui=underline guibg=bg cterm=NONE
hi VertSplit guifg=#3a3a3a ctermfg=237 guibg=#3a3a3a ctermbg=237 gui=NONE cterm=NONE
hi WildMenu guifg=#101010 ctermfg=0 guibg=#f6da7b ctermbg=222 gui=bold cterm=NONE
" Cursor lines {{{1
hi CursorColumn ctermfg=NONE guibg=#303030 ctermbg=236 gui=NONE cterm=NONE
hi CursorLine ctermfg=NONE guibg=#303030 ctermbg=236 gui=NONE cterm=NONE
" Tabline {{{1
hi TabLine guifg=#808080 ctermfg=244 guibg=#303030 ctermbg=236 gui=NONE cterm=NONE
hi TabLineFill guifg=#dfdfaf ctermfg=187 guibg=#303030 ctermbg=236 gui=NONE cterm=NONE
hi TabLineSel guifg=#e4e4e4 ctermfg=254 guibg=#303030 ctermbg=236 gui=bold cterm=bold
" Statusline {{{1
hi StatusLine guifg=#e4e4e4 ctermfg=254 guibg=#3a3a3a ctermbg=237 gui=NONE cterm=NONE
hi StatusLineNC guifg=#808080 ctermfg=244 guibg=#3a3a3a ctermbg=237 gui=NONE cterm=NONE
" Number column {{{1
hi CursorLineNr guifg=#878787 ctermfg=102 guibg=#3a3a3a ctermbg=237 gui=NONE cterm=NONE
hi LineNr guifg=#878787 ctermfg=102 guibg=#3a3a3a ctermbg=237 gui=NONE cterm=NONE
" Color column {{{1
hi ColorColumn ctermfg=NONE guibg=#3a3a3a ctermbg=237 gui=NONE cterm=NONE
" Diff & Signs {{{1
hi DiffAdd guifg=#87ff5f ctermfg=119 ctermbg=NONE gui=NONE cterm=NONE
hi DiffChange guifg=#ffff5f ctermfg=227 ctermbg=NONE gui=NONE cterm=NONE
hi DiffDelete guifg=#df5f5f ctermfg=167 ctermbg=NONE gui=NONE cterm=NONE
hi DiffText guifg=#ff5f5f ctermfg=203 guibg=#5f0000 ctermbg=52 gui=bold cterm=bold
hi SignColumn ctermfg=NONE guibg=#3a3a3a ctermbg=237 gui=NONE cterm=NONE
" Folds {{{1
hi FoldColumn ctermfg=102 ctermbg=237 cterm=NONE guifg=#878787 guibg=#3a3a3a gui=NONE
hi Folded ctermfg=102 ctermbg=237 cterm=NONE guifg=#878787 guibg=#3a3a3a gui=NONE
" Search {{{1
hi IncSearch guifg=#c0c0c0 ctermfg=7 guibg=#005fff ctermbg=27 gui=NONE cterm=NONE
hi Search guifg=#c0c0c0 ctermfg=7 guibg=#df005f ctermbg=161 gui=NONE cterm=NONE
" Messages {{{1
hi Error guifg=#eeeeee ctermfg=255 guibg=#df005f ctermbg=161 gui=NONE cterm=NONE
hi ErrorMsg guifg=#eeeeee ctermfg=255 guibg=#df005f ctermbg=161 gui=NONE cterm=NONE
hi ModeMsg guifg=#afff87 ctermfg=156 ctermbg=NONE gui=bold cterm=bold
hi MoreMsg guifg=#c0c0c0 ctermfg=7 guibg=#005fdf ctermbg=26 gui=NONE cterm=NONE
hi WarningMsg guifg=#c0c0c0 ctermfg=7 guibg=#005fdf ctermbg=26 gui=NONE cterm=NONE
" Visual {{{1
hi Visual guifg=#c0c0c0 ctermfg=7 guibg=#005f87 ctermbg=24 gui=reverse cterm=NONE
hi VisualNOS guifg=#c0c0c0 ctermfg=7 guibg=#5f5f87 ctermbg=60 gui=reverse cterm=NONE
" Pmenu {{{1
hi Pmenu guifg=#e4e4e4 ctermfg=254 guibg=#262626 ctermbg=235 gui=NONE cterm=NONE
hi PmenuSbar ctermfg=NONE guibg=#444444 ctermbg=238 gui=NONE cterm=NONE
hi PmenuSel guifg=#df5f5f ctermfg=167 guibg=#444444 ctermbg=238 gui=bold cterm=bold
hi PmenuThumb ctermfg=NONE guibg=#df5f5f ctermbg=167 gui=NONE cterm=NONE
" Spell {{{1
hi SpellBad guifg=#c0c0c0 ctermfg=7 guibg=#df5f5f ctermbg=167 gui=NONE cterm=NONE
hi SpellCap guifg=#c0c0c0 ctermfg=7 guibg=#005fdf ctermbg=26 gui=NONE cterm=NONE
hi SpellLocal guifg=#c0c0c0 ctermfg=7 guibg=#8700af ctermbg=91 gui=NONE cterm=NONE
hi SpellRare guifg=#c0c0c0 ctermfg=7 guibg=#00875f ctermbg=29 gui=NONE cterm=NONE
" Quickfix {{{1
hi qfLineNr ctermfg=238 ctermbg=NONE cterm=NONE guifg=#444444 guibg=NONE gui=NONE
hi qfSeparator ctermfg=243 ctermbg=NONE cterm=NONE guifg=#767676 guibg=NONE gui=NONE
" Plugin: vim-easymotion {{{1
hi EasyMotionTarget guifg=#ffff5f ctermfg=227 ctermbg=NONE gui=bold cterm=bold
hi EasyMotionTarget2First guifg=#df005f ctermfg=161 ctermbg=NONE gui=NONE cterm=NONE
hi EasyMotionTarget2Second guifg=#ffff5f ctermfg=227 ctermbg=NONE gui=NONE cterm=NONE
" Plugin: vim-signify {{{1
hi SignifySignAdd guifg=#87ff5f ctermfg=119 guibg=#3a3a3a ctermbg=237 gui=bold cterm=bold
hi SignifySignChange guifg=#ffff5f ctermfg=227 guibg=#3a3a3a ctermbg=237 gui=bold cterm=bold
hi SignifySignDelete guifg=#df5f5f ctermfg=167 guibg=#3a3a3a ctermbg=237 gui=bold cterm=bold
" Plugin: vim-startify {{{1
hi StartifyBracket guifg=#585858 ctermfg=240 ctermbg=NONE gui=NONE cterm=NONE
hi StartifyFile guifg=#eeeeee ctermfg=255 ctermbg=NONE gui=NONE cterm=NONE
hi StartifyFooter guifg=#585858 ctermfg=240 ctermbg=NONE gui=NONE cterm=NONE
hi StartifyHeader guifg=#87df87 ctermfg=114 ctermbg=NONE gui=NONE cterm=NONE
hi StartifyNumber guifg=#ffaf5f ctermfg=215 ctermbg=NONE gui=NONE cterm=NONE
hi StartifyPath guifg=#8a8a8a ctermfg=245 ctermbg=NONE gui=NONE cterm=NONE
hi StartifySection guifg=#dfafaf ctermfg=181 ctermbg=NONE gui=NONE cterm=NONE
hi StartifySelect guifg=#5fdfff ctermfg=81 ctermbg=NONE gui=NONE cterm=NONE
hi StartifySlash guifg=#585858 ctermfg=240 ctermbg=NONE gui=NONE cterm=NONE
hi StartifySpecial guifg=#585858 ctermfg=240 ctermbg=NONE gui=NONE cterm=NONE
" Neovim {{{1
if has('nvim')
hi EndOfBuffer ctermfg=235 guifg=#262626 ctermbg=NONE gui=NONE cterm=NONE
hi TermCursor ctermfg=NONE guibg=#ff00af ctermbg=199 gui=NONE cterm=NONE
hi TermCursorNC ctermfg=NONE ctermbg=NONE gui=NONE cterm=NONE
endif

View File

@@ -0,0 +1,224 @@
" Apprentice.vim -- Vim color scheme.
" Author: Romain Lafourcade (romainlafourcade@gmail.com)
" Webpage: https://github.com/romainl/Apprentice
" Description: Essentially a streamlining and conversion to xterm colors of 'sorcerer' by Jeet Sukumaran (jeetsukumaran@gmailcom)
" Last Change: 2020-12-19
hi clear
if exists("syntax_on")
syntax reset
endif
let colors_name = "apprentice"
if ($TERM =~ '256' || &t_Co >= 256) || has("gui_running")
hi Normal ctermbg=235 ctermfg=250 cterm=NONE guibg=#262626 guifg=#bcbcbc gui=NONE
hi NonText ctermbg=NONE ctermfg=240 cterm=NONE guibg=NONE guifg=#585858 gui=NONE
hi EndOfBuffer ctermbg=NONE ctermfg=240 cterm=NONE guibg=NONE guifg=#585858 gui=NONE
hi LineNr ctermbg=234 ctermfg=242 cterm=NONE guibg=#1c1c1c guifg=#6c6c6c gui=NONE
hi FoldColumn ctermbg=234 ctermfg=242 cterm=NONE guibg=#1c1c1c guifg=#6c6c6c gui=NONE
hi Folded ctermbg=234 ctermfg=242 cterm=NONE guibg=#1c1c1c guifg=#6c6c6c gui=NONE
hi MatchParen ctermbg=234 ctermfg=229 cterm=NONE guibg=#1c1c1c guifg=#ffffaf gui=NONE
hi SignColumn ctermbg=234 ctermfg=242 cterm=NONE guibg=#1c1c1c guifg=#6c6c6c gui=NONE
hi Comment ctermbg=NONE ctermfg=240 cterm=NONE guibg=NONE guifg=#585858 gui=NONE
hi Conceal ctermbg=NONE ctermfg=250 cterm=NONE guibg=NONE guifg=#bcbcbc gui=NONE
hi Constant ctermbg=NONE ctermfg=208 cterm=NONE guibg=NONE guifg=#ff8700 gui=NONE
hi Error ctermbg=NONE ctermfg=131 cterm=reverse guibg=NONE guifg=#af5f5f gui=reverse
hi Identifier ctermbg=NONE ctermfg=67 cterm=NONE guibg=NONE guifg=#5f87af gui=NONE
hi Ignore ctermbg=NONE ctermfg=NONE cterm=NONE guibg=NONE guifg=NONE gui=NONE
hi PreProc ctermbg=NONE ctermfg=66 cterm=NONE guibg=NONE guifg=#5f8787 gui=NONE
hi Special ctermbg=NONE ctermfg=65 cterm=NONE guibg=NONE guifg=#5f875f gui=NONE
hi Statement ctermbg=NONE ctermfg=110 cterm=NONE guibg=NONE guifg=#87afd7 gui=NONE
hi String ctermbg=NONE ctermfg=108 cterm=NONE guibg=NONE guifg=#87af87 gui=NONE
hi Todo ctermbg=NONE ctermfg=NONE cterm=reverse guibg=NONE guifg=NONE gui=reverse
hi Type ctermbg=NONE ctermfg=103 cterm=NONE guibg=NONE guifg=#8787af gui=NONE
hi Underlined ctermbg=NONE ctermfg=66 cterm=underline guibg=NONE guifg=#5f8787 gui=underline
hi Pmenu ctermbg=238 ctermfg=250 cterm=NONE guibg=#444444 guifg=#bcbcbc gui=NONE
hi PmenuSbar ctermbg=240 ctermfg=NONE cterm=NONE guibg=#585858 guifg=NONE gui=NONE
hi PmenuSel ctermbg=66 ctermfg=235 cterm=NONE guibg=#5f8787 guifg=#262626 gui=NONE
hi PmenuThumb ctermbg=66 ctermfg=66 cterm=NONE guibg=#5f8787 guifg=#5f8787 gui=NONE
hi ErrorMsg ctermbg=235 ctermfg=131 cterm=reverse guibg=#262626 guifg=#af5f5f gui=reverse
hi ModeMsg ctermbg=235 ctermfg=108 cterm=reverse guibg=#262626 guifg=#87af87 gui=reverse
hi MoreMsg ctermbg=NONE ctermfg=66 cterm=NONE guibg=NONE guifg=#5f8787 gui=NONE
hi Question ctermbg=NONE ctermfg=108 cterm=NONE guibg=NONE guifg=#87af87 gui=NONE
hi WarningMsg ctermbg=NONE ctermfg=131 cterm=NONE guibg=NONE guifg=#af5f5f gui=NONE
hi TabLine ctermbg=238 ctermfg=101 cterm=NONE guibg=#444444 guifg=#87875f gui=NONE
hi TabLineFill ctermbg=238 ctermfg=238 cterm=NONE guibg=#444444 guifg=#444444 gui=NONE
hi TabLineSel ctermbg=101 ctermfg=235 cterm=NONE guibg=#87875f guifg=#262626 gui=NONE
hi ToolbarLine ctermbg=234 ctermfg=NONE cterm=NONE guibg=#1c1c1c guifg=NONE gui=NONE
hi ToolbarButton ctermbg=240 ctermfg=250 cterm=NONE guibg=#585858 guifg=#bcbcbc gui=NONE
hi Cursor ctermbg=242 ctermfg=NONE cterm=NONE guibg=#6c6c6c guifg=NONE gui=NONE
hi CursorColumn ctermbg=236 ctermfg=NONE cterm=NONE guibg=#303030 guifg=NONE gui=NONE
hi CursorLineNr ctermbg=236 ctermfg=73 cterm=NONE guibg=#303030 guifg=#5fafaf gui=NONE
hi CursorLine ctermbg=236 ctermfg=NONE cterm=NONE guibg=#303030 guifg=NONE gui=NONE
hi helpLeadBlank ctermbg=NONE ctermfg=NONE cterm=NONE guibg=NONE guifg=NONE gui=NONE
hi helpNormal ctermbg=NONE ctermfg=NONE cterm=NONE guibg=NONE guifg=NONE gui=NONE
hi StatusLine ctermbg=101 ctermfg=235 cterm=NONE guibg=#87875f guifg=#262626 gui=NONE
hi StatusLineNC ctermbg=238 ctermfg=101 cterm=NONE guibg=#444444 guifg=#87875f gui=NONE
hi StatusLineTerm ctermbg=101 ctermfg=235 cterm=NONE guibg=#87875f guifg=#262626 gui=NONE
hi StatusLineTermNC ctermbg=238 ctermfg=101 cterm=NONE guibg=#444444 guifg=#87875f gui=NONE
hi Visual ctermbg=235 ctermfg=110 cterm=reverse guibg=#262626 guifg=#87afd7 gui=reverse
hi VisualNOS ctermbg=NONE ctermfg=NONE cterm=underline guibg=NONE guifg=NONE gui=underline
hi VertSplit ctermbg=238 ctermfg=238 cterm=NONE guibg=#444444 guifg=#444444 gui=NONE
hi WildMenu ctermbg=110 ctermfg=235 cterm=NONE guibg=#87afd7 guifg=#262626 gui=NONE
hi Function ctermbg=NONE ctermfg=229 cterm=NONE guibg=NONE guifg=#ffffaf gui=NONE
hi SpecialKey ctermbg=NONE ctermfg=240 cterm=NONE guibg=NONE guifg=#585858 gui=NONE
hi Title ctermbg=NONE ctermfg=231 cterm=NONE guibg=NONE guifg=#ffffff gui=NONE
hi DiffAdd ctermbg=235 ctermfg=108 cterm=reverse guibg=#262626 guifg=#87af87 gui=reverse
hi DiffChange ctermbg=235 ctermfg=103 cterm=reverse guibg=#262626 guifg=#8787af gui=reverse
hi DiffDelete ctermbg=235 ctermfg=131 cterm=reverse guibg=#262626 guifg=#af5f5f gui=reverse
hi DiffText ctermbg=235 ctermfg=208 cterm=reverse guibg=#262626 guifg=#ff8700 gui=reverse
hi IncSearch ctermbg=131 ctermfg=235 cterm=NONE guibg=#af5f5f guifg=#262626 gui=NONE
hi Search ctermbg=229 ctermfg=235 cterm=NONE guibg=#ffffaf guifg=#262626 gui=NONE
hi Directory ctermbg=NONE ctermfg=73 cterm=NONE guibg=NONE guifg=#5fafaf gui=NONE
hi debugPC ctermbg=67 ctermfg=NONE cterm=NONE guibg=#5f87af guifg=NONE gui=NONE
hi debugBreakpoint ctermbg=131 ctermfg=NONE cterm=NONE guibg=#af5f5f guifg=NONE gui=NONE
hi SpellBad ctermbg=NONE ctermfg=131 cterm=undercurl guibg=NONE guifg=#af5f5f gui=undercurl guisp=#af5f5f
hi SpellCap ctermbg=NONE ctermfg=73 cterm=undercurl guibg=NONE guifg=#5fafaf gui=undercurl guisp=#5fafaf
hi SpellLocal ctermbg=NONE ctermfg=65 cterm=undercurl guibg=NONE guifg=#5f875f gui=undercurl guisp=#5f875f
hi SpellRare ctermbg=NONE ctermfg=208 cterm=undercurl guibg=NONE guifg=#ff8700 gui=undercurl guisp=#ff8700
hi ColorColumn ctermbg=234 ctermfg=NONE cterm=NONE guibg=#1c1c1c guifg=NONE gui=NONE
elseif &t_Co == 8 || $TERM !~# '^linux' || &t_Co == 16
set t_Co=16
hi Normal ctermbg=black ctermfg=lightgrey cterm=NONE
hi NonText ctermbg=NONE ctermfg=darkgrey cterm=NONE
hi EndOfBuffer ctermbg=NONE ctermfg=darkgrey cterm=NONE
hi LineNr ctermbg=black ctermfg=lightgrey cterm=NONE
hi FoldColumn ctermbg=black ctermfg=lightgrey cterm=NONE
hi Folded ctermbg=black ctermfg=lightgrey cterm=NONE
hi MatchParen ctermbg=black ctermfg=yellow cterm=NONE
hi SignColumn ctermbg=black ctermfg=lightgrey cterm=NONE
hi Comment ctermbg=NONE ctermfg=darkgrey cterm=NONE
hi Conceal ctermbg=NONE ctermfg=lightgrey cterm=NONE
hi Constant ctermbg=NONE ctermfg=red cterm=NONE
hi Error ctermbg=NONE ctermfg=darkred cterm=reverse
hi Identifier ctermbg=NONE ctermfg=darkblue cterm=NONE
hi Ignore ctermbg=NONE ctermfg=NONE cterm=NONE
hi PreProc ctermbg=NONE ctermfg=darkcyan cterm=NONE
hi Special ctermbg=NONE ctermfg=darkgreen cterm=NONE
hi Statement ctermbg=NONE ctermfg=blue cterm=NONE
hi String ctermbg=NONE ctermfg=green cterm=NONE
hi Todo ctermbg=NONE ctermfg=NONE cterm=reverse
hi Type ctermbg=NONE ctermfg=magenta cterm=NONE
hi Underlined ctermbg=NONE ctermfg=darkcyan cterm=underline
hi Pmenu ctermbg=darkgrey ctermfg=lightgrey cterm=NONE
hi PmenuSbar ctermbg=darkgrey ctermfg=NONE cterm=NONE
hi PmenuSel ctermbg=darkcyan ctermfg=black cterm=NONE
hi PmenuThumb ctermbg=darkcyan ctermfg=darkcyan cterm=NONE
hi ErrorMsg ctermbg=black ctermfg=darkred cterm=reverse
hi ModeMsg ctermbg=black ctermfg=green cterm=reverse
hi MoreMsg ctermbg=NONE ctermfg=darkcyan cterm=NONE
hi Question ctermbg=NONE ctermfg=green cterm=NONE
hi WarningMsg ctermbg=NONE ctermfg=darkred cterm=NONE
hi TabLine ctermbg=darkgrey ctermfg=darkyellow cterm=NONE
hi TabLineFill ctermbg=darkgrey ctermfg=darkgrey cterm=NONE
hi TabLineSel ctermbg=darkyellow ctermfg=black cterm=NONE
hi ToolbarLine ctermbg=black ctermfg=NONE cterm=NONE
hi ToolbarButton ctermbg=darkgrey ctermfg=lightgrey cterm=NONE
hi Cursor ctermbg=lightgrey ctermfg=NONE cterm=NONE
hi CursorColumn ctermbg=darkgrey ctermfg=NONE cterm=NONE
hi CursorLineNr ctermbg=darkgrey ctermfg=cyan cterm=NONE
hi CursorLine ctermbg=darkgrey ctermfg=NONE cterm=NONE
hi helpLeadBlank ctermbg=NONE ctermfg=NONE cterm=NONE
hi helpNormal ctermbg=NONE ctermfg=NONE cterm=NONE
hi StatusLine ctermbg=darkyellow ctermfg=black cterm=NONE
hi StatusLineNC ctermbg=darkgrey ctermfg=darkyellow cterm=NONE
hi StatusLineTerm ctermbg=darkyellow ctermfg=black cterm=NONE
hi StatusLineTermNC ctermbg=darkgrey ctermfg=darkyellow cterm=NONE
hi Visual ctermbg=black ctermfg=blue cterm=reverse
hi VisualNOS ctermbg=NONE ctermfg=NONE cterm=underline
hi VertSplit ctermbg=darkgrey ctermfg=darkgrey cterm=NONE
hi WildMenu ctermbg=blue ctermfg=black cterm=NONE
hi Function ctermbg=NONE ctermfg=yellow cterm=NONE
hi SpecialKey ctermbg=NONE ctermfg=darkgrey cterm=NONE
hi Title ctermbg=NONE ctermfg=white cterm=NONE
hi DiffAdd ctermbg=black ctermfg=green cterm=reverse
hi DiffChange ctermbg=black ctermfg=magenta cterm=reverse
hi DiffDelete ctermbg=black ctermfg=darkred cterm=reverse
hi DiffText ctermbg=black ctermfg=red cterm=reverse
hi IncSearch ctermbg=darkred ctermfg=black cterm=NONE
hi Search ctermbg=yellow ctermfg=black cterm=NONE
hi Directory ctermbg=NONE ctermfg=cyan cterm=NONE
hi debugPC ctermbg=darkblue ctermfg=NONE cterm=NONE
hi debugBreakpoint ctermbg=darkred ctermfg=NONE cterm=NONE
hi SpellBad ctermbg=NONE ctermfg=darkred cterm=undercurl
hi SpellCap ctermbg=NONE ctermfg=cyan cterm=undercurl
hi SpellLocal ctermbg=NONE ctermfg=darkgreen cterm=undercurl
hi SpellRare ctermbg=NONE ctermfg=red cterm=undercurl
hi ColorColumn ctermbg=black ctermfg=NONE cterm=NONE
endif
hi link Terminal Normal
hi link Number Constant
hi link CursorIM Cursor
hi link Boolean Constant
hi link Character Constant
hi link Conditional Statement
hi link Debug Special
hi link Define PreProc
hi link Delimiter Special
hi link Exception Statement
hi link Float Number
hi link HelpCommand Statement
hi link HelpExample Statement
hi link Include PreProc
hi link Keyword Statement
hi link Label Statement
hi link Macro PreProc
hi link Number Constant
hi link Operator Statement
hi link PreCondit PreProc
hi link Repeat Statement
hi link SpecialChar Special
hi link SpecialComment Special
hi link StorageClass Type
hi link Structure Type
hi link Tag Special
hi link Terminal Normal
hi link Typedef Type
hi link htmlTagName Statement
hi link htmlEndTag htmlTagName
hi link htmlLink Function
hi link htmlSpecialTagName htmlTagName
hi link htmlTag htmlTagName
hi link htmlBold Normal
hi link htmlItalic Normal
hi link htmlArg htmlTagName
hi link xmlTag Statement
hi link xmlTagName Statement
hi link xmlEndTag Statement
hi link markdownItalic Preproc
hi link asciidocQuotedEmphasized Preproc
hi link diffBDiffer WarningMsg
hi link diffCommon WarningMsg
hi link diffDiffer WarningMsg
hi link diffIdentical WarningMsg
hi link diffIsA WarningMsg
hi link diffNoEOL WarningMsg
hi link diffOnly WarningMsg
hi link diffRemoved WarningMsg
hi link diffAdded String
hi link QuickFixLine Search
let g:terminal_ansi_colors = [
\ '#1c1c1c',
\ '#af5f5f',
\ '#5f875f',
\ '#87875f',
\ '#5f87af',
\ '#5f5f87',
\ '#5f8787',
\ '#6c6c6c',
\ '#444444',
\ '#ff8700',
\ '#87af87',
\ '#ffffaf',
\ '#87afd7',
\ '#8787af',
\ '#5fafaf',
\ '#ffffff',
\ ]
" Generated with RNB (https://github.com/romainl/vim-rnb)

View File

@@ -0,0 +1,396 @@
" >>>--------------------------------------------------------------->
" >>>--------------------------------------------------------------->
" >>
" >>-> >->
" >> >-> >> >--> >--> >-> >--> >> >--> >-> >->
" >-> >-> >-> >-> >->>-> >> >-> >-> >-> >->
" >----->>-> >-> >-> >-> >-> >>--->>-> >-> >-->
" >-> >-> >-> >-> >> >-> >> >-> >->
" >-> >-> >--> >--> >-> >-> >----> >--> >->
" >->
" >>>--------------------------------------------------------------->
"
" URL: https://github.com/Badacadabra/vim-archery
" Author: Baptiste Vannesson <contact@badacadabra.net>
" License: MIT
" Description: Vim colorscheme inspired by Arch Linux colors
"
" >>>--------------------------------------------------------------->
" >>>--------------------------------------------------------------->
" =============================
" BOILERPLATE {{{1
" =============================
set background=dark
hi clear
if exists('syntax_on')
syntax reset
endif
let g:colors_name = 'archery'
" =============================
" SYNTAX GROUP NAMES {{{1
" =============================
" -----------------------------
" Comment {{{2
" -----------------------------
" Preferred group
hi Comment cterm=italic ctermfg=7 ctermbg=NONE gui=italic guifg=#535B6F guibg=NONE
" -----------------------------
" Constant {{{2
" -----------------------------
" Preferred group
hi Constant cterm=NONE ctermfg=14 ctermbg=NONE gui=NONE guifg=#25B8A5 guibg=NONE
" Minor groups
hi String cterm=NONE ctermfg=15 ctermbg=NONE gui=NONE guifg=#F6F9FC guibg=NONE
hi link Character Constant
hi link Number Constant
hi link Boolean Constant
hi link Float Constant
" -----------------------------
" Identifier {{{2
" -----------------------------
" Preferred group
hi Identifier cterm=NONE ctermfg=6 ctermbg=NONE gui=NONE guifg=#006596 guibg=NONE
" Minor group
hi link Function Identifier
" -----------------------------
" Statement {{{2
" -----------------------------
" Preferred group
hi Statement cterm=bold ctermfg=4 ctermbg=NONE gui=bold guifg=#0088CC guibg=NONE
" Minor groups
hi link Conditional Statement
hi link Repeat Statement
hi link Label Statement
hi link Operator Statement
hi link Keyword Statement
hi link Exception Statement
" -----------------------------
" PreProc {{{2
" -----------------------------
" Preferred group
hi PreProc cterm=NONE ctermfg=15 ctermbg=NONE gui=NONE guifg=#F6F9FC guibg=NONE
" Minor groups
hi link Include PreProc
hi link Define PreProc
hi link Macro PreProc
hi link PreCondit PreProc
" -----------------------------
" Type {{{2
" -----------------------------
" Preferred group
hi Type cterm=NONE ctermfg=4 ctermbg=NONE gui=NONE guifg=#0088CC guibg=NONE
" Minor groups
hi link StorageClass Type
hi link Structure Type
hi link Typedef Type
" -----------------------------
" Special {{{2
" -----------------------------
" Preferred group
hi Special cterm=NONE ctermfg=7 ctermbg=NONE gui=NONE guifg=#53586F guibg=NONE
" Minor groups
hi link SpecialChar Special
hi link Tag Special
hi link Delimiter Special
hi link SpecialComment Special
hi link Debug Special
" -----------------------------
" Underlined {{{2
" -----------------------------
" Preferred group
hi Underlined cterm=underline ctermfg=NONE ctermbg=NONE gui=underline guifg=NONE guibg=NONE
" -----------------------------
" Ignore {{{2
" -----------------------------
" Preferred group
hi Ignore cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE
" -----------------------------
" Error {{{2
" -----------------------------
" Preferred group
hi Error cterm=NONE ctermfg=9 ctermbg=0 gui=NONE guifg=#C95F5F guibg=#25272C
" -----------------------------
" Todo {{{2
" -----------------------------
" Preferred group
hi Todo cterm=NONE ctermfg=11 ctermbg=0 gui=NONE guifg=#EAC06E guibg=#25272C
" =============================
" DEFAULT HIGHLIGHTING GROUPS {{{1
" =============================
" -----------------------------
" Modes {{{2
" -----------------------------
hi Normal cterm=NONE ctermfg=12 ctermbg=0 gui=NONE guifg=#81A3CF guibg=#25272C
hi Visual cterm=NONE ctermfg=0 ctermbg=12 gui=NONE guifg=#25272C guibg=#81A3CF
hi VisualNOS cterm=NONE ctermfg=15 ctermbg=4 gui=NONE guifg=#F6F9FC guibg=#0088CC
" -----------------------------
" Cursor {{{2
" -----------------------------
hi Cursor cterm=NONE ctermfg=15 ctermbg=4 gui=NONE guifg=#F6F9FC guibg=#0088CC
hi CursorIM cterm=NONE ctermfg=15 ctermbg=4 gui=NONE guifg=#F6F9FC guibg=#81A3CF
hi CursorColumn cterm=NONE ctermfg=NONE ctermbg=12 gui=NONE guifg=NONE guibg=#81A3CF
hi CursorLine cterm=NONE ctermfg=NONE ctermbg=8 gui=NONE guifg=NONE guibg=#282D34
hi CursorLineNr cterm=NONE ctermfg=4 ctermbg=8 gui=NONE guifg=#0088CC guibg=#282D34
" -----------------------------
" Output text {{{2
" -----------------------------
" Messages
hi ErrorMsg cterm=NONE ctermfg=9 ctermbg=NONE gui=NONE guifg=#C95F5F guibg=NONE
hi ModeMsg cterm=NONE ctermfg=12 ctermbg=NONE gui=NONE guifg=#81A3CF guibg=NONE
hi MoreMsg cterm=NONE ctermfg=4 ctermbg=NONE gui=NONE guifg=#0088CC guibg=NONE
hi WarningMsg cterm=NONE ctermfg=11 ctermbg=NONE gui=NONE guifg=#F07D30 guibg=NONE
" Misc.
hi Title cterm=NONE ctermfg=4 ctermbg=NONE gui=NONE guifg=#0088CC guibg=NONE
hi Question cterm=NONE ctermfg=4 ctermbg=NONE gui=NONE guifg=#0088CC guibg=NONE
hi SpecialKey cterm=NONE ctermfg=12 ctermbg=NONE gui=NONE guifg=#81A3CF guibg=NONE
hi NonText cterm=NONE ctermfg=15 ctermbg=NONE gui=NONE guifg=#F6F9FC guibg=NONE
hi EndOfBuffer cterm=NONE ctermfg=12 ctermbg=NONE gui=NONE guifg=#81A3CF guibg=NONE
" -----------------------------
" Popup menu {{{2
" -----------------------------
hi Pmenu cterm=bold ctermfg=0 ctermbg=7 gui=bold guifg=#25272C guibg=#53586F
hi PmenuSel cterm=bold ctermfg=15 ctermbg=4 gui=bold guifg=#F6F9FC guibg=#0088CC
hi PmenuSbar cterm=NONE ctermfg=NONE ctermbg=12 gui=NONE guifg=NONE guibg=#25272C
hi PmenuThumb cterm=NONE ctermfg=NONE ctermbg=12 gui=NONE guifg=NONE guibg=#81A3CF
" -----------------------------
" Search {{{2
" -----------------------------
hi MatchParen cterm=NONE ctermfg=0 ctermbg=15 gui=NONE guifg=#25272C guibg=#F6F9FC
hi IncSearch cterm=NONE ctermfg=0 ctermbg=12 gui=NONE guifg=#25272C guibg=#81A3CF
hi Search cterm=NONE ctermfg=8 ctermbg=15 gui=NONE guifg=#282D34 guibg=#F6F9FC
hi WildMenu cterm=bold ctermfg=15 ctermbg=4 gui=bold guifg=#F6F9FC guibg=#0088CC
" -----------------------------
" Folding {{{2
" -----------------------------
hi Folded cterm=NONE ctermfg=4 ctermbg=8 gui=bold guifg=#0088CC guibg=#282D34
hi FoldColumn cterm=NONE ctermfg=15 ctermbg=4 gui=NONE guifg=#F6F9FC guibg=#282D34
" -----------------------------
" Diff {{{2
" -----------------------------
hi DiffAdd cterm=NONE ctermfg=10 ctermbg=NONE gui=NONE guifg=#73BA25 guibg=NONE
hi DiffChange cterm=NONE ctermfg=3 ctermbg=NONE gui=NONE guifg=#EAC06E guibg=NONE
hi DiffDelete cterm=NONE ctermfg=9 ctermbg=NONE gui=NONE guifg=#C95F5F guibg=NONE
hi DiffText cterm=NONE ctermfg=12 ctermbg=NONE gui=NONE guifg=#81A3CF guibg=NONE
" -----------------------------
" Spellchecker {{{2
" -----------------------------
hi SpellBad cterm=NONE ctermfg=9 ctermbg=NONE gui=NONE guifg=#C95F5F guibg=NONE
hi SpellCap cterm=NONE ctermfg=3 ctermbg=NONE gui=NONE guifg=#F07D30 guibg=NONE
hi SpellLocal cterm=NONE ctermfg=10 ctermbg=NONE gui=NONE guifg=#73BA25 guibg=NONE
hi SpellRare cterm=NONE ctermfg=11 ctermbg=NONE gui=NONE guifg=#EAC06E guibg=NONE
" -----------------------------
" Miscellaneous {{{2
" -----------------------------
hi Directory cterm=NONE ctermfg=4 ctermbg=NONE gui=bold guifg=#0088CC guibg=NONE
hi LineNr cterm=NONE ctermfg=8 ctermbg=NONE gui=NONE guifg=#53586F guibg=#2B2D34
hi VertSplit cterm=NONE ctermfg=4 ctermbg=8 gui=bold guifg=#0088CC guibg=#282D34
hi ColorColumn cterm=NONE ctermfg=NONE ctermbg=8 gui=NONE guifg=NONE guibg=#2B2D34
hi SignColumn cterm=NONE ctermfg=12 ctermbg=8 gui=NONE guifg=#81A3CF guibg=#282D34
hi Conceal cterm=NONE ctermfg=12 ctermbg=NONE gui=NONE guifg=#81A3CF guibg=NONE
" -----------------------------
" Status line / Tab line {{{2
" -----------------------------
" See Powerline, Airline or Lightline...
"hi StatusLine cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE
"hi StatusLineNC cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guifg=NONE
"hi TabLine cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE
"hi TabLineFill cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE
"hi TabLineSel cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE
" =============================
" GUI HIGHLIGHTING GROUPS {{{1
" =============================
hi Menu guifg=#53586F guibg=#282D34
hi Scrollbar guifg=#53586F guibg=#282D34
hi Tooltip guifg=#F6F9FC guibg=#25272C
" =============================
" PLUGINS SUPPORT {{{1
" =============================
" Airline (see 'autoload/airline/themes/archery.vim')
" Lightline (see 'autoload/lightline/colorscheme/archery')
" CtrlP
hi link CtrlPMatch Type
hi link CtrlPPrtText Type
" NERDTree
hi link NERDTreeHelp Comment
hi link NERDTreeHelpKey Type
hi link NERDTreeHelpTitle Statement
" Tagbar
hi link TagbarHelpKey Type
hi link TagbarHelpTitle Statement
hi link TagbarNestedKind Identifier
hi link TagbarScope Identifier
hi link TagbarType Type
hi link TagbarVisibilityPublic SpellLocal
hi link TagbarVisibilityProtected SpellCap
hi link TagbarVisibilityPrivate SpellBad
" =============================
" SYNTAX OPTIMIZATIONS {{{1
" =============================
" -----------------------------
" Raw {{{2
" -----------------------------
" CSS
hi link cssAttrRegion Constant
hi link cssBraces Normal
hi link cssClassName Statement
hi link cssClassNameDot Statement
hi link cssIdentifier Statement
hi link cssImportant PreProc
hi link cssFontDescriptor PreProc
hi link cssTagName PreProc
" Markdown
hi link markdownLink Constant
hi link markdownLinkText PreProc
hi link markdownUrl Constant
" YAML
hi link yamlAnchor PreProc
hi link yamlBlockMappingKey Statement
hi link yamlKeyValueDelimiter Type
" Readline
hi link readlineVariable Type
" -----------------------------
" Tags {{{2
" -----------------------------
" HTML
hi link htmlArg Type
hi link htmlEndTag Statement
hi link htmlString Identifier
hi link htmlTag Statement
" XML
hi link xmlAttrib PreProc
hi link xmlAttribPunct Constant
hi link xmlEndTag Type
hi link xmlNamespace Identifier
hi link xmlProcessingDelim Statement
hi link xmlTag Type
hi link xmlTagName Type
" -----------------------------
" Programming {{{2
" -----------------------------
" JavaScript
hi link jsFuncArgs String
hi link jsFuncCall Identifier
hi link jsFunction Identifier
hi link jsFunctionKey Type
hi link jsGlobalObjects Statement
hi link jsObjectKey Type
hi link jsThis Constant
hi link javascriptjQuery Identifier
hi link javascriptQAttributes Identifier
hi link javascriptQEvents Identifier
" PHP
hi link phpDefine Identifier
hi link phpIdentifier Type
hi link phpParent Statement
hi link phpRegion Constant
hi link phpStructure Statement
hi link phpStorageClass Statement
hi link phpType Type
hi link phpVarSelector Type
" Python
hi link pythonAttribute Constant
hi link pythonInclude Statement
hi link pythonQuotes Type
" Ruby
hi link rubyDefine Statement
hi link rubyInclude Statement
hi link rubyInterpolationDelimiter Type
hi link rubySharpBang Comment
hi link rubyStringDelimiter Type
" Perl
hi link perlStringStartEnd Type
hi link perlStringUnexpanded PreProc
hi link perlVarPlain Type
" C/C++
hi link cInclude Statement
hi link cIncluded Type
hi link cParen PreProc
" Java
hi link javaAnnotation PreProc
hi link javaCommentTitle Comment
hi link javaDocComment Comment
hi link javaDocParam Comment
hi link javaDocTags Comment
hi link javaExternal Statement
hi link javaScopeDecl Statement

View File

@@ -0,0 +1,71 @@
"Maintainer: Greg Sexton <gregsexton@gmail.com>
"Last Change: 2011-04-22
"Version: 1.1
"URL: http://www.gregsexton.org/vim-color-schemes/atom-color/
set background=dark
if version > 580
"no guarantees for version 5.8 and below, but this makes it stop complaining
hi clear
if exists("syntax_on")
syntax reset
endif
endif
let g:colors_name="atom"
hi Normal guifg=#e8ecf0 guibg=#304050
hi DiffDelete guifg=#304050 guibg=#203040
hi DiffAdd guibg=#002851
hi DiffChange guibg=#450303
hi DiffText guibg=#990909 gui=none
hi diffAdded guifg=#00bf00 guibg=#1d2c1b
hi diffRemoved guifg=#e00000 guibg=#2d1c20
hi Cursor guibg=khaki guifg=slategrey
hi VertSplit guibg=#102030 guifg=#102030 gui=none
hi Folded guifg=#cccccc guibg=#405060
hi FoldColumn guibg=grey30 guifg=tan
hi IncSearch guifg=slategrey guibg=khaki
hi LineNr guifg=#556575 guibg=#203040
hi ModeMsg guifg=goldenrod
hi MoreMsg guifg=SeaGreen
hi NonText guifg=#304050 guibg=#304050
hi Question guifg=springgreen
hi Search guibg=#ffff7d guifg=#000000
hi SpecialKey guifg=yellowgreen
hi StatusLine guibg=#102030 guifg=grey70 gui=none
hi StatusLineNC guibg=#203040 guifg=grey50 gui=none
hi Title guifg=indianred
hi Visual gui=none guifg=white guibg=#D04040
hi WarningMsg guifg=salmon
hi Directory guifg=#A6E22E
hi SignColumn guifg=#A6E22E guibg=#203040
if version >= 700 " Vim 7.x specific colors
hi CursorLine guifg=NONE guibg=#203040 gui=NONE
hi CursorColumn guifg=NONE guibg=#203040 gui=NONE
hi MatchParen guifg=red guibg=#304050 gui=BOLD
hi Pmenu guifg=#f6f3e8 guibg=#152535 gui=NONE
hi PmenuSel guifg=#000000 guibg=#cae682 gui=NONE
endif
if version >= 703 " Vim 7.x specific colors
hi ColorColumn guifg=#e8ecf0 guibg=#283848
endif
" syntax highlighting groups
hi Comment guifg=#8090a0 gui=none
hi Constant guifg=#ff6070 gui=none
hi Identifier guifg=#70d080 gui=none
hi Statement guifg=#6699D0 gui=none
hi PreProc guifg=indianred gui=none
hi Type guifg=#8cd0d3 gui=none
hi Special guifg=#ecad2b gui=none
hi Delimiter guifg=#8090a0
hi Number guifg=#FFFF80
hi Ignore guifg=grey40 gui=none
hi Todo guifg=orangered guibg=#304050 gui=none
"vim: sw=4

View File

@@ -0,0 +1,277 @@
" Initialisation:"{{{
" ----------------------------------------------------------------------------
hi clear
if exists("syntax_on")
syntax reset
endif
let s:style = get(g:, 'ayucolor', 'dark')
let g:colors_name = "ayu"
"}}}
" Palettes:"{{{
" ----------------------------------------------------------------------------
let s:palette = {}
let s:palette.bg = {'dark': "#0F1419", 'light': "#FAFAFA", 'mirage': "#212733"}
let s:palette.comment = {'dark': "#5C6773", 'light': "#ABB0B6", 'mirage': "#5C6773"}
let s:palette.markup = {'dark': "#F07178", 'light': "#F07178", 'mirage': "#F07178"}
let s:palette.constant = {'dark': "#FFEE99", 'light': "#A37ACC", 'mirage': "#D4BFFF"}
let s:palette.operator = {'dark': "#E7C547", 'light': "#E7C547", 'mirage': "#80D4FF"}
let s:palette.tag = {'dark': "#36A3D9", 'light': "#36A3D9", 'mirage': "#5CCFE6"}
let s:palette.regexp = {'dark': "#95E6CB", 'light': "#4CBF99", 'mirage': "#95E6CB"}
let s:palette.string = {'dark': "#B8CC52", 'light': "#86B300", 'mirage': "#BBE67E"}
let s:palette.function = {'dark': "#FFB454", 'light': "#F29718", 'mirage': "#FFD57F"}
let s:palette.special = {'dark': "#E6B673", 'light': "#E6B673", 'mirage': "#FFC44C"}
let s:palette.keyword = {'dark': "#FF7733", 'light': "#FF7733", 'mirage': "#FFAE57"}
let s:palette.error = {'dark': "#FF3333", 'light': "#FF3333", 'mirage': "#FF3333"}
let s:palette.accent = {'dark': "#F29718", 'light': "#FF6A00", 'mirage': "#FFCC66"}
let s:palette.panel = {'dark': "#14191F", 'light': "#FFFFFF", 'mirage': "#272D38"}
let s:palette.guide = {'dark': "#2D3640", 'light': "#D9D8D7", 'mirage': "#3D4751"}
let s:palette.line = {'dark': "#151A1E", 'light': "#F3F3F3", 'mirage': "#242B38"}
let s:palette.selection = {'dark': "#253340", 'light': "#F0EEE4", 'mirage': "#343F4C"}
let s:palette.fg = {'dark': "#E6E1CF", 'light': "#5C6773", 'mirage': "#D9D7CE"}
let s:palette.fg_idle = {'dark': "#3E4B59", 'light': "#828C99", 'mirage': "#607080"}
"}}}
" Highlighting Primitives:"{{{
" ----------------------------------------------------------------------------
function! s:build_prim(hi_elem, field)
let l:vname = "s:" . a:hi_elem . "_" . a:field " s:bg_gray
let l:gui_assign = "gui".a:hi_elem."=".s:palette[a:field][s:style] " guibg=...
exe "let " . l:vname . " = ' " . l:gui_assign . "'"
endfunction
let s:bg_none = ' guibg=NONE ctermbg=NONE'
let s:fg_none = ' guifg=NONE ctermfg=NONE'
for [key_name, d_value] in items(s:palette)
call s:build_prim('bg', key_name)
call s:build_prim('fg', key_name)
endfor
" }}}
" Formatting Options:"{{{
" ----------------------------------------------------------------------------
let s:none = "NONE"
let s:t_none = "NONE"
let s:n = "NONE"
let s:c = ",undercurl"
let s:r = ",reverse"
let s:s = ",standout"
let s:b = ",bold"
let s:u = ",underline"
let s:i = ",italic"
exe "let s:fmt_none = ' gui=NONE". " cterm=NONE". " term=NONE" ."'"
exe "let s:fmt_bold = ' gui=NONE".s:b. " cterm=NONE".s:b. " term=NONE".s:b ."'"
exe "let s:fmt_bldi = ' gui=NONE".s:b. " cterm=NONE".s:b. " term=NONE".s:b ."'"
exe "let s:fmt_undr = ' gui=NONE".s:u. " cterm=NONE".s:u. " term=NONE".s:u ."'"
exe "let s:fmt_undb = ' gui=NONE".s:u.s:b. " cterm=NONE".s:u.s:b. " term=NONE".s:u.s:b."'"
exe "let s:fmt_undi = ' gui=NONE".s:u. " cterm=NONE".s:u. " term=NONE".s:u ."'"
exe "let s:fmt_curl = ' gui=NONE".s:c. " cterm=NONE".s:c. " term=NONE".s:c ."'"
exe "let s:fmt_ital = ' gui=NONE".s:i. " cterm=NONE".s:i. " term=NONE".s:i ."'"
exe "let s:fmt_stnd = ' gui=NONE".s:s. " cterm=NONE".s:s. " term=NONE".s:s ."'"
exe "let s:fmt_revr = ' gui=NONE".s:r. " cterm=NONE".s:r. " term=NONE".s:r ."'"
exe "let s:fmt_revb = ' gui=NONE".s:r.s:b. " cterm=NONE".s:r.s:b. " term=NONE".s:r.s:b."'"
"}}}
" Vim Highlighting: (see :help highlight-groups)"{{{
" ----------------------------------------------------------------------------
exe "hi! Normal" .s:fg_fg .s:bg_bg .s:fmt_none
exe "hi! ColorColumn" .s:fg_none .s:bg_line .s:fmt_none
" Conceal, Cursor, CursorIM
exe "hi! CursorColumn" .s:fg_none .s:bg_line .s:fmt_none
exe "hi! CursorLine" .s:fg_none .s:bg_line .s:fmt_none
exe "hi! CursorLineNr" .s:fg_accent .s:bg_line .s:fmt_none
exe "hi! LineNr" .s:fg_guide .s:bg_none .s:fmt_none
exe "hi! Directory" .s:fg_fg_idle .s:bg_none .s:fmt_none
exe "hi! DiffAdd" .s:fg_string .s:bg_panel .s:fmt_none
exe "hi! DiffChange" .s:fg_tag .s:bg_panel .s:fmt_none
exe "hi! DiffText" .s:fg_fg .s:bg_panel .s:fmt_none
exe "hi! ErrorMsg" .s:fg_fg .s:bg_error .s:fmt_stnd
exe "hi! VertSplit" .s:fg_bg .s:bg_none .s:fmt_none
exe "hi! Folded" .s:fg_fg_idle .s:bg_panel .s:fmt_none
exe "hi! FoldColumn" .s:fg_none .s:bg_panel .s:fmt_none
exe "hi! SignColumn" .s:fg_none .s:bg_panel .s:fmt_none
" Incsearch"
exe "hi! MatchParen" .s:fg_fg .s:bg_bg .s:fmt_undr
exe "hi! ModeMsg" .s:fg_string .s:bg_none .s:fmt_none
exe "hi! MoreMsg" .s:fg_string .s:bg_none .s:fmt_none
exe "hi! NonText" .s:fg_guide .s:bg_none .s:fmt_none
exe "hi! Pmenu" .s:fg_fg .s:bg_selection .s:fmt_none
exe "hi! PmenuSel" .s:fg_fg .s:bg_selection .s:fmt_revr
" PmenuSbar"
" PmenuThumb"
exe "hi! Question" .s:fg_string .s:bg_none .s:fmt_none
exe "hi! Search" .s:fg_bg .s:bg_constant .s:fmt_none
exe "hi! SpecialKey" .s:fg_selection .s:bg_none .s:fmt_none
exe "hi! SpellCap" .s:fg_tag .s:bg_none .s:fmt_undr
exe "hi! SpellLocal" .s:fg_keyword .s:bg_none .s:fmt_undr
exe "hi! SpellBad" .s:fg_error .s:bg_none .s:fmt_undr
exe "hi! SpellRare" .s:fg_regexp .s:bg_none .s:fmt_undr
exe "hi! StatusLine" .s:fg_fg .s:bg_panel .s:fmt_none
exe "hi! StatusLineNC" .s:fg_fg_idle .s:bg_panel .s:fmt_none
exe "hi! WildMenu" .s:fg_bg .s:bg_markup .s:fmt_none
exe "hi! TabLine" .s:fg_fg .s:bg_panel .s:fmt_revr
" TabLineFill"
" TabLineSel"
exe "hi! Title" .s:fg_keyword .s:bg_none .s:fmt_none
exe "hi! Visual" .s:fg_none .s:bg_selection .s:fmt_none
" VisualNos"
exe "hi! WarningMsg" .s:fg_error .s:bg_none .s:fmt_none
" TODO LongLineWarning to use variables instead of hardcoding
hi LongLineWarning guifg=NONE guibg=#371F1C gui=underline ctermfg=NONE ctermbg=NONE cterm=underline
" WildMenu"
"}}}
" Generic Syntax Highlighting: (see :help group-name)"{{{
" ----------------------------------------------------------------------------
exe "hi! Comment" .s:fg_comment .s:bg_none .s:fmt_none
exe "hi! Constant" .s:fg_constant .s:bg_none .s:fmt_none
exe "hi! String" .s:fg_string .s:bg_none .s:fmt_none
" Character"
" Number"
" Boolean"
" Float"
exe "hi! Identifier" .s:fg_tag .s:bg_none .s:fmt_none
exe "hi! Function" .s:fg_function .s:bg_none .s:fmt_none
exe "hi! Statement" .s:fg_keyword .s:bg_none .s:fmt_none
" Conditional"
" Repeat"
" Label"
exe "hi! Operator" .s:fg_operator .s:bg_none .s:fmt_none
" Keyword"
" Exception"
exe "hi! PreProc" .s:fg_special .s:bg_none .s:fmt_none
" Include"
" Define"
" Macro"
" PreCondit"
exe "hi! Type" .s:fg_tag .s:bg_none .s:fmt_none
" StorageClass"
exe "hi! Structure" .s:fg_special .s:bg_none .s:fmt_none
" Typedef"
exe "hi! Special" .s:fg_special .s:bg_none .s:fmt_none
" SpecialChar"
" Tag"
" Delimiter"
" SpecialComment"
" Debug"
"
exe "hi! Underlined" .s:fg_tag .s:bg_none .s:fmt_undr
exe "hi! Ignore" .s:fg_none .s:bg_none .s:fmt_none
exe "hi! Error" .s:fg_fg .s:bg_error .s:fmt_none
exe "hi! Todo" .s:fg_markup .s:bg_none .s:fmt_none
" Quickfix window highlighting
exe "hi! qfLineNr" .s:fg_keyword .s:bg_none .s:fmt_none
" qfFileName"
" qfLineNr"
" qfError"
exe "hi! Conceal" .s:fg_guide .s:bg_none .s:fmt_none
exe "hi! CursorLineConceal" .s:fg_guide .s:bg_line .s:fmt_none
" Terminal
" ---------
if has("nvim")
let g:terminal_color_0 = s:palette.bg[s:style]
let g:terminal_color_1 = s:palette.markup[s:style]
let g:terminal_color_2 = s:palette.string[s:style]
let g:terminal_color_3 = s:palette.accent[s:style]
let g:terminal_color_4 = s:palette.tag[s:style]
let g:terminal_color_5 = s:palette.constant[s:style]
let g:terminal_color_6 = s:palette.regexp[s:style]
let g:terminal_color_7 = "#FFFFFF"
let g:terminal_color_8 = s:palette.fg_idle[s:style]
let g:terminal_color_9 = s:palette.error[s:style]
let g:terminal_color_10 = s:palette.string[s:style]
let g:terminal_color_11 = s:palette.accent[s:style]
let g:terminal_color_12 = s:palette.tag[s:style]
let g:terminal_color_13 = s:palette.constant[s:style]
let g:terminal_color_14 = s:palette.regexp[s:style]
let g:terminal_color_15 = s:palette.comment[s:style]
let g:terminal_color_background = g:terminal_color_0
let g:terminal_color_foreground = s:palette.fg[s:style]
else
let g:terminal_ansi_colors = [s:palette.bg[s:style], s:palette.markup[s:style]]
let g:terminal_ansi_colors += [s:palette.string[s:style], s:palette.accent[s:style]]
let g:terminal_ansi_colors += [s:palette.tag[s:style], s:palette.constant[s:style]]
let g:terminal_ansi_colors += [s:palette.regexp[s:style], "#FFFFFF"]
let g:terminal_ansi_colors += [s:palette.fg_idle[s:style], s:palette.error[s:style]]
let g:terminal_ansi_colors += [s:palette.string[s:style], s:palette.accent[s:style]]
let g:terminal_ansi_colors += [s:palette.tag[s:style], s:palette.constant[s:style]]
let g:terminal_ansi_colors += [s:palette.regexp[s:style], s:palette.comment[s:style]]
endif
" NerdTree
" ---------
exe "hi! NERDTreeOpenable" .s:fg_fg_idle .s:bg_none .s:fmt_none
exe "hi! NERDTreeClosable" .s:fg_accent .s:bg_none .s:fmt_none
" exe "hi! NERDTreeBookmarksHeader" .s:fg_pink .s:bg_none .s:fmt_none
" exe "hi! NERDTreeBookmarksLeader" .s:fg_bg .s:bg_none .s:fmt_none
" exe "hi! NERDTreeBookmarkName" .s:fg_keyword .s:bg_none .s:fmt_none
" exe "hi! NERDTreeCWD" .s:fg_pink .s:bg_none .s:fmt_none
exe "hi! NERDTreeUp" .s:fg_fg_idle .s:bg_none .s:fmt_none
exe "hi! NERDTreeDir" .s:fg_function .s:bg_none .s:fmt_none
exe "hi! NERDTreeFile" .s:fg_none .s:bg_none .s:fmt_none
exe "hi! NERDTreeDirSlash" .s:fg_accent .s:bg_none .s:fmt_none
" GitGutter
" ---------
exe "hi! GitGutterAdd" .s:fg_string .s:bg_none .s:fmt_none
exe "hi! GitGutterChange" .s:fg_tag .s:bg_none .s:fmt_none
exe "hi! GitGutterDelete" .s:fg_markup .s:bg_none .s:fmt_none
exe "hi! GitGutterChangeDelete" .s:fg_function .s:bg_none .s:fmt_none
"}}}
" Diff Syntax Highlighting:"{{{
" ----------------------------------------------------------------------------
" Diff
" diffOldFile
" diffNewFile
" diffFile
" diffOnly
" diffIdentical
" diffDiffer
" diffBDiffer
" diffIsA
" diffNoEOL
" diffCommon
hi! link diffRemoved Constant
" diffChanged
hi! link diffAdded String
" diffLine
" diffSubname
" diffComment
"}}}
"
" This is needed for some reason: {{{
let &background = s:style
" }}}

View File

@@ -0,0 +1,243 @@
" carbonized-dark, a vim colourscheme by haystackandroid
"
" generated with a theme template adapted from
" base16-vim (https://github.com/chriskempson/base16-vim)
" by Chris Kempson (http://chriskempson.com)
"=== SET COLOUR VARIABLES =====================================================
" GUI colours
let s:g0 = '2b2b2b'
let s:g1 = '3b3b37'
let s:g2 = '75756e'
let s:g3 = '8a8a81'
let s:g4 = '9e9e95'
let s:g5 = 'b5b5aa'
let s:g6 = 'f0f0e1'
let s:g7 = 'fffff0'
let s:g8 = 'bf5858'
let s:g9 = 'b56f45'
let s:gA = 'ab8e38'
let s:gB = '508a50'
let s:gC = '458a8a'
let s:gD = '557b9e'
let s:gE = '8b6a9e'
let s:gF = 'ab6a7a'
" terminal colours
let s:t0 = '00'
let s:t3 = '08'
let s:t5 = '07'
let s:t7 = '15'
let s:t8 = '01'
let s:tA = '03'
let s:tB = '02'
let s:tC = '06'
let s:tD = '04'
let s:tE = '05'
let s:t1 = '10'
let s:t2 = '11'
let s:t4 = '12'
let s:t6 = '13'
let s:t9 = '09'
let s:tF = '14'
" neovim colours
if has('nvim')
let g:terminal_color_0 = '#2b2b2b'
let g:terminal_color_1 = '#bf5858'
let g:terminal_color_2 = '#508a50'
let g:terminal_color_3 = '#ab8e38'
let g:terminal_color_4 = '#557b9e'
let g:terminal_color_5 = '#8b6a9e'
let g:terminal_color_6 = '#458a8a'
let g:terminal_color_7 = '#b5b5aa'
let g:terminal_color_8 = '#8a8a81'
let g:terminal_color_9 = '#b56f45'
let g:terminal_color_10 = '#3b3b37'
let g:terminal_color_11 = '#75756e'
let g:terminal_color_12 = '#9e9e95'
let g:terminal_color_13 = '#f0f0e1'
let g:terminal_color_14 = '#ab6a7a'
let g:terminal_color_15 = '#fffff0'
endif
"=== OTHER PREPARATION ========================================================
" run theme-setting script if using terminal vim
if filereadable(expand('~/.nightshell/carbonized-dark'))
if !has('gui_running')
execute 'silent !/bin/sh $HOME/.nightshell/carbonized-dark'
endif
endif
" clear old theme
hi clear
syntax reset
" set new theme
set background=dark
augroup HaystackandroidThemeSet
autocmd!
autocmd CursorMoved * execute 'if !exists("colors_name") |
\ colorscheme carbonized-dark | endif'
augroup END
let colors_name = 'carbonized-dark'
" highlighting function
fun! <sid>h(x, gf, gb, cf, cb, a, s)
if a:gf != '' | exe 'hi ' . a:x . ' guifg=#' . a:gf | endif
if a:gb != '' | exe 'hi ' . a:x . ' guibg=#' . a:gb | endif
if a:cf != '' | exe 'hi ' . a:x . ' ctermfg=' . a:cf | endif
if a:cb != '' | exe 'hi ' . a:x . ' ctermbg=' . a:cb | endif
if a:a != '' | exe 'hi ' . a:x . ' gui=' . a:a . ' cterm=' . a:a | endif
if a:s != '' | exe 'hi ' . a:x . ' guisp=#' . a:s | endif
endfun
"=== BASIC HIGHLIGHTING =======================================================
" cursor + status line + selected tab
cal <sid>h('Cursor' , s:g0 , s:g9 , s:t0 , s:t9 , 'none' , '' )
cal <sid>h('StatusLine' , s:g0 , s:g9 , s:t0 , s:t9 , 'none' , '' )
cal <sid>h('StatusLineTerm' , s:g0 , s:g9 , s:t0 , s:t9 , 'none' , '' )
cal <sid>h('TabLineSel' , s:g0 , s:g9 , s:t0 , s:t9 , 'none' , '' )
cal <sid>h('TermCursor' , s:g0 , s:g9 , s:t0 , s:t9 , 'none' , '' )
" line numbers
cal <sid>h('CursorLineNr' , s:g0 , s:g3 , s:t0 , s:t3 , 'none' , '' )
cal <sid>h('LineNr' , s:g4 , s:g1 , s:t4 , s:t1 , 'none' , '' )
" basic text
cal <sid>h('Bold' , '' , '' , '' , '' , 'bold' , '' )
cal <sid>h('Directory' , s:g5 , '' , s:t5 , '' , 'bold' , '' )
cal <sid>h('Italic' , '' , '' , '' , '' , 'italic' , '' )
cal <sid>h('Normal' , s:g5 , s:g0 , s:t5 , s:t0 , 'none' , '' )
cal <sid>h('Underlined' , s:g5 , '' , s:t5 , '' , 'underline' , '' )
" commented-out text
cal <sid>h('Comment' , s:g3 , '' , s:t3 , '' , 'none' , '' )
cal <sid>h('Conceal' , s:g3 , '' , s:t3 , '' , 'none' , '' )
cal <sid>h('EndOfBuffer' , s:g3 , '' , s:t3 , '' , 'none' , '' )
cal <sid>h('Ignore' , s:g3 , '' , s:t3 , '' , 'none' , '' )
cal <sid>h('NonText' , s:g3 , '' , s:t3 , '' , 'none' , '' )
" highlighted background
cal <sid>h('ColorColumn' , '' , s:g1 , '' , s:t1 , 'none' , '' )
cal <sid>h('CursorColumn' , '' , s:g1 , '' , s:t1 , 'none' , '' )
cal <sid>h('CursorLine' , '' , s:g1 , '' , s:t1 , 'none' , '' )
cal <sid>h('QuickFixLine' , '' , s:g1 , '' , s:t1 , 'none' , '' )
cal <sid>h('StatusLineNC' , s:g5 , s:g1 , s:t5 , s:t1 , 'none' , '' )
cal <sid>h('StatusLineTermNC' , s:g5 , s:g1 , s:t5 , s:t1 , 'none' , '' )
cal <sid>h('TabLineFill' , '' , s:g1 , '' , s:t1 , 'none' , '' )
cal <sid>h('TermCursorNC' , '' , s:g1 , '' , s:t1 , 'none' , '' )
" muted text on highlighted background
cal <sid>h('DiffChange' , s:g4 , s:g1 , s:t4 , s:t1 , 'none' , '' )
cal <sid>h('FoldColumn' , s:g4 , s:g1 , s:t4 , s:t1 , 'none' , '' )
cal <sid>h('Folded' , s:g4 , s:g1 , s:t4 , s:t1 , 'none' , '' )
cal <sid>h('SignColumn' , s:g4 , s:g1 , s:t4 , s:t1 , 'none' , '' )
cal <sid>h('TabLine' , s:g4 , s:g1 , s:t4 , s:t1 , 'none' , '' )
cal <sid>h('VisualNOS' , s:g4 , s:g1 , s:t4 , s:t1 , 'none' , '' )
" strongly highlighted background
cal <sid>h('MatchParen' , s:g6 , s:g2 , s:t6 , s:t2 , 'none' , '' )
cal <sid>h('Pmenu' , s:g6 , s:g2 , s:t6 , s:t2 , 'none' , '' )
cal <sid>h('Visual' , s:g6 , s:g2 , s:t6 , s:t2 , 'none' , '' )
" selected menu item
cal <sid>h('PmenuSel' , s:g0 , s:g5 , s:t0 , s:t5 , 'none' , '' )
cal <sid>h('WildMenu' , s:g0 , s:g6 , s:t0 , s:t6 , 'none' , '' )
" solid lines
cal <sid>h('PmenuSbar' , s:g1 , s:g1 , s:t1 , s:t1 , 'none' , '' )
cal <sid>h('PmenuThumb' , s:g4 , s:g4 , s:t4 , s:t4 , 'none' , '' )
cal <sid>h('VertSplit' , s:g2 , s:g2 , s:t2 , s:t2 , 'none' , '' )
"=== ALERT/SYNTAX HIGHLIGHTING ================================================
" RED for warning elements
cal <sid>h('DiffDelete' , s:g8 , s:g0 , s:t8 , s:t0 , 'reverse' , '' )
cal <sid>h('Error' , s:g8 , s:g0 , s:t8 , s:t0 , 'reverse' , '' )
cal <sid>h('ErrorMsg' , s:g8 , s:g0 , s:t8 , s:t0 , 'none' , '' )
cal <sid>h('SpellBad' , '' , '' , s:t0 , s:t8 , 'undercurl' , s:g8)
cal <sid>h('TooLong' , s:g8 , '' , s:t8 , '' , 'none' , '' )
cal <sid>h('WarningMsg' , s:g8 , s:g0 , s:t8 , s:t0 , 'none' , '' )
" ORANGE for preliminary elements
cal <sid>h('Define' , s:g9 , '' , s:t9 , '' , 'none' , '' )
cal <sid>h('IncSearch' , s:g9 , s:g0 , s:t9 , s:t0 , 'reverse' , '' )
cal <sid>h('Include' , s:g9 , '' , s:t9 , '' , 'none' , '' )
cal <sid>h('Macro' , s:g9 , '' , s:t9 , '' , 'none' , '' )
cal <sid>h('PreCondit' , s:g9 , '' , s:t9 , '' , 'none' , '' )
cal <sid>h('PreProc' , s:g9 , '' , s:t9 , '' , 'none' , '' )
cal <sid>h('SpellCap' , '' , '' , s:t0 , s:t9 , 'undercurl' , s:g9)
cal <sid>h('Title' , s:g9 , '' , s:t9 , '' , 'none' , '' )
" YELLOW for highlighted elements
cal <sid>h('DiffText' , s:gA , s:g0 , s:tA , s:t0 , 'reverse' , '' )
cal <sid>h('Search' , s:gA , s:g0 , s:tA , s:t0 , 'reverse' , '' )
cal <sid>h('Todo' , s:gA , s:g0 , s:tA , s:t0 , 'reverse' , '' )
" GREEN for action elements
cal <sid>h('Conditional' , s:gB , '' , s:tB , '' , 'none' , '' )
cal <sid>h('DiffAdd' , s:gB , s:g0 , s:tB , s:t0 , 'reverse' , '' )
cal <sid>h('Exception' , s:gB , '' , s:tB , '' , 'none' , '' )
cal <sid>h('Keyword' , s:gB , '' , s:tB , '' , 'none' , '' )
cal <sid>h('Label' , s:gB , '' , s:tB , '' , 'none' , '' )
cal <sid>h('ModeMsg' , s:gB , '' , s:tB , '' , 'none' , '' )
cal <sid>h('MoreMsg' , s:gB , '' , s:tB , '' , 'none' , '' )
cal <sid>h('Operator' , s:gB , '' , s:tB , '' , 'none' , '' )
cal <sid>h('Question' , s:gB , '' , s:tB , '' , 'none' , '' )
cal <sid>h('Repeat' , s:gB , '' , s:tB , '' , 'none' , '' )
cal <sid>h('Statement' , s:gB , '' , s:tB , '' , 'none' , '' )
" TEAL for object types
cal <sid>h('SpellLocal' , '' , '' , s:t0 , s:tC , 'undercurl' , s:gC)
cal <sid>h('StorageClass' , s:gC , '' , s:tC , '' , 'none' , '' )
cal <sid>h('Structure' , s:gC , '' , s:tC , '' , 'none' , '' )
cal <sid>h('Type' , s:gC , '' , s:tC , '' , 'none' , '' )
cal <sid>h('Typedef' , s:gC , '' , s:tC , '' , 'none' , '' )
" BLUE for constants
cal <sid>h('Boolean' , s:gD , '' , s:tD , '' , 'none' , '' )
cal <sid>h('Character' , s:gD , '' , s:tD , '' , 'none' , '' )
cal <sid>h('Constant' , s:gD , '' , s:tD , '' , 'none' , '' )
cal <sid>h('Float' , s:gD , '' , s:tD , '' , 'none' , '' )
cal <sid>h('Number' , s:gD , '' , s:tD , '' , 'none' , '' )
cal <sid>h('String' , s:gD , '' , s:tD , '' , 'none' , '' )
" PURPLE for special text
cal <sid>h('Debug' , s:gE , '' , s:tE , '' , 'none' , '' )
cal <sid>h('Delimiter' , s:gE , '' , s:tE , '' , 'none' , '' )
cal <sid>h('Special' , s:gE , '' , s:tE , '' , 'none' , '' )
cal <sid>h('SpecialChar' , s:gE , '' , s:tE , '' , 'none' , '' )
cal <sid>h('SpecialComment' , s:gE , '' , s:tE , '' , 'none' , '' )
cal <sid>h('SpecialKey' , s:gE , '' , s:tE , '' , 'none' , '' )
cal <sid>h('SpellRare' , '' , '' , s:t0 , s:tE , 'undercurl' , s:gE)
cal <sid>h('Tag' , s:gE , '' , s:tE , '' , 'none' , '' )
" PINK for object names
cal <sid>h('Function' , s:gF , '' , s:tF , '' , 'none' , '' )
cal <sid>h('Identifier' , s:gF , '' , s:tF , '' , 'none' , '' )
"=== OPTIONS ==================================================================
" disable highlighted CursorLineNr
if exists('g:carbonized_dark_CursorLineNr')
if g:carbonized_dark_CursorLineNr == 'off'
cal <sid>h('CursorLineNr' , s:g4 , s:g1 , s:t4 , s:t1 , 'none' , '' )
endif
endif
" disable LineNr background altogether
if exists('g:carbonized_dark_LineNr')
if g:carbonized_dark_LineNr == 'off'
cal <sid>h('CursorLineNr' , s:g4 , s:g0 , s:t4 , s:t0 , 'none' , '' )
cal <sid>h('LineNr' , s:g4 , s:g0 , s:t4 , s:t0 , 'none' , '' )
endif
endif

View File

@@ -0,0 +1,243 @@
" carbonized-light, a vim colourscheme by haystackandroid
"
" generated with a theme template adapted from
" base16-vim (https://github.com/chriskempson/base16-vim)
" by Chris Kempson (http://chriskempson.com)
"=== SET COLOUR VARIABLES =====================================================
" GUI colours
let s:g0 = 'fffff0'
let s:g1 = 'f0f0e1'
let s:g2 = 'b5b5aa'
let s:g3 = '9e9e95'
let s:g4 = '8a8a81'
let s:g5 = '75756e'
let s:g6 = '3b3b37'
let s:g7 = '2b2b2b'
let s:g8 = 'f55050'
let s:g9 = 'e06a26'
let s:gA = 'd4ac35'
let s:gB = '219e21'
let s:gC = '1b9e9e'
let s:gD = '468dd4'
let s:gE = 'a26fbf'
let s:gF = 'd46a84'
" terminal colours
let s:t0 = '00'
let s:t3 = '08'
let s:t5 = '07'
let s:t7 = '15'
let s:t8 = '01'
let s:tA = '03'
let s:tB = '02'
let s:tC = '06'
let s:tD = '04'
let s:tE = '05'
let s:t1 = '10'
let s:t2 = '11'
let s:t4 = '12'
let s:t6 = '13'
let s:t9 = '09'
let s:tF = '14'
" neovim colours
if has('nvim')
let g:terminal_color_0 = '#fffff0'
let g:terminal_color_1 = '#f55050'
let g:terminal_color_2 = '#219e21'
let g:terminal_color_3 = '#d4ac35'
let g:terminal_color_4 = '#468dd4'
let g:terminal_color_5 = '#a26fbf'
let g:terminal_color_6 = '#1b9e9e'
let g:terminal_color_7 = '#75756e'
let g:terminal_color_8 = '#9e9e95'
let g:terminal_color_9 = '#e06a26'
let g:terminal_color_10 = '#f0f0e1'
let g:terminal_color_11 = '#b5b5aa'
let g:terminal_color_12 = '#8a8a81'
let g:terminal_color_13 = '#3b3b37'
let g:terminal_color_14 = '#d46a84'
let g:terminal_color_15 = '#2b2b2b'
endif
"=== OTHER PREPARATION ========================================================
" run theme-setting script if using terminal vim
if filereadable(expand('~/.nightshell/carbonized-light'))
if !has('gui_running')
execute 'silent !/bin/sh $HOME/.nightshell/carbonized-light'
endif
endif
" clear old theme
hi clear
syntax reset
" set new theme
set background=light
augroup HaystackandroidThemeSet
autocmd!
autocmd CursorMoved * execute 'if !exists("colors_name") |
\ colorscheme carbonized-light | endif'
augroup END
let colors_name = 'carbonized-light'
" highlighting function
fun! <sid>h(x, gf, gb, cf, cb, a, s)
if a:gf != '' | exe 'hi ' . a:x . ' guifg=#' . a:gf | endif
if a:gb != '' | exe 'hi ' . a:x . ' guibg=#' . a:gb | endif
if a:cf != '' | exe 'hi ' . a:x . ' ctermfg=' . a:cf | endif
if a:cb != '' | exe 'hi ' . a:x . ' ctermbg=' . a:cb | endif
if a:a != '' | exe 'hi ' . a:x . ' gui=' . a:a . ' cterm=' . a:a | endif
if a:s != '' | exe 'hi ' . a:x . ' guisp=#' . a:s | endif
endfun
"=== BASIC HIGHLIGHTING =======================================================
" cursor + status line + selected tab
cal <sid>h('Cursor' , s:g0 , s:g9 , s:t0 , s:t9 , 'none' , '' )
cal <sid>h('StatusLine' , s:g0 , s:g9 , s:t0 , s:t9 , 'none' , '' )
cal <sid>h('StatusLineTerm' , s:g0 , s:g9 , s:t0 , s:t9 , 'none' , '' )
cal <sid>h('TabLineSel' , s:g0 , s:g9 , s:t0 , s:t9 , 'none' , '' )
cal <sid>h('TermCursor' , s:g0 , s:g9 , s:t0 , s:t9 , 'none' , '' )
" line numbers
cal <sid>h('CursorLineNr' , s:g0 , s:g3 , s:t0 , s:t3 , 'none' , '' )
cal <sid>h('LineNr' , s:g4 , s:g1 , s:t4 , s:t1 , 'none' , '' )
" basic text
cal <sid>h('Bold' , '' , '' , '' , '' , 'bold' , '' )
cal <sid>h('Directory' , s:g5 , '' , s:t5 , '' , 'bold' , '' )
cal <sid>h('Italic' , '' , '' , '' , '' , 'italic' , '' )
cal <sid>h('Normal' , s:g5 , s:g0 , s:t5 , s:t0 , 'none' , '' )
cal <sid>h('Underlined' , s:g5 , '' , s:t5 , '' , 'underline' , '' )
" commented-out text
cal <sid>h('Comment' , s:g3 , '' , s:t3 , '' , 'none' , '' )
cal <sid>h('Conceal' , s:g3 , '' , s:t3 , '' , 'none' , '' )
cal <sid>h('EndOfBuffer' , s:g3 , '' , s:t3 , '' , 'none' , '' )
cal <sid>h('Ignore' , s:g3 , '' , s:t3 , '' , 'none' , '' )
cal <sid>h('NonText' , s:g3 , '' , s:t3 , '' , 'none' , '' )
" highlighted background
cal <sid>h('ColorColumn' , '' , s:g1 , '' , s:t1 , 'none' , '' )
cal <sid>h('CursorColumn' , '' , s:g1 , '' , s:t1 , 'none' , '' )
cal <sid>h('CursorLine' , '' , s:g1 , '' , s:t1 , 'none' , '' )
cal <sid>h('QuickFixLine' , '' , s:g1 , '' , s:t1 , 'none' , '' )
cal <sid>h('StatusLineNC' , s:g5 , s:g1 , s:t5 , s:t1 , 'none' , '' )
cal <sid>h('StatusLineTermNC' , s:g5 , s:g1 , s:t5 , s:t1 , 'none' , '' )
cal <sid>h('TabLineFill' , '' , s:g1 , '' , s:t1 , 'none' , '' )
cal <sid>h('TermCursorNC' , '' , s:g1 , '' , s:t1 , 'none' , '' )
" muted text on highlighted background
cal <sid>h('DiffChange' , s:g4 , s:g1 , s:t4 , s:t1 , 'none' , '' )
cal <sid>h('FoldColumn' , s:g4 , s:g1 , s:t4 , s:t1 , 'none' , '' )
cal <sid>h('Folded' , s:g4 , s:g1 , s:t4 , s:t1 , 'none' , '' )
cal <sid>h('SignColumn' , s:g4 , s:g1 , s:t4 , s:t1 , 'none' , '' )
cal <sid>h('TabLine' , s:g4 , s:g1 , s:t4 , s:t1 , 'none' , '' )
cal <sid>h('VisualNOS' , s:g4 , s:g1 , s:t4 , s:t1 , 'none' , '' )
" strongly highlighted background
cal <sid>h('MatchParen' , s:g6 , s:g2 , s:t6 , s:t2 , 'none' , '' )
cal <sid>h('Pmenu' , s:g6 , s:g2 , s:t6 , s:t2 , 'none' , '' )
cal <sid>h('Visual' , s:g6 , s:g2 , s:t6 , s:t2 , 'none' , '' )
" selected menu item
cal <sid>h('PmenuSel' , s:g0 , s:g5 , s:t0 , s:t5 , 'none' , '' )
cal <sid>h('WildMenu' , s:g0 , s:g6 , s:t0 , s:t6 , 'none' , '' )
" solid lines
cal <sid>h('PmenuSbar' , s:g1 , s:g1 , s:t1 , s:t1 , 'none' , '' )
cal <sid>h('PmenuThumb' , s:g4 , s:g4 , s:t4 , s:t4 , 'none' , '' )
cal <sid>h('VertSplit' , s:g2 , s:g2 , s:t2 , s:t2 , 'none' , '' )
"=== ALERT/SYNTAX HIGHLIGHTING ================================================
" RED for warning elements
cal <sid>h('DiffDelete' , s:g8 , s:g0 , s:t8 , s:t0 , 'reverse' , '' )
cal <sid>h('Error' , s:g8 , s:g0 , s:t8 , s:t0 , 'reverse' , '' )
cal <sid>h('ErrorMsg' , s:g8 , s:g0 , s:t8 , s:t0 , 'none' , '' )
cal <sid>h('SpellBad' , '' , '' , s:t0 , s:t8 , 'undercurl' , s:g8)
cal <sid>h('TooLong' , s:g8 , '' , s:t8 , '' , 'none' , '' )
cal <sid>h('WarningMsg' , s:g8 , s:g0 , s:t8 , s:t0 , 'none' , '' )
" ORANGE for preliminary elements
cal <sid>h('Define' , s:g9 , '' , s:t9 , '' , 'none' , '' )
cal <sid>h('IncSearch' , s:g9 , s:g0 , s:t9 , s:t0 , 'reverse' , '' )
cal <sid>h('Include' , s:g9 , '' , s:t9 , '' , 'none' , '' )
cal <sid>h('Macro' , s:g9 , '' , s:t9 , '' , 'none' , '' )
cal <sid>h('PreCondit' , s:g9 , '' , s:t9 , '' , 'none' , '' )
cal <sid>h('PreProc' , s:g9 , '' , s:t9 , '' , 'none' , '' )
cal <sid>h('SpellCap' , '' , '' , s:t0 , s:t9 , 'undercurl' , s:g9)
cal <sid>h('Title' , s:g9 , '' , s:t9 , '' , 'none' , '' )
" YELLOW for highlighted elements
cal <sid>h('DiffText' , s:gA , s:g6 , s:tA , s:t6 , 'reverse' , '' )
cal <sid>h('Search' , s:gA , s:g6 , s:tA , s:t6 , 'reverse' , '' )
cal <sid>h('Todo' , s:gA , s:g6 , s:tA , s:t6 , 'reverse' , '' )
" GREEN for action elements
cal <sid>h('Conditional' , s:gB , '' , s:tB , '' , 'none' , '' )
cal <sid>h('DiffAdd' , s:gB , s:g0 , s:tB , s:t0 , 'reverse' , '' )
cal <sid>h('Exception' , s:gB , '' , s:tB , '' , 'none' , '' )
cal <sid>h('Keyword' , s:gB , '' , s:tB , '' , 'none' , '' )
cal <sid>h('Label' , s:gB , '' , s:tB , '' , 'none' , '' )
cal <sid>h('ModeMsg' , s:gB , '' , s:tB , '' , 'none' , '' )
cal <sid>h('MoreMsg' , s:gB , '' , s:tB , '' , 'none' , '' )
cal <sid>h('Operator' , s:gB , '' , s:tB , '' , 'none' , '' )
cal <sid>h('Question' , s:gB , '' , s:tB , '' , 'none' , '' )
cal <sid>h('Repeat' , s:gB , '' , s:tB , '' , 'none' , '' )
cal <sid>h('Statement' , s:gB , '' , s:tB , '' , 'none' , '' )
" TEAL for object types
cal <sid>h('SpellLocal' , '' , '' , s:t0 , s:tC , 'undercurl' , s:gC)
cal <sid>h('StorageClass' , s:gC , '' , s:tC , '' , 'none' , '' )
cal <sid>h('Structure' , s:gC , '' , s:tC , '' , 'none' , '' )
cal <sid>h('Type' , s:gC , '' , s:tC , '' , 'none' , '' )
cal <sid>h('Typedef' , s:gC , '' , s:tC , '' , 'none' , '' )
" BLUE for constants
cal <sid>h('Boolean' , s:gD , '' , s:tD , '' , 'none' , '' )
cal <sid>h('Character' , s:gD , '' , s:tD , '' , 'none' , '' )
cal <sid>h('Constant' , s:gD , '' , s:tD , '' , 'none' , '' )
cal <sid>h('Float' , s:gD , '' , s:tD , '' , 'none' , '' )
cal <sid>h('Number' , s:gD , '' , s:tD , '' , 'none' , '' )
cal <sid>h('String' , s:gD , '' , s:tD , '' , 'none' , '' )
" PURPLE for special text
cal <sid>h('Debug' , s:gE , '' , s:tE , '' , 'none' , '' )
cal <sid>h('Delimiter' , s:gE , '' , s:tE , '' , 'none' , '' )
cal <sid>h('Special' , s:gE , '' , s:tE , '' , 'none' , '' )
cal <sid>h('SpecialChar' , s:gE , '' , s:tE , '' , 'none' , '' )
cal <sid>h('SpecialComment' , s:gE , '' , s:tE , '' , 'none' , '' )
cal <sid>h('SpecialKey' , s:gE , '' , s:tE , '' , 'none' , '' )
cal <sid>h('SpellRare' , '' , '' , s:t0 , s:tE , 'undercurl' , s:gE)
cal <sid>h('Tag' , s:gE , '' , s:tE , '' , 'none' , '' )
" PINK for object names
cal <sid>h('Function' , s:gF , '' , s:tF , '' , 'none' , '' )
cal <sid>h('Identifier' , s:gF , '' , s:tF , '' , 'none' , '' )
"=== OPTIONS ==================================================================
" disable highlighted CursorLineNr
if exists('g:carbonized_light_CursorLineNr')
if g:carbonized_light_CursorLineNr == 'off'
cal <sid>h('CursorLineNr' , s:g4 , s:g1 , s:t4 , s:t1 , 'none' , '' )
endif
endif
" disable LineNr background altogether
if exists('g:carbonized_light_LineNr')
if g:carbonized_light_LineNr == 'off'
cal <sid>h('CursorLineNr' , s:g4 , s:g0 , s:t4 , s:t0 , 'none' , '' )
cal <sid>h('LineNr' , s:g4 , s:g0 , s:t4 , s:t0 , 'none' , '' )
endif
endif

View File

@@ -0,0 +1,338 @@
" Vim Color File
" Name: challenger_deep.vim
" Version: 2.0
" Maintainer: github.com/MaxSt
" License: The MIT License (MIT)
" Based On: pencil by github.com/reedes and github.com/mattly
hi clear
if exists('syntax on')
syntax reset
endif
let g:colors_name='challenger_deep'
set background=dark
if ! exists("g:challenger_deep_termcolors")
let g:challenger_deep_termcolors = 256
endif
" not all terminals support italics properly. If yours does, opt-in.
if ! exists("g:challenger_deep_terminal_italics")
let g:challenger_deep_terminal_italics = 0
endif
" Colors
let s:black = { "gui": "#212121", "cterm": "0", "cterm16" : "8" }
let s:medium_gray = { "gui": "#767676", "cterm": "243", "cterm16" : "243" }
let s:white = { "gui": "#F3F3F3", "cterm": "15", "cterm16" : "15" }
let s:actual_white = { "gui": "#FFFFFF", "cterm": "231", "cterm16" : "231" }
let s:light_black = { "gui": "#424242", "cterm": "8", "cterm16" : "0" }
let s:lighter_black = { "gui": "#545454", "cterm": "240", "cterm16" : "240" }
" lighter shadows and darker grays
let s:subtle_black = { "gui": "#303030", "cterm": "236", "cterm16" : "236" }
let s:light_gray = { "gui": "#B2B2B2", "cterm": "249", "cterm16" : "249" }
let s:lighter_gray = { "gui": "#C6C6C6", "cterm": "251", "cterm16" : "251" }
" flat colors:
let s:asphalt = { "gui": "#1e1c31", "cterm": "233", "cterm16": "NONE"}
let s:asphalt_subtle= { "gui": "#100E23", "cterm": "232", "cterm16": "0"}
let s:dark_asphalt = { "gui": "#565575", "cterm": "236", "cterm16": "8"}
let s:red = { "gui": "#ff8080", "cterm": "204", "cterm16": "1"}
let s:dark_red = { "gui": "#ff5458", "cterm": "203", "cterm16": "9"}
let s:green = { "gui": "#95ffa4", "cterm": "120", "cterm16": "2"}
let s:dark_green = { "gui": "#62d196", "cterm": "119", "cterm16": "10"}
let s:yellow = { "gui": "#ffe9aa", "cterm": "228", "cterm16": "3"}
let s:dark_yellow = { "gui": "#ffb378", "cterm": "215", "cterm16": "11"}
let s:blue = { "gui": "#91ddff", "cterm": "159", "cterm16": "4"}
let s:dark_blue = { "gui": "#65b2ff", "cterm": "75", "cterm16": "12"}
let s:purple = { "gui": "#c991e1", "cterm": "141", "cterm16": "5"}
let s:dark_purple = { "gui": "#906cff", "cterm": "135", "cterm16": "13"}
let s:cyan = { "gui": "#aaffe4", "cterm": "122", "cterm16": "6"}
let s:dark_cyan = { "gui": "#63f2f1", "cterm": "121", "cterm16": "14"}
let s:clouds = { "gui": "#cbe3e7", "cterm": "253", "cterm16": "7"}
let s:dark_clouds = { "gui": "#a6b3cc", "cterm": "252", "cterm16": "15"}
let s:bg = s:asphalt
let s:bg_subtle = s:asphalt_subtle
let s:bg_dark = s:dark_asphalt
let s:norm = s:clouds
let s:norm_subtle = s:dark_clouds
let s:visual = s:bg_dark
let s:head_a = s:dark_blue
let s:head_b = s:blue
let s:head_c = s:dark_cyan
" shamelessly stolen from hemisu: https://github.com/noahfrederick/vim-hemisu/
function! s:h(group, style)
" Not all terminals support italics properly. If yours does, opt-in.
if g:challenger_deep_terminal_italics == 0 && has_key(a:style, "cterm") && a:style["cterm"] == "italic"
unlet a:style.cterm
endif
if g:challenger_deep_termcolors == 16
let l:ctermfg = (has_key(a:style, "fg") ? a:style.fg.cterm16 : "NONE")
let l:ctermbg = (has_key(a:style, "bg") ? a:style.bg.cterm16 : "NONE")
else
let l:ctermfg = (has_key(a:style, "fg") ? a:style.fg.cterm : "NONE")
let l:ctermbg = (has_key(a:style, "bg") ? a:style.bg.cterm : "NONE")
end
execute "highlight" a:group
\ "guifg=" (has_key(a:style, "fg") ? a:style.fg.gui : "NONE")
\ "guibg=" (has_key(a:style, "bg") ? a:style.bg.gui : "NONE")
\ "guisp=" (has_key(a:style, "sp") ? a:style.sp.gui : "NONE")
\ "gui=" (has_key(a:style, "gui") ? a:style.gui : "NONE")
\ "ctermfg=" . l:ctermfg
\ "ctermbg=" . l:ctermbg
\ "cterm=" (has_key(a:style, "cterm") ? a:style.cterm : "NONE")
endfunction
" common groups ================================================================
" (see `:h w18`)
call s:h("Normal", {"bg": s:bg, "fg": s:norm})
call s:h("Cursor", {"bg": s:blue, "fg": s:bg_dark})
call s:h("Comment", {"fg": s:medium_gray, "gui": "italic", "cterm": "italic"})
call s:h("Constant", {"fg": s:yellow})
hi! link String Constant
hi! link Character Constant
call s:h("Number", {"fg": s:dark_yellow})
hi! link Boolean Constant
hi! link Float Constant
call s:h("Identifier", {"fg": s:purple})
hi! link Function Identifier
call s:h("Label", {"fg": s:dark_blue})
hi! link Conditonal Statement
hi! link Exception Statement
call s:h("Operator", {"fg": s:dark_cyan})
hi! link Repeat Operator
call s:h("PreProc", {"fg": s:green})
hi! link Include PreProc
hi! link Define PreProc
hi! link Macro PreProc
hi! link PreCondit PreProc
call s:h("Keyword", {"fg": s:red})
hi! link Statement Keyword
call s:h("Type", {"fg": s:blue})
hi! link StorageClass Type
hi! link Structure Type
hi! link Typedef Type
call s:h("Special", {"fg": s:cyan})
hi! link SpecialChar Special
hi! link Tag Special
hi! link Delimiter Special
hi! link SpecialComment Special
hi! link Debug Special
call s:h("Underlined", {"fg": s:norm , "gui": "underline", "cterm": "underline"})
call s:h("Ignore", {"fg": s:bg })
call s:h("Error", {"fg": s:dark_red, "bg": s:bg_subtle , "gui": "bold" , "cterm": "bold" })
call s:h("Todo", {"fg": s:dark_yellow, "bg": s:bg_subtle, "gui": "bold" , "cterm": "bold" })
" ui chrome ====================================================================
" ordered according to `:help hitest.vim`
call s:h("SpecialKey", {"fg": s:blue})
call s:h("Boolean", {"fg": s:dark_yellow})
call s:h("Number", {"fg": s:dark_yellow})
call s:h("Float", {"fg": s:dark_yellow})
call s:h("NonText", {"fg": s:bg_dark})
call s:h("Directory", {"fg": s:purple})
call s:h("ErrorMsg", {"fg": s:dark_red})
call s:h("IncSearch", {"bg": s:red, "fg": s:clouds})
call s:h("Search", {"bg": s:bg_dark})
call s:h("MoreMsg", {"fg": s:medium_gray, "gui": "bold", "cterm": "bold"})
hi! link ModeMsg MoreMsg
call s:h("LineNr", {"fg": s:dark_asphalt, "bg": s:bg_subtle})
call s:h("CursorLineNr", {"bg": s:bg_subtle, "fg": s:blue, "gui": "bold"})
call s:h("Question", {"fg": s:red})
call s:h("StatusLine", {"bg": s:bg_dark})
call s:h("Conceal", {"fg": s:norm})
call s:h("StatusLineNC", {"bg": s:bg_dark, "fg": s:medium_gray})
call s:h("VertSplit", {"fg": s:bg_subtle})
call s:h("Title", {"fg": s:dark_blue})
call s:h("Visual", {"bg": s:visual})
call s:h("WarningMsg", {"fg": s:yellow})
call s:h("WildMenu", {"fg": s:bg_subtle, "bg": s:cyan})
call s:h("Folded", {"bg": s:purple, "fg": s:bg_subtle})
call s:h("FoldColumn", {"fg": s:yellow})
call s:h("DiffAdd", {"fg": s:green})
call s:h("DiffDelete", {"fg": s:red})
call s:h("DiffChange", {"fg": s:dark_yellow})
call s:h("DiffText", {"fg": s:dark_blue})
call s:h("SignColumn", {"fg": s:green})
if has("gui_running")
call s:h("SpellBad", {"gui": "underline", "sp": s:dark_red})
call s:h("SpellCap", {"gui": "underline", "sp": s:green})
call s:h("SpellRare", {"gui": "underline", "sp": s:red})
call s:h("SpellLocal", {"gui": "underline", "sp": s:dark_green})
else
call s:h("SpellBad", {"cterm": "underline", "fg": s:dark_red})
call s:h("SpellCap", {"cterm": "underline", "fg": s:green})
call s:h("SpellRare", {"cterm": "underline", "fg": s:red})
call s:h("SpellLocal", {"cterm": "underline", "fg": s:dark_green})
endif
call s:h("Pmenu", {"fg": s:norm, "bg": s:bg_subtle})
call s:h("PmenuSel", {"fg": s:norm, "bg": s:bg_dark})
call s:h("PmenuSbar", {"fg": s:norm, "bg": s:bg_dark})
call s:h("PmenuThumb", {"fg": s:norm, "bg": s:bg_dark})
call s:h("TabLine", {"fg": s:norm, "bg": s:bg_dark})
call s:h("TabLineSel", {"fg": s:norm, "bg": s:bg_subtle, "gui": "bold", "cterm": "bold"})
call s:h("TabLineFill", {"fg": s:norm, "bg": s:bg_dark})
call s:h("CursorColumn", {"bg": s:bg_subtle})
call s:h("CursorLine", {"bg": s:bg_subtle})
call s:h("ColorColumn", {"bg": s:bg_subtle})
" remainder of syntax highlighting
call s:h("MatchParen", {"bg": s:bg_subtle, "fg": s:purple, "gui": "bold", "cterm": "bold"})
call s:h("qfLineNr", {"fg": s:medium_gray})
" hi helpHyperTextJump guifg=#5FAFD7 ctermfg=74
" HTML syntax
hi! link htmlTag Special
hi! link htmlEndTag htmlTag
hi! link htmlTagName KeyWord
" html5 tags show up as htmlTagN
hi! link htmlTagN Keyword
" HTML content
call s:h("htmlH1", {"fg": s:head_a, "gui": "bold,italic", "cterm": "bold" })
call s:h("htmlH2", {"fg": s:head_a, "gui": "bold" , "cterm": "bold" })
call s:h("htmlH3", {"fg": s:head_b, "gui": "italic" , "cterm": "italic" })
call s:h("htmlH4", {"fg": s:head_b, "gui": "italic" , "cterm": "italic" })
call s:h("htmlH5", {"fg": s:head_c })
call s:h("htmlH6", {"fg": s:head_c })
call s:h("htmlLink", {"fg": s:blue , "gui": "underline" , "cterm": "underline"})
call s:h("htmlItalic", { "gui": "italic" , "cterm": "italic" })
call s:h("htmlBold", { "gui": "bold" , "cterm": "bold" })
call s:h("htmlBoldItalic",{ "gui": "bold,italic", "cterm": "bold" })
" hi htmlString guifg=#87875f guibg=NONE gui=NONE ctermfg=101 ctermbg=NONE cterm=NONE
" tpope/vim-markdown
call s:h("markdownBlockquote", {"fg": s:norm})
call s:h("markdownBold", {"fg": s:norm , "gui": "bold" , "cterm": "bold" })
call s:h("markdownBoldItalic", {"fg": s:norm , "gui": "bold,italic", "cterm": "bold" })
call s:h("markdownEscape", {"fg": s:norm})
call s:h("markdownH1", {"fg": s:head_a, "gui": "bold,italic", "cterm": "bold" })
call s:h("markdownH2", {"fg": s:head_a, "gui": "bold" , "cterm": "bold" })
call s:h("markdownH3", {"fg": s:head_a, "gui": "italic" , "cterm": "italic"})
call s:h("markdownH4", {"fg": s:head_a, "gui": "italic" , "cterm": "italic"})
call s:h("mckarkdownH5", {"fg": s:head_a})
call s:h("markdownH6", {"fg": s:head_a})
call s:h("markdownHeadingDelimiter", {"fg": s:norm})
call s:h("markdownHeadingRule", {"fg": s:norm})
call s:h("markdownId", {"fg": s:medium_gray})
call s:h("markdownIdDeclaration", {"fg": s:norm_subtle})
call s:h("markdownItalic", {"fg": s:norm , "gui": "italic" , "cterm": "italic"})
call s:h("markdownLinkDelimiter", {"fg": s:medium_gray})
call s:h("markdownLinkText", {"fg": s:norm})
call s:h("markdownLinkTextDelimiter", {"fg": s:medium_gray})
call s:h("markdownListMarker", {"fg": s:norm})
call s:h("markdownOrderedListMarker", {"fg": s:norm})
call s:h("markdownRule", {"fg": s:norm})
call s:h("markdownUrl", {"fg": s:medium_gray, "gui": "underline", "cterm": "underline"})
call s:h("markdownUrlDelimiter", {"fg": s:medium_gray})
call s:h("markdownUrlTitle", {"fg": s:norm})
call s:h("markdownUrlTitleDelimiter", {"fg": s:medium_gray})
call s:h("markdownCode", {"fg": s:norm})
call s:h("markdownCodeDelimiter", {"fg": s:norm})
" plasticboy/vim-markdown
call s:h("mkdBlockQuote", {"fg": s:norm})
call s:h("mkdDelimiter", {"fg": s:medium_gray})
call s:h("mkdID", {"fg": s:medium_gray})
call s:h("mkdLineContinue", {"fg": s:norm})
call s:h("mkdLink", {"fg": s:norm})
call s:h("mkdLinkDef", {"fg": s:medium_gray})
call s:h("mkdListItem", {"fg": s:norm})
call s:h("mkdNonListItemBlock", {"fg": s:norm}) " bug in syntax?
call s:h("mkdRule", {"fg": s:norm})
call s:h("mkdUrl", {"fg": s:medium_gray, "gui": "underline", "cterm": "underline"})
call s:h("mkdCode", {"fg": s:norm})
call s:h("mkdIndentCode", {"fg": s:norm})
" gabrielelana/vim-markdown
call s:h("markdownBlockquoteDelimiter", {"fg": s:norm})
call s:h("markdownInlineDelimiter", {"fg": s:norm})
call s:h("markdownItemDelimiter", {"fg": s:norm})
call s:h("markdownLinkReference", {"fg": s:medium_gray})
call s:h("markdownLinkText", {"fg": s:norm})
call s:h("markdownLinkTextContainer", {"fg": s:medium_gray})
call s:h("markdownLinkUrl", {"fg": s:medium_gray, "gui": "underline", "cterm": "underline"})
call s:h("markdownLinkUrlContainer", {"fg": s:medium_gray})
call s:h("markdownFencedCodeBlock", {"fg": s:norm})
call s:h("markdownInlineCode", {"fg": s:norm})
" mattly/vim-markdown-enhancements
call s:h("mmdFootnoteDelimiter", {"fg": s:medium_gray})
call s:h("mmdFootnoteMarker", {"fg": s:norm})
call s:h("mmdTableAlign", {"fg": s:norm})
call s:h("mmdTableDelimiter", {"fg": s:norm})
call s:h("mmdTableHeadDelimiter", {"fg": s:norm})
call s:h("mmdTableHeader", {"fg": s:norm})
call s:h("mmdTableCaptionDelimiter", {"fg": s:norm})
call s:h("mmdTableCaption", {"fg": s:norm})
" Textile content
" https://github.com/timcharper/textile.vim/blob/master/syntax/textile.vim
"call s:h("txtBold", {"fg": s:norm , "gui": "bold" , "cterm": "bold" })
"call s:h("txtEmphasis", {"fg": s:norm , "gui": "italic" , "cterm": "italic"})
" XML content
hi! link xmlTag htmlTag
hi! link xmlEndTag xmlTag
hi! link xmlTagName htmlTagName
" Signify
call s:h("SignifySignAdd",{"fg": s:green, "bg": s:bg_subtle})
call s:h("SignifySignDelete",{"fg": s:red, "bg": s:bg_subtle})
call s:h("SignifySignChange",{"fg": s:yellow, "bg": s:bg_subtle})
call s:h("SignifySignDeleteFirstLine",{"fg": s:red, "bg": s:bg_subtle})
" GitGutter
call s:h("GitGutterAdd",{"fg": s:green, "bg": s:bg_subtle})
call s:h("GitGutterDelete",{"fg": s:red, "bg": s:bg_subtle})
call s:h("GitGutterChange",{"fg": s:yellow, "bg": s:bg_subtle})
call s:h("GitGutterChangeDelete",{"fg": s:red, "bg": s:bg_subtle})
"nvim terminal colors
let g:terminal_color_0 = s:bg_dark.gui
let g:terminal_color_1 = s:red.gui
let g:terminal_color_2 = s:green.gui
let g:terminal_color_3 = s:yellow.gui
let g:terminal_color_4 = s:blue.gui
let g:terminal_color_5 = s:purple.gui
let g:terminal_color_6 = s:cyan.gui
let g:terminal_color_7 = s:clouds.gui
let g:terminal_color_8 = s:bg_subtle.gui
let g:terminal_color_9 = s:dark_red.gui
let g:terminal_color_10 = s:dark_green.gui
let g:terminal_color_11 = s:dark_yellow.gui
let g:terminal_color_12 = s:dark_blue.gui
let g:terminal_color_13 = s:dark_purple.gui
let g:terminal_color_14 = s:dark_cyan.gui
let g:terminal_color_15 = s:dark_clouds.gui

View File

@@ -0,0 +1,206 @@
" Deep Space - An intergalactically friendly color scheme for Vim
" Author: Brandon Siders
" License: MIT
highlight clear
if exists('syntax_on')
syntax reset
endif
set background=dark
let g:colors_name = 'deep-space'
let g:deepspace_italics = get(g:, 'deepspace_italics', 0)
" Color Palette
let s:gray1 = '#1b202a'
let s:gray2 = '#232936'
let s:gray3 = '#323c4d'
let s:gray4 = '#51617d'
let s:gray5 = '#9aa7bd'
let s:red = '#b15e7c'
let s:green = '#709d6c'
let s:yellow = '#b5a262'
let s:blue = '#608cc3'
let s:purple = '#8f72bf'
let s:cyan = '#56adb7'
let s:orange = '#b3785d'
let s:pink = '#c47ebd'
function! s:HL(group, fg, bg, attr)
let l:attr = a:attr
if !g:deepspace_italics && l:attr ==# 'italic'
let l:attr = 'none'
endif
if !empty(a:fg)
exec 'hi ' . a:group . ' guifg=' . a:fg
endif
if !empty(a:bg)
exec 'hi ' . a:group . ' guibg=' . a:bg
endif
if !empty(a:attr)
exec 'hi ' . a:group . ' gui=' . l:attr . ' cterm=' . l:attr
endif
endfun
" Editor Highlights
call s:HL('ColorColumn', '', s:gray4, '')
call s:HL('Cursor', s:gray2, s:gray5, '')
call s:HL('CursorColumn', '', s:gray2, '')
call s:HL('CursorLine', '', s:gray2, 'none')
call s:HL('Directory', s:blue, '', '')
call s:HL('DiffAdd', s:gray3, s:green, 'none')
call s:HL('DiffChange', s:gray3, s:yellow, 'none')
call s:HL('DiffDelete', s:gray3, s:red, 'none')
call s:HL('DiffText', s:gray3, s:blue, 'none')
call s:HL('ErrorMsg', s:red, s:gray1, 'bold')
call s:HL('VertSplit', s:gray4, s:gray1, 'none')
call s:HL('Folded', s:gray3, s:gray1, '')
call s:HL('FoldColumn', s:cyan, s:gray1, '')
call s:HL('SignColumn', s:gray2, s:gray1, '')
call s:HL('LineNr', s:gray3, '', '')
call s:HL('CursorLineNr', s:gray5, s:gray2, 'none')
call s:HL('MatchParen', s:gray2, s:pink, 'bold')
call s:HL('ModeMsg', s:green, '', '')
call s:HL('MoreMsg', s:green, '', '')
call s:HL('NonText', s:gray4, '', '')
call s:HL('Normal', s:gray5, s:gray1, 'none')
call s:HL('Pmenu', s:gray5, s:gray3, '')
call s:HL('PmenuSel', s:gray2, s:blue, '')
call s:HL('PmenuSbar', s:gray3, s:gray4, '')
call s:HL('PmenuThumb', s:gray4, s:gray5, '')
call s:HL('Question', s:green, '', '')
call s:HL('Search', s:gray1, s:yellow, '')
call s:HL('SpecialKey', s:gray4, '', '')
call s:HL('SpellCap', s:blue, '', 'undercurl')
call s:HL('SpellBad', s:red, '', 'undercurl')
call s:HL('StatusLine', s:gray5, s:gray3, 'none')
call s:HL('StatusLineNC', s:gray2, s:gray4, '')
call s:HL('TabLine', s:gray3, s:gray1, 'none')
call s:HL('TabLineFill', s:gray4, s:gray2, 'none')
call s:HL('TabLineSel', s:gray2, s:gray4, '')
call s:HL('Title', s:yellow, '', 'none')
call s:HL('Visual', s:gray5, s:gray3, '')
call s:HL('WarningMsg', s:red, '', '')
call s:HL('WildMenu', s:gray2, s:blue, '')
" Standard Syntax
call s:HL('Comment', s:gray4, '', 'italic')
call s:HL('Constant', s:red, '', '')
call s:HL('String', s:green, '', '')
call s:HL('Character', s:green, '', '')
call s:HL('Identifier', s:purple, '', 'none')
call s:HL('Function', s:yellow, '', '')
call s:HL('Statement', s:blue, '', 'none')
call s:HL('Operator', s:cyan, '', 'none')
call s:HL('PreProc', s:cyan, '', '')
call s:HL('Define', s:blue, '', '')
call s:HL('Macro', s:blue, '', '')
call s:HL('Type', s:orange, '', 'none')
call s:HL('Structure', s:blue, '', '')
call s:HL('Special', s:cyan, '', '')
call s:HL('Underlined', s:blue, '', 'none')
call s:HL('Error', s:red, s:gray1, 'bold')
call s:HL('Todo', s:pink, s:gray1, 'bold')
" CSS/Sass/Less
call s:HL('cssAttrComma', s:green, '', '')
call s:HL('cssAttributeSelector', s:green, '', '')
call s:HL('cssBraces', s:gray5, '', '')
call s:HL('cssClassName', s:orange, '', '')
call s:HL('cssClassNameDot', s:orange, '', '')
call s:HL('cssIdentifier', s:yellow, '', '')
call s:HL('cssImportant', s:purple, '', '')
call s:HL('cssMediaType', s:purple, '', '')
call s:HL('cssProp', s:gray5, '', '')
call s:HL('cssSelectorOp', s:blue, '', '')
call s:HL('cssSelectorOp2', s:blue, '', '')
call s:HL('sassAmpersand', s:blue, '', '')
call s:HL('sassClass', s:orange, '', '')
call s:HL('sassClassChar', s:orange, '', '')
call s:HL('lessAmpersand', s:blue, '', '')
call s:HL('lessClass', s:orange, '', '')
call s:HL('lessClassChar', s:orange, '', '')
call s:HL('lessFunction', s:yellow, '', '')
call s:HL('lessCssAttribute', s:gray5, '', '')
" Git
call s:HL('gitcommitComment', s:gray4, '', 'italic')
call s:HL('gitcommitOnBranch', s:gray4, '', 'italic')
call s:HL('gitcommitFile', s:cyan, '', '')
call s:HL('gitcommitHeader', s:purple, '', '')
call s:HL('gitcommitBranch', s:orange, '', '')
call s:HL('gitcommitUnmerged', s:green, '', '')
call s:HL('gitcommitUntrackedFile', s:cyan, '', '')
call s:HL('gitcommitSelectedFile', s:green, '', '')
call s:HL('gitcommitDiscardedFile', s:red, '', '')
call s:HL('gitcommitUnmergedFile', s:yellow, '', '')
call s:HL('gitcommitSelectedType', s:green, '', '')
call s:HL('gitcommitDiscardedType', s:red, '', '')
hi link gitcommitNoBranch gitcommitBranch
hi link gitcommitUntracked gitcommitComment
hi link gitcommitDiscarded gitcommitComment
hi link gitcommitSelected gitcommitComment
hi link gitcommitDiscardedArrow gitcommitDiscardedFile
hi link gitcommitSelectedArrow gitcommitSelectedFile
hi link gitcommitUnmergedArrow gitcommitUnmergedFile
" HTML
call s:HL('htmlArg', s:yellow, '', '')
call s:HL('htmlEndTag', s:purple, '', '')
call s:HL('htmlTag', s:purple, '', '')
call s:HL('htmlTagName', s:blue, '', '')
call s:HL('htmlTitle', s:gray5, '', '')
" Javascript
call s:HL('javaScriptBraces', s:gray5, '', '')
call s:HL('javaScriptIdentifier', s:blue, '', '')
call s:HL('javaScriptFunction', s:blue, '', '')
call s:HL('javaScriptNumber', s:red, '', '')
call s:HL('javaScriptReserved', s:blue, '', '')
call s:HL('javaScriptRequire', s:cyan, '', '')
call s:HL('javaScriptNull', s:red, '', '')
" Ruby
call s:HL('rubyBlockParameterList', s:purple, '', '')
call s:HL('rubyInterpolationDelimiter', s:purple, '', '')
call s:HL('rubyStringDelimiter', s:green, '', '')
call s:HL('rubyRegexpSpecial', s:cyan, '', '')
" Vim-Fugitive
call s:HL('diffAdded', s:green, '', '')
call s:HL('diffRemoved', s:red, '', '')
" Vim-Gittgutter
hi link GitGutterAdd SignifySignAdd
hi link GitGutterChange SignifySignChange
hi link GitGutterDelete SignifySignDelete
call s:HL('GitGutterChangeDelete', s:orange, '', '')
" Vim-Signify
call s:HL('SignifySignAdd', s:green, '', '')
call s:HL('SignifySignChange', s:yellow, '', '')
call s:HL('SignifySignDelete', s:red, '', '')
if has("nvim") && exists("&termguicolors") && &termguicolors
let g:terminal_color_0 = "#1b202a"
let g:terminal_color_8 = "#232936"
let g:terminal_color_1 = "#b15e7c"
let g:terminal_color_9 = "#b3785d"
let g:terminal_color_2 = "#709d6c"
let g:terminal_color_10 = "#709d6c"
let g:terminal_color_3 = "#b5a262"
let g:terminal_color_11 = "#d5b875"
let g:terminal_color_4 = "#608cc3"
let g:terminal_color_12 = "#608cc3"
let g:terminal_color_5 = "#8f72bf"
let g:terminal_color_13 = "#c47ebd"
let g:terminal_color_6 = "#56adb7"
let g:terminal_color_14 = "#51617d"
let g:terminal_color_7 = "#323c4d"
let g:terminal_color_15 = "#9aa7bd"
endif

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,278 @@
" dogrun: Take a sweet dog with you.
"
" Author: wadackel
" License: MIT
" Copyright (c) 2020 wadackel
if &background !=# 'dark'
set background=dark
endif
if exists('g:colors_name')
hi clear
endif
if exists('g:syntax_on')
syntax reset
endif
let g:colors_name = 'dogrun'
hi Normal guifg=#9ea3c0 ctermfg=146 guibg=#222433 ctermbg=235
hi Delimiter guifg=#8085a6 ctermfg=103
hi NonText guifg=#363859 ctermfg=60 guibg=NONE ctermbg=NONE
hi VertSplit guifg=#32364c ctermfg=237 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE
hi LineNr guifg=#32364c ctermfg=237 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE
hi EndOfBuffer guifg=#363859 ctermfg=60 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE
hi Comment guifg=#545c8c ctermfg=60 gui=NONE cterm=NONE
hi Cursor guifg=#222433 ctermfg=235 guibg=#9ea3c0 ctermbg=146
hi CursorIM guifg=#222433 ctermfg=235 guibg=#9ea3c0 ctermbg=146
hi SignColumn guifg=#545c8c ctermfg=60 guibg=NONE ctermbg=NONE
hi ColorColumn guibg=#2a2c3f ctermbg=236 gui=NONE cterm=NONE
hi CursorColumn guibg=#2a2c3f ctermbg=236 gui=NONE cterm=NONE
hi CursorLine guibg=#2a2c3f ctermbg=236 gui=NONE cterm=NONE
hi CursorLineNr guifg=#535f98 ctermfg=61 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE
hi Conceal guifg=#ac8b83 ctermfg=138 guibg=#222433 ctermbg=235 gui=NONE cterm=NONE
hi NormalFloat guifg=#9ea3c0 ctermfg=146 guibg=#32364c ctermbg=237 gui=NONE cterm=NONE
hi Folded guifg=#666c99 ctermfg=60 guibg=#32364c ctermbg=237 gui=NONE cterm=NONE
hi FoldColumn guifg=#32364c ctermfg=237 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE
hi MatchParen guibg=#2f3147 ctermbg=236
hi Directory guifg=#a8a384 ctermfg=144
hi Underlined gui=underline cterm=underline
hi String guifg=#7cbe8c ctermfg=108
hi Statement guifg=#929be5 ctermfg=104 gui=NONE cterm=NONE
hi Label guifg=#929be5 ctermfg=104 gui=NONE cterm=NONE
hi Function guifg=#929be5 ctermfg=104 gui=NONE cterm=NONE
hi Constant guifg=#73c1a9 ctermfg=79
hi Boolean guifg=#73c1a9 ctermfg=79
hi Number guifg=#73c1a9 ctermfg=79
hi Float guifg=#73c1a9 ctermfg=79
hi Title guifg=#a8a384 ctermfg=144 gui=bold cterm=bold
hi Keyword guifg=#ac8b83 ctermfg=138
hi Identifier guifg=#ac8b83 ctermfg=138
hi Exception guifg=#a8a384 ctermfg=144
hi Type guifg=#a8a384 ctermfg=144 gui=NONE cterm=NONE
hi TypeDef guifg=#a8a384 ctermfg=144 gui=NONE cterm=NONE
hi PreProc guifg=#929be5 ctermfg=104
hi Special guifg=#b871b8 ctermfg=133
hi SpecialKey guifg=#b871b8 ctermfg=133
hi SpecialChar guifg=#b871b8 ctermfg=133
hi SpecialComment guifg=#b871b8 ctermfg=133
hi Error guifg=#dc6f79 ctermfg=167 guibg=#222433 ctermbg=235 gui=bold cterm=bold
hi ErrorMsg guifg=#dc6f79 ctermfg=167 guibg=NONE ctermbg=NONE gui=bold cterm=bold
hi WarningMsg guifg=#ac8b83 ctermfg=138 gui=bold cterm=bold
hi MoreMsg guifg=#73c1a9 ctermfg=79
hi Todo guifg=#a8a384 ctermfg=144 guibg=NONE ctermbg=NONE gui=bold cterm=bold
hi Pmenu guifg=#9ea3c0 ctermfg=146 guibg=#32364c ctermbg=237
hi PmenuSel guifg=#9ea3c0 ctermfg=146 guibg=#424865 ctermbg=60
hi PmenuSbar guibg=#292c3f ctermbg=236
hi PmenuThumb guibg=#464f7f ctermbg=60
hi Visual guibg=#363e7f ctermbg=61 gui=NONE cterm=NONE
hi Search guifg=#494f8b ctermfg=60 guibg=#5d6ad8 ctermbg=62
hi IncSearch guifg=#494f8b ctermfg=60 guibg=#5d6ad8 ctermbg=62
hi Question guifg=#73c1a9 ctermfg=79 gui=bold cterm=bold
hi WildMenu guifg=#222433 ctermfg=235 guibg=#929be5 ctermbg=104
hi SpellBad guifg=#dc6f79 ctermfg=167 gui=underline cterm=underline
hi SpellCap gui=underline cterm=underline
hi SpellLocal guifg=#dc6f79 ctermfg=167 gui=underline cterm=underline
hi SpellRare guifg=#a8a384 ctermfg=144 gui=underline cterm=underline
hi DiffAdd guibg=#1c394b ctermbg=237 gui=bold cterm=bold
hi DiffChange guibg=#26463b ctermbg=23 gui=bold cterm=bold
hi DiffDelete guifg=#d2d9ff ctermfg=189 guibg=#5e3e5e ctermbg=96 gui=bold cterm=bold
hi DiffText guibg=#28795c ctermbg=29 gui=NONE cterm=NONE
hi QuickFixLine guifg=#9ea3c0 ctermfg=146 guibg=#363e7f ctermbg=61
hi StatusLine guifg=#757aa5 ctermfg=103 guibg=#2a2c3f ctermbg=236 gui=bold cterm=bold
hi StatusLineTerm guifg=#757aa5 ctermfg=103 guibg=#2a2c3f ctermbg=236 gui=bold cterm=bold
hi StatusLineNC guifg=#4b4e6d ctermfg=60 guibg=#282a3a ctermbg=235 gui=NONE cterm=NONE
hi StatusLineTermNC guifg=#4b4e6d ctermfg=60 guibg=#282a3a ctermbg=235 gui=NONE cterm=NONE
hi TabLine guifg=#757aa5 ctermfg=103 guibg=#2a2c3f ctermbg=236 gui=NONE cterm=NONE
hi TabLineFill guifg=#757aa5 ctermfg=103 guibg=#2a2c3f ctermbg=236 gui=NONE cterm=NONE
hi TabLineSel guifg=#222433 ctermfg=235 guibg=#929be5 ctermbg=104 gui=bold cterm=bold
hi qfFileName guifg=#73c1a9 ctermfg=79
hi qfLineNr guifg=#545c8c ctermfg=60
hi TSConstBuiltin guifg=#73c1a9 ctermfg=79
hi TSString guifg=#7cbe8c ctermfg=108
hi TSStringRegex guifg=#7cbe8c ctermfg=108
hi TSStringEscape guifg=#b871b8 ctermfg=133
hi TSParameter guifg=#929be5 ctermfg=104
hi TSParameterReference guifg=#929be5 ctermfg=104
hi TSField guifg=#929be5 ctermfg=104
hi TSProperty guifg=#929be5 ctermfg=104
hi TSConstructor guifg=#9ea3c0 ctermfg=146
hi TSKeyword guifg=#b871b8 ctermfg=133
hi TSType guifg=#ac8b83 ctermfg=138
hi TSTypeBuiltin guifg=#ac8b83 ctermfg=138
hi TSStructue guifg=#b871b8 ctermfg=133
hi TSInclude guifg=#929be5 ctermfg=104
hi TSVariableBuiltin guifg=#ac8b83 ctermfg=138
hi htmlTag guifg=#8085a6 ctermfg=103
hi htmlEndTag guifg=#8085a6 ctermfg=103
hi htmlSpecialTagName guifg=#ac8b83 ctermfg=138
hi htmlArg guifg=#8085a6 ctermfg=103
hi jsonQuote guifg=#8085a6 ctermfg=103
hi yamlBlockMappingKey guifg=#929be5 ctermfg=104
hi yamlAnchor guifg=#b871b8 ctermfg=133
hi pythonStatement guifg=#ac8b83 ctermfg=138
hi pythonBuiltin guifg=#59b6b6 ctermfg=73
hi pythonRepeat guifg=#ac8b83 ctermfg=138
hi pythonOperator guifg=#ac8b83 ctermfg=138
hi pythonDecorator guifg=#b871b8 ctermfg=133
hi pythonDecoratorName guifg=#b871b8 ctermfg=133
hi zshVariableDef guifg=#929be5 ctermfg=104
hi zshFunction guifg=#929be5 ctermfg=104
hi zshKSHFunction guifg=#929be5 ctermfg=104
hi cPreCondit guifg=#ac8b83 ctermfg=138
hi cIncluded guifg=#b871b8 ctermfg=133
hi cStorageClass guifg=#ac8b83 ctermfg=138
hi cppStructure guifg=#b871b8 ctermfg=133
hi cppSTLnamespace guifg=#ac8b83 ctermfg=138
hi csStorage guifg=#ac8b83 ctermfg=138
hi csModifier guifg=#929be5 ctermfg=104
hi csClass guifg=#929be5 ctermfg=104
hi csClassType guifg=#b871b8 ctermfg=133
hi csNewType guifg=#ac8b83 ctermfg=138
hi rubyConstant guifg=#ac8b83 ctermfg=138
hi rubySymbol guifg=#929be5 ctermfg=104
hi rubyBlockParameter guifg=#929be5 ctermfg=104
hi rubyClassName guifg=#b871b8 ctermfg=133
hi rubyInstanceVariable guifg=#b871b8 ctermfg=133
hi mkdHeading guifg=#545c8c ctermfg=60
hi mkdLink guifg=#929be5 ctermfg=104
hi mkdCode guifg=#929be5 ctermfg=104
hi mkdCodeStart guifg=#929be5 ctermfg=104
hi mkdCodeEnd guifg=#929be5 ctermfg=104
hi mkdCodeDelimiter guifg=#929be5 ctermfg=104
hi typescriptImport guifg=#929be5 ctermfg=104
hi typescriptDocRef guifg=#545c8c ctermfg=60 gui=underline cterm=underline
hi mkdHeading guifg=#545c8c ctermfg=60
hi mkdLink guifg=#929be5 ctermfg=104
hi mkdCode guifg=#929be5 ctermfg=104
hi mkdCodeStart guifg=#929be5 ctermfg=104
hi mkdCodeEnd guifg=#929be5 ctermfg=104
hi mkdCodeDelimiter guifg=#929be5 ctermfg=104
hi tomlTable guifg=#929be5 ctermfg=104
hi rustModPath guifg=#929be5 ctermfg=104
hi rustTypedef guifg=#929be5 ctermfg=104
hi rustStructure guifg=#929be5 ctermfg=104
hi rustMacro guifg=#929be5 ctermfg=104
hi rustExternCrate guifg=#929be5 ctermfg=104
hi graphqlStructure guifg=#b871b8 ctermfg=133
hi graphqlDirective guifg=#b871b8 ctermfg=133
hi graphqlName guifg=#929be5 ctermfg=104
hi graphqlTemplateString guifg=#9ea3c0 ctermfg=146
hi vimfilerOpenedFile guifg=#6f78be ctermfg=104
hi vimfilerClosedFile guifg=#6f78be ctermfg=104
hi vimfilerNonMark guifg=#73c1a9 ctermfg=79
hi vimfilerLeaf guifg=#73c1a9 ctermfg=79
hi DefxIconsMarkIcon guifg=#6f78be ctermfg=104 gui=NONE cterm=NONE
hi DefxIconsDirectory guifg=#6f78be ctermfg=104 gui=NONE cterm=NONE
hi DefxIconsParentDirectory guifg=#6f78be ctermfg=104 gui=NONE cterm=NONE
hi DefxIconsSymlinkDirectory guifg=#73c1a9 ctermfg=79 gui=NONE cterm=NONE
hi DefxIconsOpenedTreeIcon guifg=#6f78be ctermfg=104 gui=NONE cterm=NONE
hi DefxIconsNestedTreeIcon guifg=#6f78be ctermfg=104 gui=NONE cterm=NONE
hi DefxIconsClosedTreeIcon guifg=#6f78be ctermfg=104 gui=NONE cterm=NONE
hi Defx_git_Untracked guifg=#929be5 ctermfg=104 gui=NONE cterm=NONE
hi Defx_git_Ignored guifg=#545c8c ctermfg=60 gui=NONE cterm=NONE
hi Defx_git_Unknown guifg=#545c8c ctermfg=60 gui=NONE cterm=NONE
hi Defx_git_Renamed guifg=#26463b ctermfg=23
hi Defx_git_Modified guifg=#26463b ctermfg=23
hi Defx_git_Unmerged guifg=#b871b8 ctermfg=133
hi Defx_git_Deleted guifg=#5e3e5e ctermfg=96
hi Defx_git_Staged guifg=#73c1a9 ctermfg=79
hi FernBranchSymbol guifg=#6f78be ctermfg=104 gui=NONE cterm=NONE
hi FernBranchText guifg=#929be5 ctermfg=104 gui=NONE cterm=NONE
hi FernLeafSymbol guifg=#548e7c ctermfg=66 gui=NONE cterm=NONE
hi FernLeafText guifg=#9ea3c0 ctermfg=146 gui=NONE cterm=NONE
hi FernMarked guifg=#59b6b6 ctermfg=73 gui=NONE cterm=NONE
hi GitGutterAdd guifg=#7cbe8c ctermfg=108
hi GitGutterChange guifg=#a8a384 ctermfg=144
hi GitGutterDelete guifg=#b871b8 ctermfg=133
hi GitGutterChangeDelete guifg=#28795c ctermfg=29
hi fugitiveHeader guifg=#73c1a9 ctermfg=79 gui=bold cterm=bold
hi ALEWarningSign guifg=#ac8b83 ctermfg=138 gui=bold cterm=bold
hi ALEInfoSign guifg=#82dabf ctermfg=115 gui=NONE cterm=NONE
hi CocErrorSign guifg=#dc6f79 ctermfg=167 gui=bold cterm=bold
hi CocWarningSign guifg=#ac8b83 ctermfg=138 gui=bold cterm=bold
hi CocInfoSign guifg=#82dabf ctermfg=115 gui=bold cterm=bold
hi CocHintSign guifg=#82dabf ctermfg=115 gui=bold cterm=bold
hi CleverFChar guifg=#494f8b ctermfg=60 guibg=#5d6ad8 ctermbg=62 gui=underline cterm=underline
hi ConflictMarkerBegin guibg=#548e7c ctermbg=66 gui=bold cterm=bold
hi ConflictMarkerOurs guibg=#26463b ctermbg=23 gui=NONE cterm=NONE
hi ConflictMarkerTheirs guibg=#1c394b ctermbg=237 gui=NONE cterm=NONE
hi ConflictMarkerEnd guibg=#417593 ctermbg=31 gui=bold cterm=bold
hi ConflictMarkerSeparator guifg=#363859 ctermfg=60 gui=bold cterm=bold
hi EasyMotionTarget guifg=#a8a384 ctermfg=144 gui=bold cterm=bold
hi EasyMotionShade guifg=#545c8c ctermfg=60 guibg=#222433 ctermbg=235
hi EasyMotionIncCursor guifg=#9ea3c0 ctermfg=146 guibg=#222433 ctermbg=235
if has("nvim")
let g:terminal_color_0 = '#111219'
let g:terminal_color_1 = '#c2616b'
let g:terminal_color_2 = '#7cbe8c'
let g:terminal_color_3 = '#8e8a6f'
let g:terminal_color_4 = '#4c89ac'
let g:terminal_color_5 = '#6c75cb'
let g:terminal_color_6 = '#73c1a9'
let g:terminal_color_7 = '#9ea3c0'
let g:terminal_color_8 = '#545c8c'
let g:terminal_color_9 = '#b871b8'
let g:terminal_color_10 = '#7cbe8c'
let g:terminal_color_11 = '#a8a384'
let g:terminal_color_12 = '#589ec6'
let g:terminal_color_13 = '#929be5'
let g:terminal_color_14 = '#59b6b6'
let g:terminal_color_15 = '#9ea3c0'
let g:terminal_color_background = g:terminal_color_0
let g:terminal_color_foreground = g:terminal_color_7
endif
let g:defx_icons_gui_colors = {
\ 'brown': 'a9323d',
\ 'aqua': '5b9c9c',
\ 'blue': '5d8fac',
\ 'darkBlue': '557486',
\ 'purple': '6f78be',
\ 'lightPurple': '959acb',
\ 'red': 'c2616b',
\ 'beige': '686765',
\ 'yellow': '8e8a6f',
\ 'orange': 'c59f96',
\ 'darkOrange': '79564f',
\ 'pink': '9e619e',
\ 'salmon': 'ab57ab',
\ 'green': '63976f',
\ 'lightGreen': '5aa46c',
\ 'white': '898da6',
\ }
let g:defx_icons_term_colors = {
\ 'brown': 131,
\ 'aqua': 73,
\ 'blue': 67,
\ 'darkBlue': 67,
\ 'purple': 104,
\ 'lightPurple': 103,
\ 'red': 131,
\ 'beige': 242,
\ 'yellow': 101,
\ 'orange': 181,
\ 'darkOrange': 95,
\ 'pink': 133,
\ 'salmon': 133,
\ 'green': 65,
\ 'lightGreen': 71,
\ 'white': 103,
\ }
let g:fzf_colors = {
\ 'fg': ['fg', 'Normal'],
\ 'bg': ['bg', 'Normal'],
\ 'hl': ['fg', 'Comment'],
\ 'fg+': ['fg', 'CursorLine'],
\ 'bg+': ['bg', 'CursorLine'],
\ 'hl+': ['fg', 'Statement'],
\ 'info': ['fg', 'Comment'],
\ 'gutter': ['bg', 'Normal'],
\ 'border': ['fg', 'Ignore'],
\ 'prompt': ['fg', 'Label'],
\ 'pointer': ['fg', 'Boolean'],
\ 'marker': ['fg', 'Boolean'],
\ 'spinner': ['fg', 'Title'],
\ 'header': ['fg', 'Comment'],
\ }

View File

@@ -0,0 +1,325 @@
" 'flattened_dark.vim' -- Vim color scheme.
" Maintainer: Romain Lafourcade (romainlafourcade@gmail.com)
" Description: Dark Solarized, without the bullshit.
hi clear
if exists('syntax_on')
syntax reset
endif
let colors_name = 'flattened_dark'
hi Normal ctermfg=12 ctermbg=8 guifg=#839496 guibg=#002b36 gui=NONE
set background=dark
hi ColorColumn cterm=NONE ctermbg=0 guibg=#073642 gui=NONE
hi Comment cterm=NONE ctermfg=10 guifg=#586e75 gui=italic
hi ConId cterm=NONE ctermfg=3 guifg=#b58900 gui=NONE
hi Conceal cterm=NONE ctermfg=4 ctermbg=8 guifg=#268bd2 guibg=#002b36 gui=NONE
hi Constant cterm=NONE ctermfg=6 guifg=#2aa198 gui=NONE
hi Cursor cterm=NONE ctermfg=8 ctermbg=12 guifg=#002b36 guibg=#839496 gui=NONE
hi CursorColumn cterm=NONE ctermbg=0 guibg=#073642 gui=NONE
hi CursorLine cterm=NONE ctermbg=0 guibg=#073642 guisp=#93a1a1 gui=NONE
hi CursorLineNr cterm=NONE ctermfg=3 guifg=#b58900 gui=NONE
hi DiffAdd cterm=NONE ctermfg=2 ctermbg=0 guifg=#719e07 guibg=#073642 guisp=#719e07 gui=NONE
hi DiffChange cterm=NONE ctermfg=3 ctermbg=0 guifg=#b58900 guibg=#073642 guisp=#b58900 gui=NONE
hi DiffDelete cterm=NONE ctermfg=1 ctermbg=0 guifg=#dc322f guibg=#073642 gui=NONE
hi DiffText cterm=NONE ctermfg=4 ctermbg=0 guifg=#268bd2 guibg=#073642 guisp=#268bd2 gui=NONE
hi Directory cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
hi Error cterm=NONE ctermfg=1 ctermbg=NONE guifg=#dc322f guibg=#002b36 gui=NONE
hi ErrorMsg cterm=reverse ctermfg=1 ctermbg=NONE guifg=#dc322f guibg=NONE gui=reverse
hi FoldColumn cterm=NONE ctermfg=12 ctermbg=0 guifg=#839496 guibg=#073642 gui=NONE
hi Folded cterm=NONE,underline ctermfg=12 ctermbg=0 guifg=#839496 guibg=#073642 guisp=#002b36 gui=NONE
hi HelpExample cterm=NONE ctermfg=14 guifg=#93a1a1 gui=NONE
hi Identifier cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
hi IncSearch cterm=standout ctermfg=9 guifg=#cb4b16 gui=standout
hi LineNr cterm=NONE ctermfg=10 ctermbg=0 guifg=#586e75 guibg=#073642 gui=NONE
hi MatchParen cterm=NONE ctermfg=1 ctermbg=10 guifg=#dc322f guibg=#586e75 gui=NONE
hi ModeMsg cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
hi MoreMsg cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
hi NonText cterm=NONE ctermfg=11 guifg=#657b83 gui=NONE
hi Pmenu cterm=reverse ctermfg=12 ctermbg=0 guifg=#839496 guibg=#073642 gui=reverse
hi PmenuSbar cterm=reverse ctermfg=7 ctermbg=12 guifg=#eee8d5 guibg=#839496 gui=reverse
hi PmenuSel cterm=reverse ctermfg=10 ctermbg=7 guifg=#586e75 guibg=#eee8d5 gui=reverse
hi PmenuThumb cterm=reverse ctermfg=12 ctermbg=8 guifg=#839496 guibg=#002b36 gui=reverse
hi PreProc cterm=NONE ctermfg=1 guifg=#cb4b16 gui=NONE
hi Question cterm=NONE ctermfg=6 guifg=#2aa198 gui=NONE
hi Search cterm=reverse ctermfg=3 ctermbg=NONE guifg=#b58900 guibg=NONE gui=reverse
hi SignColumn cterm=NONE ctermfg=12 ctermbg=NONE guifg=#839496 guibg=NONE gui=NONE
hi Special cterm=NONE ctermfg=1 guifg=#dc322f gui=NONE
hi SpecialKey cterm=NONE ctermfg=11 ctermbg=0 guifg=#657b83 guibg=#073642 gui=NONE
hi SpellBad cterm=undercurl ctermfg=NONE ctermbg=NONE guisp=#dc322f gui=undercurl
hi SpellCap cterm=undercurl ctermfg=NONE ctermbg=NONE guisp=#6c71c4 gui=undercurl
hi SpellLocal cterm=undercurl ctermfg=NONE ctermbg=NONE guisp=#b58900 gui=undercurl
hi SpellRare cterm=undercurl ctermfg=NONE ctermbg=NONE guisp=#2aa198 gui=undercurl
hi Statement cterm=NONE ctermfg=2 guifg=#719e07 gui=NONE
hi StatusLine cterm=reverse ctermfg=14 ctermbg=0 guifg=#93a1a1 guibg=#073642 gui=reverse
hi StatusLineNC cterm=reverse ctermfg=11 ctermbg=0 guifg=#657b83 guibg=#073642 gui=reverse
hi TabLine cterm=underline ctermfg=12 ctermbg=0 guifg=#839496 guibg=#073642 guisp=#839496 gui=underline
hi TabLineFill cterm=underline ctermfg=12 ctermbg=0 guifg=#839496 guibg=#073642 guisp=#839496 gui=underline
hi TabLineSel cterm=underline,reverse ctermfg=10 ctermbg=7 guifg=#586e75 guibg=#eee8d5 guisp=#839496 gui=underline,reverse
hi Title cterm=NONE ctermfg=9 guifg=#cb4b16 gui=NONE
hi Todo cterm=bold ctermfg=5 ctermbg=8 guifg=#d33682 guibg=NONE gui=bold
hi Type cterm=NONE ctermfg=3 guifg=#b58900 gui=NONE
hi Underlined cterm=NONE ctermfg=13 guifg=#6c71c4 gui=NONE
hi VarId cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
hi VertSplit cterm=NONE ctermfg=11 ctermbg=11 guifg=#657b83 guibg=#657b83 gui=NONE
hi Visual cterm=reverse ctermfg=10 ctermbg=8 guifg=#586e75 guibg=#002b36 gui=reverse
hi VisualNOS cterm=reverse ctermbg=0 ctermbg=NONE guibg=#073642 guifg=NONE gui=reverse
hi WarningMsg cterm=NONE ctermfg=9 guifg=#dc322f gui=NONE
hi WildMenu cterm=reverse ctermfg=7 ctermbg=0 guifg=#eee8d5 guibg=#073642 gui=reverse
hi cPreCondit cterm=NONE ctermfg=9 guifg=#cb4b16 gui=NONE
hi gitcommitBranch cterm=NONE ctermfg=5 guifg=#d33682 gui=NONE
hi gitcommitComment cterm=NONE ctermfg=10 guifg=#586e75 gui=italic
hi gitcommitDiscardedFile cterm=NONE ctermfg=1 guifg=#dc322f gui=NONE
hi gitcommitDiscardedType cterm=NONE ctermfg=1 guifg=#dc322f gui=NONE
hi gitcommitFile cterm=NONE ctermfg=12 guifg=#839496 gui=NONE
hi gitcommitHeader cterm=NONE ctermfg=10 guifg=#586e75 gui=NONE
hi gitcommitOnBranch cterm=NONE ctermfg=10 guifg=#586e75 gui=NONE
hi gitcommitSelectedFile cterm=NONE ctermfg=2 guifg=#719e07 gui=NONE
hi gitcommitSelectedType cterm=NONE ctermfg=2 guifg=#719e07 gui=NONE
hi gitcommitUnmerged cterm=NONE ctermfg=2 guifg=#719e07 gui=NONE
hi gitcommitUnmergedFile cterm=NONE ctermfg=3 guifg=#b58900 gui=NONE
hi gitcommitUntrackedFile cterm=NONE ctermfg=6 guifg=#2aa198 gui=NONE
hi helpHyperTextEntry cterm=NONE ctermfg=2 guifg=#719e07 gui=NONE
hi helpHyperTextJump cterm=underline ctermfg=4 guifg=#268bd2 gui=underline
hi helpNote cterm=NONE ctermfg=5 guifg=#d33682 gui=NONE
hi helpOption cterm=NONE ctermfg=6 guifg=#2aa198 gui=NONE
hi helpVim cterm=NONE ctermfg=5 guifg=#d33682 gui=NONE
hi hsImport cterm=NONE ctermfg=5 guifg=#d33682 gui=NONE
hi hsImportLabel cterm=NONE ctermfg=6 guifg=#2aa198 gui=NONE
hi hsModuleName cterm=underline ctermfg=2 guifg=#719e07 gui=underline
hi hsNiceOperator cterm=NONE ctermfg=6 guifg=#2aa198 gui=NONE
hi hsStatement cterm=NONE ctermfg=6 guifg=#2aa198 gui=NONE
hi hsString cterm=NONE ctermfg=11 guifg=#657b83 gui=NONE
hi hsStructure cterm=NONE ctermfg=6 guifg=#2aa198 gui=NONE
hi hsType cterm=NONE ctermfg=3 guifg=#b58900 gui=NONE
hi hsTypedef cterm=NONE ctermfg=6 guifg=#2aa198 gui=NONE
hi hsVarSym cterm=NONE ctermfg=6 guifg=#2aa198 gui=NONE
hi hs_DeclareFunction cterm=NONE ctermfg=9 guifg=#cb4b16 gui=NONE
hi hs_OpFunctionName cterm=NONE ctermfg=3 guifg=#b58900 gui=NONE
hi hs_hlFunctionName cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
hi htmlArg cterm=NONE ctermfg=11 guifg=#657b83 gui=NONE
hi htmlEndTag cterm=NONE ctermfg=10 guifg=#586e75 gui=NONE
hi htmlSpecialTagName cterm=NONE ctermfg=4 guifg=#268bd2 gui=italic
hi htmlTag cterm=NONE ctermfg=10 guifg=#586e75 gui=NONE
hi htmlTagN cterm=NONE ctermfg=14 guifg=#93a1a1 gui=NONE
hi htmlTagName cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
hi javaScript cterm=NONE ctermfg=3 guifg=#b58900 gui=NONE
hi pandocBlockQuote cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
hi pandocBlockQuoteLeader1 cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
hi pandocBlockQuoteLeader2 cterm=NONE ctermfg=6 guifg=#2aa198 gui=NONE
hi pandocBlockQuoteLeader3 cterm=NONE ctermfg=3 guifg=#b58900 gui=NONE
hi pandocBlockQuoteLeader4 cterm=NONE ctermfg=1 guifg=#dc322f gui=NONE
hi pandocBlockQuoteLeader5 cterm=NONE ctermfg=12 guifg=#839496 gui=NONE
hi pandocBlockQuoteLeader6 cterm=NONE ctermfg=10 guifg=#586e75 gui=NONE
hi pandocCitation cterm=NONE ctermfg=5 guifg=#d33682 gui=NONE
hi pandocCitationDelim cterm=NONE ctermfg=5 guifg=#d33682 gui=NONE
hi pandocCitationID cterm=underline ctermfg=5 guifg=#d33682 gui=underline
hi pandocCitationRef cterm=NONE ctermfg=5 guifg=#d33682 gui=NONE
hi pandocComment cterm=NONE ctermfg=10 guifg=#586e75 gui=italic
hi pandocDefinitionBlock cterm=NONE ctermfg=13 guifg=#6c71c4 gui=NONE
hi pandocDefinitionIndctr cterm=NONE ctermfg=13 guifg=#6c71c4 gui=NONE
hi pandocDefinitionTerm cterm=standout ctermfg=13 guifg=#6c71c4 gui=standout
hi pandocEmphasis cterm=NONE ctermfg=12 guifg=#839496 gui=italic
hi pandocEmphasisDefinition cterm=NONE ctermfg=13 guifg=#6c71c4 gui=italic
hi pandocEmphasisHeading cterm=NONE ctermfg=9 guifg=#cb4b16 gui=NONE
hi pandocEmphasisNested cterm=NONE ctermfg=12 guifg=#839496 gui=NONE
hi pandocEmphasisNestedDefinition cterm=NONE ctermfg=13 guifg=#6c71c4 gui=NONE
hi pandocEmphasisNestedHeading cterm=NONE ctermfg=9 guifg=#cb4b16 gui=NONE
hi pandocEmphasisNestedTable cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
hi pandocEmphasisTable cterm=NONE ctermfg=4 guifg=#268bd2 gui=italic
hi pandocEscapePair cterm=NONE ctermfg=1 guifg=#dc322f gui=NONE
hi pandocFootnote cterm=NONE ctermfg=2 guifg=#719e07 gui=NONE
hi pandocFootnoteDefLink cterm=NONE ctermfg=2 guifg=#719e07 gui=NONE
hi pandocFootnoteInline cterm=NONE,underline ctermfg=2 guifg=#719e07 gui=NONE,underline
hi pandocFootnoteLink cterm=underline ctermfg=2 guifg=#719e07 gui=underline
hi pandocHeading cterm=NONE ctermfg=9 guifg=#cb4b16 gui=NONE
hi pandocHeadingMarker cterm=NONE ctermfg=3 guifg=#b58900 gui=NONE
hi pandocImageCaption cterm=NONE,underline ctermfg=13 guifg=#6c71c4 gui=NONE,underline
hi pandocLinkDefinition cterm=underline ctermfg=6 guifg=#2aa198 guisp=#657b83 gui=underline
hi pandocLinkDefinitionID cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
hi pandocLinkDelim cterm=NONE ctermfg=10 guifg=#586e75 gui=NONE
hi pandocLinkLabel cterm=underline ctermfg=4 guifg=#268bd2 gui=underline
hi pandocLinkText cterm=NONE,underline ctermfg=4 guifg=#268bd2 gui=NONE,underline
hi pandocLinkTitle cterm=underline ctermfg=11 guifg=#657b83 gui=underline
hi pandocLinkTitleDelim cterm=underline ctermfg=10 guifg=#586e75 guisp=#657b83 gui=underline
hi pandocLinkURL cterm=underline ctermfg=11 guifg=#657b83 gui=underline
hi pandocListMarker cterm=NONE ctermfg=5 guifg=#d33682 gui=NONE
hi pandocListReference cterm=underline ctermfg=5 guifg=#d33682 gui=underline
hi pandocMetadata cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
hi pandocMetadataDelim cterm=NONE ctermfg=10 guifg=#586e75 gui=NONE
hi pandocMetadataKey cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
hi pandocNonBreakingSpace cterm=reverse ctermfg=1 ctermbg=NONE guifg=#dc322f guibg=NONE gui=reverse
hi pandocRule cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
hi pandocRuleLine cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
hi pandocStrikeout cterm=reverse ctermfg=10 ctermbg=NONE guibg=NONE guifg=#586e75 gui=reverse
hi pandocStrikeoutDefinition cterm=reverse ctermfg=13 ctermbg=NONE guibg=NONE guifg=#6c71c4 gui=reverse
hi pandocStrikeoutHeading cterm=reverse ctermfg=9 ctermbg=NONE guibg=NONE guifg=#cb4b16 gui=reverse
hi pandocStrikeoutTable cterm=reverse ctermfg=4 ctermbg=NONE guibg=NONE guifg=#268bd2 gui=reverse
hi pandocStrongEmphasis cterm=NONE ctermfg=12 guifg=#839496 gui=NONE
hi pandocStrongEmphasisDefinition cterm=NONE ctermfg=13 guifg=#6c71c4 gui=NONE
hi pandocStrongEmphasisEmphasis cterm=NONE ctermfg=12 guifg=#839496 gui=NONE
hi pandocStrongEmphasisEmphasisDefinition cterm=NONE ctermfg=13 guifg=#6c71c4 gui=NONE
hi pandocStrongEmphasisEmphasisHeading cterm=NONE ctermfg=9 guifg=#cb4b16 gui=NONE
hi pandocStrongEmphasisEmphasisTable cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
hi pandocStrongEmphasisHeading cterm=NONE ctermfg=9 guifg=#cb4b16 gui=NONE
hi pandocStrongEmphasisNested cterm=NONE ctermfg=12 guifg=#839496 gui=NONE
hi pandocStrongEmphasisNestedDefinition cterm=NONE ctermfg=13 guifg=#6c71c4 gui=NONE
hi pandocStrongEmphasisNestedHeading cterm=NONE ctermfg=9 guifg=#cb4b16 gui=NONE
hi pandocStrongEmphasisNestedTable cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
hi pandocStrongEmphasisTable cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
hi pandocStyleDelim cterm=NONE ctermfg=10 guifg=#586e75 gui=NONE
hi pandocSubscript cterm=NONE ctermfg=13 guifg=#6c71c4 gui=NONE
hi pandocSubscriptDefinition cterm=NONE ctermfg=13 guifg=#6c71c4 gui=NONE
hi pandocSubscriptHeading cterm=NONE ctermfg=9 guifg=#cb4b16 gui=NONE
hi pandocSubscriptTable cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
hi pandocSuperscript cterm=NONE ctermfg=13 guifg=#6c71c4 gui=NONE
hi pandocSuperscriptDefinition cterm=NONE ctermfg=13 guifg=#6c71c4 gui=NONE
hi pandocSuperscriptHeading cterm=NONE ctermfg=9 guifg=#cb4b16 gui=NONE
hi pandocSuperscriptTable cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
hi pandocTable cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
hi pandocTableStructure cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
hi pandocTableZebraDark cterm=NONE ctermfg=4 ctermbg=0 guifg=#268bd2 guibg=#073642 gui=NONE
hi pandocTableZebraLight cterm=NONE ctermfg=4 ctermbg=8 guifg=#268bd2 guibg=#002b36 gui=NONE
hi pandocTitleBlock cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
hi pandocTitleBlockTitle cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
hi pandocTitleComment cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
hi pandocVerbatimBlock cterm=NONE ctermfg=3 guifg=#b58900 gui=NONE
hi pandocVerbatimInline cterm=NONE ctermfg=3 guifg=#b58900 gui=NONE
hi pandocVerbatimInlineDefinition cterm=NONE ctermfg=13 guifg=#6c71c4 gui=NONE
hi pandocVerbatimInlineHeading cterm=NONE ctermfg=9 guifg=#cb4b16 gui=NONE
hi pandocVerbatimInlineTable cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
hi perlHereDoc cterm=NONE ctermfg=14 ctermbg=8 guifg=#93a1a1 guibg=#002b36 gui=NONE
hi perlStatementFileDesc cterm=NONE ctermfg=6 ctermbg=8 guifg=#2aa198 guibg=#002b36 gui=NONE
hi perlVarPlain cterm=NONE ctermfg=3 ctermbg=8 guifg=#b58900 guibg=#002b36 gui=NONE
hi rubyDefine cterm=NONE ctermfg=14 ctermbg=8 guifg=#93a1a1 guibg=#002b36 gui=NONE
hi texMathMatcher cterm=NONE ctermfg=3 ctermbg=8 guifg=#b58900 guibg=#002b36 gui=NONE
hi texMathZoneX cterm=NONE ctermfg=3 ctermbg=8 guifg=#b58900 guibg=#002b36 gui=NONE
hi texRefLabel cterm=NONE ctermfg=3 ctermbg=8 guifg=#b58900 guibg=#002b36 gui=NONE
hi texStatement cterm=NONE ctermfg=6 ctermbg=8 guifg=#2aa198 guibg=#002b36 gui=NONE
hi vimCmdSep cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
hi vimCommand cterm=NONE ctermfg=3 guifg=#b58900 gui=NONE
hi vimCommentString cterm=NONE ctermfg=13 guifg=#6c71c4 gui=NONE
hi vimGroup cterm=NONE,underline ctermfg=4 guifg=#268bd2 gui=NONE,underline
hi vimHiGroup cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
hi vimHiLink cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
hi vimIsCommand cterm=NONE ctermfg=11 guifg=#657b83 gui=NONE
hi vimSynMtchOpt cterm=NONE ctermfg=3 guifg=#b58900 gui=NONE
hi vimSynType cterm=NONE ctermfg=6 guifg=#2aa198 gui=NONE
hi link Boolean Constant
hi link Character Constant
hi link Conditional Statement
hi link Debug Special
hi link Define PreProc
hi link Delimiter Special
hi link Exception Statement
hi link Float Number
hi link Function Identifier
hi link HelpCommand Statement
hi link Include PreProc
hi link Keyword Statement
hi link Label Statement
hi link Macro PreProc
hi link Number Constant
hi link Operator Statement
hi link PreCondit PreProc
hi link Repeat Statement
hi link SpecialChar Special
hi link SpecialComment Special
hi link StorageClass Type
hi link String Constant
hi link Structure Type
hi link SyntasticError SpellBad
hi link SyntasticErrorSign Error
hi link SyntasticStyleErrorLine SyntasticErrorLine
hi link SyntasticStyleErrorSign SyntasticErrorSign
hi link SyntasticStyleWarningLine SyntasticWarningLine
hi link SyntasticStyleWarningSign SyntasticWarningSign
hi link SyntasticWarning SpellCap
hi link SyntasticWarningSign Todo
hi link Tag Special
hi link Typedef Type
hi link diffAdded Statement
hi link diffBDiffer WarningMsg
hi link diffCommon WarningMsg
hi link diffDiffer WarningMsg
hi link diffIdentical WarningMsg
hi link diffIsA WarningMsg
hi link diffLine Identifier
hi link diffNoEOL WarningMsg
hi link diffOnly WarningMsg
hi link diffRemoved WarningMsg
hi link gitcommitDiscarded gitcommitComment
hi link gitcommitDiscardedArrow gitcommitDiscardedFile
hi link gitcommitNoBranch gitcommitBranch
hi link gitcommitSelected gitcommitComment
hi link gitcommitSelectedArrow gitcommitSelectedFile
hi link gitcommitUnmergedArrow gitcommitUnmergedFile
hi link gitcommitUntracked gitcommitComment
hi link helpSpecial Special
hi link hsDelimTypeExport Delimiter
hi link hsImportParams Delimiter
hi link hsModuleStartLabel hsStructure
hi link hsModuleWhereLabel hsModuleStartLabel
hi link htmlLink Function
hi link lCursor Cursor
hi link pandocCodeBlock pandocVerbatimBlock
hi link pandocCodeBlockDelim pandocVerbatimBlock
hi link pandocEscapedCharacter pandocEscapePair
hi link pandocLineBreak pandocEscapePair
hi link pandocMetadataTitle pandocMetadata
hi link pandocTableStructureEnd pandocTableStructre
hi link pandocTableStructureTop pandocTableStructre
hi link pandocVerbatimBlockDeep pandocVerbatimBlock
hi link vimFunc Function
hi link vimSet Normal
hi link vimSetEqual Normal
hi link vimUserFunc Function
hi link vipmVar Identifier
hi clear SyntasticErrorLine
hi clear SyntasticWarningLine
hi clear helpLeadBlank
hi clear helpNormal
hi clear pandocTableStructre
if has('nvim')
let g:terminal_color_0 = '#073642'
let g:terminal_color_1 = '#dc322f'
let g:terminal_color_2 = '#859900'
let g:terminal_color_3 = '#b58900'
let g:terminal_color_4 = '#268bd2'
let g:terminal_color_5 = '#d33682'
let g:terminal_color_6 = '#2aa198'
let g:terminal_color_7 = '#eee8d5'
let g:terminal_color_8 = '#002b36'
let g:terminal_color_9 = '#cb4b16'
let g:terminal_color_10 = '#586e75'
let g:terminal_color_11 = '#657b83'
let g:terminal_color_12 = '#839496'
let g:terminal_color_13 = '#6c71c4'
let g:terminal_color_14 = '#93a1a1'
let g:terminal_color_15 = '#fdf6e3'
endif

View File

@@ -0,0 +1,314 @@
" 'flattened_light.vim' -- Vim color scheme.
" Maintainer: Romain Lafourcade (romainlafourcade@gmail.com)
" Description: Light Solarized, without the bullshit.
hi clear
if exists('syntax_on')
syntax reset
endif
let colors_name = 'flattened_light'
hi Normal cterm=NONE ctermfg=11 ctermbg=15 guifg=#657b83 guibg=#fdf6e3 gui=NONE
set background=light
hi ColorColumn cterm=NONE ctermbg=7 guibg=#eee8d5 gui=NONE
hi Comment cterm=NONE ctermfg=14 guifg=#93a1a1 gui=italic
hi ConId cterm=NONE ctermfg=3 guifg=#b58900 gui=NONE
hi Conceal cterm=NONE ctermfg=4 ctermbg=15 guifg=#268bd2 guibg=#fdf6e3 gui=NONE
hi Constant cterm=NONE ctermfg=6 guifg=#2aa198 gui=NONE
hi Cursor cterm=NONE ctermfg=15 ctermbg=11 guifg=#fdf6e3 guibg=#657b83 gui=NONE
hi CursorColumn cterm=NONE ctermbg=7 guibg=#eee8d5 gui=NONE
hi CursorLine cterm=NONE ctermbg=7 guibg=#eee8d5 guisp=#586e75 gui=NONE
hi CursorLineNr cterm=NONE ctermfg=130 gui=NONE guifg=Brown
hi DiffAdd cterm=NONE ctermfg=2 ctermbg=7 gui=NONE guifg=#719e07 guibg=#eee8d5 guisp=#719e07 gui=NONE
hi DiffChange cterm=NONE ctermfg=3 ctermbg=7 gui=NONE guifg=#b58900 guibg=#eee8d5 guisp=#b58900 gui=NONE
hi DiffDelete cterm=NONE ctermfg=1 ctermbg=7 gui=NONE guifg=#dc322f guibg=#eee8d5 gui=NONE
hi DiffText cterm=NONE ctermfg=4 ctermbg=7 gui=NONE guifg=#268bd2 guibg=#eee8d5 guisp=#268bd2 gui=NONE
hi Directory cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
hi Error cterm=NONE ctermfg=1 ctermbg=NONE guifg=#dc322f guibg=#fdf6e3 gui=NONE
hi ErrorMsg cterm=reverse ctermfg=1 ctermbg=NONE guifg=#dc322f guibg=NONE gui=reverse
hi FoldColumn cterm=NONE ctermfg=11 ctermbg=7 guifg=#657b83 guibg=#eee8d5 gui=NONE
hi Folded cterm=NONE,underline ctermfg=11 ctermbg=7 guifg=#657b83 guibg=#eee8d5 guisp=#fdf6e3 gui=NONE
hi HelpExample cterm=NONE ctermfg=10 guifg=#586e75 gui=NONE
hi Identifier cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
hi IncSearch cterm=standout ctermfg=9 gui=standout guifg=#cb4b16
hi LineNr cterm=NONE ctermfg=14 ctermbg=7 guifg=#93a1a1 guibg=#eee8d5 gui=NONE
hi MatchParen cterm=NONE ctermfg=1 ctermbg=14 gui=NONE guifg=#dc322f guibg=#93a1a1 gui=NONE
hi ModeMsg cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
hi MoreMsg cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
hi NonText cterm=NONE ctermfg=12 gui=NONE guifg=#839496 gui=NONE
hi Pmenu cterm=reverse ctermfg=11 ctermbg=7 guifg=#657b83 guibg=#eee8d5 gui=reverse
hi PmenuSbar cterm=reverse ctermfg=0 ctermbg=11 guifg=#073642 guibg=#657b83 gui=reverse
hi PmenuSel cterm=reverse ctermfg=14 ctermbg=0 guifg=#93a1a1 guibg=#073642 gui=reverse
hi PmenuThumb cterm=reverse ctermfg=11 ctermbg=15 guifg=#657b83 guibg=#fdf6e3 gui=reverse
hi PreProc cterm=NONE ctermfg=9 guifg=#cb4b16 gui=NONE
hi Question cterm=NONE ctermfg=6 gui=NONE guifg=#2aa198 gui=NONE
hi Search cterm=reverse ctermfg=3 ctermbg=NONE guifg=#b58900 guibg=NONE gui=reverse
hi SignColumn cterm=NONE ctermfg=11 ctermbg=NONE guifg=#657b83 guibg=NONE gui=NONE
hi Special cterm=NONE ctermfg=1 guifg=#dc322f gui=NONE
hi SpecialKey cterm=NONE ctermfg=12 ctermbg=7 gui=NONE guifg=#839496 guibg=#eee8d5 gui=NONE
hi SpellBad cterm=undercurl ctermfg=NONE ctermbg=NONE gui=undercurl guisp=#dc322f
hi SpellCap cterm=undercurl ctermfg=NONE ctermbg=NONE gui=undercurl guisp=#6c71c4
hi SpellLocal cterm=undercurl ctermfg=NONE ctermbg=NONE gui=undercurl guisp=#b58900
hi SpellRare cterm=undercurl ctermfg=NONE ctermbg=NONE gui=undercurl guisp=#2aa198
hi Statement cterm=NONE ctermfg=2 guifg=#719e07 gui=NONE
hi StatusLine cterm=reverse ctermfg=10 ctermbg=7 gui=reverse guifg=#586e75 guibg=#eee8d5 guibg=NONE
hi StatusLineNC cterm=reverse ctermfg=12 ctermbg=7 gui=reverse guifg=#839496 guibg=#eee8d5 guibg=NONE
hi TabLine cterm=underline ctermfg=11 ctermbg=7 gui=underline guifg=#657b83 guibg=#eee8d5 guisp=#657b83
hi TabLineFill cterm=underline ctermfg=11 ctermbg=7 gui=underline guifg=#657b83 guibg=#eee8d5 guisp=#657b83
hi TabLineSel cterm=underline,reverse ctermfg=14 ctermbg=0 gui=underline,reverse guifg=#93a1a1 guibg=#073642 guisp=#657b83
hi Title cterm=NONE ctermfg=9 guifg=#cb4b16 gui=NONE
hi Todo cterm=bold ctermfg=5 ctermbg=15 guifg=#d33682 guibg=NONE gui=bold
hi Type cterm=NONE ctermfg=3 guifg=#b58900 gui=NONE
hi Underlined cterm=NONE ctermfg=13 guifg=#6c71c4 gui=NONE
hi VarId cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
hi VertSplit cterm=NONE ctermfg=12 ctermbg=12 guifg=#839496 guibg=#839496 gui=NONE
hi Visual cterm=reverse ctermfg=14 ctermbg=15 gui=reverse guifg=#93a1a1 guibg=#fdf6e3 guibg=NONE
hi VisualNOS cterm=reverse ctermbg=7 gui=reverse guibg=#eee8d5 guibg=NONE
hi WarningMsg cterm=NONE ctermfg=9 gui=NONE guifg=#dc322f gui=NONE
hi WildMenu cterm=reverse ctermfg=0 ctermbg=7 guifg=#073642 guibg=#eee8d5 gui=reverse
hi cPreCondit cterm=NONE ctermfg=9 guifg=#cb4b16 gui=NONE
hi gitcommitBranch cterm=NONE ctermfg=5 gui=NONE guifg=#d33682 gui=NONE
hi gitcommitComment cterm=NONE ctermfg=14 gui=italic guifg=#93a1a1 gui=NONE
hi gitcommitDiscardedFile cterm=NONE ctermfg=1 gui=NONE guifg=#dc322f gui=NONE
hi gitcommitDiscardedType cterm=NONE ctermfg=1 guifg=#dc322f gui=NONE
hi gitcommitFile cterm=NONE ctermfg=11 gui=NONE guifg=#657b83 gui=NONE
hi gitcommitHeader cterm=NONE ctermfg=14 guifg=#93a1a1 gui=NONE
hi gitcommitOnBranch cterm=NONE ctermfg=14 gui=NONE guifg=#93a1a1 gui=NONE
hi gitcommitSelectedFile cterm=NONE ctermfg=2 gui=NONE guifg=#719e07 gui=NONE
hi gitcommitSelectedType cterm=NONE ctermfg=2 guifg=#719e07 gui=NONE
hi gitcommitUnmerged cterm=NONE ctermfg=2 gui=NONE guifg=#719e07 gui=NONE
hi gitcommitUnmergedFile cterm=NONE ctermfg=3 gui=NONE guifg=#b58900 gui=NONE
hi gitcommitUntrackedFile cterm=NONE ctermfg=6 gui=NONE guifg=#2aa198 gui=NONE
hi helpHyperTextEntry cterm=NONE ctermfg=2 guifg=#719e07 gui=NONE
hi helpHyperTextJump cterm=underline ctermfg=4 gui=underline guifg=#268bd2
hi helpNote cterm=NONE ctermfg=5 guifg=#d33682 gui=NONE
hi helpOption cterm=NONE ctermfg=6 guifg=#2aa198 gui=NONE
hi helpVim cterm=NONE ctermfg=5 guifg=#d33682 gui=NONE
hi hsImport cterm=NONE ctermfg=5 guifg=#d33682 gui=NONE
hi hsImportLabel cterm=NONE ctermfg=6 guifg=#2aa198 gui=NONE
hi hsModuleName cterm=underline ctermfg=2 gui=underline guifg=#719e07
hi hsNiceOperator cterm=NONE ctermfg=6 guifg=#2aa198 gui=NONE
hi hsStatement cterm=NONE ctermfg=6 guifg=#2aa198 gui=NONE
hi hsString cterm=NONE ctermfg=12 guifg=#839496 gui=NONE
hi hsStructure cterm=NONE ctermfg=6 guifg=#2aa198 gui=NONE
hi hsType cterm=NONE ctermfg=3 guifg=#b58900 gui=NONE
hi hsTypedef cterm=NONE ctermfg=6 guifg=#2aa198 gui=NONE
hi hsVarSym cterm=NONE ctermfg=6 guifg=#2aa198 gui=NONE
hi hs_DeclareFunction cterm=NONE ctermfg=9 guifg=#cb4b16 gui=NONE
hi hs_OpFunctionName cterm=NONE ctermfg=3 guifg=#b58900 gui=NONE
hi hs_hlFunctionName cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
hi htmlArg cterm=NONE ctermfg=12 guifg=#839496 gui=NONE
hi htmlEndTag cterm=NONE ctermfg=14 guifg=#93a1a1 gui=NONE
hi htmlSpecialTagName cterm=NONE ctermfg=4 gui=italic guifg=#268bd2 gui=NONE
hi htmlTag cterm=NONE ctermfg=14 guifg=#93a1a1 gui=NONE
hi htmlTagN cterm=NONE ctermfg=10 gui=NONE guifg=#586e75 gui=NONE
hi htmlTagName cterm=NONE ctermfg=4 gui=NONE guifg=#268bd2 gui=NONE
hi javaScript cterm=NONE ctermfg=3 guifg=#b58900 gui=NONE
hi pandocBlockQuote cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
hi pandocBlockQuoteLeader1 cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
hi pandocBlockQuoteLeader2 cterm=NONE ctermfg=6 guifg=#2aa198 gui=NONE
hi pandocBlockQuoteLeader3 cterm=NONE ctermfg=3 guifg=#b58900 gui=NONE
hi pandocBlockQuoteLeader4 cterm=NONE ctermfg=1 guifg=#dc322f gui=NONE
hi pandocBlockQuoteLeader5 cterm=NONE ctermfg=11 guifg=#657b83 gui=NONE
hi pandocBlockQuoteLeader6 cterm=NONE ctermfg=14 guifg=#93a1a1 gui=NONE
hi pandocCitation cterm=NONE ctermfg=5 guifg=#d33682 gui=NONE
hi pandocCitationDelim cterm=NONE ctermfg=5 guifg=#d33682 gui=NONE
hi pandocCitationID cterm=underline ctermfg=5 gui=underline guifg=#d33682
hi pandocCitationRef cterm=NONE ctermfg=5 guifg=#d33682 gui=NONE
hi pandocComment cterm=NONE ctermfg=14 gui=italic guifg=#93a1a1 gui=NONE
hi pandocDefinitionBlock cterm=NONE ctermfg=13 guifg=#6c71c4 gui=NONE
hi pandocDefinitionIndctr cterm=NONE ctermfg=13 gui=NONE guifg=#6c71c4 gui=NONE
hi pandocDefinitionTerm cterm=standout ctermfg=13 gui=standout guifg=#6c71c4
hi pandocEmphasis cterm=NONE ctermfg=11 gui=italic guifg=#657b83 gui=NONE
hi pandocEmphasisDefinition cterm=NONE ctermfg=13 gui=italic guifg=#6c71c4 gui=NONE
hi pandocEmphasisHeading cterm=NONE ctermfg=9 gui=NONE guifg=#cb4b16 gui=NONE
hi pandocEmphasisNested cterm=NONE ctermfg=11 gui=NONE guifg=#657b83 gui=NONE
hi pandocEmphasisNestedDefinition cterm=NONE ctermfg=13 gui=NONE guifg=#6c71c4 gui=NONE
hi pandocEmphasisNestedHeading cterm=NONE ctermfg=9 gui=NONE guifg=#cb4b16 gui=NONE
hi pandocEmphasisNestedTable cterm=NONE ctermfg=4 gui=NONE guifg=#268bd2 gui=NONE
hi pandocEmphasisTable cterm=NONE ctermfg=4 gui=italic guifg=#268bd2 gui=NONE
hi pandocEscapePair cterm=NONE ctermfg=1 gui=NONE guifg=#dc322f gui=NONE
hi pandocFootnote cterm=NONE ctermfg=2 guifg=#719e07 gui=NONE
hi pandocFootnoteDefLink cterm=NONE ctermfg=2 gui=NONE guifg=#719e07 gui=NONE
hi pandocFootnoteInline cterm=NONE,underline ctermfg=2 gui=NONE,underline guifg=#719e07 gui=NONE
hi pandocFootnoteLink cterm=underline ctermfg=2 gui=underline guifg=#719e07
hi pandocHeading cterm=NONE ctermfg=9 gui=NONE guifg=#cb4b16 gui=NONE
hi pandocHeadingMarker cterm=NONE ctermfg=3 gui=NONE guifg=#b58900 gui=NONE
hi pandocImageCaption cterm=NONE,underline ctermfg=13 gui=NONE,underline guifg=#6c71c4 gui=NONE
hi pandocLinkDefinition cterm=underline ctermfg=6 gui=underline guifg=#2aa198 guisp=#839496
hi pandocLinkDefinitionID cterm=NONE ctermfg=4 gui=NONE guifg=#268bd2 gui=NONE
hi pandocLinkDelim cterm=NONE ctermfg=14 guifg=#93a1a1 gui=NONE
hi pandocLinkLabel cterm=underline ctermfg=4 gui=underline guifg=#268bd2
hi pandocLinkText cterm=NONE,underline ctermfg=4 gui=NONE,underline guifg=#268bd2 gui=NONE
hi pandocLinkTitle cterm=underline ctermfg=12 gui=underline guifg=#839496
hi pandocLinkTitleDelim cterm=underline ctermfg=14 gui=underline guifg=#93a1a1 guisp=#839496
hi pandocLinkURL cterm=underline ctermfg=12 gui=underline guifg=#839496
hi pandocListMarker cterm=NONE ctermfg=5 guifg=#d33682 gui=NONE
hi pandocListReference cterm=underline ctermfg=5 gui=underline guifg=#d33682
hi pandocMetadata cterm=NONE ctermfg=4 gui=NONE guifg=#268bd2 gui=NONE
hi pandocMetadataDelim cterm=NONE ctermfg=14 guifg=#93a1a1 gui=NONE
hi pandocMetadataKey cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
hi pandocNonBreakingSpace cterm=reverse ctermfg=1 ctermbg=NONE gui=reverse guifg=#dc322f guibg=NONE
hi pandocRule cterm=NONE ctermfg=4 gui=NONE guifg=#268bd2 gui=NONE
hi pandocRuleLine cterm=NONE ctermfg=4 gui=NONE guifg=#268bd2 gui=NONE
hi pandocStrikeout cterm=reverse ctermfg=14 ctermbg=NONE gui=reverse guifg=#93a1a1 guibg=NONE
hi pandocStrikeoutDefinition cterm=reverse ctermfg=13 ctermbg=NONE gui=reverse guifg=#6c71c4 guibg=NONE
hi pandocStrikeoutHeading cterm=reverse ctermfg=9 ctermbg=NONE gui=reverse guifg=#cb4b16 guibg=NONE
hi pandocStrikeoutTable cterm=reverse ctermfg=4 ctermbg=NONE gui=reverse guifg=#268bd2 guibg=NONE
hi pandocStrongEmphasis cterm=NONE ctermfg=11 gui=NONE guifg=#657b83 gui=NONE
hi pandocStrongEmphasisDefinition cterm=NONE ctermfg=13 gui=NONE guifg=#6c71c4 gui=NONE
hi pandocStrongEmphasisEmphasis cterm=NONE ctermfg=11 gui=NONE guifg=#657b83 gui=NONE
hi pandocStrongEmphasisEmphasisDefinition cterm=NONE ctermfg=13 gui=NONE guifg=#6c71c4 gui=NONE
hi pandocStrongEmphasisEmphasisHeading cterm=NONE ctermfg=9 gui=NONE guifg=#cb4b16 gui=NONE
hi pandocStrongEmphasisEmphasisTable cterm=NONE ctermfg=4 gui=NONE guifg=#268bd2 gui=NONE
hi pandocStrongEmphasisHeading cterm=NONE ctermfg=9 gui=NONE guifg=#cb4b16 gui=NONE
hi pandocStrongEmphasisNested cterm=NONE ctermfg=11 gui=NONE guifg=#657b83 gui=NONE
hi pandocStrongEmphasisNestedDefinition cterm=NONE ctermfg=13 gui=NONE guifg=#6c71c4 gui=NONE
hi pandocStrongEmphasisNestedHeading cterm=NONE ctermfg=9 gui=NONE guifg=#cb4b16 gui=NONE
hi pandocStrongEmphasisNestedTable cterm=NONE ctermfg=4 gui=NONE guifg=#268bd2 gui=NONE
hi pandocStrongEmphasisTable cterm=NONE ctermfg=4 gui=NONE guifg=#268bd2 gui=NONE
hi pandocStyleDelim cterm=NONE ctermfg=14 guifg=#93a1a1 gui=NONE
hi pandocSubscript cterm=NONE ctermfg=13 guifg=#6c71c4 gui=NONE
hi pandocSubscriptDefinition cterm=NONE ctermfg=13 guifg=#6c71c4 gui=NONE
hi pandocSubscriptHeading cterm=NONE ctermfg=9 gui=NONE guifg=#cb4b16 gui=NONE
hi pandocSubscriptTable cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
hi pandocSuperscript cterm=NONE ctermfg=13 guifg=#6c71c4 gui=NONE
hi pandocSuperscriptDefinition cterm=NONE ctermfg=13 guifg=#6c71c4 gui=NONE
hi pandocSuperscriptHeading cterm=NONE ctermfg=9 gui=NONE guifg=#cb4b16 gui=NONE
hi pandocSuperscriptTable cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
hi pandocTable cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
hi pandocTableStructure cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
hi pandocTableZebraDark cterm=NONE ctermfg=4 ctermbg=7 guifg=#268bd2 guibg=#eee8d5 gui=NONE
hi pandocTableZebraLight cterm=NONE ctermfg=4 ctermbg=15 guifg=#268bd2 guibg=#fdf6e3 gui=NONE
hi pandocTitleBlock cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
hi pandocTitleBlockTitle cterm=NONE ctermfg=4 gui=NONE guifg=#268bd2 gui=NONE
hi pandocTitleComment cterm=NONE ctermfg=4 gui=NONE guifg=#268bd2 gui=NONE
hi pandocVerbatimBlock cterm=NONE ctermfg=3 guifg=#b58900 gui=NONE
hi pandocVerbatimInline cterm=NONE ctermfg=3 guifg=#b58900 gui=NONE
hi pandocVerbatimInlineDefinition cterm=NONE ctermfg=13 guifg=#6c71c4 gui=NONE
hi pandocVerbatimInlineHeading cterm=NONE ctermfg=9 gui=NONE guifg=#cb4b16 gui=NONE
hi pandocVerbatimInlineTable cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
hi perlHereDoc cterm=NONE ctermfg=10 ctermbg=15 guifg=#586e75 guibg=#fdf6e3 gui=NONE
hi perlStatementFileDesc cterm=NONE ctermfg=6 ctermbg=15 guifg=#2aa198 guibg=#fdf6e3 gui=NONE
hi perlVarPlain cterm=NONE ctermfg=3 ctermbg=15 guifg=#b58900 guibg=#fdf6e3 gui=NONE
hi rubyDefine cterm=NONE ctermfg=10 ctermbg=15 gui=NONE guifg=#586e75 guibg=#fdf6e3 gui=NONE
hi texMathMatcher cterm=NONE ctermfg=3 ctermbg=15 guifg=#b58900 guibg=#fdf6e3 gui=NONE
hi texMathZoneX cterm=NONE ctermfg=3 ctermbg=15 guifg=#b58900 guibg=#fdf6e3 gui=NONE
hi texRefLabel cterm=NONE ctermfg=3 ctermbg=15 guifg=#b58900 guibg=#fdf6e3 gui=NONE
hi texStatement cterm=NONE ctermfg=6 ctermbg=15 guifg=#2aa198 guibg=#fdf6e3 gui=NONE
hi vimCmdSep cterm=NONE ctermfg=4 gui=NONE guifg=#268bd2 gui=NONE
hi vimCommand cterm=NONE ctermfg=3 guifg=#b58900 gui=NONE
hi vimCommentString cterm=NONE ctermfg=13 guifg=#6c71c4 gui=NONE
hi vimGroup cterm=NONE,underline ctermfg=4 gui=NONE,underline guifg=#268bd2 gui=NONE
hi vimHiGroup cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
hi vimHiLink cterm=NONE ctermfg=4 guifg=#268bd2 gui=NONE
hi vimIsCommand cterm=NONE ctermfg=12 guifg=#839496 gui=NONE
hi vimSynMtchOpt cterm=NONE ctermfg=3 guifg=#b58900 gui=NONE
hi vimSynType cterm=NONE ctermfg=6 guifg=#2aa198 gui=NONE
hi link Boolean Constant
hi link Character Constant
hi link Conditional Statement
hi link Debug Special
hi link Define PreProc
hi link Delimiter Special
hi link Exception Statement
hi link Float Number
hi link Function Identifier
hi link HelpCommand Statement
hi link Include PreProc
hi link Keyword Statement
hi link Label Statement
hi link Macro PreProc
hi link Number Constant
hi link Operator Statement
hi link PreCondit PreProc
hi link Repeat Statement
hi link SpecialChar Special
hi link SpecialComment Special
hi link StorageClass Type
hi link String Constant
hi link Structure Type
hi link SyntasticError SpellBad
hi link SyntasticErrorSign Error
hi link SyntasticStyleErrorLine SyntasticErrorLine
hi link SyntasticStyleErrorSign SyntasticErrorSign
hi link SyntasticStyleWarningLine SyntasticWarningLine
hi link SyntasticStyleWarningSign SyntasticWarningSign
hi link SyntasticWarning SpellCap
hi link SyntasticWarningSign Todo
hi link Tag Special
hi link Typedef Type
hi link diffAdded Statement
hi link diffBDiffer WarningMsg
hi link diffCommon WarningMsg
hi link diffDiffer WarningMsg
hi link diffIdentical WarningMsg
hi link diffIsA WarningMsg
hi link diffLine Identifier
hi link diffNoEOL WarningMsg
hi link diffOnly WarningMsg
hi link diffRemoved WarningMsg
hi link gitcommitDiscarded gitcommitComment
hi link gitcommitDiscardedArrow gitcommitDiscardedFile
hi link gitcommitNoBranch gitcommitBranch
hi link gitcommitSelected gitcommitComment
hi link gitcommitSelectedArrow gitcommitSelectedFile
hi link gitcommitUnmergedArrow gitcommitUnmergedFile
hi link gitcommitUntracked gitcommitComment
hi link helpSpecial Special
hi link hsDelimTypeExport Delimiter
hi link hsImportParams Delimiter
hi link hsModuleStartLabel hsStructure
hi link hsModuleWhereLabel hsModuleStartLabel
hi link htmlLink Function
hi link lCursor Cursor
hi link pandocCodeBlock pandocVerbatimBlock
hi link pandocCodeBlockDelim pandocVerbatimBlock
hi link pandocEscapedCharacter pandocEscapePair
hi link pandocLineBreak pandocEscapePair
hi link pandocMetadataTitle pandocMetadata
hi link pandocTableStructureEnd pandocTableStructre
hi link pandocTableStructureTop pandocTableStructre
hi link pandocVerbatimBlockDeep pandocVerbatimBlock
hi link vimFunc Function
hi link vimSet Normal
hi link vimSetEqual Normal
hi link vimUserFunc Function
hi link vipmVar Identifier
hi clear SyntasticErrorLine
hi clear SyntasticWarningLine
hi clear helpLeadBlank
hi clear helpNormal
hi clear pandocTableStructre
if has('nvim')
let g:terminal_color_0 = '#eee8d5'
let g:terminal_color_1 = '#dc322f'
let g:terminal_color_2 = '#859900'
let g:terminal_color_3 = '#b58900'
let g:terminal_color_4 = '#268bd2'
let g:terminal_color_5 = '#d33682'
let g:terminal_color_6 = '#2aa198'
let g:terminal_color_7 = '#073642'
let g:terminal_color_8 = '#fdf6e3'
let g:terminal_color_9 = '#cb4b16'
let g:terminal_color_10 = '#93a1a1'
let g:terminal_color_11 = '#839496'
let g:terminal_color_12 = '#657b83'
let g:terminal_color_13 = '#6c71c4'
let g:terminal_color_14 = '#586e75'
let g:terminal_color_15 = '#002b36'
endif

View File

@@ -0,0 +1,274 @@
" Vim color file inherit from the molokai.vim file
"
" Author: Chase Colman <chase@colman.io>
" Version: 0.2 (2014.05.26)
"
" Note: Based on the molokai theme for vim
" by Tomas Restrepo who based it on Monokai for Textmate
" by Wimer Hazenberg and its darker variant
" by Hamish Stuart Macpherson
"
hi clear
set background=dark
if version > 580
" no guarantees for version 5.8 and below, but this makes it stop
" complaining
hi clear
if exists("syntax_on")
syntax reset
endif
endif
let g:colors_name="focuspoint"
hi Boolean guifg=#CD5C5C
hi Character guifg=#E6DB74
hi Number guifg=#CD5C5C
hi String guifg=#E6DB74 guibg=#242829
hi Conditional guifg=#43AB59 gui=bold
hi Constant guifg=#CD5C5C gui=bold
hi Cursor guifg=#000000 guibg=#F8F8F0
hi Debug guifg=#BCA3A3 gui=bold
hi Define guifg=#71ABC2
hi Delimiter guifg=#8F8F8F
hi DiffAdd guifg=#94FFAB guibg=#3E804C
hi DiffChange guifg=#89807D guibg=#4C4745
hi DiffDelete guifg=#CD5C5C guibg=#571F1F
hi DiffText guibg=#4C4745 gui=italic,bold
hi Directory guifg=#d1c79e gui=bold
hi Error guifg=#CD5C5C guibg=#571F1F
hi ErrorMsg guifg=#43AB59 guibg=#232526 gui=bold
hi Exception guifg=#d1c79e gui=bold
hi Float guifg=#CD5C5C
hi FoldColumn guifg=#465457 guibg=#000000
hi Folded guifg=#465457 guibg=#000000
hi Function guifg=#d1c79e
hi Identifier guifg=#BD8F2E
hi Ignore guifg=#808080 guibg=bg
hi IncSearch guifg=#C4BE89 guibg=#000000
hi Keyword guifg=#43AB59 gui=bold
hi Label guifg=#E6DB74 gui=none
hi Macro guifg=#C4BE89 gui=italic
hi SpecialKey guifg=#71ABC2 gui=italic
hi MatchParen guifg=fg guibg=#455354 gui=bold
hi ModeMsg guifg=#E6DB74
hi MoreMsg guifg=#E6DB74
hi Operator guifg=#43AB59
" complete menu
hi Pmenu guifg=#F8F8F2 guibg=#465457
hi PmenuSel guifg=#232526 guibg=#43AB59
hi PmenuSbar guibg=#43AB59
hi PmenuThumb guifg=#F8F8F2
hi PreCondit guifg=#d1c79e gui=bold
hi PreProc guifg=#d1c79e
hi Question guifg=#71ABC2
hi Repeat guifg=#43AB59 gui=bold
hi Search guifg=#FFFFFF guibg=#455354
" marks column
hi SignColumn guifg=#d1c79e guibg=#232526
hi SpecialChar guifg=#43AB59 guibg=#242829 gui=bold
hi SpecialComment guifg=#465457 gui=bold
hi Special guifg=#71ABC2 guibg=bg gui=italic
hi SpecialKey guifg=#888A85 gui=italic
if has("spell")
hi SpellBad guisp=#FF0000 gui=undercurl
hi SpellCap guisp=#7070F0 gui=undercurl
hi SpellLocal guisp=#70F0F0 gui=undercurl
hi SpellRare guisp=#FFFFFF gui=undercurl
endif
hi Statement guifg=#43AB59 gui=bold
hi StatusLine guifg=#455354 guibg=fg
hi StatusLineNC guifg=#7F7F7F guibg=#232526
hi StorageClass guifg=#BD8F2E gui=italic
hi Structure guifg=#71ABC2
hi Tag guifg=#43AB59 gui=italic
hi Title guifg=#FFC66D
hi Todo guifg=bg guibg=#71ABC2 gui=underline,bold
hi Typedef guifg=#71ABC2
hi Type guifg=#71ABC2 gui=bold
hi Underlined guifg=#808080 gui=underline
hi VertSplit guifg=#080808 guibg=#080808 gui=bold
hi VisualNOS guibg=#403D3D
hi Visual guibg=#403D3D
hi WarningMsg guifg=#FFFFFF guibg=#333333 gui=bold
hi WildMenu guifg=#71ABC2 guibg=#000000
hi Normal guifg=#F8F8F2 guibg=#1B1D1E
hi Comment guifg=#465457
hi CursorLine guibg=#293739
hi CursorColumn guibg=#293739
hi LineNr guifg=#7F7F7F guibg=#232526
hi NonText guifg=#232526 guibg=#232526
hi ExtraWhitespace guibg=#CD5C5C
if &t_Co > 255
hi Boolean ctermfg=167
hi Character ctermfg=221
hi Number ctermfg=167
hi String ctermfg=221 ctermbg=235
hi Conditional ctermfg=35 cterm=bold
hi Constant ctermfg=167 cterm=bold
hi Cursor ctermfg=0 ctermbg=15
hi Debug ctermfg=131 cterm=bold
hi Define ctermfg=74
hi Delimiter ctermfg=245
hi DiffAdd ctermfg=121 ctermbg=35
hi DiffChange ctermfg=245 ctermbg=237
hi DiffDelete ctermfg=167 ctermbg=1
hi DiffText ctermbg=239 cterm=bold
hi Directory ctermfg=223 cterm=bold
hi Error ctermfg=15 ctermbg=1
hi ErrorMsg ctermfg=35 ctermbg=235 cterm=bold
hi Exception ctermfg=223 cterm=bold
hi Float ctermfg=167
hi FoldColumn ctermfg=239 ctermbg=0
hi Folded ctermfg=239 ctermbg=0
hi Function ctermfg=223
hi Identifier ctermfg=179 cterm=none
hi Ignore ctermfg=8 ctermbg=0
hi IncSearch ctermfg=186 ctermbg=0
hi Keyword ctermfg=35 cterm=bold
hi Label ctermfg=221 cterm=none
hi Macro ctermfg=186
hi SpecialKey ctermfg=74
hi MatchParen ctermbg=238 cterm=bold
hi ModeMsg ctermfg=221
hi MoreMsg ctermfg=221
hi Operator ctermfg=35
" complete menu
hi Pmenu ctermfg=15 ctermbg=238
hi PmenuSel ctermfg=235 ctermbg=35
hi PmenuSbar ctermbg=35
hi PmenuThumb ctermfg=15
hi PreCondit ctermfg=223 cterm=bold
hi PreProc ctermfg=223
hi Question ctermfg=74
hi Repeat ctermfg=35 cterm=bold
hi Search ctermfg=15 ctermbg=238
" marks column
hi SignColumn ctermfg=223 ctermbg=235
hi SpecialChar ctermfg=35 ctermbg=235 cterm=bold
hi SpecialComment ctermfg=239 cterm=bold
hi Special ctermfg=74
hi SpecialKey ctermfg=245
hi Statement ctermfg=35 cterm=bold
hi StatusLine ctermfg=238 ctermbg=15
hi StatusLineNC ctermfg=243 ctermbg=235
hi StorageClass ctermfg=179
hi Structure ctermfg=74
hi Tag ctermfg=35
hi Title ctermfg=214
hi Todo ctermfg=0 ctermbg=74 cterm=bold
hi Typedef ctermfg=74
hi Type ctermfg=74 cterm=bold
hi Underlined ctermfg=8 cterm=underline
hi VertSplit ctermfg=232 ctermbg=232 cterm=bold
hi VisualNOS ctermbg=237
hi Visual ctermbg=237
hi WarningMsg ctermfg=15 ctermbg=236 cterm=bold
hi WildMenu ctermfg=74 ctermbg=0
hi Normal ctermfg=15 ctermbg=234
hi Comment ctermfg=239
hi CursorLine ctermbg=236
hi CursorColumn ctermbg=236
hi LineNr ctermfg=243 ctermbg=235
hi NonText ctermfg=235 ctermbg=235
else
hi Boolean ctermfg=9
hi Character ctermfg=11
hi Number ctermfg=9
hi String ctermfg=11 ctermbg=8
hi Conditional ctermfg=10 cterm=bold
hi Constant ctermfg=9 cterm=bold
hi Cursor ctermfg=0 ctermbg=15
hi Debug ctermfg=7 cterm=bold
hi Define ctermfg=12
hi Delimiter ctermfg=7
hi DiffAdd ctermbg=4
hi DiffChange ctermfg=8 ctermbg=0
hi DiffDelete ctermfg=9 ctermbg=1
hi DiffText ctermbg=0 cterm=bold
hi Directory ctermfg=11 cterm=bold
hi Error ctermfg=15 ctermbg=1
hi ErrorMsg ctermfg=6 ctermbg=0 cterm=bold
hi Exception ctermfg=11 cterm=bold
hi Float ctermfg=9
hi FoldColumn ctermfg=8 ctermbg=0
hi Folded ctermfg=8 ctermbg=0
hi Function ctermfg=11
hi Identifier ctermfg=3 cterm=none
hi Ignore ctermfg=8 ctermbg=0
hi IncSearch ctermfg=3 ctermbg=0
hi Keyword ctermfg=6 cterm=bold
hi Label ctermfg=11 cterm=none
hi Macro ctermfg=3
hi SpecialKey ctermfg=4
hi MatchParen ctermbg=0 cterm=bold
hi ModeMsg ctermfg=11
hi MoreMsg ctermfg=11
hi Operator ctermfg=6
" complete menu
hi Pmenu ctermfg=15 ctermbg=8
hi PmenuSel ctermfg=15 ctermbg=2
hi PmenuSbar ctermbg=2
hi PmenuThumb ctermfg=15
hi PreCondit ctermfg=11 cterm=bold
hi PreProc ctermfg=11
hi Question ctermfg=4
hi Repeat ctermfg=6 cterm=bold
hi Search ctermfg=15 ctermbg=0
" marks column
hi SignColumn ctermfg=11 ctermbg=0
hi SpecialChar ctermfg=6 ctermbg=0 cterm=bold
hi SpecialComment ctermfg=8 cterm=bold
hi Special ctermfg=4
hi SpecialKey ctermfg=8
hi Statement ctermfg=6 cterm=bold
hi StatusLine ctermfg=0 ctermbg=15
hi StatusLineNC ctermfg=8 ctermbg=0
hi StorageClass ctermfg=3
hi Structure ctermfg=4
hi Tag ctermfg=6
hi Title ctermfg=3
hi Todo ctermfg=0 ctermbg=4 cterm=bold
hi Typedef ctermfg=4
hi Type ctermfg=4 cterm=bold
hi Underlined ctermfg=8
hi VertSplit ctermfg=0 ctermbg=0 cterm=bold
hi VisualNOS ctermbg=7
hi Visual ctermbg=7
hi WarningMsg ctermfg=15 ctermbg=8 cterm=bold
hi WildMenu ctermfg=4 ctermbg=0
hi Normal ctermfg=15 ctermbg=0
hi Comment ctermfg=8
hi CursorLine ctermbg=0
hi CursorColumn ctermbg=0
hi LineNr ctermfg=8 ctermbg=0
hi NonText ctermfg=0 ctermbg=0
endif
set background=dark

View File

@@ -0,0 +1,373 @@
"
"
" ┌─┐┌─┐┌─┐┌┐ ┌─┐┬ ┬
" ├┤ │ ││ ┬├┴┐├┤ │ │
" └ └─┘└─┘└─┘└─┘┴─┘┴─┘
"
"
" by Jared Gorski
" https://github.com/jaredgorski/fogbell
scriptencoding utf-8
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name="fogbell"
" ==========================
" Highlighting Function
" ==========================
" >> (inspired by https://github.com/tomasiser/vim-code-dark and https://github.com/chriskempson/base16-vim)
fun! <sid>hi(group, fg, bg, attr)
if !empty(a:fg)
exec "hi " . a:group . " guifg=" . a:fg.gui . " ctermfg=" . a:fg.cterm256
endif
if !empty(a:bg)
exec "hi " . a:group . " guibg=" . a:bg.gui . " ctermbg=" . a:bg.cterm256
endif
if a:attr != ""
exec "hi " . a:group . " gui=" . a:attr . " cterm=" . a:attr
endif
endfun
" ==========================
" Color Variables
" ==========================
let s:voidBlack = {'gui': '#121212', 'cterm256': '233'}
let s:voidBlack2 = {'gui': '#262626', 'cterm256': '235'}
let s:voidGray1 = {'gui': '#3E3D32', 'cterm256': '237'}
let s:voidGray2 = {'gui': '#49483E', 'cterm256': '239'}
let s:voidGray3 = {'gui': '#6B6B6B', 'cterm256': '242'}
let s:voidGray4 = {'gui': '#B0B0B0', 'cterm256': '249'}
let s:voidSteel = {'gui': '#D0D0D0', 'cterm256': '252'}
let s:voidBlue = {'gui': '#699B9B', 'cterm256': '109'}
let s:voidGreen = {'gui': '#569F7A', 'cterm256': '72'}
let s:voidGold = {'gui': '#8E700B', 'cterm256': '136'}
let s:voidRed = {'gui': '#821A1A', 'cterm256': '1'}
let s:voidRed2 = {'gui': '#FF0000', 'cterm256': '196'}
let s:none = {'gui': 'NONE', 'cterm256': 'NONE'}
" ==========================
" Definitions
" ==========================
" <sid>hi(GROUP, FOREGROUND, BACKGROUND, ATTRIBUTE)
" Editor
call <sid>hi('ColorColumn', s:none, s:voidGray1, 'none')
call <sid>hi('Cursor', s:voidBlack, s:voidSteel, 'none')
call <sid>hi('CursorColumn', s:none, s:voidGray1, 'none')
call <sid>hi('CursorLine', s:none, s:voidGray1, 'none')
call <sid>hi('CursorLineNr', s:voidSteel, s:voidGray1, 'none')
call <sid>hi('Directory', s:voidSteel, s:voidBlack, 'none')
call <sid>hi('FoldColumn', s:none, s:voidBlack2, 'none')
call <sid>hi('Folded', s:voidGray3, s:none, 'none')
call <sid>hi('IncSearch', s:voidBlack, s:voidGold, 'none')
call <sid>hi('LineNr', s:voidGray3, s:voidBlack2, 'none')
call <sid>hi('MatchParen', s:voidSteel, s:voidGray3, 'none')
call <sid>hi('Normal', s:voidSteel, s:voidBlack, 'none')
call <sid>hi('Pmenu', s:none, s:voidBlack2, 'none')
call <sid>hi('PmenuSel', s:none, s:voidGray2, 'none')
call <sid>hi('Search', s:voidBlack, s:voidGold, 'none')
call <sid>hi('SignColumn', s:none, s:voidBlack2, 'none')
call <sid>hi('StatusLine', s:voidBlack, s:voidSteel, 'none')
call <sid>hi('StatusLineNC', s:voidGray3, s:voidBlack2, 'none')
call <sid>hi('VertSplit', s:voidBlack, s:voidGray3, 'none')
call <sid>hi('Visual', s:none, s:voidGray2, 'none')
" General
call <sid>hi('Boolean', s:voidSteel, s:none, 'none')
call <sid>hi('Character', s:voidSteel, s:none, 'none')
call <sid>hi('Comment', s:voidGray3, s:none, 'none')
call <sid>hi('Conditional', s:voidSteel, s:none, 'none')
call <sid>hi('Constant', s:voidSteel, s:none, 'none')
call <sid>hi('Define', s:voidSteel, s:none, 'none')
call <sid>hi('DiffAdd', s:voidBlack, s:voidGreen, 'none')
call <sid>hi('DiffChange', s:voidBlack, s:voidGold, 'none')
call <sid>hi('DiffDelete', s:voidSteel, s:voidRed, 'none')
call <sid>hi('DiffText', s:voidGray1, s:voidBlue, 'none')
call <sid>hi('ErrorMsg', s:voidSteel, s:voidRed, 'none')
call <sid>hi('Float', s:voidSteel, s:none, 'none')
call <sid>hi('Function', s:voidSteel, s:none, 'none')
call <sid>hi('Identifier', s:voidSteel, s:none, 'none')
call <sid>hi('Keyword', s:voidSteel, s:none, 'none')
call <sid>hi('Label', s:voidSteel, s:none, 'none')
call <sid>hi('NonText', s:voidGray3, s:none, 'none')
call <sid>hi('Number', s:voidSteel, s:none, 'none')
call <sid>hi('Operator', s:voidSteel, s:none, 'none')
call <sid>hi('PreProc', s:voidSteel, s:none, 'none')
call <sid>hi('Special', s:voidSteel, s:none, 'none')
call <sid>hi('SpecialKey', s:voidSteel, s:none, 'none')
call <sid>hi('SpellBad', s:voidRed2, s:none, 'italic,undercurl')
call <sid>hi('SpellCap', s:voidSteel, s:none, 'italic,undercurl')
call <sid>hi('SpellLocal', s:voidSteel, s:none, 'undercurl')
call <sid>hi('Statement', s:voidSteel, s:none, 'none')
call <sid>hi('StorageClass', s:voidSteel, s:none, 'none')
call <sid>hi('String', s:voidSteel, s:none, 'none')
call <sid>hi('Tag', s:voidSteel, s:none, 'none')
call <sid>hi('Title', s:none, s:none, 'bold')
call <sid>hi('Todo', s:voidGray3, s:none, 'inverse,bold')
call <sid>hi('Type', s:none, s:none, 'none')
call <sid>hi('Underlined', s:none, s:none, 'underline')
call <sid>hi('WarningMsg', s:voidSteel, s:voidRed, 'none')
" Diff Mode
if &diff
call <sid>hi('DiffAdd', s:voidBlack, s:voidGreen, 'none')
call <sid>hi('DiffChange', s:voidBlack, s:voidGold, 'none')
call <sid>hi('DiffDelete', s:voidRed2, s:voidRed, 'none')
call <sid>hi('DiffText', s:voidGray1, s:voidBlue, 'none')
else
call <sid>hi('DiffAdd', s:voidGreen, s:none, 'none')
call <sid>hi('DiffChange', s:voidGold, s:none, 'none')
call <sid>hi('DiffDelete', s:voidRed2, s:none, 'none')
call <sid>hi('DiffText', s:voidSteel, s:voidBlue, 'none')
endif
" ------------
" Languages
" ------------
" C
call <sid>hi('cConstant', s:voidSteel, s:none, 'none')
call <sid>hi('cFormat', s:voidSteel, s:none, 'none')
call <sid>hi('cMulti', s:voidSteel, s:none, 'none')
call <sid>hi('cNumbers', s:voidSteel, s:none, 'none')
call <sid>hi('cOperator', s:voidSteel, s:none, 'none')
call <sid>hi('cSpecial', s:voidSteel, s:none, 'none')
call <sid>hi('cSpecialCharacter', s:voidSteel, s:none, 'none')
call <sid>hi('cStatement', s:voidSteel, s:none, 'none')
call <sid>hi('cStorageClass', s:voidSteel, s:none, 'none')
call <sid>hi('cString', s:voidSteel, s:none, 'none')
call <sid>hi('cStructure', s:voidSteel, s:none, 'none')
call <sid>hi('cType', s:voidSteel, s:none, 'none')
" C++
call <sid>hi('cppConstant', s:voidSteel, s:none, 'none')
call <sid>hi('cppFormat', s:voidSteel, s:none, 'none')
call <sid>hi('cppMulti', s:voidSteel, s:none, 'none')
call <sid>hi('cppNumbers', s:voidSteel, s:none, 'none')
call <sid>hi('cppOperator', s:voidSteel, s:none, 'none')
call <sid>hi('cppSpecial', s:voidSteel, s:none, 'none')
call <sid>hi('cppSpecialCharacter', s:voidSteel, s:none, 'none')
call <sid>hi('cppStatement', s:voidSteel, s:none, 'none')
call <sid>hi('cppStorageClass', s:voidSteel, s:none, 'none')
call <sid>hi('cppString', s:voidSteel, s:none, 'none')
call <sid>hi('cppStructure', s:voidSteel, s:none, 'none')
call <sid>hi('cppType', s:voidSteel, s:none, 'none')
" CSS
call <sid>hi('cssAttr', s:voidSteel, s:none, 'none')
call <sid>hi('cssAttrRegion', s:voidSteel, s:none, 'none')
call <sid>hi('cssBraces', s:voidSteel, s:none, 'none')
call <sid>hi('cssBrowserPrefix', s:voidSteel, s:none, 'none')
call <sid>hi('cssClassName', s:voidSteel, s:none, 'none')
call <sid>hi('cssClassNameDot', s:voidSteel, s:none, 'none')
call <sid>hi('cssClassSelectorDot', s:voidSteel, s:none, 'none')
call <sid>hi('cssColor', s:voidSteel, s:none, 'none')
call <sid>hi('cssCommonAttr', s:voidSteel, s:none, 'none')
call <sid>hi('cssCustomProperty', s:voidSteel, s:none, 'none')
call <sid>hi('cssDefinition', s:voidSteel, s:none, 'none')
call <sid>hi('cssFunction', s:voidSteel, s:none, 'none')
call <sid>hi('cssFunctionName', s:voidSteel, s:none, 'none')
call <sid>hi('cssIdentifier', s:voidSteel, s:none, 'none')
call <sid>hi('cssImportant', s:voidSteel, s:none, 'none')
call <sid>hi('cssInclude', s:voidSteel, s:none, 'none')
call <sid>hi('cssMedia', s:voidSteel, s:none, 'none')
call <sid>hi('cssMediaBlock', s:voidSteel, s:none, 'none')
call <sid>hi('cssProp', s:voidSteel, s:none, 'none')
call <sid>hi('cssGeneratedContentProp', s:voidSteel, s:none, 'none')
call <sid>hi('cssTextProp', s:voidSteel, s:none, 'none')
call <sid>hi('cssAnimationProp', s:voidSteel, s:none, 'none')
call <sid>hi('cssUIProp', s:voidSteel, s:none, 'none')
call <sid>hi('cssTransformProp', s:voidSteel, s:none, 'none')
call <sid>hi('cssTransitionProp', s:voidSteel, s:none, 'none')
call <sid>hi('cssPrintProp', s:voidSteel, s:none, 'none')
call <sid>hi('cssPositioningProp', s:voidSteel, s:none, 'none')
call <sid>hi('cssBoxProp', s:voidSteel, s:none, 'none')
call <sid>hi('cssFontDescriptorProp', s:voidSteel, s:none, 'none')
call <sid>hi('cssFlexibleBoxProp', s:voidSteel, s:none, 'none')
call <sid>hi('cssBorderOutlineProp', s:voidSteel, s:none, 'none')
call <sid>hi('cssBackgroundProp', s:voidSteel, s:none, 'none')
call <sid>hi('cssMarginProp', s:voidSteel, s:none, 'none')
call <sid>hi('cssListProp', s:voidSteel, s:none, 'none')
call <sid>hi('cssTableProp', s:voidSteel, s:none, 'none')
call <sid>hi('cssFontProp', s:voidSteel, s:none, 'none')
call <sid>hi('cssPaddingProp', s:voidSteel, s:none, 'none')
call <sid>hi('cssDimensionProp', s:voidSteel, s:none, 'none')
call <sid>hi('cssRenderProp', s:voidSteel, s:none, 'none')
call <sid>hi('cssColorProp', s:voidSteel, s:none, 'none')
call <sid>hi('cssGeneratedContentProp', s:voidSteel, s:none, 'none')
call <sid>hi('cssPropDefinition', s:voidSteel, s:none, 'none')
call <sid>hi('cssPseudoClass', s:voidSteel, s:none, 'none')
call <sid>hi('cssPseudoClassId', s:voidSteel, s:none, 'none')
call <sid>hi('cssPseudoClassLang', s:voidSteel, s:none, 'none')
call <sid>hi('cssSelectorOperator', s:voidSteel, s:none, 'none')
call <sid>hi('cssTagName', s:voidSteel, s:none, 'none')
call <sid>hi('cssURL', s:voidSteel, s:none, 'none')
call <sid>hi('cssUnitDecorators', s:voidSteel, s:none, 'none')
call <sid>hi('cssUnits', s:voidSteel, s:none, 'none')
call <sid>hi('cssValueLength', s:voidSteel, s:none, 'none')
call <sid>hi('cssValueNumber', s:voidSteel, s:none, 'none')
call <sid>hi('cssValueKeyword', s:voidSteel, s:none, 'none')
call <sid>hi('cssVendor', s:voidSteel, s:none, 'none')
" HTML
call <sid>hi('htmlArg', s:voidSteel, s:none, 'none')
call <sid>hi('htmlEndTag', s:voidSteel, s:none, 'none')
call <sid>hi('htmlSpecialChar', s:voidSteel, s:none, 'none')
call <sid>hi('htmlSpecialTagName', s:voidSteel, s:none, 'none')
call <sid>hi('htmlTag', s:voidSteel, s:none, 'none')
call <sid>hi('htmlTagName', s:voidSteel, s:none, 'none')
" JavaScript
call <sid>hi('javaScript', s:voidSteel, s:none, 'none')
call <sid>hi('javaScriptFunction', s:voidSteel, s:none, 'none')
call <sid>hi('javaScriptIdentifier', s:voidSteel, s:none, 'none')
call <sid>hi('javaScriptMember', s:voidSteel, s:none, 'none')
call <sid>hi('javaScriptNull', s:voidSteel, s:none, 'none')
call <sid>hi('javaScriptNumber', s:voidSteel, s:none, 'none')
call <sid>hi('javaScriptNumber', s:voidSteel, s:none, 'none')
call <sid>hi('javaScriptParens', s:voidSteel, s:none, 'none')
call <sid>hi('javaScriptSpecial', s:voidSteel, s:none, 'none')
call <sid>hi('javaScriptStringS', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptArrayMethod', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptArrayStaticMethod', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptArrowFunc', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptAsyncFuncKeyword', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptAwaitFuncKeyword', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptBraces', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptBrackets', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptCacheMethod', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptClassExtends', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptClassKeyword', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptClassName', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptClassSuperName', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptDOMElemAttrs', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptDOMEventMethod', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptDOMNodeMethod', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptDOMStorageMethod', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptDateMethod', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptDefault', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptDocNamedParamType', s:voidGray4, s:none, 'none')
call <sid>hi('javascriptDocNotation', s:voidGray4, s:none, 'none')
call <sid>hi('javascriptDocParamName', s:voidGray4, s:none, 'none')
call <sid>hi('javascriptDocParamType', s:voidGray4, s:none, 'none')
call <sid>hi('javascriptDocTags', s:voidGray4, s:none, 'none')
call <sid>hi('javascriptEndColons', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptExport', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptHeadersMethod', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptIdentifierName', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptImport', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptLabel', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptLogicSymbols', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptMathStaticMethod', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptObjectLabel', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptOperator', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptPropertyName', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptStringMethod', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptVariable', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptYield', s:voidSteel, s:none, 'none')
call <sid>hi('jsArrowFunction', s:voidSteel, s:none, 'none')
call <sid>hi('jsClassDefinition', s:voidSteel, s:none, 'none')
call <sid>hi('jsClassKeyword', s:voidSteel, s:none, 'none')
call <sid>hi('jsDecorator', s:voidSteel, s:none, 'none')
call <sid>hi('jsDestructuringBlock', s:voidSteel, s:none, 'none')
call <sid>hi('jsExportDefault', s:voidSteel, s:none, 'none')
call <sid>hi('jsExtendsKeyword', s:voidSteel, s:none, 'none')
call <sid>hi('jsFuncArgs', s:voidSteel, s:none, 'none')
call <sid>hi('jsFuncCall', s:voidSteel, s:none, 'none')
call <sid>hi('jsFunction', s:voidSteel, s:none, 'none')
call <sid>hi('jsGlobalObjects', s:voidSteel, s:none, 'none')
call <sid>hi('jsModuleKeyword', s:voidSteel, s:none, 'none')
call <sid>hi('jsNull', s:voidSteel, s:none, 'none')
call <sid>hi('jsObjectBraces', s:voidSteel, s:none, 'none')
call <sid>hi('jsObjectKey', s:voidSteel, s:none, 'none')
call <sid>hi('jsObjectStringKey', s:voidSteel, s:none, 'none')
call <sid>hi('jsRegexpString', s:voidSteel, s:none, 'none')
call <sid>hi('jsReturn', s:voidSteel, s:none, 'none')
call <sid>hi('jsSpecial', s:voidSteel, s:none, 'none')
call <sid>hi('jsSuper', s:voidSteel, s:none, 'none')
call <sid>hi('jsTemplateBraces', s:voidSteel, s:none, 'none')
call <sid>hi('jsTemplateString', s:voidSteel, s:none, 'none')
call <sid>hi('jsThis', s:voidSteel, s:none, 'none')
call <sid>hi('jsVariableDef', s:voidSteel, s:none, 'none')
" JSX
call <sid>hi('jsxAttrib', s:voidSteel, s:none, 'none')
call <sid>hi('jsxAttributeBraces', s:voidSteel, s:none, 'none')
call <sid>hi('jsxCloseString', s:voidSteel, s:none, 'none')
call <sid>hi('jsxCloseTag', s:voidSteel, s:none, 'none')
call <sid>hi('jsxString', s:voidSteel, s:none, 'none')
call <sid>hi('jsxTag', s:voidSteel, s:none, 'none')
call <sid>hi('jsxTagName', s:voidSteel, s:none, 'none')
" Ruby
call <sid>hi('rubyBlockParameter', s:voidSteel, s:none, 'none')
call <sid>hi('rubyClass', s:voidSteel, s:none, 'none')
call <sid>hi('rubyClassVariable', s:voidSteel, s:none, 'none')
call <sid>hi('rubyConstant', s:voidSteel, s:none, 'none')
call <sid>hi('rubyControl', s:voidSteel, s:none, 'none')
call <sid>hi('rubyEscape', s:voidSteel, s:none, 'none')
call <sid>hi('rubyException', s:voidSteel, s:none, 'none')
call <sid>hi('rubyFunction', s:voidSteel, s:none, 'none')
call <sid>hi('rubyGlobalVariable', s:voidSteel, s:none, 'none')
call <sid>hi('rubyInclude', s:voidSteel, s:none, 'none')
call <sid>hi('rubyInstanceVariable', s:voidSteel, s:none, 'none')
call <sid>hi('rubyInterpolationDelimiter', s:none, s:none, 'none')
call <sid>hi('rubyOperator', s:voidSteel, s:none, 'none')
call <sid>hi('rubyPseudoVariable', s:voidSteel, s:none, 'none')
call <sid>hi('rubyRegexp', s:voidSteel, s:none, 'none')
call <sid>hi('rubyRegexpDelimiter', s:voidSteel, s:none, 'none')
call <sid>hi('rubyStringDelimiter', s:voidSteel, s:none, 'none')
call <sid>hi('rubySymbol', s:voidSteel, s:none, 'none')
" Ruby (Embedded)
call <sid>hi('erubyComment', s:voidGray3, s:none, 'none')
call <sid>hi('erubyDelimiter', s:none, s:none, 'none')
call <sid>hi('erubyRailsMethod', s:voidSteel, s:none, 'none')
" Ruby on Rails
call <sid>hi('rubyRailsARAssociationMethod', s:voidSteel, s:none, 'none')
call <sid>hi('rubyRailsARMethod', s:voidSteel, s:none, 'none')
call <sid>hi('rubyRailsMethod', s:voidSteel, s:none, 'none')
call <sid>hi('rubyRailsRenderMethod', s:voidSteel, s:none, 'none')
call <sid>hi('rubyRailsUserClass', s:voidSteel, s:none, 'none')
" XML
call <sid>hi('xmlAttrib', s:voidSteel, s:none, 'none')
call <sid>hi('xmlEndTag', s:voidSteel, s:none, 'none')
call <sid>hi('xmlTag', s:voidSteel, s:none, 'none')
call <sid>hi('xmlTagName', s:voidSteel, s:none, 'none')
" YAML
call <sid>hi('yamlAlias', s:voidSteel, s:none, 'none')
call <sid>hi('yamlAnchor', s:voidSteel, s:none, 'none')
call <sid>hi('yamlDocumentHeader', s:voidSteel, s:none, 'none')
call <sid>hi('yamlKey', s:voidSteel, s:none, 'none')
" ------------
" Plugins
" ------------
" todo.txt
call <sid>hi('TodoContext', s:voidSteel, s:none, 'none')
call <sid>hi('TodoDate', s:voidSteel, s:none, 'none')
call <sid>hi('TodoDone', s:voidGray3, s:none, 'none')
call <sid>hi('TodoPriorityA', s:voidSteel, s:none, 'none')
call <sid>hi('TodoPriorityB', s:voidSteel, s:none, 'none')
call <sid>hi('TodoPriorityC', s:voidSteel, s:none, 'none')
call <sid>hi('TodoProject', s:voidSteel, s:none, 'none')
" Buftabline
call <sid>hi('BufTabLineActive', s:voidSteel, s:voidGray2, 'none')
call <sid>hi('BufTabLineCurrent', s:voidBlack, s:voidGray4, 'none')
call <sid>hi('BufTabLineFill', s:voidBlack, s:voidBlack, 'none')
call <sid>hi('BufTabLineHidden', s:voidGray3, s:voidBlack2, 'none')

View File

@@ -0,0 +1,373 @@
"
"
" ┌─┐┌─┐┌─┐┌┐ ┌─┐┬ ┬
" ├┤ │ ││ ┬├┴┐├┤ │ │
" └ └─┘└─┘└─┘└─┘┴─┘┴─┘
"
"
" by Jared Gorski
" https://github.com/jaredgorski/fogbell
scriptencoding utf-8
set background=light
hi clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name="fogbell_light"
" ==========================
" Highlighting Function
" ==========================
" >> (inspired by https://github.com/tomasiser/vim-code-dark and https://github.com/chriskempson/base16-vim)
fun! <sid>hi(group, fg, bg, attr)
if !empty(a:fg)
exec "hi " . a:group . " guifg=" . a:fg.gui . " ctermfg=" . a:fg.cterm256
endif
if !empty(a:bg)
exec "hi " . a:group . " guibg=" . a:bg.gui . " ctermbg=" . a:bg.cterm256
endif
if a:attr != ""
exec "hi " . a:group . " gui=" . a:attr . " cterm=" . a:attr
endif
endfun
" ==========================
" Color Variables
" ==========================
let s:voidBlack = {'gui': '#121212', 'cterm256': '233'}
let s:voidBlack2 = {'gui': '#262626', 'cterm256': '235'}
let s:voidGray1 = {'gui': '#3E3D32', 'cterm256': '237'}
let s:voidGray2 = {'gui': '#49483E', 'cterm256': '239'}
let s:voidGray3 = {'gui': '#6B6B6B', 'cterm256': '242'}
let s:voidGray4 = {'gui': '#B0B0B0', 'cterm256': '249'}
let s:voidSteel = {'gui': '#D0D0D0', 'cterm256': '252'}
let s:voidBlue = {'gui': '#699B9B', 'cterm256': '109'}
let s:voidGreen = {'gui': '#569F7A', 'cterm256': '72'}
let s:voidGold = {'gui': '#8E700B', 'cterm256': '136'}
let s:voidRed = {'gui': '#821A1A', 'cterm256': '1'}
let s:voidRed2 = {'gui': '#FF0000', 'cterm256': '196'}
let s:none = {'gui': 'NONE', 'cterm256': 'NONE'}
" ==========================
" Definitions
" ==========================
" <sid>hi(GROUP, FOREGROUND, BACKGROUND, ATTRIBUTE)
" Editor
call <sid>hi('ColorColumn', s:none, s:voidGray1, 'none')
call <sid>hi('Cursor', s:voidSteel, s:voidBlack2, 'none')
call <sid>hi('CursorColumn', s:none, s:voidGray1, 'none')
call <sid>hi('CursorLine', s:none, s:voidGray1, 'none')
call <sid>hi('CursorLineNr', s:voidBlack, s:voidGray1, 'none')
call <sid>hi('Directory', s:voidBlack, s:none, 'none')
call <sid>hi('FoldColumn', s:none, s:voidBlack2, 'none')
call <sid>hi('Folded', s:voidGray3, s:none, 'none')
call <sid>hi('IncSearch', s:voidSteel, s:voidGold, 'none')
call <sid>hi('LineNr', s:voidGray3, s:voidBlack2, 'none')
call <sid>hi('MatchParen', s:voidBlack, s:voidGray4, 'none')
call <sid>hi('Normal', s:voidBlack, s:voidSteel, 'none')
call <sid>hi('Pmenu', s:voidBlack, s:voidGray4, 'none')
call <sid>hi('PmenuSel', s:voidSteel, s:voidGray2, 'none')
call <sid>hi('Search', s:voidSteel, s:voidGold, 'none')
call <sid>hi('SignColumn', s:none, s:voidBlack2, 'none')
call <sid>hi('StatusLine', s:voidSteel, s:voidBlack, 'none')
call <sid>hi('StatusLineNC', s:voidGray3, s:voidBlack2, 'none')
call <sid>hi('VertSplit', s:voidBlack, s:voidGray3, 'none')
call <sid>hi('Visual', s:none, s:voidGray2, 'none')
" General
call <sid>hi('Boolean', s:voidBlack, s:none, 'none')
call <sid>hi('Character', s:voidBlack, s:none, 'none')
call <sid>hi('Comment', s:voidGray3, s:none, 'none')
call <sid>hi('Conditional', s:voidBlack, s:none, 'none')
call <sid>hi('Constant', s:voidBlack, s:none, 'none')
call <sid>hi('Define', s:voidBlack, s:none, 'none')
call <sid>hi('DiffAdd', s:voidSteel, s:voidGreen, 'none')
call <sid>hi('DiffChange', s:voidSteel, s:voidGold, 'none')
call <sid>hi('DiffDelete', s:voidBlack, s:voidRed, 'none')
call <sid>hi('DiffText', s:voidGray1, s:voidBlue, 'none')
call <sid>hi('ErrorMsg', s:voidBlack, s:voidRed, 'none')
call <sid>hi('Float', s:voidBlack, s:none, 'none')
call <sid>hi('Function', s:voidBlack, s:none, 'none')
call <sid>hi('Identifier', s:voidBlack, s:none, 'none')
call <sid>hi('Keyword', s:voidBlack, s:none, 'none')
call <sid>hi('Label', s:voidBlack, s:none, 'none')
call <sid>hi('NonText', s:voidGray1, s:none, 'none')
call <sid>hi('Number', s:voidBlack, s:none, 'none')
call <sid>hi('Operator', s:voidBlack, s:none, 'none')
call <sid>hi('PreProc', s:voidBlack, s:none, 'none')
call <sid>hi('Special', s:voidBlack, s:none, 'none')
call <sid>hi('SpecialKey', s:voidBlack, s:none, 'none')
call <sid>hi('SpellBad', s:voidRed2, s:none, 'italic,undercurl')
call <sid>hi('SpellCap', s:voidBlack, s:none, 'italic,undercurl')
call <sid>hi('SpellLocal', s:voidBlack, s:none, 'undercurl')
call <sid>hi('Statement', s:voidBlack, s:none, 'none')
call <sid>hi('StorageClass', s:voidBlack, s:none, 'none')
call <sid>hi('String', s:voidBlack, s:none, 'none')
call <sid>hi('Tag', s:voidBlack, s:none, 'none')
call <sid>hi('Title', s:none, s:none, 'bold')
call <sid>hi('Todo', s:voidGray3, s:none, 'inverse,bold')
call <sid>hi('Type', s:none, s:none, 'none')
call <sid>hi('Underlined', s:none, s:none, 'underline')
call <sid>hi('WarningMsg', s:voidBlack, s:voidRed, 'none')
" Diff Mode
if &diff
call <sid>hi('DiffAdd', s:voidSteel, s:voidGreen, 'none')
call <sid>hi('DiffChange', s:voidSteel, s:voidGold, 'none')
call <sid>hi('DiffDelete', s:voidRed2, s:voidRed, 'none')
call <sid>hi('DiffText', s:voidGray1, s:voidBlue, 'none')
else
call <sid>hi('DiffAdd', s:voidGreen, s:none, 'none')
call <sid>hi('DiffChange', s:voidGold, s:none, 'none')
call <sid>hi('DiffDelete', s:voidRed2, s:none, 'none')
call <sid>hi('DiffText', s:voidBlack, s:voidBlue, 'none')
endif
" ------------
" Languages
" ------------
" C
call <sid>hi('cConstant', s:voidBlack, s:none, 'none')
call <sid>hi('cFormat', s:voidBlack, s:none, 'none')
call <sid>hi('cMulti', s:voidBlack, s:none, 'none')
call <sid>hi('cNumbers', s:voidBlack, s:none, 'none')
call <sid>hi('cOperator', s:voidBlack, s:none, 'none')
call <sid>hi('cSpecial', s:voidBlack, s:none, 'none')
call <sid>hi('cSpecialCharacter', s:voidBlack, s:none, 'none')
call <sid>hi('cStatement', s:voidBlack, s:none, 'none')
call <sid>hi('cStorageClass', s:voidBlack, s:none, 'none')
call <sid>hi('cString', s:voidBlack, s:none, 'none')
call <sid>hi('cStructure', s:voidBlack, s:none, 'none')
call <sid>hi('cType', s:voidBlack, s:none, 'none')
" C++
call <sid>hi('cppConstant', s:voidBlack, s:none, 'none')
call <sid>hi('cppFormat', s:voidBlack, s:none, 'none')
call <sid>hi('cppMulti', s:voidBlack, s:none, 'none')
call <sid>hi('cppNumbers', s:voidBlack, s:none, 'none')
call <sid>hi('cppOperator', s:voidBlack, s:none, 'none')
call <sid>hi('cppSpecial', s:voidBlack, s:none, 'none')
call <sid>hi('cppSpecialCharacter', s:voidBlack, s:none, 'none')
call <sid>hi('cppStatement', s:voidBlack, s:none, 'none')
call <sid>hi('cppStorageClass', s:voidBlack, s:none, 'none')
call <sid>hi('cppString', s:voidBlack, s:none, 'none')
call <sid>hi('cppStructure', s:voidBlack, s:none, 'none')
call <sid>hi('cppType', s:voidBlack, s:none, 'none')
" CSS
call <sid>hi('cssAttr', s:voidBlack, s:none, 'none')
call <sid>hi('cssAttrRegion', s:voidBlack, s:none, 'none')
call <sid>hi('cssBraces', s:voidBlack, s:none, 'none')
call <sid>hi('cssBrowserPrefix', s:voidBlack, s:none, 'none')
call <sid>hi('cssClassName', s:voidBlack, s:none, 'none')
call <sid>hi('cssClassNameDot', s:voidBlack, s:none, 'none')
call <sid>hi('cssClassSelectorDot', s:voidBlack, s:none, 'none')
call <sid>hi('cssColor', s:voidBlack, s:none, 'none')
call <sid>hi('cssCommonAttr', s:voidBlack, s:none, 'none')
call <sid>hi('cssCustomProperty', s:voidBlack, s:none, 'none')
call <sid>hi('cssDefinition', s:voidBlack, s:none, 'none')
call <sid>hi('cssFunction', s:voidBlack, s:none, 'none')
call <sid>hi('cssFunctionName', s:voidBlack, s:none, 'none')
call <sid>hi('cssIdentifier', s:voidBlack, s:none, 'none')
call <sid>hi('cssImportant', s:voidBlack, s:none, 'none')
call <sid>hi('cssInclude', s:voidBlack, s:none, 'none')
call <sid>hi('cssMedia', s:voidBlack, s:none, 'none')
call <sid>hi('cssMediaBlock', s:voidBlack, s:none, 'none')
call <sid>hi('cssProp', s:voidBlack, s:none, 'none')
call <sid>hi('cssGeneratedContentProp', s:voidBlack, s:none, 'none')
call <sid>hi('cssTextProp', s:voidBlack, s:none, 'none')
call <sid>hi('cssAnimationProp', s:voidBlack, s:none, 'none')
call <sid>hi('cssUIProp', s:voidBlack, s:none, 'none')
call <sid>hi('cssTransformProp', s:voidBlack, s:none, 'none')
call <sid>hi('cssTransitionProp', s:voidBlack, s:none, 'none')
call <sid>hi('cssPrintProp', s:voidBlack, s:none, 'none')
call <sid>hi('cssPositioningProp', s:voidBlack, s:none, 'none')
call <sid>hi('cssBoxProp', s:voidBlack, s:none, 'none')
call <sid>hi('cssFontDescriptorProp', s:voidBlack, s:none, 'none')
call <sid>hi('cssFlexibleBoxProp', s:voidBlack, s:none, 'none')
call <sid>hi('cssBorderOutlineProp', s:voidBlack, s:none, 'none')
call <sid>hi('cssBackgroundProp', s:voidBlack, s:none, 'none')
call <sid>hi('cssMarginProp', s:voidBlack, s:none, 'none')
call <sid>hi('cssListProp', s:voidBlack, s:none, 'none')
call <sid>hi('cssTableProp', s:voidBlack, s:none, 'none')
call <sid>hi('cssFontProp', s:voidBlack, s:none, 'none')
call <sid>hi('cssPaddingProp', s:voidBlack, s:none, 'none')
call <sid>hi('cssDimensionProp', s:voidBlack, s:none, 'none')
call <sid>hi('cssRenderProp', s:voidBlack, s:none, 'none')
call <sid>hi('cssColorProp', s:voidBlack, s:none, 'none')
call <sid>hi('cssGeneratedContentProp', s:voidBlack, s:none, 'none')
call <sid>hi('cssPropDefinition', s:voidBlack, s:none, 'none')
call <sid>hi('cssPseudoClass', s:voidBlack, s:none, 'none')
call <sid>hi('cssPseudoClassId', s:voidBlack, s:none, 'none')
call <sid>hi('cssPseudoClassLang', s:voidBlack, s:none, 'none')
call <sid>hi('cssSelectorOperator', s:voidBlack, s:none, 'none')
call <sid>hi('cssTagName', s:voidBlack, s:none, 'none')
call <sid>hi('cssURL', s:voidBlack, s:none, 'none')
call <sid>hi('cssUnitDecorators', s:voidBlack, s:none, 'none')
call <sid>hi('cssUnits', s:voidBlack, s:none, 'none')
call <sid>hi('cssValueLength', s:voidBlack, s:none, 'none')
call <sid>hi('cssValueNumber', s:voidBlack, s:none, 'none')
call <sid>hi('cssValueKeyword', s:voidBlack, s:none, 'none')
call <sid>hi('cssVendor', s:voidBlack, s:none, 'none')
" HTML
call <sid>hi('htmlArg', s:voidBlack, s:none, 'none')
call <sid>hi('htmlEndTag', s:voidBlack, s:none, 'none')
call <sid>hi('htmlSpecialChar', s:voidBlack, s:none, 'none')
call <sid>hi('htmlSpecialTagName', s:voidBlack, s:none, 'none')
call <sid>hi('htmlTag', s:voidBlack, s:none, 'none')
call <sid>hi('htmlTagName', s:voidBlack, s:none, 'none')
" JavaScript
call <sid>hi('javaScript', s:voidBlack, s:none, 'none')
call <sid>hi('javaScriptFunction', s:voidBlack, s:none, 'none')
call <sid>hi('javaScriptIdentifier', s:voidBlack, s:none, 'none')
call <sid>hi('javaScriptMember', s:voidBlack, s:none, 'none')
call <sid>hi('javaScriptNull', s:voidBlack, s:none, 'none')
call <sid>hi('javaScriptNumber', s:voidBlack, s:none, 'none')
call <sid>hi('javaScriptNumber', s:voidBlack, s:none, 'none')
call <sid>hi('javaScriptParens', s:voidBlack, s:none, 'none')
call <sid>hi('javaScriptSpecial', s:voidBlack, s:none, 'none')
call <sid>hi('javaScriptStringS', s:voidBlack, s:none, 'none')
call <sid>hi('javascriptArrayMethod', s:voidBlack, s:none, 'none')
call <sid>hi('javascriptArrayStaticMethod', s:voidBlack, s:none, 'none')
call <sid>hi('javascriptArrowFunc', s:voidBlack, s:none, 'none')
call <sid>hi('javascriptAsyncFuncKeyword', s:voidBlack, s:none, 'none')
call <sid>hi('javascriptAwaitFuncKeyword', s:voidBlack, s:none, 'none')
call <sid>hi('javascriptBraces', s:voidBlack, s:none, 'none')
call <sid>hi('javascriptBrackets', s:voidBlack, s:none, 'none')
call <sid>hi('javascriptCacheMethod', s:voidBlack, s:none, 'none')
call <sid>hi('javascriptClassExtends', s:voidBlack, s:none, 'none')
call <sid>hi('javascriptClassKeyword', s:voidBlack, s:none, 'none')
call <sid>hi('javascriptClassName', s:voidBlack, s:none, 'none')
call <sid>hi('javascriptClassSuperName', s:voidBlack, s:none, 'none')
call <sid>hi('javascriptDOMElemAttrs', s:voidBlack, s:none, 'none')
call <sid>hi('javascriptDOMEventMethod', s:voidBlack, s:none, 'none')
call <sid>hi('javascriptDOMNodeMethod', s:voidBlack, s:none, 'none')
call <sid>hi('javascriptDOMStorageMethod', s:voidBlack, s:none, 'none')
call <sid>hi('javascriptDateMethod', s:voidBlack, s:none, 'none')
call <sid>hi('javascriptDefault', s:voidBlack, s:none, 'none')
call <sid>hi('javascriptDocNamedParamType', s:voidGray4, s:none, 'none')
call <sid>hi('javascriptDocNotation', s:voidGray4, s:none, 'none')
call <sid>hi('javascriptDocParamName', s:voidGray4, s:none, 'none')
call <sid>hi('javascriptDocParamType', s:voidGray4, s:none, 'none')
call <sid>hi('javascriptDocTags', s:voidGray4, s:none, 'none')
call <sid>hi('javascriptEndColons', s:voidBlack, s:none, 'none')
call <sid>hi('javascriptExport', s:voidBlack, s:none, 'none')
call <sid>hi('javascriptHeadersMethod', s:voidBlack, s:none, 'none')
call <sid>hi('javascriptIdentifierName', s:voidBlack, s:none, 'none')
call <sid>hi('javascriptImport', s:voidBlack, s:none, 'none')
call <sid>hi('javascriptLabel', s:voidBlack, s:none, 'none')
call <sid>hi('javascriptLogicSymbols', s:voidBlack, s:none, 'none')
call <sid>hi('javascriptMathStaticMethod', s:voidBlack, s:none, 'none')
call <sid>hi('javascriptObjectLabel', s:voidBlack, s:none, 'none')
call <sid>hi('javascriptOperator', s:voidBlack, s:none, 'none')
call <sid>hi('javascriptPropertyName', s:voidBlack, s:none, 'none')
call <sid>hi('javascriptStringMethod', s:voidBlack, s:none, 'none')
call <sid>hi('javascriptVariable', s:voidBlack, s:none, 'none')
call <sid>hi('javascriptYield', s:voidBlack, s:none, 'none')
call <sid>hi('jsArrowFunction', s:voidBlack, s:none, 'none')
call <sid>hi('jsClassDefinition', s:voidBlack, s:none, 'none')
call <sid>hi('jsClassKeyword', s:voidBlack, s:none, 'none')
call <sid>hi('jsDecorator', s:voidBlack, s:none, 'none')
call <sid>hi('jsDestructuringBlock', s:voidBlack, s:none, 'none')
call <sid>hi('jsExportDefault', s:voidBlack, s:none, 'none')
call <sid>hi('jsExtendsKeyword', s:voidBlack, s:none, 'none')
call <sid>hi('jsFuncArgs', s:voidBlack, s:none, 'none')
call <sid>hi('jsFuncCall', s:voidBlack, s:none, 'none')
call <sid>hi('jsFunction', s:voidBlack, s:none, 'none')
call <sid>hi('jsGlobalObjects', s:voidBlack, s:none, 'none')
call <sid>hi('jsModuleKeyword', s:voidBlack, s:none, 'none')
call <sid>hi('jsNull', s:voidBlack, s:none, 'none')
call <sid>hi('jsObjectBraces', s:voidBlack, s:none, 'none')
call <sid>hi('jsObjectKey', s:voidBlack, s:none, 'none')
call <sid>hi('jsObjectStringKey', s:voidBlack, s:none, 'none')
call <sid>hi('jsRegexpString', s:voidBlack, s:none, 'none')
call <sid>hi('jsReturn', s:voidBlack, s:none, 'none')
call <sid>hi('jsSpecial', s:voidBlack, s:none, 'none')
call <sid>hi('jsSuper', s:voidBlack, s:none, 'none')
call <sid>hi('jsTemplateBraces', s:voidBlack, s:none, 'none')
call <sid>hi('jsTemplateString', s:voidBlack, s:none, 'none')
call <sid>hi('jsThis', s:voidBlack, s:none, 'none')
call <sid>hi('jsVariableDef', s:voidBlack, s:none, 'none')
" JSX
call <sid>hi('jsxAttrib', s:voidBlack, s:none, 'none')
call <sid>hi('jsxAttributeBraces', s:voidBlack, s:none, 'none')
call <sid>hi('jsxCloseString', s:voidBlack, s:none, 'none')
call <sid>hi('jsxCloseTag', s:voidBlack, s:none, 'none')
call <sid>hi('jsxString', s:voidBlack, s:none, 'none')
call <sid>hi('jsxTag', s:voidBlack, s:none, 'none')
call <sid>hi('jsxTagName', s:voidBlack, s:none, 'none')
" Ruby
call <sid>hi('rubyBlockParameter', s:voidBlack, s:none, 'none')
call <sid>hi('rubyClass', s:voidBlack, s:none, 'none')
call <sid>hi('rubyClassVariable', s:voidBlack, s:none, 'none')
call <sid>hi('rubyConstant', s:voidBlack, s:none, 'none')
call <sid>hi('rubyControl', s:voidBlack, s:none, 'none')
call <sid>hi('rubyEscape', s:voidBlack, s:none, 'none')
call <sid>hi('rubyException', s:voidBlack, s:none, 'none')
call <sid>hi('rubyFunction', s:voidBlack, s:none, 'none')
call <sid>hi('rubyGlobalVariable', s:voidBlack, s:none, 'none')
call <sid>hi('rubyInclude', s:voidBlack, s:none, 'none')
call <sid>hi('rubyInstanceVariable', s:voidBlack, s:none, 'none')
call <sid>hi('rubyInterpolationDelimiter', s:none, s:none, 'none')
call <sid>hi('rubyOperator', s:voidBlack, s:none, 'none')
call <sid>hi('rubyPseudoVariable', s:voidBlack, s:none, 'none')
call <sid>hi('rubyRegexp', s:voidBlack, s:none, 'none')
call <sid>hi('rubyRegexpDelimiter', s:voidBlack, s:none, 'none')
call <sid>hi('rubyStringDelimiter', s:voidBlack, s:none, 'none')
call <sid>hi('rubySymbol', s:voidBlack, s:none, 'none')
" Ruby (Embedded)
call <sid>hi('erubyComment', s:voidGray3, s:none, 'none')
call <sid>hi('erubyDelimiter', s:none, s:none, 'none')
call <sid>hi('erubyRailsMethod', s:voidBlack, s:none, 'none')
" Ruby on Rails
call <sid>hi('rubyRailsARAssociationMethod', s:voidBlack, s:none, 'none')
call <sid>hi('rubyRailsARMethod', s:voidBlack, s:none, 'none')
call <sid>hi('rubyRailsMethod', s:voidBlack, s:none, 'none')
call <sid>hi('rubyRailsRenderMethod', s:voidBlack, s:none, 'none')
call <sid>hi('rubyRailsUserClass', s:voidBlack, s:none, 'none')
" XML
call <sid>hi('xmlAttrib', s:voidBlack, s:none, 'none')
call <sid>hi('xmlEndTag', s:voidBlack, s:none, 'none')
call <sid>hi('xmlTag', s:voidBlack, s:none, 'none')
call <sid>hi('xmlTagName', s:voidBlack, s:none, 'none')
" YAML
call <sid>hi('yamlAlias', s:voidBlack, s:none, 'none')
call <sid>hi('yamlAnchor', s:voidBlack, s:none, 'none')
call <sid>hi('yamlDocumentHeader', s:voidBlack, s:none, 'none')
call <sid>hi('yamlKey', s:voidBlack, s:none, 'none')
" ------------
" Plugins
" ------------
" todo.txt
call <sid>hi('TodoContext', s:voidBlack, s:none, 'none')
call <sid>hi('TodoDate', s:voidBlack, s:none, 'none')
call <sid>hi('TodoDone', s:voidGray3, s:none, 'none')
call <sid>hi('TodoPriorityA', s:voidBlack, s:none, 'none')
call <sid>hi('TodoPriorityB', s:voidBlack, s:none, 'none')
call <sid>hi('TodoPriorityC', s:voidBlack, s:none, 'none')
call <sid>hi('TodoProject', s:voidBlack, s:none, 'none')
" Buftabline
call <sid>hi('BufTabLineActive', s:voidBlack, s:voidGray3, 'none')
call <sid>hi('BufTabLineCurrent', s:voidBlack, s:voidGray4, 'none')
call <sid>hi('BufTabLineFill', s:voidBlack, s:voidSteel, 'none')
call <sid>hi('BufTabLineHidden', s:voidGray3, s:voidBlack2, 'none')

View File

@@ -0,0 +1,373 @@
"
"
" ┌─┐┌─┐┌─┐┌┐ ┌─┐┬ ┬
" ├┤ │ ││ ┬├┴┐├┤ │ │
" └ └─┘└─┘└─┘└─┘┴─┘┴─┘
"
"
" by Jared Gorski
" https://github.com/jaredgorski/fogbell
scriptencoding utf-8
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name="fogbell_lite"
" ==========================
" Highlighting Function
" ==========================
" >> (inspired by https://github.com/tomasiser/vim-code-dark and https://github.com/chriskempson/base16-vim)
fun! <sid>hi(group, fg, bg, attr)
if !empty(a:fg)
exec "hi " . a:group . " guifg=" . a:fg.gui . " ctermfg=" . a:fg.cterm256
endif
if !empty(a:bg)
exec "hi " . a:group . " guibg=" . a:bg.gui . " ctermbg=" . a:bg.cterm256
endif
if a:attr != ""
exec "hi " . a:group . " gui=" . a:attr . " cterm=" . a:attr
endif
endfun
" ==========================
" Color Variables
" ==========================
let s:voidBlack = {'gui': '#1C1C1C', 'cterm256': '234'}
let s:voidBlack2 = {'gui': '#262626', 'cterm256': '235'}
let s:voidGray1 = {'gui': '#3E3D32', 'cterm256': '237'}
let s:voidGray2 = {'gui': '#49483E', 'cterm256': '239'}
let s:voidGray3 = {'gui': '#6B6B6B', 'cterm256': '242'}
let s:voidGray4 = {'gui': '#B0B0B0', 'cterm256': '249'}
let s:voidSteel = {'gui': '#D0D0D0', 'cterm256': '252'}
let s:voidBlue = {'gui': '#699B9B', 'cterm256': '109'}
let s:voidGreen = {'gui': '#569F7A', 'cterm256': '72'}
let s:voidGold = {'gui': '#8E700B', 'cterm256': '136'}
let s:voidRed = {'gui': '#821A1A', 'cterm256': '1'}
let s:voidRed2 = {'gui': '#FF0000', 'cterm256': '196'}
let s:none = {'gui': 'NONE', 'cterm256': 'NONE'}
" ==========================
" Definitions
" ==========================
" <sid>hi(GROUP, FOREGROUND, BACKGROUND, ATTRIBUTE)
" Editor
call <sid>hi('ColorColumn', s:none, s:voidGray1, 'none')
call <sid>hi('Cursor', s:voidBlack, s:voidSteel, 'none')
call <sid>hi('CursorColumn', s:none, s:voidGray1, 'none')
call <sid>hi('CursorLine', s:none, s:voidGray1, 'none')
call <sid>hi('CursorLineNr', s:voidSteel, s:voidGray1, 'none')
call <sid>hi('Directory', s:voidSteel, s:voidBlack, 'none')
call <sid>hi('FoldColumn', s:none, s:voidBlack2, 'none')
call <sid>hi('Folded', s:voidGray3, s:none, 'none')
call <sid>hi('IncSearch', s:voidBlack, s:voidGold, 'none')
call <sid>hi('LineNr', s:voidGray3, s:voidBlack2, 'none')
call <sid>hi('MatchParen', s:voidSteel, s:voidGray3, 'none')
call <sid>hi('Normal', s:voidSteel, s:voidBlack, 'none')
call <sid>hi('Pmenu', s:none, s:voidBlack2, 'none')
call <sid>hi('PmenuSel', s:none, s:voidGray2, 'none')
call <sid>hi('Search', s:voidBlack, s:voidGold, 'none')
call <sid>hi('SignColumn', s:none, s:voidBlack2, 'none')
call <sid>hi('StatusLine', s:voidBlack, s:voidSteel, 'none')
call <sid>hi('StatusLineNC', s:voidGray3, s:voidBlack2, 'none')
call <sid>hi('VertSplit', s:voidBlack, s:voidGray3, 'none')
call <sid>hi('Visual', s:none, s:voidGray2, 'none')
" General
call <sid>hi('Boolean', s:voidSteel, s:none, 'none')
call <sid>hi('Character', s:voidSteel, s:none, 'none')
call <sid>hi('Comment', s:voidGray3, s:none, 'none')
call <sid>hi('Conditional', s:voidSteel, s:none, 'none')
call <sid>hi('Constant', s:voidSteel, s:none, 'none')
call <sid>hi('Define', s:voidSteel, s:none, 'none')
call <sid>hi('DiffAdd', s:voidBlack, s:voidGreen, 'none')
call <sid>hi('DiffChange', s:voidBlack, s:voidGold, 'none')
call <sid>hi('DiffDelete', s:voidSteel, s:voidRed, 'none')
call <sid>hi('DiffText', s:voidGray1, s:voidBlue, 'none')
call <sid>hi('ErrorMsg', s:voidSteel, s:voidRed, 'none')
call <sid>hi('Float', s:voidSteel, s:none, 'none')
call <sid>hi('Function', s:voidSteel, s:none, 'none')
call <sid>hi('Identifier', s:voidSteel, s:none, 'none')
call <sid>hi('Keyword', s:voidSteel, s:none, 'none')
call <sid>hi('Label', s:voidSteel, s:none, 'none')
call <sid>hi('NonText', s:voidGray3, s:none, 'none')
call <sid>hi('Number', s:voidSteel, s:none, 'none')
call <sid>hi('Operator', s:voidSteel, s:none, 'none')
call <sid>hi('PreProc', s:voidSteel, s:none, 'none')
call <sid>hi('Special', s:voidSteel, s:none, 'none')
call <sid>hi('SpecialKey', s:voidSteel, s:none, 'none')
call <sid>hi('SpellBad', s:voidRed2, s:none, 'italic,undercurl')
call <sid>hi('SpellCap', s:voidSteel, s:none, 'italic,undercurl')
call <sid>hi('SpellLocal', s:voidSteel, s:none, 'undercurl')
call <sid>hi('Statement', s:voidSteel, s:none, 'none')
call <sid>hi('StorageClass', s:voidSteel, s:none, 'none')
call <sid>hi('String', s:voidSteel, s:none, 'none')
call <sid>hi('Tag', s:voidSteel, s:none, 'none')
call <sid>hi('Title', s:none, s:none, 'bold')
call <sid>hi('Todo', s:voidGray3, s:none, 'inverse,bold')
call <sid>hi('Type', s:none, s:none, 'none')
call <sid>hi('Underlined', s:none, s:none, 'underline')
call <sid>hi('WarningMsg', s:voidSteel, s:voidRed, 'none')
" Diff Mode
if &diff
call <sid>hi('DiffAdd', s:voidBlack, s:voidGreen, 'none')
call <sid>hi('DiffChange', s:voidBlack, s:voidGold, 'none')
call <sid>hi('DiffDelete', s:voidRed2, s:voidRed, 'none')
call <sid>hi('DiffText', s:voidGray1, s:voidBlue, 'none')
else
call <sid>hi('DiffAdd', s:voidGreen, s:none, 'none')
call <sid>hi('DiffChange', s:voidGold, s:none, 'none')
call <sid>hi('DiffDelete', s:voidRed2, s:none, 'none')
call <sid>hi('DiffText', s:voidSteel, s:voidBlue, 'none')
endif
" ------------
" Languages
" ------------
" C
call <sid>hi('cConstant', s:voidSteel, s:none, 'none')
call <sid>hi('cFormat', s:voidSteel, s:none, 'none')
call <sid>hi('cMulti', s:voidSteel, s:none, 'none')
call <sid>hi('cNumbers', s:voidSteel, s:none, 'none')
call <sid>hi('cOperator', s:voidSteel, s:none, 'none')
call <sid>hi('cSpecial', s:voidSteel, s:none, 'none')
call <sid>hi('cSpecialCharacter', s:voidSteel, s:none, 'none')
call <sid>hi('cStatement', s:voidSteel, s:none, 'none')
call <sid>hi('cStorageClass', s:voidSteel, s:none, 'none')
call <sid>hi('cString', s:voidSteel, s:none, 'none')
call <sid>hi('cStructure', s:voidSteel, s:none, 'none')
call <sid>hi('cType', s:voidSteel, s:none, 'none')
" C++
call <sid>hi('cppConstant', s:voidSteel, s:none, 'none')
call <sid>hi('cppFormat', s:voidSteel, s:none, 'none')
call <sid>hi('cppMulti', s:voidSteel, s:none, 'none')
call <sid>hi('cppNumbers', s:voidSteel, s:none, 'none')
call <sid>hi('cppOperator', s:voidSteel, s:none, 'none')
call <sid>hi('cppSpecial', s:voidSteel, s:none, 'none')
call <sid>hi('cppSpecialCharacter', s:voidSteel, s:none, 'none')
call <sid>hi('cppStatement', s:voidSteel, s:none, 'none')
call <sid>hi('cppStorageClass', s:voidSteel, s:none, 'none')
call <sid>hi('cppString', s:voidSteel, s:none, 'none')
call <sid>hi('cppStructure', s:voidSteel, s:none, 'none')
call <sid>hi('cppType', s:voidSteel, s:none, 'none')
" CSS
call <sid>hi('cssAttr', s:voidSteel, s:none, 'none')
call <sid>hi('cssAttrRegion', s:voidSteel, s:none, 'none')
call <sid>hi('cssBraces', s:voidSteel, s:none, 'none')
call <sid>hi('cssBrowserPrefix', s:voidSteel, s:none, 'none')
call <sid>hi('cssClassName', s:voidSteel, s:none, 'none')
call <sid>hi('cssClassNameDot', s:voidSteel, s:none, 'none')
call <sid>hi('cssClassSelectorDot', s:voidSteel, s:none, 'none')
call <sid>hi('cssColor', s:voidSteel, s:none, 'none')
call <sid>hi('cssCommonAttr', s:voidSteel, s:none, 'none')
call <sid>hi('cssCustomProperty', s:voidSteel, s:none, 'none')
call <sid>hi('cssDefinition', s:voidSteel, s:none, 'none')
call <sid>hi('cssFunction', s:voidSteel, s:none, 'none')
call <sid>hi('cssFunctionName', s:voidSteel, s:none, 'none')
call <sid>hi('cssIdentifier', s:voidSteel, s:none, 'none')
call <sid>hi('cssImportant', s:voidSteel, s:none, 'none')
call <sid>hi('cssInclude', s:voidSteel, s:none, 'none')
call <sid>hi('cssMedia', s:voidSteel, s:none, 'none')
call <sid>hi('cssMediaBlock', s:voidSteel, s:none, 'none')
call <sid>hi('cssProp', s:voidSteel, s:none, 'none')
call <sid>hi('cssGeneratedContentProp', s:voidSteel, s:none, 'none')
call <sid>hi('cssTextProp', s:voidSteel, s:none, 'none')
call <sid>hi('cssAnimationProp', s:voidSteel, s:none, 'none')
call <sid>hi('cssUIProp', s:voidSteel, s:none, 'none')
call <sid>hi('cssTransformProp', s:voidSteel, s:none, 'none')
call <sid>hi('cssTransitionProp', s:voidSteel, s:none, 'none')
call <sid>hi('cssPrintProp', s:voidSteel, s:none, 'none')
call <sid>hi('cssPositioningProp', s:voidSteel, s:none, 'none')
call <sid>hi('cssBoxProp', s:voidSteel, s:none, 'none')
call <sid>hi('cssFontDescriptorProp', s:voidSteel, s:none, 'none')
call <sid>hi('cssFlexibleBoxProp', s:voidSteel, s:none, 'none')
call <sid>hi('cssBorderOutlineProp', s:voidSteel, s:none, 'none')
call <sid>hi('cssBackgroundProp', s:voidSteel, s:none, 'none')
call <sid>hi('cssMarginProp', s:voidSteel, s:none, 'none')
call <sid>hi('cssListProp', s:voidSteel, s:none, 'none')
call <sid>hi('cssTableProp', s:voidSteel, s:none, 'none')
call <sid>hi('cssFontProp', s:voidSteel, s:none, 'none')
call <sid>hi('cssPaddingProp', s:voidSteel, s:none, 'none')
call <sid>hi('cssDimensionProp', s:voidSteel, s:none, 'none')
call <sid>hi('cssRenderProp', s:voidSteel, s:none, 'none')
call <sid>hi('cssColorProp', s:voidSteel, s:none, 'none')
call <sid>hi('cssGeneratedContentProp', s:voidSteel, s:none, 'none')
call <sid>hi('cssPropDefinition', s:voidSteel, s:none, 'none')
call <sid>hi('cssPseudoClass', s:voidSteel, s:none, 'none')
call <sid>hi('cssPseudoClassId', s:voidSteel, s:none, 'none')
call <sid>hi('cssPseudoClassLang', s:voidSteel, s:none, 'none')
call <sid>hi('cssSelectorOperator', s:voidSteel, s:none, 'none')
call <sid>hi('cssTagName', s:voidSteel, s:none, 'none')
call <sid>hi('cssURL', s:voidSteel, s:none, 'none')
call <sid>hi('cssUnitDecorators', s:voidSteel, s:none, 'none')
call <sid>hi('cssUnits', s:voidSteel, s:none, 'none')
call <sid>hi('cssValueLength', s:voidSteel, s:none, 'none')
call <sid>hi('cssValueNumber', s:voidSteel, s:none, 'none')
call <sid>hi('cssValueKeyword', s:voidSteel, s:none, 'none')
call <sid>hi('cssVendor', s:voidSteel, s:none, 'none')
" HTML
call <sid>hi('htmlArg', s:voidSteel, s:none, 'none')
call <sid>hi('htmlEndTag', s:voidSteel, s:none, 'none')
call <sid>hi('htmlSpecialChar', s:voidSteel, s:none, 'none')
call <sid>hi('htmlSpecialTagName', s:voidSteel, s:none, 'none')
call <sid>hi('htmlTag', s:voidSteel, s:none, 'none')
call <sid>hi('htmlTagName', s:voidSteel, s:none, 'none')
" JavaScript
call <sid>hi('javaScript', s:voidSteel, s:none, 'none')
call <sid>hi('javaScriptFunction', s:voidSteel, s:none, 'none')
call <sid>hi('javaScriptIdentifier', s:voidSteel, s:none, 'none')
call <sid>hi('javaScriptMember', s:voidSteel, s:none, 'none')
call <sid>hi('javaScriptNull', s:voidSteel, s:none, 'none')
call <sid>hi('javaScriptNumber', s:voidSteel, s:none, 'none')
call <sid>hi('javaScriptNumber', s:voidSteel, s:none, 'none')
call <sid>hi('javaScriptParens', s:voidSteel, s:none, 'none')
call <sid>hi('javaScriptSpecial', s:voidSteel, s:none, 'none')
call <sid>hi('javaScriptStringS', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptArrayMethod', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptArrayStaticMethod', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptArrowFunc', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptAsyncFuncKeyword', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptAwaitFuncKeyword', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptBraces', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptBrackets', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptCacheMethod', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptClassExtends', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptClassKeyword', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptClassName', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptClassSuperName', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptDOMElemAttrs', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptDOMEventMethod', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptDOMNodeMethod', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptDOMStorageMethod', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptDateMethod', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptDefault', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptDocNamedParamType', s:voidGray4, s:none, 'none')
call <sid>hi('javascriptDocNotation', s:voidGray4, s:none, 'none')
call <sid>hi('javascriptDocParamName', s:voidGray4, s:none, 'none')
call <sid>hi('javascriptDocParamType', s:voidGray4, s:none, 'none')
call <sid>hi('javascriptDocTags', s:voidGray4, s:none, 'none')
call <sid>hi('javascriptEndColons', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptExport', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptHeadersMethod', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptIdentifierName', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptImport', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptLabel', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptLogicSymbols', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptMathStaticMethod', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptObjectLabel', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptOperator', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptPropertyName', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptStringMethod', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptVariable', s:voidSteel, s:none, 'none')
call <sid>hi('javascriptYield', s:voidSteel, s:none, 'none')
call <sid>hi('jsArrowFunction', s:voidSteel, s:none, 'none')
call <sid>hi('jsClassDefinition', s:voidSteel, s:none, 'none')
call <sid>hi('jsClassKeyword', s:voidSteel, s:none, 'none')
call <sid>hi('jsDecorator', s:voidSteel, s:none, 'none')
call <sid>hi('jsDestructuringBlock', s:voidSteel, s:none, 'none')
call <sid>hi('jsExportDefault', s:voidSteel, s:none, 'none')
call <sid>hi('jsExtendsKeyword', s:voidSteel, s:none, 'none')
call <sid>hi('jsFuncArgs', s:voidSteel, s:none, 'none')
call <sid>hi('jsFuncCall', s:voidSteel, s:none, 'none')
call <sid>hi('jsFunction', s:voidSteel, s:none, 'none')
call <sid>hi('jsGlobalObjects', s:voidSteel, s:none, 'none')
call <sid>hi('jsModuleKeyword', s:voidSteel, s:none, 'none')
call <sid>hi('jsNull', s:voidSteel, s:none, 'none')
call <sid>hi('jsObjectBraces', s:voidSteel, s:none, 'none')
call <sid>hi('jsObjectKey', s:voidSteel, s:none, 'none')
call <sid>hi('jsObjectStringKey', s:voidSteel, s:none, 'none')
call <sid>hi('jsRegexpString', s:voidSteel, s:none, 'none')
call <sid>hi('jsReturn', s:voidSteel, s:none, 'none')
call <sid>hi('jsSpecial', s:voidSteel, s:none, 'none')
call <sid>hi('jsSuper', s:voidSteel, s:none, 'none')
call <sid>hi('jsTemplateBraces', s:voidSteel, s:none, 'none')
call <sid>hi('jsTemplateString', s:voidSteel, s:none, 'none')
call <sid>hi('jsThis', s:voidSteel, s:none, 'none')
call <sid>hi('jsVariableDef', s:voidSteel, s:none, 'none')
" JSX
call <sid>hi('jsxAttrib', s:voidSteel, s:none, 'none')
call <sid>hi('jsxAttributeBraces', s:voidSteel, s:none, 'none')
call <sid>hi('jsxCloseString', s:voidSteel, s:none, 'none')
call <sid>hi('jsxCloseTag', s:voidSteel, s:none, 'none')
call <sid>hi('jsxString', s:voidSteel, s:none, 'none')
call <sid>hi('jsxTag', s:voidSteel, s:none, 'none')
call <sid>hi('jsxTagName', s:voidSteel, s:none, 'none')
" Ruby
call <sid>hi('rubyBlockParameter', s:voidSteel, s:none, 'none')
call <sid>hi('rubyClass', s:voidSteel, s:none, 'none')
call <sid>hi('rubyClassVariable', s:voidSteel, s:none, 'none')
call <sid>hi('rubyConstant', s:voidSteel, s:none, 'none')
call <sid>hi('rubyControl', s:voidSteel, s:none, 'none')
call <sid>hi('rubyEscape', s:voidSteel, s:none, 'none')
call <sid>hi('rubyException', s:voidSteel, s:none, 'none')
call <sid>hi('rubyFunction', s:voidSteel, s:none, 'none')
call <sid>hi('rubyGlobalVariable', s:voidSteel, s:none, 'none')
call <sid>hi('rubyInclude', s:voidSteel, s:none, 'none')
call <sid>hi('rubyInstanceVariable', s:voidSteel, s:none, 'none')
call <sid>hi('rubyInterpolationDelimiter', s:none, s:none, 'none')
call <sid>hi('rubyOperator', s:voidSteel, s:none, 'none')
call <sid>hi('rubyPseudoVariable', s:voidSteel, s:none, 'none')
call <sid>hi('rubyRegexp', s:voidSteel, s:none, 'none')
call <sid>hi('rubyRegexpDelimiter', s:voidSteel, s:none, 'none')
call <sid>hi('rubyStringDelimiter', s:voidSteel, s:none, 'none')
call <sid>hi('rubySymbol', s:voidSteel, s:none, 'none')
" Ruby (Embedded)
call <sid>hi('erubyComment', s:voidGray3, s:none, 'none')
call <sid>hi('erubyDelimiter', s:none, s:none, 'none')
call <sid>hi('erubyRailsMethod', s:voidSteel, s:none, 'none')
" Ruby on Rails
call <sid>hi('rubyRailsARAssociationMethod', s:voidSteel, s:none, 'none')
call <sid>hi('rubyRailsARMethod', s:voidSteel, s:none, 'none')
call <sid>hi('rubyRailsMethod', s:voidSteel, s:none, 'none')
call <sid>hi('rubyRailsRenderMethod', s:voidSteel, s:none, 'none')
call <sid>hi('rubyRailsUserClass', s:voidSteel, s:none, 'none')
" XML
call <sid>hi('xmlAttrib', s:voidSteel, s:none, 'none')
call <sid>hi('xmlEndTag', s:voidSteel, s:none, 'none')
call <sid>hi('xmlTag', s:voidSteel, s:none, 'none')
call <sid>hi('xmlTagName', s:voidSteel, s:none, 'none')
" YAML
call <sid>hi('yamlAlias', s:voidSteel, s:none, 'none')
call <sid>hi('yamlAnchor', s:voidSteel, s:none, 'none')
call <sid>hi('yamlDocumentHeader', s:voidSteel, s:none, 'none')
call <sid>hi('yamlKey', s:voidSteel, s:none, 'none')
" ------------
" Plugins
" ------------
" todo.txt
call <sid>hi('TodoContext', s:voidSteel, s:none, 'none')
call <sid>hi('TodoDate', s:voidSteel, s:none, 'none')
call <sid>hi('TodoDone', s:voidGray3, s:none, 'none')
call <sid>hi('TodoPriorityA', s:voidSteel, s:none, 'none')
call <sid>hi('TodoPriorityB', s:voidSteel, s:none, 'none')
call <sid>hi('TodoPriorityC', s:voidSteel, s:none, 'none')
call <sid>hi('TodoProject', s:voidSteel, s:none, 'none')
" Buftabline
call <sid>hi('BufTabLineActive', s:voidSteel, s:voidGray2, 'none')
call <sid>hi('BufTabLineCurrent', s:voidBlack, s:voidGray4, 'none')
call <sid>hi('BufTabLineFill', s:voidBlack, s:voidBlack, 'none')
call <sid>hi('BufTabLineHidden', s:voidGray3, s:voidBlack2, 'none')

View File

@@ -0,0 +1,127 @@
" Vim color file -- with 256 colour support!
"
" Author: Anthony Carapetis <anthony.carapetis@gmail.com>
" Contributors: Lucas Tadeu <lucastadeuteixeira@gmail.com>
"
" Note: Based on github's syntax highlighting theme
" Used Brian Mock's darkspectrum as a starting point/template
" Thanks to Ryan Heath for an easy list of some of the colours:
" http://rpheath.com/posts/356-github-theme-for-syntax-gem
set background=light
if version > 580
hi clear
if exists("syntax_on")
syntax reset
endif
endif
let colors_name = "github"
" {{{ General colors
hi Normal ctermfg=0 ctermbg=255 guifg=#000000 guibg=#F8F8FF
hi Cursor ctermfg=239 ctermbg=15 guifg=#F8F8FF guibg=#444454
hi Visual ctermfg=15 ctermbg=61 guifg=#FFFFFF guibg=#3465a3
hi VisualNOS ctermfg=15 ctermbg=24 guifg=#FFFFFF guibg=#204a87
hi Search ctermfg=236 ctermbg=228 guifg=#000000 guibg=#FFFF8C cterm=bold gui=bold
hi Folded ctermfg=8 ctermbg=15 guifg=#808080 guibg=#ECECEC gui=bold cterm=bold
hi Title ctermfg=167 guifg=#ef5939
hi StatusLine ctermfg=238 ctermbg=250 guifg=#404040 guibg=#bbbbbb gui=bold cterm=bold
hi StatusLineNC ctermfg=238 ctermbg=252 guifg=#404040 guibg=#d4d4d4 gui=italic cterm=italic
hi VertSplit ctermfg=250 ctermbg=250 guifg=#bbbbbb guibg=#bbbbbb gui=none cterm=none
hi LineNr ctermfg=246 ctermbg=15 guifg=#959595 guibg=#ECECEC gui=bold cterm=bold
hi SpecialKey ctermfg=6 guifg=#177F80 gui=italic cterm=italic
hi WarningMsg ctermfg=167 guifg=#ef5939
hi ErrorMsg ctermbg=15 ctermfg=196 guibg=#f8f8ff guifg=#ff1100 gui=undercurl cterm=undercurl
hi ColorColumn ctermbg=254 guibg=#e4e4e4
" }}}
" {{{ Vim => 7.0 specific colors
if version >= 700
hi CursorLine ctermbg=253 guibg=#D8D8DD
hi MatchParen ctermfg=0 ctermbg=252 guifg=#000000 guibg=#cdcdfd
hi Pmenu ctermfg=15 ctermbg=8 guifg=#ffffff guibg=#808080 gui=bold cterm=bold
hi PmenuSel ctermfg=0 ctermbg=252 guifg=#000000 guibg=#cdcdfd gui=italic cterm=italic
hi PmenuSbar ctermfg=238 ctermbg=0 guifg=#444444 guibg=#000000
hi PmenuThumb ctermfg=248 ctermbg=248 guifg=#aaaaaa guibg=#aaaaaa
endif
" }}}
" {{{ Diff highlighting
hi DiffAdd ctermfg=233 ctermbg=194 guifg=#003300 guibg=#DDFFDD gui=none cterm=none
hi DiffChange ctermbg=255 guibg=#ececec gui=none cterm=none
hi DiffText ctermfg=233 ctermbg=189 guifg=#000033 guibg=#DDDDFF gui=none cterm=none
hi DiffDelete ctermfg=252 ctermbg=224 guifg=#DDCCCC guibg=#FFDDDD gui=none cterm=none
" }}}
" {{{ Syntax highlighting
hi Ignore ctermfg=8 guifg=#808080
hi Identifier ctermfg=31 guifg=#0086B3
hi PreProc ctermfg=247 guifg=#A0A0A0 gui=bold cterm=bold
hi Comment ctermfg=246 guifg=#999988
hi Constant ctermfg=6 guifg=#177F80 gui=none cterm=none
hi String ctermfg=161 guifg=#D81745
hi Function ctermfg=88 guifg=#990000 gui=bold cterm=bold
hi Statement ctermfg=0 guifg=#000000 gui=bold cterm=bold
hi Type ctermfg=60 guifg=#445588 gui=bold cterm=bold
hi Number ctermfg=30 guifg=#1C9898
hi Todo ctermfg=15 ctermbg=88 guifg=#FFFFFF guibg=#990000 gui=bold cterm=bold
hi Special ctermfg=28 guifg=#159828 gui=bold cterm=bold
hi Todo ctermbg=15 ctermfg=196 guibg=#f8f8ff guifg=#ff1100 gui=underline cterm=underline
hi Label ctermfg=0 guifg=#000000 gui=bold cterm=bold
hi StorageClass ctermfg=0 guifg=#000000 gui=bold cterm=bold
hi Structure ctermfg=0 guifg=#000000 gui=bold cterm=bold
hi TypeDef ctermfg=0 guifg=#000000 gui=bold cterm=bold
" {{{ Links
hi! link FoldColumn Folded
hi! link CursorColumn CursorLine
hi! link NonText LineNr
" }}}
" {{{ Aliases
hi link cppSTL Function
hi link cppSTLType Type
hi link Character Number
hi link htmlTag htmlEndTag
hi link htmlLink Underlined
hi link pythonFunction Identifier
hi link Question Type
hi link CursorIM Cursor
hi link VisualNOS Visual
hi link xmlTag Identifier
hi link xmlTagName Identifier
hi link shDeref Identifier
hi link shVariable Function
hi link rubySharpBang Special
hi link perlSharpBang Special
hi link schemeFunc Statement
" }}}
" {{{ Tabs
hi TabLine ctermfg=238 ctermbg=188 guifg=#404040 guibg=#dddddd gui=none
hi TabLineFill ctermfg=238 ctermbg=188 guifg=#404040 guibg=#dddddd gui=none
hi TabLineSel ctermfg=238 guifg=#404040 gui=bold
" }}}
" {{{ Spelling
if has("spell")
hi spellBad guisp=#fcaf3e
hi spellCap guisp=#73d216
hi spellRare guisp=#fcaf3e
hi spellLocal guisp=#729fcf
endif
" }}}
" {{{ Airline
hi airlineN1 ctermfg=188 ctermbg=0 guifg=#dddddd guibg=#000000 gui=none cterm=none
hi airlineN2 ctermfg=188 ctermbg=238 guifg=#dddddd guibg=#404040 gui=none cterm=none
hi airlineN3 ctermfg=0 ctermbg=188 guifg=#000000 guibg=#dddddd gui=none cterm=none
hi airlineInsert1 ctermfg=188 ctermbg=26 guifg=#dddddd guibg=#005cc5 gui=none cterm=none
hi airlineInsert2 ctermfg=188 ctermbg=17 guifg=#dddddd guibg=#032f62 gui=none cterm=none
hi airlineVisual1 ctermfg=188 ctermbg=91 guifg=#dddddd guibg=#6f42c1 gui=none cterm=none
hi airlineVisual2 ctermfg=188 ctermbg=237 guifg=#dddddd guibg=#45267d gui=none cterm=none
hi airlineReplace1 ctermfg=188 ctermbg=167 guifg=#dddddd guibg=#d73a49 gui=none cterm=none
hi airlineReplace2 ctermfg=188 ctermbg=124 guifg=#dddddd guibg=#b31d28 gui=none cterm=none
" }}}

View File

@@ -0,0 +1,279 @@
" _____ _____ _____ _ _ ___ ___ ___
" | __ \ _ |_ _| | | | / _ \ | \/ |
" | | \/ | | | | | | |_| |/ /_\ \| . . |
" | | __| | | | | | | _ || _ || |\/| |
" | |_\ \ \_/ / | | | | | || | | || | | |
" \____/\___/ \_/ \_| |_/\_| |_/\_| |_/
"
" URL: https://github.com/whatyouhide/vim-gotham
" Aurhor: Andrea Leopardi <an.leopardi@gmail.com>
" Version: 1.0.0
" License: MIT
" Bootstrap ===================================================================
hi clear
if exists('syntax_on') | syntax reset | endif
set background=dark
let g:colors_name = 'gotham'
" Helper functions =============================================================
" Execute the 'highlight' command with a List of arguments.
function! s:Highlight(args)
exec 'highlight ' . join(a:args, ' ')
endfunction
function! s:AddGroundValues(accumulator, ground, color)
let new_list = a:accumulator
for [where, value] in items(a:color)
call add(new_list, where . a:ground . '=' . value)
endfor
return new_list
endfunction
function! s:Col(group, fg_name, ...)
" ... = optional bg_name
let pieces = [a:group]
if a:fg_name !=# ''
let pieces = s:AddGroundValues(pieces, 'fg', s:colors[a:fg_name])
endif
if a:0 > 0 && a:1 !=# ''
let pieces = s:AddGroundValues(pieces, 'bg', s:colors[a:1])
endif
call s:Clear(a:group)
call s:Highlight(pieces)
endfunction
function! s:Attr(group, attr)
let l:attrs = [a:group, 'term=' . a:attr, 'cterm=' . a:attr, 'gui=' . a:attr]
call s:Highlight(l:attrs)
endfunction
function! s:Clear(group)
exec 'highlight clear ' . a:group
endfunction
" Colors ======================================================================
" Let's store all the colors in a dictionary.
let s:colors = {}
" Base colors.
let s:colors.base0 = { 'gui': '#0c1014', 'cterm': 0 }
let s:colors.base1 = { 'gui': '#11151c', 'cterm': 8 }
let s:colors.base2 = { 'gui': '#091f2e', 'cterm': 10 }
let s:colors.base3 = { 'gui': '#0a3749', 'cterm': 12 }
let s:colors.base4 = { 'gui': '#1e6479', 'cterm': 11 }
let s:colors.base5 = { 'gui': '#599cab', 'cterm': 14 }
let s:colors.base6 = { 'gui': '#99d1ce', 'cterm': 7 }
let s:colors.base7 = { 'gui': '#d3ebe9', 'cterm': 15 }
" Other colors.
let s:colors.red = { 'gui': '#c23127', 'cterm': 1 }
let s:colors.orange = { 'gui': '#d26937', 'cterm': 9 }
let s:colors.yellow = { 'gui': '#edb443', 'cterm': 3 }
let s:colors.magenta = { 'gui': '#888ca6', 'cterm': 13 }
let s:colors.violet = { 'gui': '#4e5166', 'cterm': 5 }
let s:colors.blue = { 'gui': '#195466', 'cterm': 4 }
let s:colors.cyan = { 'gui': '#33859E', 'cterm': 6 }
let s:colors.green = { 'gui': '#2aa889', 'cterm': 2 }
" Neovim :terminal colors.
let g:terminal_color_0 = get(s:colors.base0, 'gui')
let g:terminal_color_8 = g:terminal_color_0
let g:terminal_color_1 = get(s:colors.red, 'gui')
let g:terminal_color_9 = g:terminal_color_1
let g:terminal_color_2 = get(s:colors.green, 'gui')
let g:terminal_color_10 = g:terminal_color_2
let g:terminal_color_3 = get(s:colors.yellow, 'gui')
let g:terminal_color_11 = g:terminal_color_3
let g:terminal_color_4 = get(s:colors.blue, 'gui')
let g:terminal_color_12 = g:terminal_color_4
let g:terminal_color_5 = get(s:colors.violet, 'gui')
let g:terminal_color_13 = g:terminal_color_5
let g:terminal_color_6 = get(s:colors.cyan, 'gui')
let g:terminal_color_14 = g:terminal_color_6
let g:terminal_color_7 = get(s:colors.base6, 'gui')
let g:terminal_color_15 = g:terminal_color_7
" Native highlighting ==========================================================
let s:background = 'base0'
let s:linenr_background = 'base1'
" Everything starts here.
call s:Col('Normal', 'base6', s:background)
" Line, cursor and so on.
call s:Col('Cursor', 'base1', 'base6')
call s:Col('CursorLine', '', 'base1')
call s:Col('CursorColumn', '', 'base1')
" Sign column, line numbers.
call s:Col('LineNr', 'blue', s:linenr_background)
call s:Col('CursorLineNr', 'base5', s:linenr_background)
call s:Col('SignColumn', '', s:linenr_background)
call s:Col('ColorColumn', '', s:linenr_background)
" Visual selection.
call s:Col('Visual', '', 'base3')
" Easy-to-guess code elements.
call s:Col('Comment', 'blue')
call s:Col('String', 'green')
call s:Col('Number', 'orange')
call s:Col('Statement', 'base5')
call s:Col('Special', 'orange')
call s:Col('Identifier', 'base5')
" Constants, Ruby symbols.
call s:Col('Constant', 'magenta')
" Some HTML tags (<title>, some <h*>s)
call s:Col('Title', 'orange')
" <a> tags.
call s:Col('Underlined', 'yellow')
call s:Attr('Underlined', 'underline')
" Types, HTML attributes, Ruby constants (and class names).
call s:Col('Type', 'orange')
" Stuff like 'require' in Ruby.
call s:Col('PreProc', 'red')
" Tildes on the bottom of the page.
call s:Col('NonText', 'blue')
" Concealed stuff.
call s:Col('Conceal', 'cyan', s:background)
" TODO and similar tags.
call s:Col('Todo', 'magenta', s:background)
" The column separating vertical splits.
call s:Col('VertSplit', 'blue', s:linenr_background)
call s:Col('StatusLineNC', 'blue', 'base2')
" Matching parenthesis.
call s:Col('MatchParen', 'base6', 'orange')
" Special keys, e.g. some of the chars in 'listchars'. See ':h listchars'.
call s:Col('SpecialKey', 'base3')
" Folds.
call s:Col('Folded', 'base6', 'blue')
call s:Col('FoldColumn', 'base5', 'base3')
" Searching.
call s:Col('Search', 'base2', 'yellow')
call s:Attr('IncSearch', 'reverse')
" Popup menu.
call s:Col('Pmenu', 'base6', 'base2')
call s:Col('PmenuSel', 'base7', 'blue')
call s:Col('PmenuSbar', '', 'base2')
call s:Col('PmenuThumb', '', 'blue')
" Command line stuff.
call s:Col('ErrorMsg', 'red', 'base1')
call s:Col('Error', 'red', 'base1')
call s:Col('ModeMsg', 'blue')
call s:Col('WarningMsg', 'red')
" Wild menu.
" StatusLine determines the color of the non-active entries in the wild menu.
call s:Col('StatusLine', 'base5', 'base2')
call s:Col('WildMenu', 'base7', 'cyan')
" The 'Hit ENTER to continue prompt'.
call s:Col('Question', 'green')
" Tab line.
call s:Col('TabLineSel', 'base7', 'blue') " the selected tab
call s:Col('TabLine', 'base6', 'base2') " the non-selected tabs
call s:Col('TabLineFill', 'base0', 'base0') " the rest of the tab line
" Spelling.
call s:Col('SpellBad', 'base7', 'red')
call s:Col('SpellCap', 'base7', 'blue')
call s:Col('SpellLocal', 'yellow')
call s:Col('SpellRare', 'base7', 'violet')
" Diffing.
call s:Col('DiffAdd', 'base7', 'green')
call s:Col('DiffChange', 'base7', 'blue')
call s:Col('DiffDelete', 'base7', 'red')
call s:Col('DiffText', 'base7', 'cyan')
call s:Col('DiffAdded', 'green')
call s:Col('DiffChanged', 'blue')
call s:Col('DiffRemoved', 'red')
call s:Col('DiffSubname', 'blue')
" Directories (e.g. netrw).
call s:Col('Directory', 'cyan')
" Programming languages and filetypes ==========================================
" Ruby.
call s:Col('rubyDefine', 'blue')
call s:Col('rubyStringDelimiter', 'green')
" HTML (and often Markdown).
call s:Col('htmlArg', 'blue')
call s:Col('htmlItalic', 'magenta')
call s:Attr('htmlItalic', 'italic')
call s:Col('htmlBold', 'cyan', '')
call s:Attr('htmlBold', 'bold')
call s:Col('htmlBoldItalic', 'cyan', '')
call s:Attr('htmlBoldItalic', 'bold,italic')
" Python
call s:Col('pythonStatement', 'blue')
" Plugin =======================================================================
" GitGutter
call s:Col('GitGutterAdd', 'green', s:linenr_background)
call s:Col('GitGutterChange', 'cyan', s:linenr_background)
call s:Col('GitGutterDelete', 'orange', s:linenr_background)
call s:Col('GitGutterChangeDelete', 'magenta', s:linenr_background)
" CtrlP
call s:Col('CtrlPNoEntries', 'base7', 'orange') " no entries
call s:Col('CtrlPMatch', 'green') " matching part
call s:Col('CtrlPPrtBase', 'blue') " '>>>' prompt
call s:Col('CtrlPPrtText', 'cyan') " text in the prompt
call s:Col('CtrlPPtrCursor', 'base7') " cursor in the prompt
" unite.vim
call s:Col('UniteGrep', 'base7', 'green')
let g:unite_source_grep_search_word_highlight = 'UniteGrep'
" ale https://github.com/w0rp/ale
call s:Col('ALEWarningSign', 'yellow', s:linenr_background)
call s:Col('ALEErrorSign', 'red', s:linenr_background)
" neomake https://github.com/neomake/neomake
call s:Col('NeomakeWarningSign', 'yellow', s:linenr_background)
call s:Col('NeomakeErrorSign', 'red', s:linenr_background)
call s:Col('NeomakeWarning', 'yellow')
call s:Col('NeomakeError', 'red')
" Cleanup =====================================================================
unlet s:colors
unlet s:background
unlet s:linenr_background

View File

@@ -0,0 +1,269 @@
" _____ _____ _____ _ _ ___ ___ ___
" | __ \ _ |_ _| | | | / _ \ | \/ |
" | | \/ | | | | | | |_| |/ /_\ \| . . |
" | | __| | | | | | | _ || _ || |\/| | -256
" | |_\ \ \_/ / | | | | | || | | || | | |
" \____/\___/ \_/ \_| |_/\_| |_/\_| |_/
"
" URL: https://github.com/whatyouhide/vim-gotham
" Aurhor: Andrea Leopardi <an.leopardi@gmail.com>
" Version: ϡ
" License: MIT
" Bootstrap ===================================================================
hi clear
if exists('syntax_on') | syntax reset | endif
set background=dark
let g:colors_name = 'gotham256'
if !(has('termguicolors') && &termguicolors) && !has('gui_running') && &t_Co != 256
finish
endif
" Helper functions =============================================================
" Execute the 'highlight' command with a List of arguments.
function! s:Highlight(args)
exec 'highlight ' . join(a:args, ' ')
endfunction
function! s:AddGroundValues(accumulator, ground, color)
let new_list = a:accumulator
for [where, value] in items(a:color)
call add(new_list, where . a:ground . '=' . value)
endfor
return new_list
endfunction
function! s:Col(group, fg_name, ...)
" ... = optional bg_name
let pieces = [a:group]
if a:fg_name !=# ''
let pieces = s:AddGroundValues(pieces, 'fg', s:colors[a:fg_name])
endif
if a:0 > 0 && a:1 !=# ''
let pieces = s:AddGroundValues(pieces, 'bg', s:colors[a:1])
endif
call s:Clear(a:group)
call s:Highlight(pieces)
endfunction
function! s:Attr(group, attr)
let l:attrs = [a:group, 'term=' . a:attr, 'cterm=' . a:attr, 'gui=' . a:attr]
call s:Highlight(l:attrs)
endfunction
function! s:Clear(group)
exec 'highlight clear ' . a:group
endfunction
" Colors ======================================================================
" Let's store all the colors in a dictionary.
let s:colors = {}
" Base colors.
let s:colors.base0 = { 'gui': '#0c1014', 'cterm': 232 }
let s:colors.base1 = { 'gui': '#11151c', 'cterm': 233 }
let s:colors.base2 = { 'gui': '#091f2e', 'cterm': 17 }
let s:colors.base3 = { 'gui': '#0a3749', 'cterm': 18 }
let s:colors.base4 = { 'gui': '#1e6479', 'cterm': 31 }
let s:colors.base5 = { 'gui': '#599cab', 'cterm': 81 }
let s:colors.base6 = { 'gui': '#99d1ce', 'cterm': 122 }
let s:colors.base7 = { 'gui': '#d3ebe9', 'cterm': 194 }
" Other colors.
let s:colors.red = { 'gui': '#c23127', 'cterm': 124 }
let s:colors.orange = { 'gui': '#d26937', 'cterm': 166 }
let s:colors.yellow = { 'gui': '#edb443', 'cterm': 214 }
let s:colors.magenta = { 'gui': '#888ca6', 'cterm': 67 }
let s:colors.violet = { 'gui': '#4e5166', 'cterm': 60 }
let s:colors.blue = { 'gui': '#195466', 'cterm': 24 }
let s:colors.cyan = { 'gui': '#33859E', 'cterm': 44 }
let s:colors.green = { 'gui': '#2aa889', 'cterm': 78 }
" Neovim :terminal colors.
let g:terminal_color_0 = get(s:colors.base0, 'gui')
let g:terminal_color_8 = g:terminal_color_0
let g:terminal_color_1 = get(s:colors.red, 'gui')
let g:terminal_color_9 = g:terminal_color_1
let g:terminal_color_2 = get(s:colors.green, 'gui')
let g:terminal_color_10 = g:terminal_color_2
let g:terminal_color_3 = get(s:colors.yellow, 'gui')
let g:terminal_color_11 = g:terminal_color_3
let g:terminal_color_4 = get(s:colors.blue, 'gui')
let g:terminal_color_12 = g:terminal_color_4
let g:terminal_color_5 = get(s:colors.violet, 'gui')
let g:terminal_color_13 = g:terminal_color_5
let g:terminal_color_6 = get(s:colors.cyan, 'gui')
let g:terminal_color_14 = g:terminal_color_6
let g:terminal_color_7 = get(s:colors.base6, 'gui')
let g:terminal_color_15 = g:terminal_color_7
" Native highlighting ==========================================================
let s:background = 'base0'
let s:linenr_background = 'base1'
" Everything starts here.
call s:Col('Normal', 'base6', s:background)
" Line, cursor and so on.
call s:Col('Cursor', 'base1', 'base6')
call s:Col('CursorLine', '', 'base1')
call s:Col('CursorColumn', '', 'base1')
" Sign column, line numbers.
call s:Col('LineNr', 'blue', s:linenr_background)
call s:Col('CursorLineNr', 'base5', s:linenr_background)
call s:Col('SignColumn', '', s:linenr_background)
call s:Col('ColorColumn', '', s:linenr_background)
" Visual selection.
call s:Col('Visual', '', 'base3')
" Easy-to-guess code elements.
call s:Col('Comment', 'blue')
call s:Col('String', 'green')
call s:Col('Number', 'orange')
call s:Col('Statement', 'base5')
call s:Col('Special', 'orange')
call s:Col('Identifier', 'base5')
" Constants, Ruby symbols.
call s:Col('Constant', 'magenta')
" Some HTML tags (<title>, some <h*>s)
call s:Col('Title', 'orange')
" <a> tags.
call s:Col('Underlined', 'yellow')
call s:Attr('Underlined', 'underline')
" Types, HTML attributes, Ruby constants (and class names).
call s:Col('Type', 'orange')
" Stuff like 'require' in Ruby.
call s:Col('PreProc', 'red')
" Tildes on the bottom of the page.
call s:Col('NonText', 'blue')
" Concealed stuff.
call s:Col('Conceal', 'cyan', s:background)
" TODO and similar tags.
call s:Col('Todo', 'magenta', s:background)
" The column separating vertical splits.
call s:Col('VertSplit', 'base2', s:linenr_background)
call s:Col('StatusLineNC', 'blue', 'base2')
" Matching parenthesis.
call s:Col('MatchParen', 'base6', 'orange')
" Special keys, e.g. some of the chars in 'listchars'. See ':h listchars'.
call s:Col('SpecialKey', 'base3')
" Folds.
call s:Col('Folded', 'base6', 'blue')
call s:Col('FoldColumn', 'base5', 'base3')
" Searching.
call s:Col('Search', 'base2', 'yellow')
call s:Attr('IncSearch', 'reverse')
" Popup menu.
call s:Col('Pmenu', 'base6', 'base2')
call s:Col('PmenuSel', 'base7', 'blue')
call s:Col('PmenuSbar', '', 'base2')
call s:Col('PmenuThumb', '', 'blue')
" Command line stuff.
call s:Col('ErrorMsg', 'red', 'base1')
call s:Col('Error', 'red', 'base1')
call s:Col('ModeMsg', 'blue')
call s:Col('WarningMsg', 'red')
" Wild menu.
" StatusLine determines the color of the non-active entries in the wild menu.
call s:Col('StatusLine', 'base5', 'base2')
call s:Col('WildMenu', 'base7', 'cyan')
" The 'Hit ENTER to continue prompt'.
call s:Col('Question', 'green')
" Tab line.
call s:Col('TabLineSel', 'base7', 'blue') " the selected tab
call s:Col('TabLine', 'base6', 'base2') " the non-selected tabs
call s:Col('TabLineFill', 'base0', 'base0') " the rest of the tab line
" Spelling.
call s:Col('SpellBad', 'base7', 'red')
call s:Col('SpellCap', 'base7', 'blue')
call s:Col('SpellLocal', 'yellow')
call s:Col('SpellRare', 'base7', 'violet')
" Diffing.
call s:Col('DiffAdd', 'base7', 'green')
call s:Col('DiffChange', 'base7', 'blue')
call s:Col('DiffDelete', 'base7', 'red')
call s:Col('DiffText', 'base7', 'cyan')
call s:Col('DiffAdded', 'green')
call s:Col('DiffChanged', 'blue')
call s:Col('DiffRemoved', 'red')
call s:Col('DiffSubname', 'blue')
" Directories (e.g. netrw).
call s:Col('Directory', 'cyan')
" Programming languages and filetypes ==========================================
" Ruby.
call s:Col('rubyDefine', 'blue')
call s:Col('rubyStringDelimiter', 'green')
" HTML (and often Markdown).
call s:Col('htmlArg', 'blue')
call s:Col('htmlItalic', 'magenta')
call s:Col('htmlBold', 'cyan', '')
" Python
call s:Col('pythonStatement', 'blue')
" Plugin =======================================================================
" GitGutter
call s:Col('GitGutterAdd', 'green', s:linenr_background)
call s:Col('GitGutterChange', 'cyan', s:linenr_background)
call s:Col('GitGutterDelete', 'orange', s:linenr_background)
call s:Col('GitGutterChangeDelete', 'magenta', s:linenr_background)
" CtrlP
call s:Col('CtrlPNoEntries', 'base7', 'orange') " no entries
call s:Col('CtrlPMatch', 'green') " matching part
call s:Col('CtrlPPrtBase', 'blue') " '>>>' prompt
call s:Col('CtrlPPrtText', 'cyan') " text in the prompt
call s:Col('CtrlPPtrCursor', 'base7') " cursor in the prompt
" unite.vim
call s:Col('UniteGrep', 'base7', 'green')
let g:unite_source_grep_search_word_highlight = 'UniteGrep'
" Cleanup =====================================================================
unlet s:colors
unlet s:background
unlet s:linenr_background

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,390 @@
" # Happy Hacking
"
" Happy Hacking is a color scheme heavily inspired by Autumn
" (https://github.com/yorickpeterse/autumn.vim). The main differences between
" the two themes are various small tweaks to the colors, an easier to maintain
" codebase and a much wider range of supported languages. On top of that
" various inconsistencies that were present in Autumn have been resolved.
"
" As with any Vim color scheme the overall look and feel heavily depends on how
" accurate a syntax highlighter for a language is. For example, the Ruby syntax
" highlighter is fairly accurate and allows you to customize a lot whereas for
" example C has a more generic highlighting setup. At worst this will result in
" a bit more heavy use of red as it's one of the base colors of this theme.
"
" Author: Yorick Peterse
" License: MIT
" Website: https://github.com/yorickpeterse/happy_hacking.vim
"
set background=dark
set t_Co=256
hi clear
if exists("syntax_on")
syntax reset
end
let colors_name = "happy_hacking"
" ============================================================================
" GUI Colors
"
" This section defines all the colors to use when running Vim as a GUI (Gvim,
" Macvim, etc). These colors are *not* used when Vim is run in a terminal.
let s:white = "#F3F2CC"
let s:black1 = "#000000"
let s:black2 = "#202020"
let s:yellow = "#FAD566"
let s:blue = "#81A2C7"
let s:green = "#8daf67"
let s:turqoise = "#B3EBBF"
let s:orange = "#fcb280"
let s:pink = "#F77EBD"
let s:red = "#F05E48"
let s:gray1 = "#292929"
let s:gray2 = "#525252"
let s:gray3 = "#6c6c6c"
let s:gray4 = "#7c7c7c"
let s:gray5 = "#aaaaaa"
let s:gray6 = "#393939"
" ============================================================================
" Terminal Colors
"
" This section defines all the colors that are used when Vim is run inside a
" terminal instead of a GUI.
let s:t_white = "230"
let s:t_black1 = "16"
let s:t_black2 = "16"
let s:t_yellow = "221"
let s:t_blue = "103"
let s:t_green = "107"
let s:t_turqoise = "157"
let s:t_orange = "179"
let s:t_pink = "211"
let s:t_gold = "186"
let s:t_red = "203"
let s:t_gray1 = "235"
let s:t_gray2 = "59"
let s:t_gray3 = "59"
let s:t_gray4 = "102"
let s:t_gray5 = "145"
let s:t_gray6 = "237"
" ============================================================================
" Color Functions
" Function for creating a highlight group with a GUI/Terminal foreground and
" background. No font styling is applied.
function! s:Color(group, fg, bg, t_fg, t_bg, ...)
if empty(a:0)
let style = "NONE"
else
let style = a:1
end
exe "hi " . a:group . " guifg=" . a:fg . " guibg=" . a:bg
\ . " ctermfg=" . a:t_fg
\ . " ctermbg=" . a:t_bg
\ . " gui=" . style
\ . " cterm=" . style
endfunction
" ============================================================================
" General Syntax Elements
"
" Definitions for generic syntax elements such as strings and numbers.
call s:Color("Pmenu", s:white, s:black2, s:t_white, s:t_black2)
call s:Color("PmenuSel", s:white, s:gray2, s:t_white, s:t_gray2)
call s:Color("Cursor", "NONE", s:gray2, "NONE", s:t_gray2)
call s:Color("CursorLine", "NONE", s:gray2, "NONE", s:t_gray2)
call s:Color("Normal", s:white, s:gray1, s:t_white, s:t_gray1)
call s:Color("Search", s:yellow, "NONE", s:t_yellow, "NONE", "bold")
call s:Color("Title", s:white, "NONE", s:t_white, "NONE", "bold")
call s:Color("LineNr", s:gray4, "NONE", s:t_gray4, "NONE")
call s:Color("StatusLine", s:white, s:gray6, s:t_white, s:t_gray6)
call s:Color("StatusLineNC", s:gray4, s:gray6, s:t_gray4, s:t_gray6)
call s:Color("StatusLineMarker", s:yellow, s:gray6, s:t_yellow, s:t_gray6, "bold")
call s:Color("VertSplit", s:gray3, "NONE", s:t_gray3, "NONE")
call s:Color("ColorColumn", "NONE", s:gray6, "NONE", s:t_gray6)
call s:Color("Folded", s:gray4, "NONE", s:t_gray4, "NONE")
call s:Color("FoldColumn", s:gray3, s:gray1, s:t_gray3, s:t_gray1)
call s:Color("ErrorMsg", s:red, "NONE", s:t_red, "NONE", "bold")
call s:Color("WarningMsg", s:yellow, "NONE", s:t_yellow, "NONE", "bold")
call s:Color("Question", s:white, "NONE", s:t_white, "NONE")
call s:Color("SpecialKey", s:white, s:gray2, s:t_white, s:t_gray2)
call s:Color("Directory", s:blue, "NONE", s:t_blue, "NONE")
call s:Color("Comment", s:gray4, "NONE", s:t_gray4, "NONE")
call s:Color("Todo", s:gray5, "NONE", s:t_gray5, "NONE")
call s:Color("String", s:green, "NONE", s:t_green, "NONE")
call s:Color("Keyword", s:red, "NONE", s:t_red, "NONE")
call s:Color("Number", s:turqoise, "NONE", s:t_turqoise, "NONE")
call s:Color("Regexp", s:orange, "NONE", s:t_orange, "NONE")
call s:Color("Macro", s:orange, "NONE", s:t_orange, "NONE")
call s:Color("Function", s:yellow, "NONE", s:t_yellow, "NONE")
call s:Color("Notice", s:yellow, "NONE", s:t_yellow, "NONE")
call s:Color("MatchParen", "NONE", "NONE", "NONE", "NONE", "bold")
call s:Color("Conceal", "NONE", "NONE", "NONE", "NONE", "NONE")
hi! link Identifier Normal
hi! link Constant Normal
hi! link Operator Normal
hi! link Type Keyword
hi! link Statement Keyword
hi! link PmenuThumb PmenuSel
hi! link Visual Cursor
hi! link SignColumn FoldColumn
hi! link Error ErrorMsg
hi! link NonText LineNr
hi! link PreProc Normal
hi! link Special Normal
hi! link Boolean Keyword
hi! link StorageClass Keyword
hi! link MoreMsg Normal
hi! link Character String
hi! link Label Special
hi! link PreCondit Macro
hi! NonText guifg=bg
" ============================================================================
" Specific Languages
"
" Language specific settings that would otherwise be too generic. These
" definitions are sorted in alphabetical order.
" Coffeescript
hi! link coffeeRegex Regexp
hi! link coffeeSpecialIdent Directory
" CSS
hi! link cssIdentifier Title
hi! link cssClassName Directory
hi! link cssMedia Notice
hi! link cssColor Number
hi! link cssTagName Normal
hi! link cssImportant Notice
" CtrlP
hi! link CtrlPBufferHid Todo
hi! link CtrlPBufferPath Todo
call s:Color("CtrlPMode1", s:white, s:gray1, s:t_white, s:t_gray1, "bold")
" D
hi! link dDebug Notice
hi! link dOperator Operator
hi! link dStorageClass Keyword
hi! link dAnnotation Directory
hi! link dAttribute dAnnotation
" Diffs
hi! link diffFile WarningMsg
hi! link diffLine Number
hi! link diffAdded String
hi! link diffRemoved Keyword
hi! link DiffChange Notice
hi! link DiffAdd diffAdded
hi! link DiffDelete diffRemoved
hi! link DiffText diffLine
" Dot (GraphViz)
hi! link dotKeyChar Normal
" Git commits
hi! link gitCommitSummary String
hi! link gitCommitOverflow ErrorMsg
" HAML
hi! link hamlId Title
hi! link hamlClass Directory
hi! link htmlArg Normal
hi! link hamlDocType Comment
" HTML
hi! link htmlLink Directory
hi! link htmlSpecialTagName htmlTag
hi! link htmlTagName htmlTag
hi! link htmlScriptTag htmlTag
" Inko
call s:Color("inkoCommentBold", s:gray4, "NONE", s:t_gray4, "NONE", "bold")
call s:Color("inkoCommentItalic", s:gray4, "NONE", s:t_gray4, "NONE", "italic")
call s:Color("inkoCommentTitle", s:gray4, "NONE", s:t_gray4, "NONE", "bold")
call s:Color("inkoCommentInlineUrl", s:turqoise, "NONE", s:t_turqoise, "NONE")
call s:Color("inkoInstanceVariable", s:blue, "NONE", s:t_blue, "NONE")
call s:Color("inkoKeywordArgument", s:orange, "NONE", s:t_orange, "NONE")
" Javascript
hi! link javaScriptBraces Normal
hi! link javaScriptMember Normal
hi! link javaScriptIdentifier Keyword
hi! link javaScriptFunction Keyword
hi! link JavaScriptNumber Number
" Java
hi! link javaCommentTitle javaComment
hi! link javaDocTags Todo
hi! link javaDocParam Todo
hi! link javaStorageClass Keyword
hi! link javaAnnotation Directory
hi! link javaExternal Keyword
" JSON
hi! link jsonKeyword String
" Less
hi! link lessClass cssClassName
" Make
hi! link makeTarget Function
" Markdown
hi! link markdownCodeBlock Todo
hi! link markdownCode markdownCodeBlock
hi! link markdownListMarker Keyword
hi! link markdownOrderedListMarker Keyword
" NERDTree
hi! link NERDTreeRO Notice
hi! link NERDTreeCWD Title
hi! link NERDTreeLink Number
hi! link NERDTreeDir Directory
hi! link NERDTreeOpenable NERDTreeDir
hi! link NERDTreeClosable NERDTreeDir
hi! NERDTreeFile guibg=NONE
" Perl
hi! link podCommand Comment
hi! link podCmdText Todo
hi! link podVerbatimLine Todo
hi! link perlStatementInclude Statement
hi! link perlStatementPackage Statement
hi! link perlPackageDecl Normal
" Ragel
hi! link rlAugmentOps Operator
" Ruby
hi! link rubySymbol Regexp
hi! link rubyConstant Constant
hi! link rubyInstanceVariable Directory
hi! link rubyClassVariable rubyInstancevariable
hi! link rubyClass Keyword
hi! link rubyModule rubyClass
hi! link rubyFunction Function
hi! link rubyDefine Keyword
hi! link rubyRegexp Regexp
hi! link rubyRegexpSpecial Regexp
hi! link rubyRegexpCharClass Normal
hi! link rubyRegexpQuantifier Normal
hi! link rubyAttribute Identifier
hi! link rubyMacro Identifier
" Rust
hi! link rustFuncCall Identifier
hi! link rustCommentBlockDoc Comment
hi! link rustCommentLineDoc Comment
" SASS
hi! link sassClass cssClassName
hi! link sassId cssIdentifier
hi! link sassInclude cssMedia
" Shell
hi! link shFunctionKey Keyword
hi! link shTestOpr Operator
hi! link bashStatement Normal
" SQL
hi! link sqlKeyword Keyword
" TypeScript
hi! link typescriptBraces Normal
hi! link typescriptEndColons Normal
hi! link typescriptFunction Function
hi! link typescriptFuncKeyword Keyword
hi! link typescriptLogicSymbols Operator
hi! link typescriptIdentifier Keyword
hi! link typescriptExceptions Keyword
" Vimscript
hi! link vimGroup Constant
hi! link vimHiGroup Constant
hi! link VimIsCommand Constant
hi! link VimCommentTitle Todo
" YAML
hi! link yamlPlainScalar String
" YARD
hi! link yardType Todo
hi! link yardTypeList Todo
hi! link yardComment Comment
" XML
hi! link xmlTagName Normal
hi! link xmlTag Normal
hi! link xmlAttrib Normal
" Neomake
hi! link NeomakeWarningSign WarningMsg
hi! link NeomakeErrorSign Error
hi! link NeomakeWarning WarningMsg
" Wild menu completion
hi! link WildMenu PmenuSel
" Vim tabline
hi! link TabLine StatusLine
hi! link TabLineFill StatusLine
call s:Color("TabLineSel", s:white, s:gray2, s:t_white, s:t_gray2, "bold")
" Line numbers
call s:Color("CursorLineNR", s:yellow, "NONE", s:t_yellow, "NONE", "bold")
" Neovim terminal colors
let g:terminal_color_0 = s:black1
let g:terminal_color_1 = s:red
let g:terminal_color_2 = s:green
let g:terminal_color_3 = s:yellow
let g:terminal_color_4 = s:blue
let g:terminal_color_5 = s:pink
let g:terminal_color_6 = s:turqoise
let g:terminal_color_7 = s:white
let g:terminal_color_8 = s:black1
let g:terminal_color_9 = s:red
let g:terminal_color_10 = s:green
let g:terminal_color_11 = s:yellow
let g:terminal_color_12 = s:blue
let g:terminal_color_13 = s:pink
let g:terminal_color_14 = s:turqoise
let g:terminal_color_15 = s:white
" Spell checking
call s:Color("SpellBad", s:red, "NONE", s:t_red, "NONE", "underline")
" Vimwiki
hi! link VimWikiCode markdownCode
" ALE
hi! link ALEWarningSign WarningMsg
hi! link ALEErrorSign Error
hi! link ALEWarning WarningMsg
hi! link ALEError Error
" Fugitive
call s:Color("FugitiveblameHash", s:yellow, "NONE", s:t_yellow, "NONE")
call s:Color("FugitiveblameTime", s:turqoise, "NONE", s:t_turqoise, "NONE")

View File

@@ -0,0 +1,453 @@
" File: hybrid.vim
" Maintainer: Andrew Wong (w0ng)
" URL: https://github.com/w0ng/vim-hybrid
" Modified: 27 Jan 2013 07:33 AM AEST
" License: MIT
" Description:"{{{
" ----------------------------------------------------------------------------
" The default RGB colour palette is taken from Tomorrow-Night.vim:
" https://github.com/chriskempson/vim-tomorrow-theme
"
" The reduced RGB colour palette is taken from Codecademy's online editor:
" https://www.codecademy.com/learn
"
" The syntax highlighting scheme is taken from jellybeans.vim:
" https://github.com/nanotech/jellybeans.vim
"
" The is code taken from solarized.vim:
" https://github.com/altercation/vim-colors-solarized
"}}}
" Requirements And Recommendations:"{{{
" ----------------------------------------------------------------------------
" Requirements
" - gVim 7.3+ on Linux, Mac and Windows.
" - Vim 7.3+ on Linux and Mac, using a terminal that supports 256 colours.
"
" Due to the limited 256 palette, colours in Vim and gVim will still be slightly
" different.
"
" In order to have Vim use the same colours as gVim (the way this colour scheme
" is intended), it is recommended that you define the basic 16 colours in your
" terminal.
"
" For Linux users (rxvt-unicode, xterm):
"
" 1. Add the default palette to ~/.Xresources:
"
" https://gist.github.com/3278077
"
" or alternatively, add the reduced contrast palette to ~/.Xresources:
"
" https://gist.github.com/w0ng/16e33902508b4a0350ae
"
" 2. Add to ~/.vimrc:
"
" let g:hybrid_custom_term_colors = 1
" let g:hybrid_reduced_contrast = 1 " Remove this line if using the default palette.
" colorscheme hybrid
"
" For OSX users (iTerm):
"
" 1. Import the default colour preset into iTerm:
"
" https://raw.githubusercontent.com/w0ng/dotfiles/master/iterm2/hybrid.itermcolors
"
" or alternatively, import the reduced contrast color preset into iTerm:
"
" https://raw.githubusercontent.com/w0ng/dotfiles/master/iterm2/hybrid-reduced-contrast.itermcolors
"
" 2. Add to ~/.vimrc:
"
" let g:hybrid_custom_term_colors = 1
" let g:hybrid_reduced_contrast = 1 " Remove this line if using the default palette.
" colorscheme hybrid
"}}}
" Initialisation:"{{{
" ----------------------------------------------------------------------------
hi clear
if exists("syntax_on")
syntax reset
endif
let s:style = &background
let g:colors_name = "hybrid"
"}}}
" GUI And Cterm Palettes:"{{{
" ----------------------------------------------------------------------------
let s:palette = {'gui' : {} , 'cterm' : {}}
if exists("g:hybrid_reduced_contrast") && g:hybrid_reduced_contrast == 1
let s:gui_background = "#232c31"
let s:gui_selection = "#425059"
let s:gui_line = "#2d3c46"
let s:gui_comment = "#6c7a80"
else
let s:gui_background = "#1d1f21"
let s:gui_selection = "#373b41"
let s:gui_line = "#282a2e"
let s:gui_comment = "#707880"
endif
let s:palette.gui.background = { 'dark' : s:gui_background , 'light' : "#e4e4e4" }
let s:palette.gui.foreground = { 'dark' : "#c5c8c6" , 'light' : "#000000" }
let s:palette.gui.selection = { 'dark' : s:gui_selection , 'light' : "#bcbcbc" }
let s:palette.gui.line = { 'dark' : s:gui_line , 'light' : "#d0d0d0" }
let s:palette.gui.comment = { 'dark' : s:gui_comment , 'light' : "#5f5f5f" }
let s:palette.gui.red = { 'dark' : "#cc6666" , 'light' : "#5f0000" }
let s:palette.gui.orange = { 'dark' : "#de935f" , 'light' : "#875f00" }
let s:palette.gui.yellow = { 'dark' : "#f0c674" , 'light' : "#5f5f00" }
let s:palette.gui.green = { 'dark' : "#b5bd68" , 'light' : "#005f00" }
let s:palette.gui.aqua = { 'dark' : "#8abeb7" , 'light' : "#005f5f" }
let s:palette.gui.blue = { 'dark' : "#81a2be" , 'light' : "#00005f" }
let s:palette.gui.purple = { 'dark' : "#b294bb" , 'light' : "#5f005f" }
let s:palette.gui.window = { 'dark' : "#303030" , 'light' : "#9e9e9e" }
let s:palette.gui.darkcolumn = { 'dark' : "#1c1c1c" , 'light' : "#808080" }
let s:palette.gui.addbg = { 'dark' : "#5F875F" , 'light' : "#d7ffd7" }
let s:palette.gui.addfg = { 'dark' : "#d7ffaf" , 'light' : "#005f00" }
let s:palette.gui.changebg = { 'dark' : "#5F5F87" , 'light' : "#d7d7ff" }
let s:palette.gui.changefg = { 'dark' : "#d7d7ff" , 'light' : "#5f005f" }
let s:palette.gui.delbg = { 'dark' : "#cc6666" , 'light' : "#ffd7d7" }
let s:palette.gui.darkblue = { 'dark' : "#00005f" , 'light' : "#d7ffd7" }
let s:palette.gui.darkcyan = { 'dark' : "#005f5f" , 'light' : "#005f00" }
let s:palette.gui.darkred = { 'dark' : "#5f0000" , 'light' : "#d7d7ff" }
let s:palette.gui.darkpurple = { 'dark' : "#5f005f" , 'light' : "#5f005f" }
if exists("g:hybrid_custom_term_colors") && g:hybrid_custom_term_colors == 1
let s:cterm_foreground = "15" " White
let s:cterm_selection = "8" " DarkGrey
let s:cterm_line = "0" " Black
let s:cterm_comment = "7" " LightGrey
let s:cterm_red = "9" " LightRed
let s:cterm_orange = "3" " DarkYellow
let s:cterm_yellow = "11" " LightYellow
let s:cterm_green = "10" " LightGreen
let s:cterm_aqua = "14" " LightCyan
let s:cterm_blue = "12" " LightBlue
let s:cterm_purple = "13" " LightMagenta
let s:cterm_delbg = "9" " LightRed
else
let s:cterm_foreground = "250"
let s:cterm_selection = "237"
let s:cterm_line = "235"
let s:cterm_comment = "243"
let s:cterm_red = "167"
let s:cterm_orange = "173"
let s:cterm_yellow = "221"
let s:cterm_green = "143"
let s:cterm_aqua = "109"
let s:cterm_blue = "110"
let s:cterm_purple = "139"
let s:cterm_delbg = "167"
endif
let s:palette.cterm.background = { 'dark' : "234" , 'light' : "254" }
let s:palette.cterm.foreground = { 'dark' : s:cterm_foreground , 'light' : "16" }
let s:palette.cterm.window = { 'dark' : "236" , 'light' : "247" }
let s:palette.cterm.selection = { 'dark' : s:cterm_selection , 'light' : "250" }
let s:palette.cterm.line = { 'dark' : s:cterm_line , 'light' : "252" }
let s:palette.cterm.comment = { 'dark' : s:cterm_comment , 'light' : "59" }
let s:palette.cterm.red = { 'dark' : s:cterm_red , 'light' : "52" }
let s:palette.cterm.orange = { 'dark' : s:cterm_orange , 'light' : "94" }
let s:palette.cterm.yellow = { 'dark' : s:cterm_yellow , 'light' : "58" }
let s:palette.cterm.green = { 'dark' : s:cterm_green , 'light' : "22" }
let s:palette.cterm.aqua = { 'dark' : s:cterm_aqua , 'light' : "23" }
let s:palette.cterm.blue = { 'dark' : s:cterm_blue , 'light' : "17" }
let s:palette.cterm.purple = { 'dark' : s:cterm_purple , 'light' : "53" }
let s:palette.cterm.darkcolumn = { 'dark' : "234" , 'light' : "244" }
let s:palette.cterm.addbg = { 'dark' : "65" , 'light' : "194" }
let s:palette.cterm.addfg = { 'dark' : "193" , 'light' : "22" }
let s:palette.cterm.changebg = { 'dark' : "60" , 'light' : "189" }
let s:palette.cterm.changefg = { 'dark' : "189" , 'light' : "53" }
let s:palette.cterm.delbg = { 'dark' : s:cterm_delbg , 'light' : "224" }
let s:palette.cterm.darkblue = { 'dark' : "17" , 'light' : "194" }
let s:palette.cterm.darkcyan = { 'dark' : "24" , 'light' : "22" }
let s:palette.cterm.darkred = { 'dark' : "52" , 'light' : "189" }
let s:palette.cterm.darkpurple = { 'dark' : "53" , 'light' : "53" }
"}}}
" Formatting Options:"{{{
" ----------------------------------------------------------------------------
let s:none = "NONE"
let s:t_none = "NONE"
let s:n = "NONE"
let s:c = ",undercurl"
let s:r = ",reverse"
let s:s = ",standout"
let s:b = ",bold"
let s:u = ",underline"
let s:i = ",italic"
"}}}
" Highlighting Primitives:"{{{
" ----------------------------------------------------------------------------
function! s:build_prim(hi_elem, field)
" Given a:hi_elem = bg, a:field = comment
let l:vname = "s:" . a:hi_elem . "_" . a:field " s:bg_comment
let l:gui_assign = "gui".a:hi_elem."=".s:palette.gui[a:field][s:style] " guibg=...
let l:cterm_assign = "cterm".a:hi_elem."=".s:palette.cterm[a:field][s:style] " ctermbg=...
exe "let " . l:vname . " = ' " . l:gui_assign . " " . l:cterm_assign . "'"
endfunction
let s:bg_none = ' guibg=NONE ctermbg=NONE'
call s:build_prim('bg', 'foreground')
call s:build_prim('bg', 'background')
call s:build_prim('bg', 'selection')
call s:build_prim('bg', 'line')
call s:build_prim('bg', 'comment')
call s:build_prim('bg', 'red')
call s:build_prim('bg', 'orange')
call s:build_prim('bg', 'yellow')
call s:build_prim('bg', 'green')
call s:build_prim('bg', 'aqua')
call s:build_prim('bg', 'blue')
call s:build_prim('bg', 'purple')
call s:build_prim('bg', 'window')
call s:build_prim('bg', 'darkcolumn')
call s:build_prim('bg', 'addbg')
call s:build_prim('bg', 'addfg')
call s:build_prim('bg', 'changebg')
call s:build_prim('bg', 'changefg')
call s:build_prim('bg', 'delbg')
call s:build_prim('bg', 'darkblue')
call s:build_prim('bg', 'darkcyan')
call s:build_prim('bg', 'darkred')
call s:build_prim('bg', 'darkpurple')
let s:fg_none = ' guifg=NONE ctermfg=NONE'
call s:build_prim('fg', 'foreground')
call s:build_prim('fg', 'background')
call s:build_prim('fg', 'selection')
call s:build_prim('fg', 'line')
call s:build_prim('fg', 'comment')
call s:build_prim('fg', 'red')
call s:build_prim('fg', 'orange')
call s:build_prim('fg', 'yellow')
call s:build_prim('fg', 'green')
call s:build_prim('fg', 'aqua')
call s:build_prim('fg', 'blue')
call s:build_prim('fg', 'purple')
call s:build_prim('fg', 'window')
call s:build_prim('fg', 'darkcolumn')
call s:build_prim('fg', 'addbg')
call s:build_prim('fg', 'addfg')
call s:build_prim('fg', 'changebg')
call s:build_prim('fg', 'changefg')
call s:build_prim('fg', 'darkblue')
call s:build_prim('fg', 'darkcyan')
call s:build_prim('fg', 'darkred')
call s:build_prim('fg', 'darkpurple')
exe "let s:fmt_none = ' gui=NONE". " cterm=NONE". " term=NONE" ."'"
exe "let s:fmt_bold = ' gui=NONE".s:b. " cterm=NONE".s:b. " term=NONE".s:b ."'"
exe "let s:fmt_bldi = ' gui=NONE".s:b. " cterm=NONE".s:b. " term=NONE".s:b ."'"
exe "let s:fmt_undr = ' gui=NONE".s:u. " cterm=NONE".s:u. " term=NONE".s:u ."'"
exe "let s:fmt_undb = ' gui=NONE".s:u.s:b. " cterm=NONE".s:u.s:b. " term=NONE".s:u.s:b."'"
exe "let s:fmt_undi = ' gui=NONE".s:u. " cterm=NONE".s:u. " term=NONE".s:u ."'"
exe "let s:fmt_curl = ' gui=NONE".s:c. " cterm=NONE".s:c. " term=NONE".s:c ."'"
exe "let s:fmt_ital = ' gui=NONE".s:i. " cterm=NONE".s:i. " term=NONE".s:i ."'"
exe "let s:fmt_stnd = ' gui=NONE".s:s. " cterm=NONE".s:s. " term=NONE".s:s ."'"
exe "let s:fmt_revr = ' gui=NONE".s:r. " cterm=NONE".s:r. " term=NONE".s:r ."'"
exe "let s:fmt_revb = ' gui=NONE".s:r.s:b. " cterm=NONE".s:r.s:b. " term=NONE".s:r.s:b."'"
exe "let s:sp_none = ' guisp=". s:none ."'"
exe "let s:sp_foreground = ' guisp=". s:palette.gui.foreground[s:style] ."'"
exe "let s:sp_background = ' guisp=". s:palette.gui.background[s:style] ."'"
exe "let s:sp_selection = ' guisp=". s:palette.gui.selection[s:style] ."'"
exe "let s:sp_line = ' guisp=". s:palette.gui.line[s:style] ."'"
exe "let s:sp_comment = ' guisp=". s:palette.gui.comment[s:style] ."'"
exe "let s:sp_red = ' guisp=". s:palette.gui.red[s:style] ."'"
exe "let s:sp_orange = ' guisp=". s:palette.gui.orange[s:style] ."'"
exe "let s:sp_yellow = ' guisp=". s:palette.gui.yellow[s:style] ."'"
exe "let s:sp_green = ' guisp=". s:palette.gui.green[s:style] ."'"
exe "let s:sp_aqua = ' guisp=". s:palette.gui.aqua[s:style] ."'"
exe "let s:sp_blue = ' guisp=". s:palette.gui.blue[s:style] ."'"
exe "let s:sp_purple = ' guisp=". s:palette.gui.purple[s:style] ."'"
exe "let s:sp_window = ' guisp=". s:palette.gui.window[s:style] ."'"
exe "let s:sp_addbg = ' guisp=". s:palette.gui.addbg[s:style] ."'"
exe "let s:sp_addfg = ' guisp=". s:palette.gui.addfg[s:style] ."'"
exe "let s:sp_changebg = ' guisp=". s:palette.gui.changebg[s:style] ."'"
exe "let s:sp_changefg = ' guisp=". s:palette.gui.changefg[s:style] ."'"
exe "let s:sp_darkblue = ' guisp=". s:palette.gui.darkblue[s:style] ."'"
exe "let s:sp_darkcyan = ' guisp=". s:palette.gui.darkcyan[s:style] ."'"
exe "let s:sp_darkred = ' guisp=". s:palette.gui.darkred[s:style] ."'"
exe "let s:sp_darkpurple = ' guisp=". s:palette.gui.darkpurple[s:style] ."'"
"}}}
" Vim Highlighting: (see :help highlight-groups)"{{{
" ----------------------------------------------------------------------------
exe "hi! ColorColumn" .s:fg_none .s:bg_line .s:fmt_none
" Conceal"
" Cursor"
" CursorIM"
exe "hi! CursorColumn" .s:fg_none .s:bg_line .s:fmt_none
exe "hi! CursorLine" .s:fg_none .s:bg_line .s:fmt_none
exe "hi! Directory" .s:fg_blue .s:bg_none .s:fmt_none
exe "hi! DiffAdd" .s:fg_addfg .s:bg_addbg .s:fmt_none
exe "hi! DiffChange" .s:fg_changefg .s:bg_changebg .s:fmt_none
exe "hi! DiffDelete" .s:fg_background .s:bg_delbg .s:fmt_none
exe "hi! DiffText" .s:fg_background .s:bg_blue .s:fmt_none
exe "hi! ErrorMsg" .s:fg_background .s:bg_red .s:fmt_stnd
exe "hi! VertSplit" .s:fg_window .s:bg_none .s:fmt_none
exe "hi! Folded" .s:fg_comment .s:bg_darkcolumn .s:fmt_none
exe "hi! FoldColumn" .s:fg_none .s:bg_darkcolumn .s:fmt_none
exe "hi! SignColumn" .s:fg_none .s:bg_darkcolumn .s:fmt_none
" Incsearch"
exe "hi! LineNr" .s:fg_selection .s:bg_none .s:fmt_none
exe "hi! CursorLineNr" .s:fg_yellow .s:bg_none .s:fmt_none
exe "hi! MatchParen" .s:fg_background .s:bg_changebg .s:fmt_none
exe "hi! ModeMsg" .s:fg_green .s:bg_none .s:fmt_none
exe "hi! MoreMsg" .s:fg_green .s:bg_none .s:fmt_none
exe "hi! NonText" .s:fg_selection .s:bg_none .s:fmt_none
exe "hi! Pmenu" .s:fg_foreground .s:bg_selection .s:fmt_none
exe "hi! PmenuSel" .s:fg_foreground .s:bg_selection .s:fmt_revr
" PmenuSbar"
" PmenuThumb"
exe "hi! Question" .s:fg_green .s:bg_none .s:fmt_none
exe "hi! Search" .s:fg_background .s:bg_yellow .s:fmt_none
exe "hi! SpecialKey" .s:fg_selection .s:bg_none .s:fmt_none
exe "hi! SpellCap" .s:fg_blue .s:bg_darkblue .s:fmt_undr
exe "hi! SpellLocal" .s:fg_aqua .s:bg_darkcyan .s:fmt_undr
exe "hi! SpellBad" .s:fg_red .s:bg_darkred .s:fmt_undr
exe "hi! SpellRare" .s:fg_purple .s:bg_darkpurple .s:fmt_undr
exe "hi! StatusLine" .s:fg_comment .s:bg_background .s:fmt_revr
exe "hi! StatusLineNC" .s:fg_window .s:bg_comment .s:fmt_revr
exe "hi! TabLine" .s:fg_foreground .s:bg_darkcolumn .s:fmt_revr
" TabLineFill"
" TabLineSel"
exe "hi! Title" .s:fg_yellow .s:bg_none .s:fmt_none
exe "hi! Visual" .s:fg_none .s:bg_selection .s:fmt_none
" VisualNos"
exe "hi! WarningMsg" .s:fg_red .s:bg_none .s:fmt_none
" FIXME LongLineWarning to use variables instead of hardcoding
hi LongLineWarning guifg=NONE guibg=#371F1C gui=underline ctermfg=NONE ctermbg=NONE cterm=underline
" WildMenu"
" Use defined custom background colour for terminal Vim.
if !has('gui_running') && exists("g:hybrid_custom_term_colors") && g:hybrid_custom_term_colors == 1
let s:bg_normal = s:bg_none
else
let s:bg_normal = s:bg_background
endif
exe "hi! Normal" .s:fg_foreground .s:bg_normal .s:fmt_none
"}}}
" Generic Syntax Highlighting: (see :help group-name)"{{{
" ----------------------------------------------------------------------------
exe "hi! Comment" .s:fg_comment .s:bg_none .s:fmt_none
exe "hi! Constant" .s:fg_red .s:bg_none .s:fmt_none
exe "hi! String" .s:fg_green .s:bg_none .s:fmt_none
" Character"
" Number"
" Boolean"
" Float"
exe "hi! Identifier" .s:fg_purple .s:bg_none .s:fmt_none
exe "hi! Function" .s:fg_yellow .s:bg_none .s:fmt_none
exe "hi! Statement" .s:fg_blue .s:bg_none .s:fmt_none
" Conditional"
" Repeat"
" Label"
exe "hi! Operator" .s:fg_aqua .s:bg_none .s:fmt_none
" Keyword"
" Exception"
exe "hi! PreProc" .s:fg_aqua .s:bg_none .s:fmt_none
" Include"
" Define"
" Macro"
" PreCondit"
exe "hi! Type" .s:fg_orange .s:bg_none .s:fmt_none
" StorageClass"
exe "hi! Structure" .s:fg_aqua .s:bg_none .s:fmt_none
" Typedef"
exe "hi! Special" .s:fg_green .s:bg_none .s:fmt_none
" SpecialChar"
" Tag"
" Delimiter"
" SpecialComment"
" Debug"
"
exe "hi! Underlined" .s:fg_blue .s:bg_none .s:fmt_none
exe "hi! Ignore" .s:fg_none .s:bg_none .s:fmt_none
exe "hi! Error" .s:fg_red .s:bg_darkred .s:fmt_undr
exe "hi! Todo" .s:fg_addfg .s:bg_none .s:fmt_none
" Quickfix window highlighting
exe "hi! qfLineNr" .s:fg_yellow .s:bg_none .s:fmt_none
" qfFileName"
" qfLineNr"
" qfError"
"}}}
" Diff Syntax Highlighting:"{{{
" ----------------------------------------------------------------------------
" Diff
" diffOldFile
" diffNewFile
" diffFile
" diffOnly
" diffIdentical
" diffDiffer
" diffBDiffer
" diffIsA
" diffNoEOL
" diffCommon
hi! link diffRemoved Constant
" diffChanged
hi! link diffAdded Special
" diffLine
" diffSubname
" diffComment
"}}}
"
" This is needed for some reason: {{{
let &background = s:style
" }}}
" Legal:"{{{
" ----------------------------------------------------------------------------
" Copyright (c) 2011 Ethan Schoonover
" Copyright (c) 2009-2012 NanoTech
" Copyright (c) 2012 w0ng
"
" Permission is hereby granted, free of charge, to any per
" son obtaining a copy of this software and associated doc
" umentation files (the “Software”), to deal in the Soft
" ware without restriction, including without limitation
" the rights to use, copy, modify, merge, publish, distrib
" ute, sublicense, and/or sell copies of the Software, and
" to permit persons to whom the Software is furnished to do
" so, subject to the following conditions:
"
" The above copyright notice and this permission notice
" shall be included in all copies or substantial portions
" of the Software.
"
" THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY
" KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
" THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICU
" LAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
" AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
" DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CON
" TRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON
" NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
" THE SOFTWARE.
" }}}

View File

@@ -0,0 +1,470 @@
" File: hybrid_material.vim
" Maintainer: Kristijan Husak (kristijanhusak)
" URL: https://github.com/kristijanhusak/vim-hybrid-material
" BASED ON: https://github.com/w0ng/vim-hybrid
" Modified: 16 Apr 2016
" License: MIT
" Description:"{{{
" ----------------------------------------------------------------------------
"
" The default RGB colour palette is taken from Tomorrow-Night.vim:
" https://github.com/chriskempson/vim-tomorrow-theme
"
" The reduced RGB colour palette is taken from Codecademy's online editor:
" https://www.codecademy.com/learn
"
" The syntax highlighting scheme is taken from jellybeans.vim:
" https://github.com/nanotech/jellybeans.vim
"
" The is code taken from solarized.vim:
" https://github.com/altercation/vim-colors-solarized
"}}}
" Requirements And Recommendations:"{{{
" ----------------------------------------------------------------------------
" Requirements
" - gVim 7.3+ on Linux, Mac and Windows.
" - Vim 7.3+ on Linux and Mac, using a terminal that supports 256 colours.
"
" Due to the limited 256 palette, colours in Vim and gVim will still be slightly
" different.
"
" In order to have Vim use the same colours as gVim (the way this colour scheme
" is intended), it is recommended that you define the basic 16 colours in your
" terminal.
"
" For Linux users (rxvt-unicode, xterm):
"
" 1. Add the default palette to ~/.Xresources:
"
" https://gist.github.com/3278077
"
" or alternatively, add the reduced contrast palette to ~/.Xresources:
"
" https://gist.github.com/w0ng/16e33902508b4a0350ae
"
" 2. Add to ~/.vimrc:
"
" let g:hybrid_custom_term_colors = 1
" let g:hybrid_reduced_contrast = 1 " Remove this line if using the default palette.
" colorscheme hybrid
"
" For OSX users (iTerm):
"
" 1. Import the default colour preset into iTerm:
"
" https://raw.githubusercontent.com/w0ng/dotfiles/master/iterm2/hybrid.itermcolors
"
" or alternatively, import the reduced contrast color preset into iTerm:
"
" https://raw.githubusercontent.com/w0ng/dotfiles/master/iterm2/hybrid-reduced-contrast.itermcolors
"
" 2. Add to ~/.vimrc:
"
" let g:hybrid_custom_term_colors = 1
" let g:hybrid_reduced_contrast = 1 " Remove this line if using the default palette.
" colorscheme hybrid
"}}}
" Initialisation:"{{{
" ----------------------------------------------------------------------------
hi clear
if exists("syntax_on")
syntax reset
endif
let s:style = &background
let g:colors_name = "hybrid_material"
"}}}
" GUI And Cterm Palettes:"{{{
" ----------------------------------------------------------------------------
let s:palette = {'gui' : {} , 'cterm' : {}}
let s:gui_background = "#263238"
let s:gui_selection = "#455A64"
let s:gui_line = "#212D32"
let s:gui_comment = "#707880"
let s:palette.gui.background = { 'dark' : s:gui_background , 'light' : "#e4e4e4" }
let s:palette.gui.foreground = { 'dark' : "#c5c8c6" , 'light' : "#000000" }
let s:palette.gui.selection = { 'dark' : s:gui_selection , 'light' : "#bcbcbc" }
let s:palette.gui.line = { 'dark' : s:gui_line , 'light' : "#d0d0d0" }
let s:palette.gui.comment = { 'dark' : s:gui_comment , 'light' : "#5f5f5f" }
let s:palette.gui.red = { 'dark' : "#cc6666" , 'light' : "#5f0000" }
let s:palette.gui.orange = { 'dark' : "#de935f" , 'light' : "#875f00" }
let s:palette.gui.yellow = { 'dark' : "#f0c674" , 'light' : "#5f5f00" }
let s:palette.gui.green = { 'dark' : "#b5bd68" , 'light' : "#005f00" }
let s:palette.gui.aqua = { 'dark' : "#8abeb7" , 'light' : "#005f5f" }
let s:palette.gui.blue = { 'dark' : "#81a2be" , 'light' : "#00005f" }
let s:palette.gui.purple = { 'dark' : "#b294bb" , 'light' : "#5f005f" }
let s:palette.gui.window = { 'dark' : s:gui_selection , 'light' : "#9e9e9e" }
let s:palette.gui.darkcolumn = { 'dark' : "#1c1c1c" , 'light' : "#808080" }
let s:palette.gui.addbg = { 'dark' : "#5F875F" , 'light' : "#d7ffd7" }
let s:palette.gui.addfg = { 'dark' : "#d7ffaf" , 'light' : "#005f00" }
let s:palette.gui.changebg = { 'dark' : "#5F5F87" , 'light' : "#d7d7ff" }
let s:palette.gui.changefg = { 'dark' : "#d7d7ff" , 'light' : "#5f005f" }
let s:palette.gui.delbg = { 'dark' : "#cc6666" , 'light' : "#ffd7d7" }
let s:palette.gui.darkblue = { 'dark' : "#00005f" , 'light' : "#d7ffd7" }
let s:palette.gui.darkcyan = { 'dark' : "#005f5f" , 'light' : "#005f00" }
let s:palette.gui.darkred = { 'dark' : "#5f0000" , 'light' : "#d7d7ff" }
let s:palette.gui.darkpurple = { 'dark' : "#5f005f" , 'light' : "#5f005f" }
if exists("g:hybrid_custom_term_colors") && g:hybrid_custom_term_colors == 1
let s:cterm_foreground = "15" " White
let s:cterm_selection = "8" " DarkGrey
let s:cterm_line = "0" " Black
let s:cterm_comment = "7" " LightGrey
let s:cterm_red = "9" " LightRed
let s:cterm_orange = "3" " DarkYellow
let s:cterm_yellow = "11" " LightYellow
let s:cterm_green = "10" " LightGreen
let s:cterm_aqua = "14" " LightCyan
let s:cterm_blue = "12" " LightBlue
let s:cterm_purple = "13" " LightMagenta
let s:cterm_delbg = "9" " LightRed
else
let s:cterm_foreground = "250"
let s:cterm_selection = "237"
let s:cterm_line = "235"
let s:cterm_comment = "243"
let s:cterm_red = "167"
let s:cterm_orange = "173"
let s:cterm_yellow = "221"
let s:cterm_green = "143"
let s:cterm_aqua = "109"
let s:cterm_blue = "110"
let s:cterm_purple = "139"
let s:cterm_delbg = "167"
endif
let s:palette.cterm.background = { 'dark' : "234" , 'light' : "254" }
let s:palette.cterm.foreground = { 'dark' : s:cterm_foreground , 'light' : "16" }
let s:palette.cterm.window = { 'dark' : "236" , 'light' : "247" }
let s:palette.cterm.selection = { 'dark' : s:cterm_selection , 'light' : "250" }
let s:palette.cterm.line = { 'dark' : s:cterm_line , 'light' : "252" }
let s:palette.cterm.comment = { 'dark' : s:cterm_comment , 'light' : "59" }
let s:palette.cterm.red = { 'dark' : s:cterm_red , 'light' : "52" }
let s:palette.cterm.orange = { 'dark' : s:cterm_orange , 'light' : "94" }
let s:palette.cterm.yellow = { 'dark' : s:cterm_yellow , 'light' : "58" }
let s:palette.cterm.green = { 'dark' : s:cterm_green , 'light' : "22" }
let s:palette.cterm.aqua = { 'dark' : s:cterm_aqua , 'light' : "23" }
let s:palette.cterm.blue = { 'dark' : s:cterm_blue , 'light' : "17" }
let s:palette.cterm.purple = { 'dark' : s:cterm_purple , 'light' : "53" }
let s:palette.cterm.darkcolumn = { 'dark' : "234" , 'light' : "244" }
let s:palette.cterm.addbg = { 'dark' : "65" , 'light' : "194" }
let s:palette.cterm.addfg = { 'dark' : "193" , 'light' : "22" }
let s:palette.cterm.changebg = { 'dark' : "60" , 'light' : "189" }
let s:palette.cterm.changefg = { 'dark' : "189" , 'light' : "53" }
let s:palette.cterm.delbg = { 'dark' : s:cterm_delbg , 'light' : "224" }
let s:palette.cterm.darkblue = { 'dark' : "17" , 'light' : "194" }
let s:palette.cterm.darkcyan = { 'dark' : "24" , 'light' : "22" }
let s:palette.cterm.darkred = { 'dark' : "52" , 'light' : "189" }
let s:palette.cterm.darkpurple = { 'dark' : "53" , 'light' : "53" }
"}}}
" Formatting Options:"{{{
" ----------------------------------------------------------------------------
let s:none = "NONE"
let s:t_none = "NONE"
let s:n = "NONE"
let s:c = ",undercurl"
let s:r = ",reverse"
let s:s = ",standout"
let s:b = ",bold"
let s:u = ",underline"
let s:i = ",italic"
"}}}
" Highlighting Primitives:"{{{
" ----------------------------------------------------------------------------
function! s:build_prim(hi_elem, field)
" Given a:hi_elem = bg, a:field = comment
let l:vname = "s:" . a:hi_elem . "_" . a:field " s:bg_comment
let l:gui_assign = "gui".a:hi_elem."=".s:palette.gui[a:field][s:style] " guibg=...
let l:cterm_assign = "cterm".a:hi_elem."=".s:palette.cterm[a:field][s:style] " ctermbg=...
exe "let " . l:vname . " = ' " . l:gui_assign . " " . l:cterm_assign . "'"
endfunction
let s:bg_none = ' guibg=NONE ctermbg=NONE'
call s:build_prim('bg', 'foreground')
call s:build_prim('bg', 'background')
call s:build_prim('bg', 'selection')
call s:build_prim('bg', 'line')
call s:build_prim('bg', 'comment')
call s:build_prim('bg', 'red')
call s:build_prim('bg', 'orange')
call s:build_prim('bg', 'yellow')
call s:build_prim('bg', 'green')
call s:build_prim('bg', 'aqua')
call s:build_prim('bg', 'blue')
call s:build_prim('bg', 'purple')
call s:build_prim('bg', 'window')
call s:build_prim('bg', 'darkcolumn')
call s:build_prim('bg', 'addbg')
call s:build_prim('bg', 'addfg')
call s:build_prim('bg', 'changebg')
call s:build_prim('bg', 'changefg')
call s:build_prim('bg', 'delbg')
call s:build_prim('bg', 'darkblue')
call s:build_prim('bg', 'darkcyan')
call s:build_prim('bg', 'darkred')
call s:build_prim('bg', 'darkpurple')
let s:fg_none = ' guifg=NONE ctermfg=NONE'
call s:build_prim('fg', 'foreground')
call s:build_prim('fg', 'background')
call s:build_prim('fg', 'selection')
call s:build_prim('fg', 'line')
call s:build_prim('fg', 'comment')
call s:build_prim('fg', 'red')
call s:build_prim('fg', 'orange')
call s:build_prim('fg', 'yellow')
call s:build_prim('fg', 'green')
call s:build_prim('fg', 'aqua')
call s:build_prim('fg', 'blue')
call s:build_prim('fg', 'purple')
call s:build_prim('fg', 'window')
call s:build_prim('fg', 'darkcolumn')
call s:build_prim('fg', 'addbg')
call s:build_prim('fg', 'addfg')
call s:build_prim('fg', 'changebg')
call s:build_prim('fg', 'changefg')
call s:build_prim('fg', 'darkblue')
call s:build_prim('fg', 'darkcyan')
call s:build_prim('fg', 'darkred')
call s:build_prim('fg', 'darkpurple')
exe "let s:fmt_none = ' gui=NONE". " cterm=NONE". " term=NONE" ."'"
exe "let s:fmt_bold = ' gui=NONE".s:b. " cterm=NONE".s:b. " term=NONE".s:b ."'"
exe "let s:fmt_bldi = ' gui=NONE".s:b. " cterm=NONE".s:b. " term=NONE".s:b ."'"
exe "let s:fmt_undr = ' gui=NONE".s:u. " cterm=NONE".s:u. " term=NONE".s:u ."'"
exe "let s:fmt_undb = ' gui=NONE".s:u.s:b. " cterm=NONE".s:u.s:b. " term=NONE".s:u.s:b."'"
exe "let s:fmt_undi = ' gui=NONE".s:u. " cterm=NONE".s:u. " term=NONE".s:u ."'"
exe "let s:fmt_curl = ' gui=NONE".s:c. " cterm=NONE".s:c. " term=NONE".s:c ."'"
exe "let s:fmt_ital = ' gui=NONE".s:i. " cterm=NONE".s:i. " term=NONE".s:i ."'"
exe "let s:fmt_stnd = ' gui=NONE".s:s. " cterm=NONE".s:s. " term=NONE".s:s ."'"
exe "let s:fmt_revr = ' gui=NONE".s:r. " cterm=NONE".s:r. " term=NONE".s:r ."'"
exe "let s:fmt_revb = ' gui=NONE".s:r.s:b. " cterm=NONE".s:r.s:b. " term=NONE".s:r.s:b."'"
exe "let s:sp_none = ' guisp=". s:none ."'"
exe "let s:sp_foreground = ' guisp=". s:palette.gui.foreground[s:style] ."'"
exe "let s:sp_background = ' guisp=". s:palette.gui.background[s:style] ."'"
exe "let s:sp_selection = ' guisp=". s:palette.gui.selection[s:style] ."'"
exe "let s:sp_line = ' guisp=". s:palette.gui.line[s:style] ."'"
exe "let s:sp_comment = ' guisp=". s:palette.gui.comment[s:style] ."'"
exe "let s:sp_red = ' guisp=". s:palette.gui.red[s:style] ."'"
exe "let s:sp_orange = ' guisp=". s:palette.gui.orange[s:style] ."'"
exe "let s:sp_yellow = ' guisp=". s:palette.gui.yellow[s:style] ."'"
exe "let s:sp_green = ' guisp=". s:palette.gui.green[s:style] ."'"
exe "let s:sp_aqua = ' guisp=". s:palette.gui.aqua[s:style] ."'"
exe "let s:sp_blue = ' guisp=". s:palette.gui.blue[s:style] ."'"
exe "let s:sp_purple = ' guisp=". s:palette.gui.purple[s:style] ."'"
exe "let s:sp_window = ' guisp=". s:palette.gui.window[s:style] ."'"
exe "let s:sp_addbg = ' guisp=". s:palette.gui.addbg[s:style] ."'"
exe "let s:sp_addfg = ' guisp=". s:palette.gui.addfg[s:style] ."'"
exe "let s:sp_changebg = ' guisp=". s:palette.gui.changebg[s:style] ."'"
exe "let s:sp_changefg = ' guisp=". s:palette.gui.changefg[s:style] ."'"
exe "let s:sp_darkblue = ' guisp=". s:palette.gui.darkblue[s:style] ."'"
exe "let s:sp_darkcyan = ' guisp=". s:palette.gui.darkcyan[s:style] ."'"
exe "let s:sp_darkred = ' guisp=". s:palette.gui.darkred[s:style] ."'"
exe "let s:sp_darkpurple = ' guisp=". s:palette.gui.darkpurple[s:style] ."'"
" Set bold font depending on options
if exists("g:enable_bold_font") && g:enable_bold_font == 1
let s:fg_bold = s:fmt_bold
else
let s:fg_bold = s:fmt_none
endif
" Set italic font depending on options
if exists("g:enable_italic_font") && g:enable_italic_font == 1
let s:fg_italic = s:fmt_ital
else
let s:fg_italic = s:fmt_none
endif
"}}}
" Vim Highlighting: (see :help highlight-groups)"{{{
" ----------------------------------------------------------------------------
exe "hi! ColorColumn" .s:fg_none .s:bg_line .s:fmt_none
exe "hi! Conceal" .s:fg_orange .s:bg_none .s:fmt_none
" Cursor"
" CursorIM"
exe "hi! CursorColumn" .s:fg_none .s:bg_line .s:fmt_none
exe "hi! CursorLine" .s:fg_none .s:bg_line .s:fmt_none
exe "hi! Directory" .s:fg_blue .s:bg_none .s:fmt_none
exe "hi! DiffAdd" .s:fg_addfg .s:bg_addbg .s:fmt_none
exe "hi! DiffChange" .s:fg_changefg .s:bg_changebg .s:fmt_none
exe "hi! DiffDelete" .s:fg_background .s:bg_delbg .s:fmt_none
exe "hi! DiffText" .s:fg_background .s:bg_blue .s:fmt_none
exe "hi! ErrorMsg" .s:fg_background .s:bg_red .s:fmt_stnd
exe "hi! VertSplit" .s:fg_window .s:bg_none .s:fmt_none
exe "hi! Folded" .s:fg_comment .s:bg_darkcolumn .s:fmt_none
exe "hi! FoldColumn" .s:fg_none .s:bg_darkcolumn .s:fmt_none
exe "hi! SignColumn" .s:fg_none .s:bg_darkcolumn .s:fmt_none
" Incsearch"
exe "hi! LineNr" .s:fg_selection .s:bg_none .s:fmt_none
exe "hi! CursorLineNr" .s:fg_yellow .s:bg_none .s:fg_bold
exe "hi! MatchParen" .s:fg_aqua .s:bg_changebg .s:fg_bold
exe "hi! ModeMsg" .s:fg_green .s:bg_none .s:fmt_none
exe "hi! MoreMsg" .s:fg_green .s:bg_none .s:fmt_none
exe "hi! NonText" .s:fg_selection .s:bg_none .s:fmt_none
exe "hi! Pmenu" .s:fg_foreground .s:bg_selection .s:fmt_none
exe "hi! PmenuSel" .s:fg_foreground .s:bg_selection .s:fmt_revr
" PmenuSbar"
" PmenuThumb"
exe "hi! Question" .s:fg_green .s:bg_none .s:fmt_none
exe "hi! Search" .s:fg_background .s:bg_yellow .s:fmt_none
exe "hi! SpecialKey" .s:fg_selection .s:bg_none .s:fmt_none
exe "hi! SpellCap" .s:fg_blue .s:bg_none .s:fmt_undr
exe "hi! SpellLocal" .s:fg_aqua .s:bg_none .s:fmt_undr
exe "hi! SpellBad" .s:fg_red .s:bg_none .s:fmt_undr
exe "hi! SpellRare" .s:fg_purple .s:bg_none .s:fmt_undr
exe "hi! StatusLine" .s:fg_foreground .s:bg_selection .s:fg_bold
exe "hi! StatusLineNC" .s:fg_window .s:bg_comment .s:fmt_none
exe "hi! TabLine" .s:fg_foreground .s:bg_darkcolumn .s:fmt_revr
" TabLineFill"
" TabLineSel"
exe "hi! Title" .s:fg_yellow .s:bg_none .s:fmt_none
exe "hi! Visual" .s:fg_none .s:bg_selection .s:fmt_none
" VisualNos"
exe "hi! WarningMsg" .s:fg_red .s:bg_none .s:fmt_none
" FIXME LongLineWarning to use variables instead of hardcoding
hi LongLineWarning guifg=NONE guibg=#371F1C gui=underline ctermfg=NONE ctermbg=NONE cterm=underline
" WildMenu"
" Use defined custom background colour for terminal Vim.
if !has('gui_running') && exists("g:hybrid_custom_term_colors") && g:hybrid_custom_term_colors == 1
let s:bg_normal = s:bg_none
else
let s:bg_normal = s:bg_background
endif
let s:normal_bg = s:bg_normal
if get(g:, 'hybrid_transparent_background', 0) == 1
let s:normal_bg = s:bg_none
endif
exe "hi! Normal" .s:fg_foreground .s:normal_bg .s:fmt_none
"}}}
" Generic Syntax Highlighting: (see :help group-name)"{{{
" ----------------------------------------------------------------------------
exe "hi! Comment" .s:fg_comment .s:bg_none .s:fg_italic
exe "hi! Constant" .s:fg_purple .s:bg_none .s:fmt_none
exe "hi! String" .s:fg_green .s:bg_none .s:fmt_none
" Character"
" Number"
" Boolean"
" Float"
exe "hi! Identifier" .s:fg_red .s:bg_none .s:fmt_none
exe "hi! Function" .s:fg_yellow .s:bg_none .s:fg_bold
exe "hi! Statement" .s:fg_blue .s:bg_none .s:fg_bold
" Conditional"
" Repeat"
" Label"
exe "hi! Operator" .s:fg_aqua .s:bg_none .s:fmt_none
" Keyword"
" Exception"
exe "hi! PreProc" .s:fg_aqua .s:bg_none .s:fg_bold
" Include"
" Define"
" Macro"
" PreCondit"
exe "hi! Type" .s:fg_orange .s:bg_none .s:fg_bold
" StorageClass"
exe "hi! Structure" .s:fg_aqua .s:bg_none .s:fmt_none
" Typedef"
exe "hi! Special" .s:fg_red .s:bg_none .s:fmt_none
" SpecialChar"
" Tag"
" Delimiter"
" SpecialComment"
" Debug"
"
exe "hi! Underlined" .s:fg_blue .s:bg_none .s:fmt_none
exe "hi! Ignore" .s:fg_none .s:bg_none .s:fmt_none
exe "hi! Error" .s:fg_red .s:bg_none .s:fmt_none
exe "hi! Todo" .s:fg_addfg .s:bg_none .s:fg_bold
" Quickfix window highlighting
exe "hi! qfLineNr" .s:fg_yellow .s:bg_none .s:fmt_none
" qfFileName"
" qfLineNr"
" qfError"
"}}}
" Diff Syntax Highlighting:"{{{
" ----------------------------------------------------------------------------
" Diff
" diffOldFile
" diffNewFile
" diffFile
" diffOnly
" diffIdentical
" diffDiffer
" diffBDiffer
" diffIsA
" diffNoEOL
" diffCommon
hi! link diffRemoved Special
" diffChanged
hi! link diffAdded String
" diffLine
" diffSubname
" diffComment
"}}}
"
" This is needed for some reason: {{{
let &background = s:style
" }}}
" Legal:"{{{
" ----------------------------------------------------------------------------
" Copyright (c) 2011 Ethan Schoonover
" Copyright (c) 2009-2012 NanoTech
" Copyright (c) 2012 w0ng
"
" Permission is hereby granted, free of charge, to any per
" son obtaining a copy of this software and associated doc
" umentation files (the “Software”), to deal in the Soft
" ware without restriction, including without limitation
" the rights to use, copy, modify, merge, publish, distrib
" ute, sublicense, and/or sell copies of the Software, and
" to permit persons to whom the Software is furnished to do
" so, subject to the following conditions:
"
" The above copyright notice and this permission notice
" shall be included in all copies or substantial portions
" of the Software.
"
" THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY
" KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
" THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICU
" LAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
" AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
" DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CON
" TRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON
" NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
" THE SOFTWARE.
" }}}

View File

@@ -0,0 +1,469 @@
" File: hybrid_reverse.vim
" Maintainer: Kristijan Husak (kristijanhusak)
" URL: https://github.com/kristijanhusak/vim-hybrid-material
" BASED ON: https://github.com/w0ng/vim-hybrid
" Modified: 16 Apr 2016
" License: MIT
" Description:"{{{
" ----------------------------------------------------------------------------
" The default RGB colour palette is taken from Tomorrow-Night.vim:
" https://github.com/chriskempson/vim-tomorrow-theme
"
" The reduced RGB colour palette is taken from Codecademy's online editor:
" https://www.codecademy.com/learn
"
" The syntax highlighting scheme is taken from jellybeans.vim:
" https://github.com/nanotech/jellybeans.vim
"
" The is code taken from solarized.vim:
" https://github.com/altercation/vim-colors-solarized
"}}}
" Requirements And Recommendations:"{{{
" ----------------------------------------------------------------------------
" Requirements
" - gVim 7.3+ on Linux, Mac and Windows.
" - Vim 7.3+ on Linux and Mac, using a terminal that supports 256 colours.
"
" Due to the limited 256 palette, colours in Vim and gVim will still be slightly
" different.
"
" In order to have Vim use the same colours as gVim (the way this colour scheme
" is intended), it is recommended that you define the basic 16 colours in your
" terminal.
"
" For Linux users (rxvt-unicode, xterm):
"
" 1. Add the default palette to ~/.Xresources:
"
" https://gist.github.com/3278077
"
" or alternatively, add the reduced contrast palette to ~/.Xresources:
"
" https://gist.github.com/w0ng/16e33902508b4a0350ae
"
" 2. Add to ~/.vimrc:
"
" let g:hybrid_custom_term_colors = 1
" let g:hybrid_reduced_contrast = 1 " Remove this line if using the default palette.
" colorscheme hybrid
"
" For OSX users (iTerm):
"
" 1. Import the default colour preset into iTerm:
"
" https://raw.githubusercontent.com/w0ng/dotfiles/master/iterm2/hybrid.itermcolors
"
" or alternatively, import the reduced contrast color preset into iTerm:
"
" https://raw.githubusercontent.com/w0ng/dotfiles/master/iterm2/hybrid-reduced-contrast.itermcolors
"
" 2. Add to ~/.vimrc:
"
" let g:hybrid_custom_term_colors = 1
" let g:hybrid_reduced_contrast = 1 " Remove this line if using the default palette.
" colorscheme hybrid
"}}}
" Initialisation:"{{{
" ----------------------------------------------------------------------------
hi clear
if exists("syntax_on")
syntax reset
endif
let s:style = &background
let g:colors_name = "hybrid_reverse"
"}}}
" GUI And Cterm Palettes:"{{{
" ----------------------------------------------------------------------------
let s:palette = {'gui' : {} , 'cterm' : {}}
let s:gui_background = "#1d1f21"
let s:gui_selection = "#373b41"
let s:gui_line = "#282a2e"
let s:gui_comment = "#707880"
let s:palette.gui.background = { 'dark' : s:gui_background , 'light' : "#e4e4e4" }
let s:palette.gui.foreground = { 'dark' : "#c5c8c6" , 'light' : "#000000" }
let s:palette.gui.selection = { 'dark' : s:gui_selection , 'light' : "#bcbcbc" }
let s:palette.gui.line = { 'dark' : s:gui_line , 'light' : "#d0d0d0" }
let s:palette.gui.comment = { 'dark' : s:gui_comment , 'light' : "#5f5f5f" }
let s:palette.gui.red = { 'dark' : "#cc6666" , 'light' : "#5f0000" }
let s:palette.gui.orange = { 'dark' : "#de935f" , 'light' : "#875f00" }
let s:palette.gui.yellow = { 'dark' : "#f0c674" , 'light' : "#5f5f00" }
let s:palette.gui.green = { 'dark' : "#b5bd68" , 'light' : "#005f00" }
let s:palette.gui.aqua = { 'dark' : "#8abeb7" , 'light' : "#005f5f" }
let s:palette.gui.blue = { 'dark' : "#81a2be" , 'light' : "#00005f" }
let s:palette.gui.purple = { 'dark' : "#b294bb" , 'light' : "#5f005f" }
let s:palette.gui.window = { 'dark' : "#303030" , 'light' : "#9e9e9e" }
let s:palette.gui.darkcolumn = { 'dark' : "#1c1c1c" , 'light' : "#808080" }
let s:palette.gui.addbg = { 'dark' : "#5F875F" , 'light' : "#d7ffd7" }
let s:palette.gui.addfg = { 'dark' : "#d7ffaf" , 'light' : "#005f00" }
let s:palette.gui.changebg = { 'dark' : "#5F5F87" , 'light' : "#d7d7ff" }
let s:palette.gui.changefg = { 'dark' : "#d7d7ff" , 'light' : "#5f005f" }
let s:palette.gui.delbg = { 'dark' : "#cc6666" , 'light' : "#ffd7d7" }
let s:palette.gui.darkblue = { 'dark' : "#00005f" , 'light' : "#d7ffd7" }
let s:palette.gui.darkcyan = { 'dark' : "#005f5f" , 'light' : "#005f00" }
let s:palette.gui.darkred = { 'dark' : "#5f0000" , 'light' : "#d7d7ff" }
let s:palette.gui.darkpurple = { 'dark' : "#5f005f" , 'light' : "#5f005f" }
if exists("g:hybrid_custom_term_colors") && g:hybrid_custom_term_colors == 1
let s:cterm_foreground = "15" " White
let s:cterm_selection = "8" " DarkGrey
let s:cterm_line = "0" " Black
let s:cterm_comment = "7" " LightGrey
let s:cterm_red = "9" " LightRed
let s:cterm_orange = "3" " DarkYellow
let s:cterm_yellow = "11" " LightYellow
let s:cterm_green = "10" " LightGreen
let s:cterm_aqua = "14" " LightCyan
let s:cterm_blue = "12" " LightBlue
let s:cterm_purple = "13" " LightMagenta
let s:cterm_delbg = "9" " LightRed
else
let s:cterm_foreground = "250"
let s:cterm_selection = "237"
let s:cterm_line = "235"
let s:cterm_comment = "243"
let s:cterm_red = "167"
let s:cterm_orange = "173"
let s:cterm_yellow = "221"
let s:cterm_green = "143"
let s:cterm_aqua = "109"
let s:cterm_blue = "110"
let s:cterm_purple = "139"
let s:cterm_delbg = "167"
endif
let s:palette.cterm.background = { 'dark' : "234" , 'light' : "254" }
let s:palette.cterm.foreground = { 'dark' : s:cterm_foreground , 'light' : "16" }
let s:palette.cterm.window = { 'dark' : "236" , 'light' : "247" }
let s:palette.cterm.selection = { 'dark' : s:cterm_selection , 'light' : "250" }
let s:palette.cterm.line = { 'dark' : s:cterm_line , 'light' : "252" }
let s:palette.cterm.comment = { 'dark' : s:cterm_comment , 'light' : "59" }
let s:palette.cterm.red = { 'dark' : s:cterm_red , 'light' : "52" }
let s:palette.cterm.orange = { 'dark' : s:cterm_orange , 'light' : "94" }
let s:palette.cterm.yellow = { 'dark' : s:cterm_yellow , 'light' : "58" }
let s:palette.cterm.green = { 'dark' : s:cterm_green , 'light' : "22" }
let s:palette.cterm.aqua = { 'dark' : s:cterm_aqua , 'light' : "23" }
let s:palette.cterm.blue = { 'dark' : s:cterm_blue , 'light' : "17" }
let s:palette.cterm.purple = { 'dark' : s:cterm_purple , 'light' : "53" }
let s:palette.cterm.darkcolumn = { 'dark' : "234" , 'light' : "244" }
let s:palette.cterm.addbg = { 'dark' : "65" , 'light' : "194" }
let s:palette.cterm.addfg = { 'dark' : "193" , 'light' : "22" }
let s:palette.cterm.changebg = { 'dark' : "60" , 'light' : "189" }
let s:palette.cterm.changefg = { 'dark' : "189" , 'light' : "53" }
let s:palette.cterm.delbg = { 'dark' : s:cterm_delbg , 'light' : "224" }
let s:palette.cterm.darkblue = { 'dark' : "17" , 'light' : "194" }
let s:palette.cterm.darkcyan = { 'dark' : "24" , 'light' : "22" }
let s:palette.cterm.darkred = { 'dark' : "52" , 'light' : "189" }
let s:palette.cterm.darkpurple = { 'dark' : "53" , 'light' : "53" }
"}}}
" Formatting Options:"{{{
" ----------------------------------------------------------------------------
let s:none = "NONE"
let s:t_none = "NONE"
let s:n = "NONE"
let s:c = ",undercurl"
let s:r = ",reverse"
let s:s = ",standout"
let s:b = ",bold"
let s:u = ",underline"
let s:i = ",italic"
"}}}
" Highlighting Primitives:"{{{
" ----------------------------------------------------------------------------
function! s:build_prim(hi_elem, field)
" Given a:hi_elem = bg, a:field = comment
let l:vname = "s:" . a:hi_elem . "_" . a:field " s:bg_comment
let l:gui_assign = "gui".a:hi_elem."=".s:palette.gui[a:field][s:style] " guibg=...
let l:cterm_assign = "cterm".a:hi_elem."=".s:palette.cterm[a:field][s:style] " ctermbg=...
exe "let " . l:vname . " = ' " . l:gui_assign . " " . l:cterm_assign . "'"
endfunction
let s:bg_none = ' guibg=NONE ctermbg=NONE'
call s:build_prim('bg', 'foreground')
call s:build_prim('bg', 'background')
call s:build_prim('bg', 'selection')
call s:build_prim('bg', 'line')
call s:build_prim('bg', 'comment')
call s:build_prim('bg', 'red')
call s:build_prim('bg', 'orange')
call s:build_prim('bg', 'yellow')
call s:build_prim('bg', 'green')
call s:build_prim('bg', 'aqua')
call s:build_prim('bg', 'blue')
call s:build_prim('bg', 'purple')
call s:build_prim('bg', 'window')
call s:build_prim('bg', 'darkcolumn')
call s:build_prim('bg', 'addbg')
call s:build_prim('bg', 'addfg')
call s:build_prim('bg', 'changebg')
call s:build_prim('bg', 'changefg')
call s:build_prim('bg', 'delbg')
call s:build_prim('bg', 'darkblue')
call s:build_prim('bg', 'darkcyan')
call s:build_prim('bg', 'darkred')
call s:build_prim('bg', 'darkpurple')
let s:fg_none = ' guifg=NONE ctermfg=NONE'
call s:build_prim('fg', 'foreground')
call s:build_prim('fg', 'background')
call s:build_prim('fg', 'selection')
call s:build_prim('fg', 'line')
call s:build_prim('fg', 'comment')
call s:build_prim('fg', 'red')
call s:build_prim('fg', 'orange')
call s:build_prim('fg', 'yellow')
call s:build_prim('fg', 'green')
call s:build_prim('fg', 'aqua')
call s:build_prim('fg', 'blue')
call s:build_prim('fg', 'purple')
call s:build_prim('fg', 'window')
call s:build_prim('fg', 'darkcolumn')
call s:build_prim('fg', 'addbg')
call s:build_prim('fg', 'addfg')
call s:build_prim('fg', 'changebg')
call s:build_prim('fg', 'changefg')
call s:build_prim('fg', 'darkblue')
call s:build_prim('fg', 'darkcyan')
call s:build_prim('fg', 'darkred')
call s:build_prim('fg', 'darkpurple')
exe "let s:fmt_none = ' gui=NONE". " cterm=NONE". " term=NONE" ."'"
exe "let s:fmt_bold = ' gui=NONE".s:b. " cterm=NONE".s:b. " term=NONE".s:b ."'"
exe "let s:fmt_bldi = ' gui=NONE".s:b. " cterm=NONE".s:b. " term=NONE".s:b ."'"
exe "let s:fmt_undr = ' gui=NONE".s:u. " cterm=NONE".s:u. " term=NONE".s:u ."'"
exe "let s:fmt_undb = ' gui=NONE".s:u.s:b. " cterm=NONE".s:u.s:b. " term=NONE".s:u.s:b."'"
exe "let s:fmt_undi = ' gui=NONE".s:u. " cterm=NONE".s:u. " term=NONE".s:u ."'"
exe "let s:fmt_curl = ' gui=NONE".s:c. " cterm=NONE".s:c. " term=NONE".s:c ."'"
exe "let s:fmt_ital = ' gui=NONE".s:i. " cterm=NONE".s:i. " term=NONE".s:i ."'"
exe "let s:fmt_stnd = ' gui=NONE".s:s. " cterm=NONE".s:s. " term=NONE".s:s ."'"
exe "let s:fmt_revr = ' gui=NONE".s:r. " cterm=NONE".s:r. " term=NONE".s:r ."'"
exe "let s:fmt_revb = ' gui=NONE".s:r.s:b. " cterm=NONE".s:r.s:b. " term=NONE".s:r.s:b."'"
exe "let s:sp_none = ' guisp=". s:none ."'"
exe "let s:sp_foreground = ' guisp=". s:palette.gui.foreground[s:style] ."'"
exe "let s:sp_background = ' guisp=". s:palette.gui.background[s:style] ."'"
exe "let s:sp_selection = ' guisp=". s:palette.gui.selection[s:style] ."'"
exe "let s:sp_line = ' guisp=". s:palette.gui.line[s:style] ."'"
exe "let s:sp_comment = ' guisp=". s:palette.gui.comment[s:style] ."'"
exe "let s:sp_red = ' guisp=". s:palette.gui.red[s:style] ."'"
exe "let s:sp_orange = ' guisp=". s:palette.gui.orange[s:style] ."'"
exe "let s:sp_yellow = ' guisp=". s:palette.gui.yellow[s:style] ."'"
exe "let s:sp_green = ' guisp=". s:palette.gui.green[s:style] ."'"
exe "let s:sp_aqua = ' guisp=". s:palette.gui.aqua[s:style] ."'"
exe "let s:sp_blue = ' guisp=". s:palette.gui.blue[s:style] ."'"
exe "let s:sp_purple = ' guisp=". s:palette.gui.purple[s:style] ."'"
exe "let s:sp_window = ' guisp=". s:palette.gui.window[s:style] ."'"
exe "let s:sp_addbg = ' guisp=". s:palette.gui.addbg[s:style] ."'"
exe "let s:sp_addfg = ' guisp=". s:palette.gui.addfg[s:style] ."'"
exe "let s:sp_changebg = ' guisp=". s:palette.gui.changebg[s:style] ."'"
exe "let s:sp_changefg = ' guisp=". s:palette.gui.changefg[s:style] ."'"
exe "let s:sp_darkblue = ' guisp=". s:palette.gui.darkblue[s:style] ."'"
exe "let s:sp_darkcyan = ' guisp=". s:palette.gui.darkcyan[s:style] ."'"
exe "let s:sp_darkred = ' guisp=". s:palette.gui.darkred[s:style] ."'"
exe "let s:sp_darkpurple = ' guisp=". s:palette.gui.darkpurple[s:style] ."'"
" Set bold font depending on options
if exists("g:enable_bold_font") && g:enable_bold_font == 1
let s:fg_bold = s:fmt_bold
else
let s:fg_bold = s:fmt_none
endif
" Set italic font depending on options
if exists("g:enable_italic_font") && g:enable_italic_font == 1
let s:fg_italic = s:fmt_ital
else
let s:fg_italic = s:fmt_none
endif
"}}}
" Vim Highlighting: (see :help highlight-groups)"{{{
" ----------------------------------------------------------------------------
exe "hi! ColorColumn" .s:fg_none .s:bg_line .s:fmt_none
" Conceal"
" Cursor"
" CursorIM"
exe "hi! CursorColumn" .s:fg_none .s:bg_line .s:fmt_none
exe "hi! CursorLine" .s:fg_none .s:bg_line .s:fmt_none
exe "hi! Directory" .s:fg_blue .s:bg_none .s:fmt_none
exe "hi! DiffAdd" .s:fg_addfg .s:bg_addbg .s:fmt_none
exe "hi! DiffChange" .s:fg_changefg .s:bg_changebg .s:fmt_none
exe "hi! DiffDelete" .s:fg_background .s:bg_delbg .s:fmt_none
exe "hi! DiffText" .s:fg_background .s:bg_blue .s:fmt_none
exe "hi! ErrorMsg" .s:fg_background .s:bg_red .s:fmt_stnd
exe "hi! VertSplit" .s:fg_window .s:bg_none .s:fmt_none
exe "hi! Folded" .s:fg_comment .s:bg_darkcolumn .s:fmt_none
exe "hi! FoldColumn" .s:fg_none .s:bg_darkcolumn .s:fmt_none
exe "hi! SignColumn" .s:fg_none .s:bg_darkcolumn .s:fmt_none
" Incsearch"
exe "hi! LineNr" .s:fg_selection .s:bg_none .s:fmt_none
exe "hi! CursorLineNr" .s:fg_yellow .s:bg_none .s:fg_bold
exe "hi! MatchParen" .s:fg_aqua .s:bg_changebg .s:fg_bold
exe "hi! ModeMsg" .s:fg_green .s:bg_none .s:fmt_none
exe "hi! MoreMsg" .s:fg_green .s:bg_none .s:fmt_none
exe "hi! NonText" .s:fg_selection .s:bg_none .s:fmt_none
exe "hi! Pmenu" .s:fg_foreground .s:bg_selection .s:fmt_none
exe "hi! PmenuSel" .s:fg_foreground .s:bg_selection .s:fmt_revr
" PmenuSbar"
" PmenuThumb"
exe "hi! Question" .s:fg_green .s:bg_none .s:fmt_none
exe "hi! Search" .s:fg_background .s:bg_yellow .s:fmt_none
exe "hi! SpecialKey" .s:fg_selection .s:bg_none .s:fmt_none
exe "hi! SpellCap" .s:fg_blue .s:bg_none .s:fmt_undr
exe "hi! SpellLocal" .s:fg_aqua .s:bg_none .s:fmt_undr
exe "hi! SpellBad" .s:fg_red .s:bg_none .s:fmt_undr
exe "hi! SpellRare" .s:fg_purple .s:bg_none .s:fmt_undr
exe "hi! StatusLine" .s:fg_comment .s:bg_background .s:fmt_revr
exe "hi! StatusLineNC" .s:fg_window .s:bg_comment .s:fmt_revr
exe "hi! TabLine" .s:fg_foreground .s:bg_darkcolumn .s:fmt_revr
" TabLineFill"
" TabLineSel"
exe "hi! Title" .s:fg_yellow .s:bg_none .s:fmt_none
exe "hi! Visual" .s:fg_none .s:bg_selection .s:fmt_none
" VisualNos"
exe "hi! WarningMsg" .s:fg_red .s:bg_none .s:fmt_none
" FIXME LongLineWarning to use variables instead of hardcoding
hi LongLineWarning guifg=NONE guibg=#371F1C gui=underline ctermfg=NONE ctermbg=NONE cterm=underline
" WildMenu"
" Use defined custom background colour for terminal Vim.
if !has('gui_running') && exists("g:hybrid_custom_term_colors") && g:hybrid_custom_term_colors == 1
let s:bg_normal = s:bg_none
else
let s:bg_normal = s:bg_background
endif
let s:normal_bg = s:bg_normal
if get(g:, 'hybrid_transparent_background', 0) == 1
let s:normal_bg = s:bg_none
endif
exe "hi! Normal" .s:fg_foreground .s:normal_bg .s:fmt_none
"}}}
" Generic Syntax Highlighting: (see :help group-name)"{{{
" ----------------------------------------------------------------------------
exe "hi! Comment" .s:fg_comment .s:bg_none .s:fg_italic
exe "hi! Constant" .s:fg_purple .s:bg_none .s:fmt_none
exe "hi! String" .s:fg_green .s:bg_none .s:fmt_none
" Character"
" Number"
" Boolean"
" Float"
exe "hi! Identifier" .s:fg_red .s:bg_none .s:fmt_none
exe "hi! Function" .s:fg_yellow .s:bg_none .s:fg_bold
exe "hi! Statement" .s:fg_blue .s:bg_none .s:fg_bold
" Conditional"
" Repeat"
" Label"
exe "hi! Operator" .s:fg_aqua .s:bg_none .s:fmt_none
" Keyword"
" Exception"
exe "hi! PreProc" .s:fg_aqua .s:bg_none .s:fg_bold
" Include"
" Define"
" Macro"
" PreCondit"
exe "hi! Type" .s:fg_orange .s:bg_none .s:fg_bold
" StorageClass"
exe "hi! Structure" .s:fg_aqua .s:bg_none .s:fmt_none
" Typedef"
exe "hi! Special" .s:fg_red .s:bg_none .s:fmt_none
" SpecialChar"
" Tag"
" Delimiter"
" SpecialComment"
" Debug"
"
exe "hi! Underlined" .s:fg_blue .s:bg_none .s:fmt_none
exe "hi! Ignore" .s:fg_none .s:bg_none .s:fmt_none
exe "hi! Error" .s:fg_red .s:bg_none .s:fmt_none
exe "hi! Todo" .s:fg_addfg .s:bg_none .s:fg_bold
" Quickfix window highlighting
exe "hi! qfLineNr" .s:fg_yellow .s:bg_none .s:fmt_none
" qfFileName"
" qfLineNr"
" qfError"
"}}}
" Diff Syntax Highlighting:"{{{
" ----------------------------------------------------------------------------
" Diff
" diffOldFile
" diffNewFile
" diffFile
" diffOnly
" diffIdentical
" diffDiffer
" diffBDiffer
" diffIsA
" diffNoEOL
" diffCommon
hi! link diffRemoved Special
" diffChanged
hi! link diffAdded String
" diffLine
" diffSubname
" diffComment
"}}}
"
" This is needed for some reason: {{{
let &background = s:style
" }}}
" Legal:"{{{
" ----------------------------------------------------------------------------
" Copyright (c) 2011 Ethan Schoonover
" Copyright (c) 2009-2012 NanoTech
" Copyright (c) 2012 w0ng
"
" Permission is hereby granted, free of charge, to any per
" son obtaining a copy of this software and associated doc
" umentation files (the “Software”), to deal in the Soft
" ware without restriction, including without limitation
" the rights to use, copy, modify, merge, publish, distrib
" ute, sublicense, and/or sell copies of the Software, and
" to permit persons to whom the Software is furnished to do
" so, subject to the following conditions:
"
" The above copyright notice and this permission notice
" shall be included in all copies or substantial portions
" of the Software.
"
" THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY
" KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
" THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICU
" LAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
" AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
" DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CON
" TRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON
" NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
" THE SOFTWARE.
" }}}

View File

@@ -0,0 +1,453 @@
" _________________________________________
" \_ _/ ____| ____| ___ \ ____| ___ \ ___/
" | | |____| ____| ___ < ____| __ / |__ \
" /___\_____|_____|_____/_____|_| \_\_____/
"
" File: iceberg.vim
" Maintainer: cocopon <cocopon@me.com>
" Modified: 2021-12-28 09:50+0900
" License: MIT
if !has('gui_running') && &t_Co < 256
finish
endif
hi clear
if exists('syntax_on')
syntax reset
endif
let g:colors_name = 'iceberg'
if &background == 'light'
hi Normal ctermbg=254 ctermfg=237 guibg=#e8e9ec guifg=#33374c
hi ColorColumn cterm=NONE ctermbg=253 ctermfg=NONE guibg=#dcdfe7 guifg=NONE
hi CursorColumn cterm=NONE ctermbg=253 ctermfg=NONE guibg=#dcdfe7 guifg=NONE
hi CursorLine cterm=NONE ctermbg=253 ctermfg=NONE guibg=#dcdfe7 guifg=NONE
hi Comment ctermfg=244 guifg=#8389a3
hi Conceal ctermbg=254 ctermfg=244 guibg=#e8e9ec guifg=#8389a3
hi Constant ctermfg=97 guifg=#7759b4
hi Cursor ctermbg=237 ctermfg=254 guibg=#33374c guifg=#e8e9ec
hi CursorLineNr cterm=NONE ctermbg=251 ctermfg=237 guibg=#cad0de guifg=#576a9e
hi Delimiter ctermfg=237 guifg=#33374c
hi DiffAdd ctermbg=79 ctermfg=23 guibg=#d4dbd1 guifg=#475946
hi DiffChange ctermbg=116 ctermfg=24 guibg=#ced9e1 guifg=#375570
hi DiffDelete cterm=NONE ctermbg=181 ctermfg=89 gui=NONE guibg=#e3d2da guifg=#70415e
hi DiffText cterm=NONE ctermbg=73 ctermfg=24 gui=NONE guibg=#acc5d3 guifg=#33374c
hi Directory ctermfg=31 guifg=#3f83a6
hi Error ctermbg=254 ctermfg=125 guibg=#e8e9ec guifg=#cc517a
hi ErrorMsg ctermbg=254 ctermfg=125 guibg=#e8e9ec guifg=#cc517a
hi WarningMsg ctermbg=254 ctermfg=125 guibg=#e8e9ec guifg=#cc517a
hi EndOfBuffer ctermfg=251 guifg=#cbcfda
hi NonText ctermfg=251 guifg=#cbcfda
hi Whitespace ctermfg=251 guifg=#cbcfda
hi Folded ctermbg=253 ctermfg=243 guibg=#dcdfe7 guifg=#788098
hi FoldColumn ctermbg=253 ctermfg=248 guibg=#dcdfe7 guifg=#9fa7bd
hi Function ctermfg=25 guifg=#2d539e
hi Identifier cterm=NONE ctermfg=31 guifg=#3f83a6
hi Ignore ctermbg=NONE ctermfg=NONE guibg=NONE guifg=NONE
hi Include ctermfg=25 guifg=#2d539e
hi IncSearch cterm=reverse ctermfg=NONE gui=reverse guifg=NONE term=reverse
hi LineNr ctermbg=253 ctermfg=248 guibg=#dcdfe7 guifg=#9fa7bd
hi MatchParen ctermbg=250 ctermfg=0 guibg=#bec0c9 guifg=#33374c
hi ModeMsg ctermfg=244 guifg=#8389a3
hi MoreMsg ctermfg=64 guifg=#668e3d
hi Operator ctermfg=25 guifg=#2d539e
hi Pmenu ctermbg=251 ctermfg=237 guibg=#cad0de guifg=#33374c
hi PmenuSbar ctermbg=251 ctermfg=NONE guibg=#cad0de guifg=NONE
hi PmenuSel ctermbg=248 ctermfg=235 guibg=#a7b2cd guifg=#33374c
hi PmenuThumb ctermbg=237 ctermfg=NONE guibg=#33374c guifg=NONE
hi PreProc ctermfg=64 guifg=#668e3d
hi Question ctermfg=64 guifg=#668e3d
hi QuickFixLine ctermbg=251 ctermfg=237 guibg=#c9cdd7 guifg=#33374c
hi Search ctermbg=180 ctermfg=94 guibg=#eac6ad guifg=#85512c
hi SignColumn ctermbg=253 ctermfg=248 guibg=#dcdfe7 guifg=#9fa7bd
hi Special ctermfg=64 guifg=#668e3d
hi SpecialKey ctermfg=248 guifg=#a5b0d3
hi SpellBad ctermbg=181 ctermfg=237 gui=undercurl guifg=NONE guisp=#cc517a
hi SpellCap ctermbg=117 ctermfg=237 gui=undercurl guifg=NONE guisp=#2d539e
hi SpellLocal ctermbg=116 ctermfg=237 gui=undercurl guifg=NONE guisp=#3f83a6
hi SpellRare ctermbg=110 ctermfg=237 gui=undercurl guifg=NONE guisp=#7759b4
hi Statement ctermfg=25 gui=NONE guifg=#2d539e
hi StatusLine cterm=reverse ctermbg=252 ctermfg=243 gui=reverse guibg=#e8e9ec guifg=#757ca3 term=reverse
hi StatusLineTerm cterm=reverse ctermbg=252 ctermfg=243 gui=reverse guibg=#e8e9ec guifg=#757ca3 term=reverse
hi StatusLineNC cterm=reverse ctermbg=244 ctermfg=251 gui=reverse guibg=#8b98b6 guifg=#cad0de
hi StatusLineTermNC cterm=reverse ctermbg=244 ctermfg=251 gui=reverse guibg=#8b98b6 guifg=#cad0de
hi StorageClass ctermfg=25 guifg=#2d539e
hi String ctermfg=31 guifg=#3f83a6
hi Structure ctermfg=25 guifg=#2d539e
hi TabLine cterm=NONE ctermbg=251 ctermfg=244 gui=NONE guibg=#cad0de guifg=#8b98b6
hi TabLineFill cterm=reverse ctermbg=244 ctermfg=251 gui=reverse guibg=#8b98b6 guifg=#cad0de
hi TabLineSel cterm=NONE ctermbg=254 ctermfg=237 gui=NONE guibg=#e8e9ec guifg=#606374
hi TermCursorNC ctermbg=244 ctermfg=254 guibg=#8389a3 guifg=#e8e9ec
hi Title ctermfg=130 gui=NONE guifg=#c57339
hi Todo ctermbg=254 ctermfg=64 guibg=#d4dbd1 guifg=#668e3d
hi Type ctermfg=25 gui=NONE guifg=#2d539e
hi Underlined cterm=underline ctermfg=25 gui=underline guifg=#2d539e term=underline
hi VertSplit cterm=NONE ctermbg=251 ctermfg=251 gui=NONE guibg=#cad0de guifg=#cad0de
hi Visual ctermbg=251 ctermfg=NONE guibg=#c9cdd7 guifg=NONE
hi VisualNOS ctermbg=251 ctermfg=NONE guibg=#c9cdd7 guifg=NONE
hi WildMenu ctermbg=235 ctermfg=252 guibg=#32364c guifg=#e8e9ec
hi icebergNormalFg ctermfg=237 guifg=#33374c
hi diffAdded ctermfg=64 guifg=#668e3d
hi diffRemoved ctermfg=125 guifg=#cc517a
hi ALEErrorSign ctermbg=253 ctermfg=125 guibg=#dcdfe7 guifg=#cc517a
hi ALEWarningSign ctermbg=253 ctermfg=130 guibg=#dcdfe7 guifg=#c57339
hi ALEVirtualTextError ctermfg=125 guifg=#cc517a
hi ALEVirtualTextWarning ctermfg=130 guifg=#c57339
hi CtrlPMode1 ctermbg=247 ctermfg=252 guibg=#9fa6c0 guifg=#e8e9ec
hi EasyMotionShade ctermfg=250 guifg=#bbbecd
hi EasyMotionTarget ctermfg=64 guifg=#668e3d
hi EasyMotionTarget2First ctermfg=130 guifg=#c57339
hi EasyMotionTarget2Second ctermfg=130 guifg=#c57339
hi GitGutterAdd ctermbg=253 ctermfg=64 guibg=#dcdfe7 guifg=#668e3d
hi GitGutterChange ctermbg=253 ctermfg=31 guibg=#dcdfe7 guifg=#3f83a6
hi GitGutterChangeDelete ctermbg=253 ctermfg=31 guibg=#dcdfe7 guifg=#3f83a6
hi GitGutterDelete ctermbg=253 ctermfg=125 guibg=#dcdfe7 guifg=#cc517a
hi gitmessengerEndOfBuffer ctermbg=253 ctermfg=248 guibg=#dcdfe7 guifg=#9fa7bd
hi gitmessengerPopupNormal ctermbg=253 ctermfg=237 guibg=#dcdfe7 guifg=#33374c
hi Sneak ctermbg=97 ctermfg=254 guibg=#7759b4 guifg=#e8e9ec
hi SneakScope ctermbg=251 ctermfg=244 guibg=#c9cdd7 guifg=#8389a3
hi SyntasticErrorSign ctermbg=253 ctermfg=125 guibg=#dcdfe7 guifg=#cc517a
hi SyntasticStyleErrorSign ctermbg=253 ctermfg=125 guibg=#dcdfe7 guifg=#cc517a
hi SyntasticStyleWarningSign ctermbg=253 ctermfg=130 guibg=#dcdfe7 guifg=#c57339
hi SyntasticWarningSign ctermbg=253 ctermfg=130 guibg=#dcdfe7 guifg=#c57339
hi TSFunction ctermfg=237 guifg=#505695
hi TSFunctionBuiltin ctermfg=237 guifg=#505695
hi TSFunctionMacro ctermfg=237 guifg=#505695
hi TSMethod ctermfg=237 guifg=#505695
hi TSURI cterm=underline ctermfg=31 gui=underline guifg=#3f83a6 term=underline
hi ZenSpace ctermbg=125 guibg=#cc517a
hi DiagnosticUnderlineInfo cterm=underline ctermfg=31 gui=underline guisp=#3f83a6 term=underline
hi DiagnosticInfo ctermfg=31 guifg=#3f83a6
hi DiagnosticSignInfo ctermbg=253 ctermfg=31 guibg=#dcdfe7 guifg=#3f83a6
hi DiagnosticUnderlineHint cterm=underline ctermfg=244 gui=underline guisp=#8389a3 term=underline
hi DiagnosticHint ctermfg=244 guifg=#8389a3
hi DiagnosticSignHint ctermbg=253 ctermfg=244 guibg=#dcdfe7 guifg=#8389a3
hi DiagnosticUnderlineWarn cterm=underline ctermfg=130 gui=underline guisp=#c57339 term=underline
hi DiagnosticWarn ctermfg=130 guifg=#c57339
hi DiagnosticSignWarn ctermbg=253 ctermfg=130 guibg=#dcdfe7 guifg=#c57339
hi DiagnosticUnderlineError cterm=underline ctermfg=125 gui=underline guisp=#cc517a term=underline
hi DiagnosticError ctermfg=125 guifg=#cc517a
hi DiagnosticSignError ctermbg=253 ctermfg=125 guibg=#dcdfe7 guifg=#cc517a
hi DiagnosticFloatingHint ctermbg=251 ctermfg=237 guibg=#cad0de guifg=#33374c
hi icebergALAccentRed ctermfg=125 guifg=#cc517a
if has('nvim')
let g:terminal_color_0 = '#dcdfe7'
let g:terminal_color_1 = '#cc517a'
let g:terminal_color_2 = '#668e3d'
let g:terminal_color_3 = '#c57339'
let g:terminal_color_4 = '#2d539e'
let g:terminal_color_5 = '#7759b4'
let g:terminal_color_6 = '#3f83a6'
let g:terminal_color_7 = '#33374c'
let g:terminal_color_8 = '#8389a3'
let g:terminal_color_9 = '#cc3768'
let g:terminal_color_10 = '#598030'
let g:terminal_color_11 = '#b6662d'
let g:terminal_color_12 = '#22478e'
let g:terminal_color_13 = '#6845ad'
let g:terminal_color_14 = '#327698'
let g:terminal_color_15 = '#262a3f'
else
let g:terminal_ansi_colors = ['#dcdfe7', '#cc517a', '#668e3d', '#c57339', '#2d539e', '#7759b4', '#3f83a6', '#33374c', '#8389a3', '#cc3768', '#598030', '#b6662d', '#22478e', '#6845ad', '#327698', '#262a3f']
endif
else
hi Normal ctermbg=234 ctermfg=252 guibg=#161821 guifg=#c6c8d1
hi ColorColumn cterm=NONE ctermbg=235 ctermfg=NONE guibg=#1e2132 guifg=NONE
hi CursorColumn cterm=NONE ctermbg=235 ctermfg=NONE guibg=#1e2132 guifg=NONE
hi CursorLine cterm=NONE ctermbg=235 ctermfg=NONE guibg=#1e2132 guifg=NONE
hi Comment ctermfg=242 guifg=#6b7089
hi Conceal ctermbg=234 ctermfg=242 guibg=#161821 guifg=#6b7089
hi Constant ctermfg=140 guifg=#a093c7
hi Cursor ctermbg=252 ctermfg=234 guibg=#c6c8d1 guifg=#161821
hi CursorLineNr cterm=NONE ctermbg=237 ctermfg=253 guibg=#2a3158 guifg=#cdd1e6
hi Delimiter ctermfg=252 guifg=#c6c8d1
hi DiffAdd ctermbg=29 ctermfg=158 guibg=#45493e guifg=#c0c5b9
hi DiffChange ctermbg=23 ctermfg=159 guibg=#384851 guifg=#b3c3cc
hi DiffDelete cterm=NONE ctermbg=95 ctermfg=224 gui=NONE guibg=#53343b guifg=#ceb0b6
hi DiffText cterm=NONE ctermbg=30 ctermfg=195 gui=NONE guibg=#5b7881 guifg=#c6c8d1
hi Directory ctermfg=109 guifg=#89b8c2
hi Error ctermbg=234 ctermfg=203 guibg=#161821 guifg=#e27878
hi ErrorMsg ctermbg=234 ctermfg=203 guibg=#161821 guifg=#e27878
hi WarningMsg ctermbg=234 ctermfg=203 guibg=#161821 guifg=#e27878
hi EndOfBuffer ctermfg=236 guifg=#242940
hi NonText ctermfg=236 guifg=#242940
hi Whitespace ctermfg=236 guifg=#242940
hi Folded ctermbg=235 ctermfg=245 guibg=#1e2132 guifg=#686f9a
hi FoldColumn ctermbg=235 ctermfg=239 guibg=#1e2132 guifg=#444b71
hi Function ctermfg=110 guifg=#84a0c6
hi Identifier cterm=NONE ctermfg=109 guifg=#89b8c2
hi Ignore ctermbg=NONE ctermfg=NONE guibg=NONE guifg=NONE
hi Include ctermfg=110 guifg=#84a0c6
hi IncSearch cterm=reverse ctermfg=NONE gui=reverse guifg=NONE term=reverse
hi LineNr ctermbg=235 ctermfg=239 guibg=#1e2132 guifg=#444b71
hi MatchParen ctermbg=237 ctermfg=255 guibg=#3e445e guifg=#ffffff
hi ModeMsg ctermfg=242 guifg=#6b7089
hi MoreMsg ctermfg=150 guifg=#b4be82
hi Operator ctermfg=110 guifg=#84a0c6
hi Pmenu ctermbg=236 ctermfg=251 guibg=#3d425b guifg=#c6c8d1
hi PmenuSbar ctermbg=236 ctermfg=NONE guibg=#3d425b guifg=NONE
hi PmenuSel ctermbg=240 ctermfg=255 guibg=#5b6389 guifg=#eff0f4
hi PmenuThumb ctermbg=251 ctermfg=NONE guibg=#c6c8d1 guifg=NONE
hi PreProc ctermfg=150 guifg=#b4be82
hi Question ctermfg=150 guifg=#b4be82
hi QuickFixLine ctermbg=236 ctermfg=252 guibg=#272c42 guifg=#c6c8d1
hi Search ctermbg=216 ctermfg=234 guibg=#e4aa80 guifg=#392313
hi SignColumn ctermbg=235 ctermfg=239 guibg=#1e2132 guifg=#444b71
hi Special ctermfg=150 guifg=#b4be82
hi SpecialKey ctermfg=240 guifg=#515e97
hi SpellBad ctermbg=95 ctermfg=252 gui=undercurl guifg=NONE guisp=#e27878
hi SpellCap ctermbg=24 ctermfg=252 gui=undercurl guifg=NONE guisp=#84a0c6
hi SpellLocal ctermbg=23 ctermfg=252 gui=undercurl guifg=NONE guisp=#89b8c2
hi SpellRare ctermbg=97 ctermfg=252 gui=undercurl guifg=NONE guisp=#a093c7
hi Statement ctermfg=110 gui=NONE guifg=#84a0c6
hi StatusLine cterm=reverse ctermbg=234 ctermfg=245 gui=reverse guibg=#17171b guifg=#818596 term=reverse
hi StatusLineTerm cterm=reverse ctermbg=234 ctermfg=245 gui=reverse guibg=#17171b guifg=#818596 term=reverse
hi StatusLineNC cterm=reverse ctermbg=238 ctermfg=233 gui=reverse guibg=#3e445e guifg=#0f1117
hi StatusLineTermNC cterm=reverse ctermbg=238 ctermfg=233 gui=reverse guibg=#3e445e guifg=#0f1117
hi StorageClass ctermfg=110 guifg=#84a0c6
hi String ctermfg=109 guifg=#89b8c2
hi Structure ctermfg=110 guifg=#84a0c6
hi TabLine cterm=NONE ctermbg=233 ctermfg=238 gui=NONE guibg=#0f1117 guifg=#3e445e
hi TabLineFill cterm=reverse ctermbg=238 ctermfg=233 gui=reverse guibg=#3e445e guifg=#0f1117
hi TabLineSel cterm=NONE ctermbg=234 ctermfg=252 gui=NONE guibg=#161821 guifg=#9a9ca5
hi TermCursorNC ctermbg=242 ctermfg=234 guibg=#6b7089 guifg=#161821
hi Title ctermfg=216 gui=NONE guifg=#e2a478
hi Todo ctermbg=234 ctermfg=150 guibg=#45493e guifg=#b4be82
hi Type ctermfg=110 gui=NONE guifg=#84a0c6
hi Underlined cterm=underline ctermfg=110 gui=underline guifg=#84a0c6 term=underline
hi VertSplit cterm=NONE ctermbg=233 ctermfg=233 gui=NONE guibg=#0f1117 guifg=#0f1117
hi Visual ctermbg=236 ctermfg=NONE guibg=#272c42 guifg=NONE
hi VisualNOS ctermbg=236 ctermfg=NONE guibg=#272c42 guifg=NONE
hi WildMenu ctermbg=255 ctermfg=234 guibg=#d4d5db guifg=#17171b
hi icebergNormalFg ctermfg=252 guifg=#c6c8d1
hi diffAdded ctermfg=150 guifg=#b4be82
hi diffRemoved ctermfg=203 guifg=#e27878
hi ALEErrorSign ctermbg=235 ctermfg=203 guibg=#1e2132 guifg=#e27878
hi ALEWarningSign ctermbg=235 ctermfg=216 guibg=#1e2132 guifg=#e2a478
hi ALEVirtualTextError ctermfg=203 guifg=#e27878
hi ALEVirtualTextWarning ctermfg=216 guifg=#e2a478
hi CtrlPMode1 ctermbg=236 ctermfg=242 guibg=#2e313f guifg=#6b7089
hi EasyMotionShade ctermfg=239 guifg=#3d425b
hi EasyMotionTarget ctermfg=150 guifg=#b4be82
hi EasyMotionTarget2First ctermfg=216 guifg=#e2a478
hi EasyMotionTarget2Second ctermfg=216 guifg=#e2a478
hi GitGutterAdd ctermbg=235 ctermfg=150 guibg=#1e2132 guifg=#b4be82
hi GitGutterChange ctermbg=235 ctermfg=109 guibg=#1e2132 guifg=#89b8c2
hi GitGutterChangeDelete ctermbg=235 ctermfg=109 guibg=#1e2132 guifg=#89b8c2
hi GitGutterDelete ctermbg=235 ctermfg=203 guibg=#1e2132 guifg=#e27878
hi gitmessengerEndOfBuffer ctermbg=235 ctermfg=239 guibg=#1e2132 guifg=#444b71
hi gitmessengerPopupNormal ctermbg=235 ctermfg=252 guibg=#1e2132 guifg=#c6c8d1
hi Sneak ctermbg=140 ctermfg=234 guibg=#a093c7 guifg=#161821
hi SneakScope ctermbg=236 ctermfg=242 guibg=#272c42 guifg=#6b7089
hi SyntasticErrorSign ctermbg=235 ctermfg=203 guibg=#1e2132 guifg=#e27878
hi SyntasticStyleErrorSign ctermbg=235 ctermfg=203 guibg=#1e2132 guifg=#e27878
hi SyntasticStyleWarningSign ctermbg=235 ctermfg=216 guibg=#1e2132 guifg=#e2a478
hi SyntasticWarningSign ctermbg=235 ctermfg=216 guibg=#1e2132 guifg=#e2a478
hi TSFunction ctermfg=252 guifg=#a3adcb
hi TSFunctionBuiltin ctermfg=252 guifg=#a3adcb
hi TSFunctionMacro ctermfg=252 guifg=#a3adcb
hi TSMethod ctermfg=252 guifg=#a3adcb
hi TSURI cterm=underline ctermfg=109 gui=underline guifg=#89b8c2 term=underline
hi ZenSpace ctermbg=203 guibg=#e27878
hi DiagnosticUnderlineInfo cterm=underline ctermfg=109 gui=underline guisp=#89b8c2 term=underline
hi DiagnosticInfo ctermfg=109 guifg=#89b8c2
hi DiagnosticSignInfo ctermbg=235 ctermfg=109 guibg=#1e2132 guifg=#89b8c2
hi DiagnosticUnderlineHint cterm=underline ctermfg=242 gui=underline guisp=#6b7089 term=underline
hi DiagnosticHint ctermfg=242 guifg=#6b7089
hi DiagnosticSignHint ctermbg=235 ctermfg=242 guibg=#1e2132 guifg=#6b7089
hi DiagnosticUnderlineWarn cterm=underline ctermfg=216 gui=underline guisp=#e2a478 term=underline
hi DiagnosticWarn ctermfg=216 guifg=#e2a478
hi DiagnosticSignWarn ctermbg=235 ctermfg=216 guibg=#1e2132 guifg=#e2a478
hi DiagnosticUnderlineError cterm=underline ctermfg=203 gui=underline guisp=#e27878 term=underline
hi DiagnosticError ctermfg=203 guifg=#e27878
hi DiagnosticSignError ctermbg=235 ctermfg=203 guibg=#1e2132 guifg=#e27878
hi DiagnosticFloatingHint ctermbg=236 ctermfg=251 guibg=#3d425b guifg=#c6c8d1
hi icebergALAccentRed ctermfg=203 guifg=#e27878
if has('nvim')
let g:terminal_color_0 = '#1e2132'
let g:terminal_color_1 = '#e27878'
let g:terminal_color_2 = '#b4be82'
let g:terminal_color_3 = '#e2a478'
let g:terminal_color_4 = '#84a0c6'
let g:terminal_color_5 = '#a093c7'
let g:terminal_color_6 = '#89b8c2'
let g:terminal_color_7 = '#c6c8d1'
let g:terminal_color_8 = '#6b7089'
let g:terminal_color_9 = '#e98989'
let g:terminal_color_10 = '#c0ca8e'
let g:terminal_color_11 = '#e9b189'
let g:terminal_color_12 = '#91acd1'
let g:terminal_color_13 = '#ada0d3'
let g:terminal_color_14 = '#95c4ce'
let g:terminal_color_15 = '#d2d4de'
else
let g:terminal_ansi_colors = ['#1e2132', '#e27878', '#b4be82', '#e2a478', '#84a0c6', '#a093c7', '#89b8c2', '#c6c8d1', '#6b7089', '#e98989', '#c0ca8e', '#e9b189', '#91acd1', '#ada0d3', '#95c4ce', '#d2d4de']
endif
endif
hi! link TermCursor Cursor
hi! link ToolbarButton TabLineSel
hi! link ToolbarLine TabLineFill
hi! link cssBraces Delimiter
hi! link cssClassName Special
hi! link cssClassNameDot icebergNormalFg
hi! link cssPseudoClassId Special
hi! link cssTagName Statement
hi! link helpHyperTextJump Constant
hi! link htmlArg Constant
hi! link htmlEndTag Statement
hi! link htmlTag Statement
hi! link jsonQuote icebergNormalFg
hi! link phpVarSelector Identifier
hi! link pythonFunction Title
hi! link rubyDefine Statement
hi! link rubyFunction Title
hi! link rubyInterpolationDelimiter String
hi! link rubySharpBang Comment
hi! link rubyStringDelimiter String
hi! link rustFuncCall icebergNormalFg
hi! link rustFuncName Title
hi! link rustType Constant
hi! link sassClass Special
hi! link shFunction icebergNormalFg
hi! link vimContinue Comment
hi! link vimFuncSID vimFunction
hi! link vimFuncVar icebergNormalFg
hi! link vimFunction Title
hi! link vimGroup Statement
hi! link vimHiGroup Statement
hi! link vimHiTerm Identifier
hi! link vimMapModKey Special
hi! link vimOption Identifier
hi! link vimVar icebergNormalFg
hi! link xmlAttrib Constant
hi! link xmlAttribPunct Statement
hi! link xmlEndTag Statement
hi! link xmlNamespace Statement
hi! link xmlTag Statement
hi! link xmlTagName Statement
hi! link yamlKeyValueDelimiter Delimiter
hi! link CtrlPPrtCursor Cursor
hi! link CtrlPMatch Title
hi! link CtrlPMode2 StatusLine
hi! link deniteMatched icebergNormalFg
hi! link deniteMatchedChar Title
hi! link elixirBlockDefinition Statement
hi! link elixirDefine Statement
hi! link elixirDocSigilDelimiter String
hi! link elixirDocTest String
hi! link elixirExUnitMacro Statement
hi! link elixirExceptionDefine Statement
hi! link elixirFunctionDeclaration Title
hi! link elixirKeyword Statement
hi! link elixirModuleDeclaration icebergNormalFg
hi! link elixirModuleDefine Statement
hi! link elixirPrivateDefine Statement
hi! link elixirStringDelimiter String
hi! link jsFlowMaybe icebergNormalFg
hi! link jsFlowObject icebergNormalFg
hi! link jsFlowType PreProc
hi! link graphqlName icebergNormalFg
hi! link graphqlOperator icebergNormalFg
hi! link gitmessengerHash Comment
hi! link gitmessengerHeader Statement
hi! link gitmessengerHistory Constant
hi! link jsArrowFunction Operator
hi! link jsClassDefinition icebergNormalFg
hi! link jsClassFuncName Title
hi! link jsExport Statement
hi! link jsFuncName Title
hi! link jsFutureKeys Statement
hi! link jsFuncCall icebergNormalFg
hi! link jsGlobalObjects Statement
hi! link jsModuleKeywords Statement
hi! link jsModuleOperators Statement
hi! link jsNull Constant
hi! link jsObjectFuncName Title
hi! link jsObjectKey Identifier
hi! link jsSuper Statement
hi! link jsTemplateBraces Special
hi! link jsUndefined Constant
hi! link markdownBold Special
hi! link markdownCode String
hi! link markdownCodeDelimiter String
hi! link markdownHeadingDelimiter Comment
hi! link markdownRule Comment
hi! link ngxDirective Statement
hi! link plug1 icebergNormalFg
hi! link plug2 Identifier
hi! link plugDash Comment
hi! link plugMessage Special
hi! link SignifySignAdd GitGutterAdd
hi! link SignifySignChange GitGutterChange
hi! link SignifySignChangeDelete GitGutterChangeDelete
hi! link SignifySignDelete GitGutterDelete
hi! link SignifySignDeleteFirstLine SignifySignDelete
hi! link StartifyBracket Comment
hi! link StartifyFile Identifier
hi! link StartifyFooter Constant
hi! link StartifyHeader Constant
hi! link StartifyNumber Special
hi! link StartifyPath Comment
hi! link StartifySection Statement
hi! link StartifySlash Comment
hi! link StartifySpecial icebergNormalFg
hi! link svssBraces Delimiter
hi! link swiftIdentifier icebergNormalFg
hi! link TSAttribute Special
hi! link TSBoolean Constant
hi! link TSCharacter Constant
hi! link TSComment Comment
hi! link TSConstructor icebergNormalFg
hi! link TSConditional Statement
hi! link TSConstant Constant
hi! link TSConstBuiltin Constant
hi! link TSConstMacro Constant
hi! link TSError Error
hi! link TSException Statement
hi! link TSField icebergNormalFg
hi! link TSFloat Constant
hi! link TSInclude Statement
hi! link TSKeyword Statement
hi! link TSKeywordFunction Function
hi! link TSLabel Special
hi! link TSNamespace Statement
hi! link TSNumber Constant
hi! link TSOperator icebergNormalFg
hi! link TSParameter icebergNormalFg
hi! link TSParameterReference icebergNormalFg
hi! link TSProperty TSField
hi! link TSPunctDelimiter icebergNormalFg
hi! link TSPunctBracket icebergNormalFg
hi! link TSPunctSpecial Special
hi! link TSRepeat Statement
hi! link TSString String
hi! link TSStringRegex String
hi! link TSStringEscape Special
hi! link TSTag htmlTagName
hi! link TSTagDelimiter htmlTagName
hi! link TSText icebergNormalFg
hi! link TSTitle Title
hi! link TSType Type
hi! link TSTypeBuiltin Type
hi! link TSVariable icebergNormalFg
hi! link TSVariableBuiltin Statement
hi! link typescriptAjaxMethods icebergNormalFg
hi! link typescriptBraces icebergNormalFg
hi! link typescriptEndColons icebergNormalFg
hi! link typescriptFuncKeyword Statement
hi! link typescriptGlobalObjects Statement
hi! link typescriptHtmlElemProperties icebergNormalFg
hi! link typescriptIdentifier Statement
hi! link typescriptMessage icebergNormalFg
hi! link typescriptNull Constant
hi! link typescriptParens icebergNormalFg
if !has('nvim')
hi! link SpecialKey Whitespace
endif

View File

@@ -0,0 +1,733 @@
" Vim color file
"
" " __ _ _ _ "
" " \ \ ___| | |_ _| |__ ___ __ _ _ __ ___ "
" " \ \/ _ \ | | | | | _ \ / _ \/ _ | _ \/ __| "
" " /\_/ / __/ | | |_| | |_| | __/ |_| | | | \__ \ "
" " \___/ \___|_|_|\__ |____/ \___|\____|_| |_|___/ "
" " \___/ "
"
" "A colorful, dark color scheme for Vim."
"
" File: jellybeans.vim
" URL: github.com/nanotech/jellybeans.vim
" Scripts URL: vim.org/scripts/script.php?script_id=2555
" Maintainer: NanoTech (nanotech.nanotechcorp.net)
" Version: 1.7
" Last Change: June 21st, 2019
" License: MIT
" Contributors: Andrew Wong (w0ng)
" Benjamin R. Haskell (benizi)
" Brian Marshall (bmars)
" Daniel Herbert (pocketninja)
" David Liang <bmdavll at gmail dot com>
" Filipe Silva (ninrod)
" Henry So, Jr. <henryso@panix.com>
" Ihor Kalnytskyi (ikalnytskyi)
" Joe Doherty (docapotamus)
" Karl Litterfeldt (Litterfeldt)
" Keith Pitt (keithpitt)
" Mike Schreifels (schreifels)
" Philipp Rustemeier (12foo)
" Rafael Bicalho (rbika)
" Rich Healey (richo)
" Siwen Yu (yusiwen)
" Tim Willis (willist)
" Tom McLaughlin (tmcoma)
"
" Copyright (c) 2009-2019 NanoTech
"
" Permission is hereby granted, free of charge, to any per
" son obtaining a copy of this software and associated doc
" umentation files (the “Software”), to deal in the Soft
" ware without restriction, including without limitation
" the rights to use, copy, modify, merge, publish, distrib
" ute, sublicense, and/or sell copies of the Software, and
" to permit persons to whom the Software is furnished to do
" so, subject to the following conditions:
"
" The above copyright notice and this permission notice
" shall be included in all copies or substantial portions
" of the Software.
"
" THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY
" KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
" THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICU
" LAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
" AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
" DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CON
" TRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON
" NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
" THE SOFTWARE.
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let colors_name = "jellybeans"
if has("gui_running") || (has('termguicolors') && &termguicolors)
let s:true_color = 1
else
let s:true_color = 0
endif
if s:true_color || &t_Co >= 88
let s:low_color = 0
else
let s:low_color = 1
endif
" Configuration Variables:
" - g:jellybeans_overrides (default = {})
" - g:jellybeans_use_lowcolor_black (default = 0)
" - g:jellybeans_use_gui_italics (default = 1)
" - g:jellybeans_use_term_italics (default = 0)
let s:background_color = "151515"
if exists("g:jellybeans_overrides")
let s:overrides = g:jellybeans_overrides
else
let s:overrides = {}
endif
" Backwards compatibility
if exists("g:jellybeans_background_color")
\ || exists("g:jellybeans_background_color_256")
\ || exists("g:jellybeans_use_term_background_color")
let s:overrides = deepcopy(s:overrides)
if !has_key(s:overrides, "background")
let s:overrides["background"] = {}
endif
if exists("g:jellybeans_background_color")
let s:overrides["background"]["guibg"] = g:jellybeans_background_color
endif
if exists("g:jellybeans_background_color_256")
let s:overrides["background"]["256ctermbg"] = g:jellybeans_background_color_256
endif
if exists("g:jellybeans_use_term_background_color")
\ && g:jellybeans_use_term_background_color
let s:overrides["background"]["ctermbg"] = "NONE"
let s:overrides["background"]["256ctermbg"] = "NONE"
endif
endif
if exists("g:jellybeans_use_lowcolor_black") && g:jellybeans_use_lowcolor_black
let s:termBlack = "Black"
else
let s:termBlack = "Grey"
endif
" When `termguicolors` is set, Vim[^1] ignores `hi Normal guibg=NONE`
" after Normal's `guibg` is already set to a color. See:
"
" - https://github.com/vim/vim/issues/981
" - https://github.com/nanotech/jellybeans.vim/issues/64
"
" To work around this, ensure we don't set the default background
" color before an override changes it to `NONE` by ensuring that the
" background color isn't set to a value different from its override.
"
" [^1]: Tested on 8.0.567. Does not apply to Neovim.
"
if has_key(s:overrides, "background") && has_key(s:overrides["background"], "guibg")
let s:background_color = s:overrides["background"]["guibg"]
endif
" Color approximation functions by Henry So, Jr. and David Liang {{{
" Added to jellybeans.vim by Daniel Herbert
if &t_Co == 88
" returns an approximate grey index for the given grey level
fun! s:grey_number(x)
if a:x < 23
return 0
elseif a:x < 69
return 1
elseif a:x < 103
return 2
elseif a:x < 127
return 3
elseif a:x < 150
return 4
elseif a:x < 173
return 5
elseif a:x < 196
return 6
elseif a:x < 219
return 7
elseif a:x < 243
return 8
else
return 9
endif
endfun
" returns the actual grey level represented by the grey index
fun! s:grey_level(n)
if a:n == 0
return 0
elseif a:n == 1
return 46
elseif a:n == 2
return 92
elseif a:n == 3
return 115
elseif a:n == 4
return 139
elseif a:n == 5
return 162
elseif a:n == 6
return 185
elseif a:n == 7
return 208
elseif a:n == 8
return 231
else
return 255
endif
endfun
" returns the palette index for the given grey index
fun! s:grey_color(n)
if a:n == 0
return 16
elseif a:n == 9
return 79
else
return 79 + a:n
endif
endfun
" returns an approximate color index for the given color level
fun! s:rgb_number(x)
if a:x < 69
return 0
elseif a:x < 172
return 1
elseif a:x < 230
return 2
else
return 3
endif
endfun
" returns the actual color level for the given color index
fun! s:rgb_level(n)
if a:n == 0
return 0
elseif a:n == 1
return 139
elseif a:n == 2
return 205
else
return 255
endif
endfun
" returns the palette index for the given R/G/B color indices
fun! s:rgb_color(x, y, z)
return 16 + (a:x * 16) + (a:y * 4) + a:z
endfun
else " assuming &t_Co == 256
" returns an approximate grey index for the given grey level
fun! s:grey_number(x)
if a:x < 14
return 0
else
let l:n = (a:x - 8) / 10
let l:m = (a:x - 8) % 10
if l:m < 5
return l:n
else
return l:n + 1
endif
endif
endfun
" returns the actual grey level represented by the grey index
fun! s:grey_level(n)
if a:n == 0
return 0
else
return 8 + (a:n * 10)
endif
endfun
" returns the palette index for the given grey index
fun! s:grey_color(n)
if a:n == 0
return 16
elseif a:n == 25
return 231
else
return 231 + a:n
endif
endfun
" returns an approximate color index for the given color level
fun! s:rgb_number(x)
if a:x < 75
return 0
else
let l:n = (a:x - 55) / 40
let l:m = (a:x - 55) % 40
if l:m < 20
return l:n
else
return l:n + 1
endif
endif
endfun
" returns the actual color level for the given color index
fun! s:rgb_level(n)
if a:n == 0
return 0
else
return 55 + (a:n * 40)
endif
endfun
" returns the palette index for the given R/G/B color indices
fun! s:rgb_color(x, y, z)
return 16 + (a:x * 36) + (a:y * 6) + a:z
endfun
endif
" returns the palette index to approximate the given R/G/B color levels
fun! s:color(r, g, b)
" map greys directly (see xterm's 256colres.pl)
if &t_Co == 256 && a:r == a:g && a:g == a:b && a:r > 3 && a:r < 243
return (a:r - 8) / 10 + 232
endif
" get the closest grey
let l:gx = s:grey_number(a:r)
let l:gy = s:grey_number(a:g)
let l:gz = s:grey_number(a:b)
" get the closest color
let l:x = s:rgb_number(a:r)
let l:y = s:rgb_number(a:g)
let l:z = s:rgb_number(a:b)
if l:gx == l:gy && l:gy == l:gz
" there are two possibilities
let l:dgr = s:grey_level(l:gx) - a:r
let l:dgg = s:grey_level(l:gy) - a:g
let l:dgb = s:grey_level(l:gz) - a:b
let l:dgrey = (l:dgr * l:dgr) + (l:dgg * l:dgg) + (l:dgb * l:dgb)
let l:dr = s:rgb_level(l:gx) - a:r
let l:dg = s:rgb_level(l:gy) - a:g
let l:db = s:rgb_level(l:gz) - a:b
let l:drgb = (l:dr * l:dr) + (l:dg * l:dg) + (l:db * l:db)
if l:dgrey < l:drgb
" use the grey
return s:grey_color(l:gx)
else
" use the color
return s:rgb_color(l:x, l:y, l:z)
endif
else
" only one possibility
return s:rgb_color(l:x, l:y, l:z)
endif
endfun
fun! s:is_empty_or_none(str)
return empty(a:str) || a:str ==? "NONE"
endfun
" returns the palette index to approximate the 'rrggbb' hex string
fun! s:rgb(rgb)
if s:is_empty_or_none(a:rgb)
return "NONE"
endif
let l:r = ("0x" . strpart(a:rgb, 0, 2)) + 0
let l:g = ("0x" . strpart(a:rgb, 2, 2)) + 0
let l:b = ("0x" . strpart(a:rgb, 4, 2)) + 0
return s:color(l:r, l:g, l:b)
endfun
fun! s:prefix_highlight_value_with(prefix, color)
if s:is_empty_or_none(a:color)
return "NONE"
else
return a:prefix . a:color
endif
endfun
fun! s:remove_italic_attr(attr)
let l:attr = join(filter(split(a:attr, ","), "v:val !=? 'italic'"), ",")
if empty(l:attr)
let l:attr = "NONE"
endif
return l:attr
endfun
" sets the highlighting for the given group
fun! s:X(group, fg, bg, attr, lcfg, lcbg)
if s:low_color
let l:cmd = "hi ".a:group.
\ " ctermfg=".s:prefix_highlight_value_with("", a:lcfg).
\ " ctermbg=".s:prefix_highlight_value_with("", a:lcbg)
else
let l:cmd = "hi ".a:group.
\ " guifg=".s:prefix_highlight_value_with("#", a:fg).
\ " guibg=".s:prefix_highlight_value_with("#", a:bg)
if !s:true_color
let l:cmd = l:cmd.
\ " ctermfg=".s:rgb(a:fg).
\ " ctermbg=".s:rgb(a:bg)
endif
endif
let l:attr = s:prefix_highlight_value_with("", a:attr)
if exists("g:jellybeans_use_term_italics") && g:jellybeans_use_term_italics
let l:cterm_attr = l:attr
else
let l:cterm_attr = s:remove_italic_attr(l:attr)
endif
if !exists("g:jellybeans_use_gui_italics") || g:jellybeans_use_gui_italics
let l:gui_attr = l:attr
else
let l:gui_attr = s:remove_italic_attr(l:attr)
endif
let l:cmd = l:cmd." gui=".l:gui_attr." cterm=".l:cterm_attr
exec l:cmd
endfun
" }}}
call s:X("Normal","e8e8d3",s:background_color,"","White","")
set background=dark
call s:X("CursorLine","","1c1c1c","","",s:termBlack)
call s:X("CursorColumn","","1c1c1c","","",s:termBlack)
" Some of Terminal.app's default themes have a cursor color
" too close to Jellybeans' preferred MatchParen background
" color to be easily distinguishable. Other terminals tend
" to use a brighter cursor color.
"
" Use a more distinct color in Terminal.app, and also in
" low-color terminals if the preferred background color is
" not available.
if !has('gui_running') && $TERM_PROGRAM == "Apple_Terminal"
let s:matchParenGuiFg = "dd0093"
let s:matchParenGuiBg = "000000"
else
let s:matchParenGuiFg = "ffffff"
let s:matchParenGuiBg = "556779"
endif
if s:termBlack != "Black"
let s:matchParenTermFg = "Magenta"
let s:matchParenTermBg = ""
else
let s:matchParenTermFg = ""
let s:matchParenTermBg = s:termBlack
endif
call s:X("MatchParen",s:matchParenGuiFg,s:matchParenGuiBg,"bold",
\ s:matchParenTermFg,s:matchParenTermBg)
call s:X("TabLine","000000","b0b8c0","italic","",s:termBlack)
call s:X("TabLineFill","9098a0","","","",s:termBlack)
call s:X("TabLineSel","000000","f0f0f0","italic,bold",s:termBlack,"White")
" Auto-completion
call s:X("Pmenu","ffffff","606060","","White",s:termBlack)
call s:X("PmenuSel","101010","eeeeee","",s:termBlack,"White")
call s:X("Visual","","404040","","",s:termBlack)
call s:X("Cursor",s:background_color,"b0d0f0","","","")
call s:X("LineNr","605958",s:background_color,"NONE",s:termBlack,"")
call s:X("CursorLineNr","ccc5c4","","NONE","White","")
call s:X("Comment","888888","","italic","Grey","")
call s:X("Todo","c7c7c7","","bold","White",s:termBlack)
call s:X("StatusLine","000000","dddddd","italic","","White")
call s:X("StatusLineNC","ffffff","403c41","italic","White","Black")
call s:X("VertSplit","777777","403c41","",s:termBlack,s:termBlack)
call s:X("WildMenu","f0a0c0","302028","","Magenta","")
call s:X("Folded","a0a8b0","384048","italic",s:termBlack,"")
call s:X("FoldColumn","535D66","1f1f1f","","",s:termBlack)
call s:X("SignColumn","777777","333333","","",s:termBlack)
call s:X("ColorColumn","","000000","","",s:termBlack)
call s:X("Title","70b950","","bold","Green","")
call s:X("Constant","cf6a4c","","","Red","")
call s:X("Special","799d6a","","","Green","")
call s:X("Delimiter","668799","","","Grey","")
call s:X("String","99ad6a","","","Green","")
call s:X("StringDelimiter","556633","","","DarkGreen","")
call s:X("Identifier","c6b6ee","","","LightCyan","")
call s:X("Structure","8fbfdc","","","LightCyan","")
call s:X("Function","fad07a","","","Yellow","")
call s:X("Statement","8197bf","","","DarkBlue","")
call s:X("PreProc","8fbfdc","","","LightBlue","")
hi! link Operator Structure
hi! link Conceal Operator
call s:X("Type","ffb964","","","Yellow","")
call s:X("NonText","606060",s:background_color,"",s:termBlack,"")
call s:X("SpecialKey","444444","1c1c1c","",s:termBlack,"")
call s:X("Search","f0a0c0","302028","underline","Magenta","")
call s:X("Directory","dad085","","","Yellow","")
call s:X("ErrorMsg","","902020","","","DarkRed")
hi! link Error ErrorMsg
hi! link MoreMsg Special
call s:X("Question","65C254","","","Green","")
" Spell Checking
call s:X("SpellBad","","902020","underline","","DarkRed")
call s:X("SpellCap","","0000df","underline","","Blue")
call s:X("SpellRare","","540063","underline","","DarkMagenta")
call s:X("SpellLocal","","2D7067","underline","","Green")
" Diff
hi! link diffRemoved Constant
hi! link diffAdded String
" VimDiff
call s:X("DiffAdd","D2EBBE","437019","","White","DarkGreen")
call s:X("DiffDelete","40000A","700009","","DarkRed","DarkRed")
call s:X("DiffChange","","2B5B77","","White","DarkBlue")
call s:X("DiffText","8fbfdc","000000","reverse","Yellow","")
" PHP
hi! link phpFunctions Function
call s:X("StorageClass","c59f6f","","","Red","")
hi! link phpSuperglobal Identifier
hi! link phpQuoteSingle StringDelimiter
hi! link phpQuoteDouble StringDelimiter
hi! link phpBoolean Constant
hi! link phpNull Constant
hi! link phpArrayPair Operator
hi! link phpOperator Normal
hi! link phpRelation Normal
hi! link phpVarSelector Identifier
" Python
hi! link pythonOperator Statement
" Ruby
hi! link rubySharpBang Comment
call s:X("rubyClass","447799","","","DarkBlue","")
call s:X("rubyIdentifier","c6b6fe","","","Cyan","")
hi! link rubyConstant Type
hi! link rubyFunction Function
call s:X("rubyInstanceVariable","c6b6fe","","","Cyan","")
call s:X("rubySymbol","7697d6","","","Blue","")
hi! link rubyGlobalVariable rubyInstanceVariable
hi! link rubyModule rubyClass
call s:X("rubyControl","7597c6","","","Blue","")
hi! link rubyString String
hi! link rubyStringDelimiter StringDelimiter
hi! link rubyInterpolationDelimiter Identifier
call s:X("rubyRegexpDelimiter","540063","","","Magenta","")
call s:X("rubyRegexp","dd0093","","","DarkMagenta","")
call s:X("rubyRegexpSpecial","a40073","","","Magenta","")
call s:X("rubyPredefinedIdentifier","de5577","","","Red","")
" Erlang
hi! link erlangAtom rubySymbol
hi! link erlangBIF rubyPredefinedIdentifier
hi! link erlangFunction rubyPredefinedIdentifier
hi! link erlangDirective Statement
hi! link erlangNode Identifier
" Elixir
hi! link elixirAtom rubySymbol
" JavaScript
hi! link javaScriptValue Constant
hi! link javaScriptRegexpString rubyRegexp
hi! link javaScriptTemplateVar StringDelim
hi! link javaScriptTemplateDelim Identifier
hi! link javaScriptTemplateString String
" CoffeeScript
hi! link coffeeRegExp javaScriptRegexpString
" Lua
hi! link luaOperator Conditional
" C
hi! link cFormat Identifier
hi! link cOperator Constant
" Objective-C/Cocoa
hi! link objcClass Type
hi! link cocoaClass objcClass
hi! link objcSubclass objcClass
hi! link objcSuperclass objcClass
hi! link objcDirective rubyClass
hi! link objcStatement Constant
hi! link cocoaFunction Function
hi! link objcMethodName Identifier
hi! link objcMethodArg Normal
hi! link objcMessageName Identifier
" Vimscript
hi! link vimOper Normal
" HTML
hi! link htmlTag Statement
hi! link htmlEndTag htmlTag
hi! link htmlTagName htmlTag
" XML
hi! link xmlTag Statement
hi! link xmlEndTag xmlTag
hi! link xmlTagName xmlTag
hi! link xmlEqual xmlTag
hi! link xmlEntity Special
hi! link xmlEntityPunct xmlEntity
hi! link xmlDocTypeDecl PreProc
hi! link xmlDocTypeKeyword PreProc
hi! link xmlProcessingDelim xmlAttrib
" Debugger.vim
call s:X("DbgCurrent","DEEBFE","345FA8","","White","DarkBlue")
call s:X("DbgBreakPt","","4F0037","","","DarkMagenta")
" vim-indent-guides
if !exists("g:indent_guides_auto_colors")
let g:indent_guides_auto_colors = 0
endif
call s:X("IndentGuidesOdd","","232323","","","")
call s:X("IndentGuidesEven","","1b1b1b","","","")
" Plugins, etc.
hi! link TagListFileName Directory
call s:X("PreciseJumpTarget","B9ED67","405026","","White","Green")
" Manual overrides for 256-color terminals. Dark colors auto-map badly.
if !s:low_color
hi StatusLineNC ctermbg=235
hi Folded ctermbg=236
hi DiffText ctermfg=81
hi DbgBreakPt ctermbg=53
hi IndentGuidesOdd ctermbg=235
hi IndentGuidesEven ctermbg=234
endif
if !empty("s:overrides")
fun! s:current_attr(group)
let l:synid = synIDtrans(hlID(a:group))
let l:attrs = []
for l:attr in ["bold", "italic", "reverse", "standout", "underline", "undercurl"]
if synIDattr(l:synid, l:attr, "gui") == 1
call add(l:attrs, l:attr)
endif
endfor
return join(l:attrs, ",")
endfun
fun! s:current_color(group, what, mode)
let l:color = synIDattr(synIDtrans(hlID(a:group)), a:what, a:mode)
if l:color == -1
return ""
else
return substitute(l:color, "^#", "", "")
endif
endfun
fun! s:load_color_def(group, def)
call s:X(a:group, get(a:def, "guifg", s:current_color(a:group, "fg", "gui")),
\ get(a:def, "guibg", s:current_color(a:group, "bg", "gui")),
\ get(a:def, "attr", s:current_attr(a:group)),
\ get(a:def, "ctermfg", s:current_color(a:group, "fg", "cterm")),
\ get(a:def, "ctermbg", s:current_color(a:group, "bg", "cterm")))
if !s:low_color
for l:prop in ["ctermfg", "ctermbg"]
let l:override_key = "256".l:prop
if has_key(a:def, l:override_key)
exec "hi ".a:group." ".l:prop."=".a:def[l:override_key]
endif
endfor
endif
endfun
fun! s:load_colors(defs)
for [l:group, l:def] in items(a:defs)
if l:group == "background"
call s:load_color_def("LineNr", l:def)
call s:load_color_def("NonText", l:def)
call s:load_color_def("Normal", l:def)
else
call s:load_color_def(l:group, l:def)
endif
unlet l:group
unlet l:def
endfor
endfun
call s:load_colors(s:overrides)
delf s:load_colors
delf s:load_color_def
delf s:current_color
delf s:current_attr
endif
" delete functions {{{
delf s:X
delf s:remove_italic_attr
delf s:prefix_highlight_value_with
delf s:rgb
delf s:is_empty_or_none
delf s:color
delf s:rgb_color
delf s:rgb_level
delf s:rgb_number
delf s:grey_color
delf s:grey_level
delf s:grey_number
" }}}

View File

@@ -0,0 +1,243 @@
" 'lightning.vim' -- Vim color scheme.
" Maintainer: Stefan Wimmer (wimstefan@gmail.com)
" A light colorscheme based on 'apprentice'
" by Romain Lafourcade (romainlafourcade@gmail.com)
hi clear
if exists('syntax_on')
syntax reset
endif
set background=light
let colors_name = 'lightning'
if ($TERM =~ '256' || &t_Co >= 256) || has('gui_running')
hi Normal ctermbg=231 ctermfg=234 guibg=#ffffff guifg=#1c1c1c cterm=NONE gui=NONE
hi Comment ctermbg=NONE ctermfg=244 guibg=NONE guifg=#808080 cterm=NONE gui=NONE
hi Conceal ctermbg=NONE ctermfg=250 guibg=NONE guifg=#bcbcbc cterm=NONE gui=NONE
hi Constant ctermbg=NONE ctermfg=208 guibg=NONE guifg=#ff8700 cterm=NONE gui=NONE
hi Error ctermbg=160 ctermfg=255 guibg=#d70000 guifg=#ffffff cterm=bold gui=bold
hi Identifier ctermbg=NONE ctermfg=20 guibg=NONE guifg=#0000d7 cterm=NONE gui=NONE
hi Ignore ctermbg=NONE ctermfg=NONE guibg=NONE guifg=NONE cterm=NONE gui=NONE
hi PreProc ctermbg=NONE ctermfg=30 guibg=NONE guifg=#008787 cterm=NONE gui=NONE
hi Special ctermbg=NONE ctermfg=35 guibg=NONE guifg=#00af5f cterm=NONE gui=NONE
hi Statement ctermbg=NONE ctermfg=69 guibg=NONE guifg=#5f87ff cterm=NONE gui=NONE
hi String ctermbg=NONE ctermfg=24 guibg=NONE guifg=#005f87 cterm=NONE gui=NONE
hi Todo ctermbg=228 ctermfg=234 guibg=#ffff87 guifg=#1c1c1c cterm=bold gui=bold
hi Type ctermbg=NONE ctermfg=90 guibg=NONE guifg=#870087 cterm=NONE gui=NONE
hi Underlined ctermbg=NONE ctermfg=39 guibg=NONE guifg=#00afff cterm=underline gui=underline
hi LineNr ctermbg=251 ctermfg=234 guibg=#c6c6c6 guifg=#1c1c1c cterm=NONE gui=NONE
hi NonText ctermbg=NONE ctermfg=244 guibg=NONE guifg=#808080 cterm=NONE gui=NONE
hi ErrorMsg ctermbg=217 ctermfg=235 guibg=#ffafaf guifg=#262626 cterm=NONE gui=NONE
hi ModeMsg ctermbg=157 ctermfg=235 guibg=#afffaf guifg=#262626 cterm=NONE gui=NONE
hi MoreMsg ctermbg=NONE ctermfg=36 guibg=NONE guifg=#00af87 cterm=NONE gui=NONE
hi Question ctermbg=NONE ctermfg=124 guibg=NONE guifg=#af0000 cterm=NONE gui=NONE
hi WarningMsg ctermbg=NONE ctermfg=160 guibg=NONE guifg=#d70000 cterm=NONE gui=NONE
hi Pmenu ctermbg=251 ctermfg=235 guibg=#c6c6c6 guifg=#262626 cterm=NONE gui=NONE
hi PmenuSbar ctermbg=244 ctermfg=NONE guibg=#808080 guifg=NONE cterm=NONE gui=NONE
hi PmenuSel ctermbg=195 ctermfg=235 guibg=#d7ffff guifg=#262626 cterm=NONE gui=NONE
hi PmenuThumb ctermbg=66 ctermfg=87 guibg=#5f8787 guifg=#5fffff cterm=NONE gui=NONE
hi Cursor ctermbg=250 ctermfg=NONE guibg=#bcbcbc guifg=NONE cterm=NONE gui=NONE
hi CursorColumn ctermbg=254 ctermfg=NONE guibg=#e4e4e4 guifg=NONE cterm=NONE gui=NONE
hi CursorLine ctermbg=NONE ctermfg=NONE guibg=NONE guifg=NONE cterm=underline gui=underline
hi CursorLineNr ctermbg=254 ctermfg=73 guibg=#e4e4e4 guifg=#5fafaf cterm=NONE gui=NONE
hi TabLineSel ctermbg=153 ctermfg=238 guibg=#afd7ff guifg=#444444 cterm=NONE gui=NONE
hi TabLineFill ctermbg=254 ctermfg=254 guibg=#e4e4e4 guifg=#e4e4e4 cterm=NONE gui=NONE
hi TabLine ctermbg=231 ctermfg=153 guibg=#ffffff guifg=#afd7ff cterm=NONE gui=NONE
hi TabNumSel ctermbg=1 ctermfg=231 guibg=#af0000 guifg=#ffffff cterm=bold gui=bold
hi TabNum ctermbg=254 ctermfg=1 guibg=#e4e4e4 guifg=#d70000 cterm=NONE gui=NONE
hi WinNumSel ctermbg=153 ctermfg=160 guibg=#afd7ff guifg=#d70000 cterm=bold gui=bold
hi WinNum ctermbg=231 ctermfg=153 guibg=#ffffff guifg=#afd7ff cterm=NONE gui=NONE
hi StatusLine ctermbg=231 ctermfg=232 guibg=#ffffff guifg=#000000 cterm=inverse gui=inverse
hi StatusLineNC ctermbg=244 ctermfg=231 guibg=#808080 guifg=#ffffff cterm=NONE gui=NONE
hi helpLeadBlank ctermbg=NONE ctermfg=NONE guibg=NONE guifg=NONE cterm=NONE gui=NONE
hi helpNormal ctermbg=NONE ctermfg=NONE guibg=NONE guifg=NONE cterm=NONE gui=NONE
hi Visual ctermbg=111 ctermfg=235 guibg=#87afff guifg=#262626 cterm=NONE gui=NONE
hi VisualNOS ctermbg=NONE ctermfg=NONE guibg=NONE guifg=NONE cterm=underline gui=underline
hi FoldColumn ctermbg=251 ctermfg=235 guibg=#c6c6c6 guifg=#262626 cterm=NONE gui=NONE
hi Folded ctermbg=251 ctermfg=235 guibg=#c6c6c6 guifg=#262626 cterm=NONE gui=NONE
hi VertSplit ctermbg=238 ctermfg=238 guibg=#444444 guifg=#444444 cterm=NONE gui=NONE
hi WildMenu ctermbg=111 ctermfg=235 guibg=#87afff guifg=#262626 cterm=NONE gui=NONE
hi Function ctermbg=NONE ctermfg=33 guibg=NONE guifg=#0087ff cterm=NONE gui=NONE
hi SpecialKey ctermbg=NONE ctermfg=244 guibg=NONE guifg=#808080 cterm=NONE gui=NONE
hi Title ctermbg=NONE ctermfg=22 guibg=NONE guifg=#005f00 cterm=NONE gui=NONE
hi DiffAdd ctermbg=157 ctermfg=235 guibg=#afffaf guifg=#262626 cterm=NONE gui=NONE
hi DiffChange ctermbg=189 ctermfg=235 guibg=#d7d7ff guifg=#262626 cterm=NONE gui=NONE
hi DiffDelete ctermbg=217 ctermfg=235 guibg=#ffafaf guifg=#262626 cterm=NONE gui=NONE
hi DiffText ctermbg=147 ctermfg=235 guibg=#afafff guifg=#262626 cterm=NONE gui=NONE
hi IncSearch ctermbg=217 ctermfg=235 guibg=#ffafaf guifg=#262626 cterm=NONE gui=NONE
hi Search ctermbg=229 ctermfg=235 guibg=#ffffaf guifg=#262626 cterm=NONE gui=NONE
hi Directory ctermbg=NONE ctermfg=73 guibg=NONE guifg=#5fafaf cterm=NONE gui=NONE
hi MatchParen ctermbg=NONE ctermfg=166 guibg=NONE guifg=#d75f00 cterm=NONE gui=NONE
hi SpellBad ctermbg=NONE ctermfg=160 guibg=NONE guifg=NONE cterm=undercurl gui=undercurl guisp=#cc2929
hi SpellCap ctermbg=NONE ctermfg=73 guibg=NONE guifg=NONE cterm=undercurl gui=undercurl guisp=#5fafaf
hi SpellLocal ctermbg=NONE ctermfg=35 guibg=NONE guifg=NONE cterm=undercurl gui=undercurl guisp=#34b31b
hi SpellRare ctermbg=NONE ctermfg=208 guibg=NONE guifg=NONE cterm=undercurl gui=undercurl guisp=#ff8700
hi ColorColumn ctermbg=254 ctermfg=NONE guibg=#e4e4e4 guifg=NONE cterm=NONE gui=NONE
hi signColumn ctermbg=251 ctermfg=235 guibg=#c6c6c6 guifg=#262626 cterm=NONE gui=NONE
elseif &t_Co == 8 || $TERM !~# '^linux' || &t_Co == 16
set t_Co=16
hi Normal ctermbg=NONE ctermfg=15 cterm=NONE
hi Comment ctermbg=NONE ctermfg=8 cterm=NONE
hi Constant ctermbg=NONE ctermfg=9 cterm=NONE
hi Function ctermbg=NONE ctermfg=12 cterm=NONE
hi Identifier ctermbg=NONE ctermfg=4 cterm=NONE
hi PreProc ctermbg=NONE ctermfg=6 cterm=NONE
hi Special ctermbg=NONE ctermfg=2 cterm=NONE
hi Statement ctermbg=NONE ctermfg=14 cterm=NONE
hi String ctermbg=NONE ctermfg=10 cterm=NONE
hi Todo ctermbg=NONE ctermfg=NONE cterm=reverse
hi Type ctermbg=NONE ctermfg=13 cterm=NONE
hi Error ctermbg=NONE ctermfg=1 cterm=reverse
hi Ignore ctermbg=NONE ctermfg=NONE cterm=NONE
hi Underlined ctermbg=NONE ctermfg=6 cterm=underline
hi LineNr ctermbg=0 ctermfg=7 cterm=NONE
hi NonText ctermbg=NONE ctermfg=8 cterm=NONE
hi Pmenu ctermbg=8 ctermfg=15 cterm=NONE
hi PmenuSbar ctermbg=7 ctermfg=NONE cterm=NONE
hi PmenuSel ctermbg=6 ctermfg=0 cterm=NONE
hi PmenuThumb ctermbg=6 ctermfg=NONE cterm=NONE
hi ErrorMsg ctermbg=1 ctermfg=0 cterm=NONE
hi ModeMsg ctermbg=2 ctermfg=0 cterm=NONE
hi MoreMsg ctermbg=NONE ctermfg=6 cterm=NONE
hi Question ctermbg=NONE ctermfg=10 cterm=NONE
hi WarningMsg ctermbg=NONE ctermfg=1 cterm=NONE
hi TabLine ctermbg=7 ctermfg=8 cterm=NONE
hi TabLineFill ctermbg=7 ctermfg=7 cterm=NONE
hi TabLineSel ctermbg=8 ctermfg=7 cterm=NONE
hi TabNumSel ctermbg=1 ctermfg=7 cterm=bold
hi TabNum ctermbg=15 ctermfg=1 cterm=NONE
hi WinNumSel ctermbg=8 ctermfg=1 cterm=bold
hi WinNum ctermbg=7 ctermfg=1 cterm=NONE
hi Cursor ctermbg=NONE ctermfg=NONE cterm=NONE
hi CursorColumn ctermbg=8 ctermfg=NONE cterm=NONE
hi CursorLine ctermbg=NONE ctermfg=NONE cterm=bold
hi CursorLineNr ctermbg=0 ctermfg=14 cterm=NONE
hi helpLeadBlank ctermbg=NONE ctermfg=NONE cterm=NONE
hi helpNormal ctermbg=NONE ctermfg=NONE cterm=NONE
hi StatusLine ctermbg=7 ctermfg=0 cterm=NONE
hi StatusLineNC ctermbg=NONE ctermfg=0 cterm=NONE
hi Visual ctermbg=7 ctermfg=0 cterm=NONE
hi VisualNOS ctermbg=NONE ctermfg=NONE cterm=underline
hi FoldColumn ctermbg=15 ctermfg=0 cterm=NONE
hi Folded ctermbg=15 ctermfg=0 cterm=NONE
hi VertSplit ctermbg=8 ctermfg=8 cterm=NONE
hi WildMenu ctermbg=7 ctermfg=0 cterm=NONE
hi SpecialKey ctermbg=NONE ctermfg=8 cterm=NONE
hi Title ctermbg=NONE ctermfg=15 cterm=NONE
hi DiffAdd ctermbg=10 ctermfg=0 cterm=NONE
hi DiffChange ctermbg=14 ctermfg=0 cterm=NONE
hi DiffDelete ctermbg=9 ctermfg=7 cterm=NONE
hi DiffText ctermbg=11 ctermfg=0 cterm=NONE
hi IncSearch ctermbg=1 ctermfg=0 cterm=NONE
hi Search ctermbg=3 ctermfg=0 cterm=NONE
hi Directory ctermbg=NONE ctermfg=14 cterm=NONE
hi SpellBad ctermbg=NONE ctermfg=1 cterm=undercurl
hi SpellCap ctermbg=NONE ctermfg=3 cterm=undercurl
hi SpellLocal ctermbg=NONE ctermfg=2 cterm=undercurl
hi SpellRare ctermbg=NONE ctermfg=5 cterm=undercurl
hi ColorColumn ctermbg=15 ctermfg=NONE cterm=NONE
hi SignColumn ctermbg=0 ctermfg=8 cterm=NONE
endif
hi link Boolean Constant
hi link Character Constant
hi link Conceal Normal
hi link Conditional Statement
hi link Debug Special
hi link Define PreProc
hi link Delimiter Special
hi link Exception Statement
hi link Float Number
hi link HelpCommand Statement
hi link HelpExample Statement
hi link Include PreProc
hi link Keyword Statement
hi link Label Statement
hi link Macro PreProc
hi link Number Constant
hi link Operator Statement
hi link PreCondit PreProc
hi link Repeat Statement
hi link SpecialChar Special
hi link SpecialComment Special
hi link StorageClass Type
hi link Structure Type
hi link Tag Special
hi link Typedef Type
hi link htmlEndTag htmlTagName
hi link htmlLink Function
hi link htmlSpecialTagName htmlTagName
hi link htmlTag htmlTagName
hi link diffBDiffer WarningMsg
hi link diffCommon WarningMsg
hi link diffDiffer DiffText
hi link diffIdentical WarningMsg
hi link diffIsA WarningMsg
hi link diffNoEOL WarningMsg
hi link diffOnly WarningMsg
hi link diffRemoved DiffDelete
hi link diffAdded DiffAdd
if $NVIM_TUI_ENABLE_TRUE_COLOR == 1
let g:terminal_foreground = "#303030"
let g:terminal_background = "#EEEEEE"
let g:terminal_color_0 = "#080808"
let g:terminal_color_8 = "#585858"
let g:terminal_color_1 = "#CC2929"
let g:terminal_color_9 = "#B30000"
let g:terminal_color_2 = "#34B31B"
let g:terminal_color_10 = "#338033"
let g:terminal_color_3 = "#E27E00"
let g:terminal_color_11 = "#F27F0C"
let g:terminal_color_4 = "#175CE6"
let g:terminal_color_12 = "#003BB3"
let g:terminal_color_5 = "#CC00CC"
let g:terminal_color_13 = "#80195E"
let g:terminal_color_6 = "#26BFBF"
let g:terminal_color_14 = "#0F9999"
let g:terminal_color_7 = "#FAFAFA"
let g:terminal_color_15 = "#E4E4E4"
endif

View File

@@ -0,0 +1,399 @@
" Vim color scheme Lucid
" ----------------------------------------------------------------------
"
" Repository: https://github.com/cseelus/vim-colors-lucid
" Author: Chris Seelus (@cseelus)
"
" BLACK
" :let _rock_dark = '#0b0a0b'
" :let _rock = '#121114'
" :let _rock_medium = '#242228'
" non saturated grays
" :let _rock_dark = '#131313'
" :let _rock = '#191919'
" :let _rock_medium = '#363636'
" :let _gray_dark = '#535557'
" :let _gray = '#767b86'
" :let _gray_medium = '#cec5ce'
" :let _gray_light = '#d2d3d3'
" :let _cloud = '#e6e7e7'
" less saturated grays
" :let _rock_dark = '#19171c'
" :let _rock = '#1f1d24'
" saturated grays
" :let _rock_dark = '#221b23'
" :let _rock = '#27242e'
" very saturated grays
:let _rock_dark = '#0f0c14'
:let _rock = '#181320'
" normal grays
" --------------------------
:let _rock_medium = '#36323d'
:let _gray_dark = '#534d5e'
:let _gray = '#847d91'
:let _gray_medium = '#beb8cc'
:let _gray_light = '#d2c3ef'
:let _cloud = '#e4e0ed'
" colors
" --------------------------
:let _turquoise = '#3fc997'
:let _fluoric = '#d0ffc3'
:let _cyan = '#99feff'
:let _steel = '#83a8d1'
:let _powder = '#8fc7db'
:let _purple = '#7470ce'
:let _sky = '#b3e4eb'
:let _pink = '#db0088'
:let _sap = '#fde9a2'
" Light/inverted colors (darkrock-cloud, rock-lightgrey switched)
if &background == "light"
:let _rock_dark = '#f3f4f4'
:let _rock = '#dfe0e0'
:let _gray_dark = '#a9aeb3'
:let _gray = '#82868a'
:let _gray_medium = '#bcbfc0'
:let _gray_light = '#2c2d2e'
:let _cloud = '#101010'
" --------------------------
:let _turquoise = '#34b56e'
:let _fluoric = '#71984f'
:let _cyan = '#34b9b9'
:let _steel = '#1b009a'
:let _powder = '#3b7e9a'
:let _sky = '#2e8f9f'
:let _pink = '#c6006a'
:let _sap = '#fde9a2'
endif
set background=dark
highlight clear
if exists("syntax_on")
syntax reset
endif
set t_Co=256
let colors_name = "lucid"
let colorgroup = {}
" Interface
" ----------------------------------------------------------------------
let colorgroup['Normal'] = {"GUIFG": _cloud, "GUIBG": _rock_dark}
" ------------------------
let colorgroup['Darker'] = {"GUIFG": _gray, "GUIBG": _rock_dark}
let colorgroup['ColorColumn'] = {"GUIFG": _rock_dark, "GUIBG": _pink}
let colorgroup['Conceal'] = {"GUIFG": _sap, "GUI": "bold"}
" let colorgroup['Cursor'] = {"GUIFG": _rock_dark, "GUIBG": _turquoise}
let colorgroup['CursorLine'] = {"GUIFG": _cloud, "GUIBG": _rock}
let colorgroup['CursorLineNr'] = {"GUIFG": _gray_dark, "GUIBG": _rock_dark}
let colorgroup['Directory'] = {"GUIFG": _fluoric, "GUIBG": _rock_dark}
let colorgroup['Error'] = {"GUIFG": _rock_dark, "GUIBG": _pink}
let colorgroup['ErrorMsg'] = {"GUIFG": _rock_dark, "GUIBG": _pink}
let colorgroup['FoldColumn'] = { "GUIBG": _rock_dark}
let colorgroup['Folded'] = {"GUIFG": _cloud, "GUIBG": _rock}
let colorgroup['LineNr'] = {"GUIFG": _gray_dark, "GUIBG": _rock_dark}
if &background == "light"
let colorgroup['LineNr'] = {"GUIFG": _gray_medium, "GUIBG": _rock_dark}
endif
let colorgroup['MatchParen'] = {"GUIFG": _rock_dark, "GUIBG": _pink}
let colorgroup['ModeMsg'] = {"GUIFG": _rock_dark, "GUIBG": _turquoise}
let colorgroup['Pmenu'] = {"GUIFG": _cloud, "GUIBG": _rock_medium}
let colorgroup['PmenuSel'] = {"GUIFG": _rock_dark, "GUIBG": _turquoise}
let colorgroup['PmenuSbar'] = { "GUIBG": _rock_dark}
let colorgroup['Search'] = { "GUIBG": _gray_dark, "GUI": "underline"}
let colorgroup['SignColumn'] = { "GUIBG": _rock_dark}
let colorgroup['StatusLine'] = {"GUIFG": _gray, "GUIBG": _rock}
let colorgroup['StatusLineNC'] = {"GUIFG": _gray_dark, "GUIBG": _rock}
let colorgroup['Title'] = {"GUIFG": _pink, "GUI": "bold"}
let colorgroup['Todo'] = {"GUIFG": _rock_dark, "GUIBG": _powder}
let colorgroup['VertSplit'] = {"GUIFG": _rock, "GUIBG": _rock}
let colorgroup['Visual'] = {"GUIFG": _rock_dark, "GUIBG": _sap}
if &background == "light"
let colorgroup['Visual'] = {"GUIFG": _cloud, "GUIBG": _sap}
endif
let colorgroup['WarningMsg'] = {"GUIFG": _rock_dark, "GUIBG": _steel}
" Syntax
" ----------------------------------------------------------------------
let colorgroup['Access'] = {"GUIFG": _purple, "GUI": "bold"}
let colorgroup['Comment'] = {"GUIFG": _gray, "GUI": "italic"}
let colorgroup['Class'] = {"GUIFG": _pink, "GUI": "italic"}
let colorgroup['Conditional'] = {"GUIFG": _cyan}
let colorgroup['Constant'] = {"GUIFG": _turquoise, "GUI": "bold"}
let colorgroup['Delimiter'] = {"GUIFG": _pink}
let colorgroup['Function'] = {"GUIFG": _steel}
let colorgroup['Identifier'] = {"GUIFG": _sky}
let colorgroup['Module'] = {"GUIFG": _pink, "GUI": "underline"}
let colorgroup['NonText'] = {"GUIFG": _gray_dark}
let colorgroup['Number'] = {"GUIFG": _turquoise}
let colorgroup['PreProc'] = {"GUIFG": _pink}
let colorgroup['Statement'] = {"GUIFG": _turquoise}
let colorgroup['Special'] = {"GUIFG": _pink}
let colorgroup['SpecialKey'] = {"GUIFG": _gray_light}
let colorgroup['String'] = {"GUIFG": _fluoric}
let colorgroup['StorageClass'] = {"GUIFG": _cloud, "GUI": "bold"}
let colorgroup['Structure'] = {"GUIFG": _gray_medium}
let colorgroup['Symbol'] = {"GUIFG": _sky}
let colorgroup['Type'] = {"GUIFG": _steel}
let colorgroup['Underlined'] = {"GUIFG": _turquoise, "GUI": "underline"}
let colorgroup['Userdef'] = {"GUIFG": _sap}
" ------------------------
hi link Boolean Number
hi link Character Function
hi link ErrorMsg Error
hi link Debug Special
hi link Define PreProc
hi link Exception PreProc
hi link Float Number
hi link Include Function
hi link Label Statement
hi link Macro PreProc
hi link Operator PreProc
hi link PreCondit PreProc
hi link Repeat Statement
hi link SpecialChar Special
hi link SpecialComment Special
hi link Typedef Type
hi link Tag Special
" Plugins
" ----------------------------------------------------------------------
" CtrlP
hi link CtrlPMatch Function
" Git commit
hi link gitcommitBranch Constant
hi link gitcommitSelectedFile Statement
hi link gitcommitDiscardedFile Structure
hi link gitcommitUntrackedFile Structure
hi link gitcommitSummary String
" GitGutter
hi link GitGutterAdd Darker
hi link GitGutterChange Darker
hi link GitGutterDelete Darker
hi link GitGutterChangeDelete Darker
" NERDtree
hi link NerdTreeCWD Statement
hi link NerdTreeHelpKey Function
hi link NerdTreeHelpTitle Statement
hi link NerdTreeOpenable Statement
hi link NerdTreeClosable Statement
hi link NerdTreeDir Normal
hi link NerdTreeDirSlash Statement
" PlainTasks (.todo)
hi link ptCompleteTask Number
hi link ptContext Type
hi link ptSection Title
hi link ptTask Normal
" Startify
hi link StartifyNumber Statement
hi link StartifyBracket Statement
hi link StartifySection Title
hi link StartifyPath Comment
hi link StartifySlash Comment
hi link StartifyFile StorageClass
" Language
" ----------------------------------------------------------------------
" Apache
hi link apacheDeclaration PreProc
" CoffeeScript
hi link coffeeExtendedOp Function
hi link coffeeObject Statement
hi link coffeeObjAssign Function
hi link coffeeParen Function
" CSS
hi link cssAttr String
hi link cssClass Type
hi link cssProp Identifier
hi link cssSelectorOp Identifier
" HAML
hi link hamlTag Function
" HTML
" hi link htmlArg Symbol
" hi link htmlTag Constant
hi link htmlTagName Constant
" hi link htmlEndTag Function
" JavaScript
hi link javascriptFuncArg Function
hi link javascriptFuncComma Function
hi link javascriptFuncDef Statement
hi link javascriptFuncKeyword Statement
hi link javascriptOpSymbols Type
hi link javascriptParens Function
hi link javascriptEndcolons Function
" Javascript (pangloss/vim-javascript)
hi link jsBraces Delimiter
hi link jsClassDefinition Constant
hi link jsClassKeyword PreProc
hi link jsExtendsKeyword Function
hi link jsFuncCall Function
hi link jsModuleKeyword Identifier
hi link jsNull Identifier
hi link jsObjectKey Identifier
hi link jsStorageClass Structure
hi link jsTemplateBraces PreProc
" JSON
hi link jsonKeyword Function
" LaTeX
hi link texInputFile PreProc
hi link texDocType Constant
hi link texDocTypeArgs Function
hi link texInputFile Symbol
hi link texInputFileOpt String
hi link texMathMatcher Statement
hi link texMathSymbol Symbol
hi link texMathZoneA Symbol
hi link texMathZoneAS Symbol
hi link texSection Title
hi link texStatement Function
hi link texTypeSize Symbol
hi link texTypeStyle Symbol
" hi link texSpecialChar Userdef
" Markdown
hi link mkdBlockquote Symbol
hi link mkdCode Identifier
hi link mkdIndentCode Identifier
" hi link mkdLink Normal
" MatchTagAlways
hi link MatchTag Identifier
" PHP
hi link phpParent Normal
hi link phpRegion Comment
hi link phpVarSelector Identifier
" Ruby
hi link rubyAccess Access
hi link rubyCallback Function
hi link rubyClass Class
hi link rubyControl Statement
hi link rubyConstant Constant
hi link rubyEntity Function
hi link rubyFunction StorageClass
hi link rubyInclude Include
hi link rubyInterpolation Include
hi link rubyMacro Function
hi link rubyModule Module
" hi link RubyPseudoVariable Type
hi link rubyStringDelimiter rubyString
hi link rubySymbol Symbol
" SASS
hi link sassClassChar Type
" " hi link sassExtend Symbol
" " hi link sassMixing Symbol
hi link sassIdChar Identifier
" hi link sassVariable Function
" Slim
" hi link slimDocType Function
" hi link slimDocTypeKeyword Statement
hi link rubyKeyword PreProc
" hi link slimRubyChar PreProc
" hi link slimRubyOutputChar PreProc
" hi link slimText Normal
" VimL
hi link vimCmdSep Function
" YAML
hi link yamlBlockMappingKey Function
hi link yamlDocumentStart Comment
" XML
hi link xmlEndTag Function
" Expand colorgroups
" ----------------------------------------------------------------------
let s:colors = {}
" http://choorucode.com/2011/07/29/vim-chart-of-color-names/
let valid_cterm_colors =
\ [
\ 'Black', 'DarkBlue', 'DarkGreen', 'DarkCyan',
\ 'DarkRed', 'DarkMagenta', 'Brown', 'DarkYellow',
\ 'LightGray', 'LightGrey', 'Gray', 'Grey',
\ 'DarkGray', 'DarkGrey', 'Blue', 'LightBlue',
\ 'Green', 'LightGreen', 'Cyan', 'LightCyan',
\ 'Red', 'LightRed', 'Magenta', 'LightMagenta',
\ 'Yellow', 'LightYellow', 'White',
\ ]
for key in keys(colorgroup)
let s:colors = colorgroup[key]
if has_key(s:colors, 'TERM')
let term = s:colors['TERM']
else
let term = 'NONE'
endif
if has_key(s:colors, 'GUI')
let gui = s:colors['GUI']
else
let gui='NONE'
endif
if has_key(s:colors, 'GUIFG')
let guifg = s:colors['GUIFG']
else
let guifg='NONE'
endif
if has_key(s:colors, 'GUIBG')
let guibg = s:colors['GUIBG']
else
let guibg='NONE'
endif
if has_key(s:colors, 'CTERM')
let cterm = s:colors['CTERM']
else
let cterm=gui
endif
if has_key(s:colors, 'CTERMFG')
let ctermfg = s:colors['CTERMFG']
else
if index(valid_cterm_colors, guifg) != -1
let ctermfg=guifg
else
let ctermfg='Blue'
endif
endif
if has_key(s:colors, 'CTERMBG')
let ctermbg = s:colors['CTERMBG']
else
if index(valid_cterm_colors, guibg) != -1
let ctermbg=guibg
else
let ctermbg='NONE'
endif
endif
if has_key(s:colors, 'GUISP')
let guisp = s:colors['GUISP']
else
let guisp='NONE'
endif
if key =~ '^\k*$'
execute "hi ".key." term=".term." cterm=".cterm." gui=".gui." ctermfg=".ctermfg." guifg=".guifg." ctermbg=".ctermbg." guibg=".guibg." guisp=".guisp
endif
endfor

View File

@@ -0,0 +1,805 @@
" ============================================================================
" Name: Lucius vim color scheme
" Author: Jonathan Filip <jfilip1024@gmail.com>
" Version: 8.1.7
" ----------------------------------------------------------------------------
"
" Light and dark color scheme for GUI and 256 color terminal.
"
" There are several options available to customize the color scheme to your
" own tastes. This is particularly useful when you have to work in different
" environments at different times (home, work, day, night, etc).
"
" The GUI and 256 color terminal versions of this color scheme are identical.
"
" You can set up the color scheme by manually setting the options you want or
" by choosing one of the presets defined. These presets are loaded after you
" first source the color scheme file and are all commands that start with
" 'Lucius'.
"
" I have also started to create color schemes for different applications. I
" have been using them for PuTTY, iTerm2, and Visual Studio, but will keep
" adding more as I go along. You can find the files for these on Github:
"
" https://github.com/jonathanfilip/lucius
"
" You can also clone the following repository if you use Pathogen or something
" similar. It holds the vim color scheme in a 'colors' directory:
"
" https://github.com/jonathanfilip/vim-lucius
"
"
"
" Presets:
"
" There are several presets available that will set all the options for you.
" There are screenshots of each preset below:
"
" * LuciusDark (dark default): http://i.imgur.com/LsZbF.png
" * LuciusDarkHighContrast: http://i.imgur.com/e70i9.png
" * LuciusDarkLowContrast: http://i.imgur.com/Hmw8s.png
" * LuciusBlack: http://i.imgur.com/iD4ri.png
" * LuciusBlackHighContrast: http://i.imgur.com/lHvTJ.png
" * LuciusBlackLowContrast: http://i.imgur.com/oZLkg.png
"
" * LuciusLight (light default): http://i.imgur.com/soYD8.png
" * LuciusLightLowContrast: http://i.imgur.com/95I86.png
" * LuciusWhite: http://i.imgur.com/wDzkz.png
" * LuciusWhiteLowContrast: http://i.imgur.com/jlUf4.png
"
" To use the presets, you just need to set the color scheme first. In your
" vimrc, you can just do this:
"
" colorscheme lucius
" LuciusBlack
"
" You can still just set the background variable and then set the color
" scheme. This will default to LuciusDark for 'dark' and LuciusLight for
" 'light'.
"
"
" Options:
"
" The presets available cover most of the options. You can, however, customize
" things by setting the following variables yourself:
"
" g:lucius_style (default: 'dark')
"
" Set this option to either 'light' or 'dark' for your desired color scheme.
" It has the same effect as setting the background.
"
" g:lucius_contrast (default: 'normal')
"
" This option determines the contrast to use for text/ui elements. It can be
" set to 'low', 'normal', or 'high'. At this time there is no 'high' for the
" light scheme.
"
" g:lucius_contrast_bg (default: 'normal')
"
" Setting this option makes the background a higher contrast. Current settings
" are 'normal' and 'high'.
"
" g:lucius_use_bold (default: 1)
"
" Setting this will cause the color scheme to use bold fonts for some items.
"
" g:lucius_use_underline (default: 1)
"
" Setting this will cause the color scheme to use underlined fonts for some
" items.
"
" g:lucius_no_term_bg (default: 0)
"
" Setting this will cause the color scheme to not set a background color in
" the terminal (useful for transparency or terminals with different background
" colors).
"
" License:
"
" Copyright (c) 2015 Jonathan Filip
"
" Permission is hereby granted, free of charge, to any person obtaining a copy
" of this software and associated documentation files (the "Software"), to deal
" in the Software without restriction, including without limitation the rights
" to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
" copies of the Software, and to permit persons to whom the Software is
" furnished to do so, subject to the following conditions:
"
" The above copyright notice and this permission notice shall be included in
" all copies or substantial portions of the Software.
"
" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
" AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
" LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
" OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
" THE SOFTWARE.
"
" ============================================================================
" ============================================================================
" Options:
" ============================================================================
unlet! g:colors_name
hi clear
if exists("syntax_on")
syntax reset
endif
if exists("g:lucius_style")
let s:style = g:lucius_style
else
let s:style = &background
endif
if exists("g:lucius_contrast")
let s:contrast = g:lucius_contrast
else
let s:contrast = "normal"
endif
if exists("g:lucius_contrast_bg")
let s:contrast_bg = g:lucius_contrast_bg
else
let s:contrast_bg = "normal"
endif
if exists("g:lucius_use_bold")
let s:use_bold = g:lucius_use_bold
else
let s:use_bold = 1
endif
if exists("g:lucius_use_underline")
let s:use_underline = g:lucius_use_underline
else
let s:use_underline = 1
endif
if exists("g:lucius_no_term_bg")
let s:no_term_bg = g:lucius_no_term_bg
else
let s:no_term_bg = 0
endif
" ============================================================================
" Color Map:
" ============================================================================
let s:color_map = {
\ 'bg': 'bg', 'fg': 'fg', 'NONE': 'NONE',
\ '#000000': '16', '#00005f': '17', '#000087': '18', '#0000af': '19',
\ '#0000d7': '20', '#0000ff': '21', '#005f00': '22', '#005f5f': '23',
\ '#005f87': '24', '#005faf': '25', '#005fd7': '26', '#005fff': '27',
\ '#008700': '28', '#00875f': '29', '#008787': '30', '#0087af': '31',
\ '#0087d7': '32', '#0087ff': '33', '#00af00': '34', '#00af5f': '35',
\ '#00af87': '36', '#00afaf': '37', '#00afd7': '38', '#00afff': '39',
\ '#00d700': '40', '#00d75f': '41', '#00d787': '42', '#00d7af': '43',
\ '#00d7d7': '44', '#00d7ff': '45', '#00ff00': '46', '#00ff5f': '47',
\ '#00ff87': '48', '#00ffaf': '49', '#00ffd7': '50', '#00ffff': '51',
\ '#5f0000': '52', '#5f005f': '53', '#5f0087': '54', '#5f00af': '55',
\ '#5f00d7': '56', '#5f00ff': '57', '#5f5f00': '58', '#5f5f5f': '59',
\ '#5f5f87': '60', '#5f5faf': '61', '#5f5fd7': '62', '#5f5fff': '63',
\ '#5f8700': '64', '#5f875f': '65', '#5f8787': '66', '#5f87af': '67',
\ '#5f87d7': '68', '#5f87ff': '69', '#5faf00': '70', '#5faf5f': '71',
\ '#5faf87': '72', '#5fafaf': '73', '#5fafd7': '74', '#5fafff': '75',
\ '#5fd700': '76', '#5fd75f': '77', '#5fd787': '78', '#5fd7af': '79',
\ '#5fd7d7': '80', '#5fd7ff': '81', '#5fff00': '82', '#5fff5f': '83',
\ '#5fff87': '84', '#5fffaf': '85', '#5fffd7': '86', '#5fffff': '87',
\ '#870000': '88', '#87005f': '89', '#870087': '90', '#8700af': '91',
\ '#8700d7': '92', '#8700ff': '93', '#875f00': '94', '#875f5f': '95',
\ '#875f87': '96', '#875faf': '97', '#875fd7': '98', '#875fff': '99',
\ '#878700': '100', '#87875f': '101', '#878787': '102', '#8787af': '103',
\ '#8787d7': '104', '#8787ff': '105', '#87af00': '106', '#87af5f': '107',
\ '#87af87': '108', '#87afaf': '109', '#87afd7': '110', '#87afff': '111',
\ '#87d700': '112', '#87d75f': '113', '#87d787': '114', '#87d7af': '115',
\ '#87d7d7': '116', '#87d7ff': '117', '#87ff00': '118', '#87ff5f': '119',
\ '#87ff87': '120', '#87ffaf': '121', '#87ffd7': '122', '#87ffff': '123',
\ '#af0000': '124', '#af005f': '125', '#af0087': '126', '#af00af': '127',
\ '#af00d7': '128', '#af00ff': '129', '#af5f00': '130', '#af5f5f': '131',
\ '#af5f87': '132', '#af5faf': '133', '#af5fd7': '134', '#af5fff': '135',
\ '#af8700': '136', '#af875f': '137', '#af8787': '138', '#af87af': '139',
\ '#af87d7': '140', '#af87ff': '141', '#afaf00': '142', '#afaf5f': '143',
\ '#afaf87': '144', '#afafaf': '145', '#afafd7': '146', '#afafff': '147',
\ '#afd700': '148', '#afd75f': '149', '#afd787': '150', '#afd7af': '151',
\ '#afd7d7': '152', '#afd7ff': '153', '#afff00': '154', '#afff5f': '155',
\ '#afff87': '156', '#afffaf': '157', '#afffd7': '158', '#afffff': '159',
\ '#d70000': '160', '#d7005f': '161', '#d70087': '162', '#d700af': '163',
\ '#d700d7': '164', '#d700ff': '165', '#d75f00': '166', '#d75f5f': '167',
\ '#d75f87': '168', '#d75faf': '169', '#d75fd7': '170', '#d75fff': '171',
\ '#d78700': '172', '#d7875f': '173', '#d78787': '174', '#d787af': '175',
\ '#d787d7': '176', '#d787ff': '177', '#d7af00': '178', '#d7af5f': '179',
\ '#d7af87': '180', '#d7afaf': '181', '#d7afd7': '182', '#d7afff': '183',
\ '#d7d700': '184', '#d7d75f': '185', '#d7d787': '186', '#d7d7af': '187',
\ '#d7d7d7': '188', '#d7d7ff': '189', '#d7ff00': '190', '#d7ff5f': '191',
\ '#d7ff87': '192', '#d7ffaf': '193', '#d7ffd7': '194', '#d7ffff': '195',
\ '#ff0000': '196', '#ff005f': '197', '#ff0087': '198', '#ff00af': '199',
\ '#ff00d7': '200', '#ff00ff': '201', '#ff5f00': '202', '#ff5f5f': '203',
\ '#ff5f87': '204', '#ff5faf': '205', '#ff5fd7': '206', '#ff5fff': '207',
\ '#ff8700': '208', '#ff875f': '209', '#ff8787': '210', '#ff87af': '211',
\ '#ff87d7': '212', '#ff87ff': '213', '#ffaf00': '214', '#ffaf5f': '215',
\ '#ffaf87': '216', '#ffafaf': '217', '#ffafd7': '218', '#ffafff': '219',
\ '#ffd700': '220', '#ffd75f': '221', '#ffd787': '222', '#ffd7af': '223',
\ '#ffd7d7': '224', '#ffd7ff': '225', '#ffff00': '226', '#ffff5f': '227',
\ '#ffff87': '228', '#ffffaf': '229', '#ffffd7': '230', '#ffffff': '231',
\ '#080808': '232', '#121212': '233', '#1c1c1c': '234', '#262626': '235',
\ '#303030': '236', '#3a3a3a': '237', '#444444': '238', '#4e4e4e': '239',
\ '#585858': '240', '#626262': '241', '#6c6c6c': '242', '#767676': '243',
\ '#808080': '244', '#8a8a8a': '245', '#949494': '246', '#9e9e9e': '247',
\ '#a8a8a8': '248', '#b2b2b2': '249', '#bcbcbc': '250', '#c6c6c6': '251',
\ '#d0d0d0': '252', '#dadada': '253', '#e4e4e4': '254', '#eeeeee': '255',
\ }
" ============================================================================
" Functions:
" ============================================================================
function! s:AddCterm(name)
exec "let l:gfg = synIDattr(synIDtrans(hlID('" . a:name .
\ "')), 'fg', 'gui')"
exec "let l:gbg = synIDattr(synIDtrans(hlID('" . a:name .
\ "')), 'bg', 'gui')"
let l:gfg = l:gfg == "" ? "NONE" : l:gfg
let l:gbg = l:gbg == "" ? "NONE" : l:gbg
exec "hi " . a:name . " ctermfg=" . s:color_map[l:gfg] .
\ " ctermbg=" . s:color_map[l:gbg]
endfunction
function! s:AddSpCterm(name)
exec "let l:gsp = synIDattr(synIDtrans(hlID('" . a:name .
\ "')), 'sp', 'gui')"
let l:gsp = l:gsp == "" ? "NONE" : l:gsp
exec "hi " . a:name . " ctermfg=" . s:color_map[l:gsp]
endfunction
" ============================================================================
" Text Groups:
" ============================================================================
let s:normal_items = [
\ "ColorColumn", "Comment", "Conceal", "Constant", "Cursor", "CursorColumn",
\ "CursorIM", "CursorLine", "CursorLineNr", "DiffAdd", "DiffChange",
\ "DiffDelete", "Directory", "Error", "ErrorMsg", "Identifier",
\ "IncSearch", "LineNr", "MatchParen", "ModeMsg", "MoreMsg",
\ "NonText", "Pmenu", "PmenuSbar", "PmenuSel",
\ "PmenuThumb", "PreProc", "Question", "Search", "SignColumn",
\ "Special", "SpecialKey", "Statement", "StatusLineNC", "TabLine",
\ "TabLineFill", "Todo", "Type", "VertSplit", "Visual",
\ "WarningMsg", "WildMenu",
\ ]
let s:bold_items = [
\ "DiffText", "FoldColumn", "Folded", "StatusLine", "TabLineSel",
\ "Title", "CursorLineNr",
\ ]
let s:underline_items = [
\ "Underlined", "VisualNOS"
\ ]
let s:undercurl_items = [
\ "SpellBad", "SpellCap", "SpellLocal", "SpellRare"
\ ]
" ============================================================================
" Color Definitions:
" ============================================================================
" ----------------------------------------------------------------------------
" 'Normal' Colors:
" ----------------------------------------------------------------------------
hi clear Normal
hi Normal gui=none cterm=none term=none
if s:style == "light"
if s:contrast == "high"
hi Normal guifg=#000000
elseif s:contrast == "low"
hi Normal guifg=#626262
else
hi Normal guifg=#444444
endif
else
if s:contrast == "high"
hi Normal guifg=#eeeeee
elseif s:contrast == "low"
hi Normal guifg=#bcbcbc
else
hi Normal guifg=#d7d7d7
endif
endif
if s:style == "light"
if s:contrast_bg == "high"
hi Normal guibg=#ffffff
else
hi Normal guibg=#eeeeee
endif
else
if s:contrast_bg == "high"
hi Normal guibg=#121212
else
hi Normal guibg=#303030
endif
endif
call s:AddCterm("Normal")
" ----------------------------------------------------------------------------
" Extra setup
" ----------------------------------------------------------------------------
exec "set background=" . s:style
" Clear default settings
for s:item in s:normal_items + s:bold_items + s:underline_items + s:undercurl_items
exec "hi " . s:item . " guifg=NONE guibg=NONE gui=none"
\ . " ctermfg=NONE ctermbg=NONE cterm=none term=none"
endfor
let g:colors_name="lucius"
" ----------------------------------------------------------------------------
" Text Markup:
" ----------------------------------------------------------------------------
if s:style == "light"
hi NonText guifg=#afafd7
hi SpecialKey guifg=#afd7af
if s:contrast == "low"
hi Comment guifg=#9e9e9e
hi Conceal guifg=#9e9e9e
hi Constant guifg=#d78700
hi Directory guifg=#00af87
hi Identifier guifg=#00af00
hi PreProc guifg=#00afaf
hi Special guifg=#af00af
hi Statement guifg=#0087d7
hi Title guifg=#0087d7
hi Type guifg=#0087af
else
hi Comment guifg=#808080
hi Conceal guifg=#808080
hi Constant guifg=#af5f00
hi Directory guifg=#00875f
hi Identifier guifg=#008700
hi PreProc guifg=#008787
hi Special guifg=#870087
hi Statement guifg=#005faf
hi Title guifg=#005faf
hi Type guifg=#005f87
endif
else
hi NonText guifg=#5f5f87
hi SpecialKey guifg=#5f875f
if s:contrast == "low"
hi Comment guifg=#6c6c6c
hi Conceal guifg=#6c6c6c
hi Constant guifg=#afaf87
hi Directory guifg=#87af87
hi Identifier guifg=#87af5f
hi PreProc guifg=#5faf87
hi Special guifg=#af87af
hi Statement guifg=#5fafd7
hi Title guifg=#00afd7
hi Type guifg=#5fafaf
elseif s:contrast == "high"
hi Comment guifg=#8a8a8a
hi Conceal guifg=#8a8a8a
hi Constant guifg=#ffffd7
hi Directory guifg=#d7ffd7
hi Identifier guifg=#d7ffaf
hi PreProc guifg=#afffd7
hi Special guifg=#ffd7ff
hi Statement guifg=#afffff
hi Title guifg=#87d7ff
hi Type guifg=#afffff
else
hi Comment guifg=#808080
hi Conceal guifg=#808080
hi Constant guifg=#d7d7af
hi Directory guifg=#afd7af
hi Identifier guifg=#afd787
hi PreProc guifg=#87d7af
hi Special guifg=#d7afd7
hi Statement guifg=#87d7ff
hi Title guifg=#5fafd7
hi Type guifg=#87d7d7
endif
endif
" ----------------------------------------------------------------------------
" Highlighting:
" ----------------------------------------------------------------------------
hi Cursor guifg=bg
hi CursorColumn guifg=NONE
hi CursorIM guifg=bg
hi CursorLine guifg=NONE
hi Visual guifg=NONE
hi VisualNOS guifg=fg guibg=NONE
if s:style == "light"
hi CursorColumn guibg=#dadada
hi CursorLine guibg=#dadada
hi IncSearch guifg=fg guibg=#5fd7d7
hi MatchParen guifg=NONE guibg=#5fd7d7
hi Search guifg=fg guibg=#ffaf00
hi Visual guibg=#afd7ff
if s:contrast == "low"
hi Cursor guibg=#87afd7
hi CursorIM guibg=#87afd7
hi Error guifg=#d70000 guibg=#ffd7d7
hi Todo guifg=#af8700 guibg=#ffffaf
else
hi Cursor guibg=#5f87af
hi CursorIM guibg=#5f87af
hi Error guifg=#af0000 guibg=#d7afaf
hi Todo guifg=#875f00 guibg=#ffffaf
endif
else
hi CursorColumn guibg=#444444
hi CursorLine guibg=#444444
hi IncSearch guifg=bg
hi MatchParen guifg=fg guibg=#87af00
hi Search guifg=bg
hi Visual guibg=#005f87
if s:contrast == "low"
hi Cursor guibg=#5f87af
hi CursorIM guibg=#5f87af
hi Error guifg=#d75f5f guibg=#870000
hi IncSearch guibg=#00afaf
hi Search guibg=#d78700
hi Todo guifg=#afaf00 guibg=#5f5f00
elseif s:contrast == "high"
hi Cursor guibg=#afd7ff
hi CursorIM guibg=#afd7ff
hi Error guifg=#ffafaf guibg=#af0000
hi IncSearch guibg=#87ffff
hi Search guibg=#ffaf5f
hi Todo guifg=#ffff87 guibg=#87875f
else
hi Cursor guibg=#87afd7
hi CursorIM guibg=#87afd7
hi Error guifg=#ff8787 guibg=#870000
hi IncSearch guibg=#5fd7d7
hi Search guibg=#d78700
hi Todo guifg=#d7d75f guibg=#5f5f00
endif
endif
" ----------------------------------------------------------------------------
" Messages:
" ----------------------------------------------------------------------------
hi Question guifg=fg
if s:style == "light"
if s:contrast == "low"
hi ErrorMsg guifg=#d70000
hi ModeMsg guifg=#0087ff
hi MoreMsg guifg=#0087ff
hi WarningMsg guifg=#d78700
else
hi ErrorMsg guifg=#af0000
hi ModeMsg guifg=#005faf
hi MoreMsg guifg=#005faf
hi WarningMsg guifg=#af5f00
endif
else
if s:contrast == "low"
hi ErrorMsg guifg=#d75f5f
hi ModeMsg guifg=#87afaf
hi MoreMsg guifg=#87afaf
hi WarningMsg guifg=#af875f
elseif s:contrast == "high"
hi ErrorMsg guifg=#ff8787
hi ModeMsg guifg=#afffff
hi MoreMsg guifg=#afffff
hi WarningMsg guifg=#ffaf87
else
hi ErrorMsg guifg=#ff5f5f
hi ModeMsg guifg=#afd7d7
hi MoreMsg guifg=#afd7d7
hi WarningMsg guifg=#d7875f
endif
endif
" ----------------------------------------------------------------------------
" UI:
" ----------------------------------------------------------------------------
hi ColorColumn guifg=NONE
hi Pmenu guifg=bg
hi PmenuSel guifg=fg
hi PmenuThumb guifg=fg
hi StatusLine guifg=bg
hi TabLine guifg=bg
hi TabLineSel guifg=fg
hi WildMenu guifg=fg
if s:style == "light"
hi ColorColumn guibg=#e4e4e4
hi CursorLineNr guifg=#626262 guibg=#dadada
hi FoldColumn guibg=#bcbcbc
hi Folded guibg=#bcbcbc
hi LineNr guifg=#9e9e9e guibg=#dadada
hi PmenuSel guibg=#afd7ff
hi SignColumn guibg=#d0d0d0
hi StatusLineNC guifg=#dadada
hi TabLineFill guifg=#dadada
hi VertSplit guifg=#e4e4e4
hi WildMenu guibg=#afd7ff
if s:contrast == "low"
hi FoldColumn guifg=#808080
hi Folded guifg=#808080
hi Pmenu guibg=#9e9e9e
hi PmenuSbar guifg=#9e9e9e guibg=#626262
hi PmenuThumb guibg=#9e9e9e
hi SignColumn guifg=#808080
hi StatusLine guibg=#9e9e9e
hi StatusLineNC guibg=#9e9e9e
hi TabLine guibg=#9e9e9e
hi TabLineFill guibg=#9e9e9e
hi TabLineSel guibg=#afd7ff
hi VertSplit guibg=#9e9e9e
else
hi FoldColumn guifg=#626262
hi Folded guifg=#626262
hi Pmenu guibg=#808080
hi PmenuSbar guifg=#808080 guibg=#444444
hi PmenuThumb guibg=#9e9e9e
hi SignColumn guifg=#626262
hi StatusLine guibg=#808080
hi StatusLineNC guibg=#808080
hi TabLine guibg=#808080
hi TabLineFill guibg=#808080
hi TabLineSel guibg=#afd7ff
hi VertSplit guibg=#808080
endif
else
hi ColorColumn guibg=#3a3a3a
hi CursorLineNr guifg=#9e9e9e guibg=#444444
hi FoldColumn guibg=#4e4e4e
hi Folded guibg=#4e4e4e
hi LineNr guifg=#626262 guibg=#444444
hi PmenuSel guibg=#005f87
hi SignColumn guibg=#4e4e4e
hi StatusLineNC guifg=#4e4e4e
hi TabLineFill guifg=#4e4e4e
hi VertSplit guifg=#626262
hi WildMenu guibg=#005f87
if s:contrast == "low"
hi FoldColumn guifg=#a8a8a8
hi Folded guifg=#a8a8a8
hi Pmenu guibg=#8a8a8a
hi PmenuSbar guifg=#8a8a8a guibg=#bcbcbc
hi PmenuThumb guibg=#585858
hi SignColumn guifg=#8a8a8a
hi StatusLine guibg=#8a8a8a
hi StatusLineNC guibg=#8a8a8a
hi TabLine guibg=#8a8a8a
hi TabLineFill guibg=#8a8a8a
hi TabLineSel guibg=#005f87
hi VertSplit guibg=#8a8a8a
elseif s:contrast == "high"
hi FoldColumn guifg=#c6c6c6
hi Folded guifg=#c6c6c6
hi Pmenu guibg=#bcbcbc
hi PmenuSbar guifg=#bcbcbc guibg=#dadada
hi PmenuThumb guibg=#8a8a8a
hi SignColumn guifg=#bcbcbc
hi StatusLine guibg=#bcbcbc
hi StatusLineNC guibg=#bcbcbc
hi TabLine guibg=#bcbcbc
hi TabLineFill guibg=#bcbcbc
hi TabLineSel guibg=#0087af
hi VertSplit guibg=#bcbcbc
else
hi FoldColumn guifg=#bcbcbc
hi Folded guifg=#bcbcbc
hi Pmenu guibg=#b2b2b2
hi PmenuSbar guifg=#b2b2b2 guibg=#d0d0d0
hi PmenuThumb guibg=#808080
hi SignColumn guifg=#b2b2b2
hi StatusLine guibg=#b2b2b2
hi StatusLineNC guibg=#b2b2b2
hi TabLine guibg=#b2b2b2
hi TabLineFill guibg=#b2b2b2
hi TabLineSel guibg=#005f87
hi VertSplit guibg=#b2b2b2
endif
endif
" ----------------------------------------------------------------------------
" Diff:
" ----------------------------------------------------------------------------
hi DiffAdd guifg=fg
hi DiffChange guifg=fg
hi DiffDelete guifg=fg
if s:style == "light"
hi DiffAdd guibg=#afd7af
hi DiffChange guibg=#d7d7af
hi DiffDelete guibg=#d7afaf
hi DiffText guibg=#d7d7af
if s:contrast == "low"
hi DiffText guifg=#ff8700
else
hi DiffText guifg=#d75f00
endif
else
hi DiffAdd guibg=#5f875f
hi DiffChange guibg=#87875f
hi DiffDelete guibg=#875f5f
hi DiffText guibg=#87875f
if s:contrast == "low"
hi DiffText guifg=#d7d75f
else
hi DiffText guifg=#ffff87
endif
endif
" ----------------------------------------------------------------------------
" Spelling:
" ----------------------------------------------------------------------------
if s:style == "light"
hi SpellBad guisp=#d70000
hi SpellCap guisp=#00afd7
hi SpellLocal guisp=#d7af00
hi SpellRare guisp=#5faf00
else
hi SpellBad guisp=#ff5f5f
hi SpellCap guisp=#5fafd7
hi SpellLocal guisp=#d7af5f
hi SpellRare guisp=#5faf5f
endif
" ----------------------------------------------------------------------------
" Miscellaneous:
" ----------------------------------------------------------------------------
hi Ignore guifg=bg
hi Underlined guifg=fg
" ============================================================================
" Text Emphasis:
" ============================================================================
if s:use_bold == 1
for s:item in s:bold_items
exec "hi " . s:item . " gui=bold cterm=bold term=none"
endfor
endif
if s:use_underline == 1
for s:item in s:underline_items
exec "hi " . s:item . " gui=underline cterm=underline term=none"
endfor
for s:item in s:undercurl_items
exec "hi " . s:item . " cterm=underline"
endfor
endif
for s:item in s:undercurl_items
exec "hi " . s:item . " gui=undercurl term=none"
endfor
" ============================================================================
" Cterm Colors:
" ============================================================================
for s:item in s:normal_items + s:bold_items + s:underline_items
call s:AddCterm(s:item)
endfor
for s:item in s:undercurl_items
call s:AddSpCterm(s:item)
endfor
if s:no_term_bg == 1
hi Normal ctermbg=NONE
endif
" ============================================================================
" Alternative Bold Definitions:
" ============================================================================
let s:alternative_bold_items = ["Identifier", "PreProc", "Statement",
\ "Special", "Constant", "Type"]
for s:item in s:alternative_bold_items
exec "let s:temp_gui_fg = synIDattr(synIDtrans(hlID('" . s:item .
\ "')), 'fg', 'gui')"
exec "let s:temp_cterm_fg = synIDattr(synIDtrans(hlID('" . s:item .
\ "')), 'fg', 'cterm')"
exec "hi B" . s:item . " guifg=" . s:temp_gui_fg . " ctermfg=" .
\ s:temp_cterm_fg . " gui=bold cterm=bold term=none"
endfor
" ============================================================================
" Plugin Specific Colors:
" ============================================================================
" Tagbar:
hi link TagbarAccessPublic Constant
hi link TagbarAccessProtected Type
hi link TagbarAccessPrivate PreProc
" Vimwiki:
hi link VimwikiHeader1 BIdentifier
hi link VimwikiHeader2 BPreProc
hi link VimwikiHeader3 BStatement
hi link VimwikiHeader4 BSpecial
hi link VimwikiHeader5 BConstant
hi link VimwikiHeader6 BType
" CoC:
hi link CocErrorSign ErrorMsg
hi link CocErrorFloat Pmenu
hi link CocWarningSign WarningMsg
hi link CocWarningFloat Pmenu
hi link CocInfoSign MoreMsg
hi link CocInfoFloat Pmenu
hi link CocHintFloat Directory
hi link CocHintFloat Pmenu
" ============================================================================
" Preset Commands:
" ============================================================================
function! SetLucius(style, contrast, contrast_bg)
let g:lucius_style = a:style
let g:lucius_contrast = a:contrast
let g:lucius_contrast_bg = a:contrast_bg
endfunction
command! LuciusLight call SetLucius("light", "normal", "normal")
\ | colorscheme lucius
command! LuciusLightLowContrast call SetLucius("light", "low", "normal")
\ | colorscheme lucius
command! LuciusLightHighContrast call SetLucius("light", "high", "normal")
\ | colorscheme lucius
command! LuciusWhite call SetLucius("light", "normal", "high")
\ | colorscheme lucius
command! LuciusWhiteLowContrast call SetLucius("light", "low", "high")
\ | colorscheme lucius
command! LuciusWhiteHighContrast call SetLucius("light", "high", "high")
\ | colorscheme lucius
command! LuciusDark call SetLucius("dark", "normal", "normal")
\ | colorscheme lucius
command! LuciusDarkLowContrast call SetLucius("dark", "low", "normal")
\ | colorscheme lucius
command! LuciusDarkHighContrast call SetLucius("dark", "high", "normal")
\ | colorscheme lucius
command! LuciusBlack call SetLucius("dark", "normal", "high")
\ | colorscheme lucius
command! LuciusBlackLowContrast call SetLucius("dark", "low", "high")
\ | colorscheme lucius
command! LuciusBlackHighContrast call SetLucius("dark", "high", "high")
\ | colorscheme lucius
" vim: tw=78

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,94 @@
" Author: 'Christopher MCA'
" Site: https:/github.com/christophermca/meta5
" Version: 0.15.1
"Note: a TRON inspired theme
highlight clear
if exists("syntax_on")
syntax reset
endif
set background=dark
let colors_name = "meta5"
" Vim >= 7.0 specific colors
if version >= 700
hi CursorLine guibg=#262626 gui=NONE ctermbg=234 cterm=NONE
hi CursorColumn guifg=#ffffff guibg=#303030 ctermbg=238
hi iCursor guifg=#000000 guibg=#d0d0d0 ctermfg=0 ctermbg=252
hi Incsearch guifg=#ff00ff guibg=NONE gui=underline ctermfg=201 ctermbg=NONE cterm=underline
hi MatchParen guifg=#ffaf00 guibg=NONE gui=bold ctermfg=214 ctermbg=NONE cterm=bold
hi Pmenu guifg=#eeeeee guibg=#444444 ctermfg=255 ctermbg=238
hi PmenuSel guifg=#000000 guibg=#df8700 ctermfg=0 ctermbg=172
hi Search guifg=#ff00ff guibg=NONE gui=underline ctermfg=201 ctermbg=NONE cterm=underline
endif
" General colors
hi Cursor guifg=#000000 guibg=#d0d0d0 ctermfg=0 ctermbg=252
hi CursorLineNr guifg=#ffff00 guibg=NONE ctermfg=11 ctermbg=NONE
hi ColorColumn guibg=#000080 ctermbg=4
hi Directory guifg=#00ffff guibg=NONE ctermfg=14 ctermbg=NONE
hi ErrorMsg guifg=#ffffff guibg=#ff0000 gui=NONE ctermfg=15 ctermbg=9 cterm=NONE
hi Error guifg=#ffffff guibg=#ff0000 gui=underline ctermfg=15 ctermbg=9 cterm=underline
hi Folded guifg=#005f5f guibg=#080808 ctermfg=23 ctermbg=0
hi LineNr guifg=#808080 guibg=NONE ctermfg=244 ctermbg=NONE
hi NonText guifg=#5f5fff ctermfg=63
hi Normal guifg=#bcbcbc guibg=#1c1c1c ctermfg=250 ctermbg=233
hi SpecialKey guifg=#808080 ctermfg=244 guibg=NONE ctermbg=NONE
hi StatusLine guifg=#005f5f guibg=#080808 gui=underline ctermfg=23 ctermbg=232 cterm=underline term=underline
hi StatusLineNC guifg=#585858 guibg=#080808 ctermfg=240 ctermbg=232
hi Title guifg=#df8700 ctermfg=172
hi VertSplit guifg=#444444 guibg=#585858 ctermfg=238 ctermbg=240
hi Visual guifg=#afffff guibg=#4e4e4e gui=bold ctermfg=159 ctermbg=239 cterm=bold
hi WarningMsg guifg=#afffff ctermfg=159
" Syntax highlighting
hi Boolean guifg=#87ff5f gui=bold ctermfg=119 cterm=bold
hi Character guifg=#0087ff ctermfg=33
hi Comment guifg=#808080 ctermfg=244
hi Constant guifg=#af5fff ctermfg=195
hi Conditional guifg=#5fdfff ctermfg=81
hi Define guifg=#ff8700 ctermfg=208
hi Exception guifg=#afdfff gui=bold ctermfg=153 cterm=bold
hi Function guifg=#df8700 ctermfg=172
hi Identifier guifg=#00afff ctermfg=39
hi Keyword guifg=#dfffff guibg=NONE gui=bold ctermfg=195 ctermbg=NONE cterm=bold
hi Label guifg=#5f87ff ctermfg=69
hi Number guifg=#5fdf5f ctermfg=77
hi Repeat guifg=#afdfff gui=bold ctermfg=153 cterm=bold
hi Statement guifg=#5fdfff gui=NONE ctermfg=81
hi String guifg=#0087df ctermfg=32
hi Structure guifg=#01dfdf ctermfg=44
hi StorageClass guifg=#87ff5f ctermfg=119
hi Special guifg=#5fdf5f gui=bold ctermfg=77 cterm=bold
hi Todo guifg=#00ffff guibg=#606060 gui=bold ctermfg=6 ctermbg=239 cterm=bold
hi Type guifg=#87dfff gui=NONE ctermfg=117
hi Typedef guifg=#87dfff gui=bold ctermfg=117 cterm=bold
hi Operator guifg=#8787ff ctermfg=105
hi PreCondit guifg=#005faf ctermfg=25
hi PreProc guifg=#00afff ctermfg=39
"Diff
hi DiffAdd guifg=#00ff00 guibg=#005f00 cterm=NONE ctermfg=46 ctermbg=22 gui=NONE
hi DiffChange cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE
hi DiffDelete guifg=#df0000 guibg=#5f0000 cterm=NONE ctermfg=9 ctermbg=52 gui=NONE
hi DiffText guifg=#00ff00 guibg=#4e4e4e cterm=underline ctermfg=10 ctermbg=239 gui=underline
"Spell
if has("spell")
hi SpellBad cterm=NONE ctermfg=9 ctermbg=52 gui=NONE guifg=#df0000 guibg=#5f0000
hi SpellCap cterm=NONE ctermfg=46 ctermbg=22 gui=NONE guifg=#00ff00 guibg=#005f00
hi SpellLocal cterm=NONE ctermfg=NONE ctermbg=20 gui=NONE guifg=NONE guibg=#0000df
hi SpellRare guifg=#bcbcbc guibg=#1c1c1c ctermfg=250 ctermbg=233
endif
" LANGUAGE OVERRIDES
" Coffeescript
hi coffeeEmbed guifg=#87ffaf ctermfg=121
hi link coffeeSemicolonError NONE
hi link coffeeSpaceError NONE
hi link coffeeReservedError NONE

View File

@@ -0,0 +1,227 @@
" Minimalist - A Material Color Scheme Darker
"
" Author: Diki Ananta <diki1aap@gmail.com>
" Repository: https://github.com/dikiaap/minimalist
" Version: 1.6
" License: MIT
set background=dark
if version > 580
hi clear
if exists("syntax_on")
syntax reset
endif
endif
set t_Co=256
let g:colors_name = "minimalist"
"""""""""""""""""""""""
" General
"""""""""""""""""""""""
hi ColorColumn ctermfg=NONE ctermbg=233 cterm=NONE guifg=NONE guibg=#121212 gui=NONE
hi Cursor ctermfg=234 ctermbg=255 cterm=NONE guifg=#1C1C1C guibg=#EEEEEE gui=NONE
hi CursorColumn ctermfg=NONE ctermbg=233 cterm=NONE guifg=NONE guibg=#121212 gui=NONE
hi CursorLine ctermfg=NONE ctermbg=233 cterm=NONE guifg=NONE guibg=#121212 gui=NONE
hi CursorLineNr ctermfg=59 ctermbg=233 cterm=NONE guifg=#5F5F5F guibg=#121212 gui=NONE
hi DiffAdd ctermfg=255 ctermbg=64 cterm=bold guifg=#EEEEEE guibg=#5F8700 gui=bold
hi DiffChange ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
hi DiffDelete ctermfg=167 ctermbg=NONE cterm=NONE guifg=#D75F5F guibg=NONE gui=NONE
hi DiffText ctermfg=255 ctermbg=24 cterm=bold guifg=#EEEEEE guibg=#005F87 gui=bold
hi Directory ctermfg=179 ctermbg=NONE cterm=NONE guifg=#D7AF5F guibg=NONE gui=NONE
hi ErrorMsg ctermfg=255 ctermbg=167 cterm=NONE guifg=#EEEEEE guibg=#D75F5F gui=NONE
hi FoldColumn ctermfg=117 ctermbg=239 cterm=NONE guifg=#87D7FF guibg=#4E4E4E gui=NONE
hi Folded ctermfg=242 ctermbg=234 cterm=NONE guifg=#666666 guibg=#1C1C1C gui=NONE
hi IncSearch ctermfg=234 ctermbg=75 cterm=NONE guifg=#1C1C1C guibg=#5FAFFF gui=NONE
hi LineNr ctermfg=59 ctermbg=234 cterm=NONE guifg=#5F5F5F guibg=#1C1C1C gui=NONE
hi MatchParen ctermfg=NONE ctermbg=NONE cterm=underline guifg=NONE guibg=NONE gui=underline
hi MoreMsg ctermfg=150 ctermbg=NONE cterm=NONE guifg=#AFD787 guibg=NONE gui=NONE
hi NonText ctermfg=234 ctermbg=234 cterm=NONE guifg=#1C1C1C guibg=#1C1C1C gui=NONE
hi Normal ctermfg=255 ctermbg=234 cterm=NONE guifg=#EEEEEE guibg=#1C1C1C gui=NONE
hi Pmenu ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
hi PmenuSel ctermfg=NONE ctermbg=59 cterm=NONE guifg=NONE guibg=#5F5F5F gui=NONE
hi Question ctermfg=150 ctermbg=NONE cterm=NONE guifg=#AFD787 guibg=NONE gui=bold
hi Search ctermfg=NONE ctermbg=NONE cterm=underline guifg=NONE guibg=NONE gui=underline
hi SignColumn ctermfg=NONE ctermbg=237 cterm=NONE guifg=NONE guibg=#3A3A3A gui=NONE
hi StatusLine ctermfg=255 ctermbg=239 cterm=bold guifg=#EEEEEE guibg=#4E4E4E gui=bold
hi StatusLineNC ctermfg=255 ctermbg=239 cterm=NONE guifg=#EEEEEE guibg=#4E4E4E gui=NONE
hi Title ctermfg=255 ctermbg=NONE cterm=NONE guifg=#EEEEEE guibg=NONE gui=NONE
hi Underlined ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
hi VertSplit ctermfg=239 ctermbg=239 cterm=NONE guifg=#4E4E4E guibg=#4E4E4E gui=NONE
hi Visual ctermfg=NONE ctermbg=236 cterm=NONE guifg=NONE guibg=#303030 gui=NONE
hi WarningMsg ctermfg=255 ctermbg=167 cterm=NONE guifg=#EEEEEE guibg=#D75F5F gui=NONE
hi WildMenu ctermfg=234 ctermbg=215 cterm=NONE guifg=#1C1C1C guibg=#FFAF5F gui=NONE
hi NERDTreeUp ctermfg=167 ctermbg=NONE cterm=NONE guifg=#D75F5F guibg=NONE gui=NONE
hi NERDTreeDir ctermfg=251 ctermbg=NONE cterm=bold guifg=#C6C6C6 guibg=NONE gui=bold
hi NERDTreeDirSlash ctermfg=251 ctermbg=NONE cterm=NONE guifg=#C6C6C6 guibg=NONE gui=NONE
hi NERDTreeFile ctermfg=241 ctermbg=NONE cterm=NONE guifg=#606060 guibg=NONE gui=NONE
hi NERDTreeCWD ctermfg=167 ctermbg=NONE cterm=NONE guifg=#D75F5F guibg=NONE gui=NONE
hi NERDTreeOpenable ctermfg=167 ctermbg=NONE cterm=NONE guifg=#D75F5F guibg=NONE gui=NONE
hi NERDTreeClosable ctermfg=167 ctermbg=NONE cterm=NONE guifg=#D75F5F guibg=NONE gui=NONE
"""""""""""""""""""""""
" Syntax Highlighting
"""""""""""""""""""""""
hi Boolean ctermfg=173 ctermbg=NONE cterm=NONE guifg=#D7875F guibg=NONE gui=NONE
hi Character ctermfg=140 ctermbg=NONE cterm=NONE guifg=#AF87D7 guibg=NONE gui=NONE
hi Comment ctermfg=240 ctermbg=NONE cterm=NONE guifg=#585858 guibg=NONE gui=NONE
hi Conditional ctermfg=140 ctermbg=NONE cterm=NONE guifg=#AF87D7 guibg=NONE gui=NONE
hi Constant ctermfg=140 ctermbg=NONE cterm=NONE guifg=#AF87D7 guibg=NONE gui=NONE
hi Define ctermfg=140 ctermbg=NONE cterm=NONE guifg=#AF87D7 guibg=NONE gui=NONE
hi Error ctermfg=255 ctermbg=167 cterm=NONE guifg=#EEEEEE guibg=#D75F5F gui=NONE
hi Float ctermfg=140 ctermbg=NONE cterm=NONE guifg=#AF87D7 guibg=NONE gui=NONE
hi Function ctermfg=74 ctermbg=NONE cterm=NONE guifg=#5FAFD7 guibg=NONE gui=NONE
hi Identifier ctermfg=255 ctermbg=NONE cterm=NONE guifg=#EEEEEE guibg=NONE gui=italic
hi Keyword ctermfg=140 ctermbg=NONE cterm=NONE guifg=#AF87D7 guibg=NONE gui=NONE
hi Label ctermfg=186 ctermbg=NONE cterm=NONE guifg=#D7D787 guibg=NONE gui=NONE
hi Number ctermfg=173 ctermbg=NONE cterm=NONE guifg=#D7875F guibg=NONE gui=NONE
hi Operator ctermfg=117 ctermbg=NONE cterm=NONE guifg=#87D7FF guibg=NONE gui=NONE
hi PreCondit ctermfg=140 ctermbg=NONE cterm=NONE guifg=#AF87D7 guibg=NONE gui=NONE
hi PreProc ctermfg=140 ctermbg=NONE cterm=NONE guifg=#AF87D7 guibg=NONE gui=NONE
hi Repeat ctermfg=140 ctermbg=NONE cterm=NONE guifg=#AF87D7 guibg=NONE gui=NONE
hi Special ctermfg=117 ctermbg=NONE cterm=NONE guifg=#87D7FF guibg=NONE gui=NONE
hi SpecialComment ctermfg=242 ctermbg=NONE cterm=NONE guifg=#666666 guibg=NONE gui=NONE
hi SpecialKey ctermfg=59 ctermbg=237 cterm=NONE guifg=#5F5F5F guibg=#3A3A3A gui=NONE
hi SpellBad ctermfg=255 ctermbg=167 cterm=NONE guifg=#EEEEEE guibg=#D75F5F gui=undercurl
hi SpellCap ctermfg=255 ctermbg=74 cterm=NONE guifg=#EEEEEE guibg=#5FAFD7 gui=undercurl
hi SpellRare ctermfg=255 ctermbg=140 cterm=NONE guifg=#EEEEEE guibg=#AF87D7 gui=undercurl
hi SpellLocal ctermfg=255 ctermbg=14 cterm=NONE guifg=#EEEEEE guibg=#5FB3B3 gui=undercurl
hi Statement ctermfg=167 ctermbg=NONE cterm=NONE guifg=#D75F5F guibg=NONE gui=NONE
hi StorageClass ctermfg=215 ctermbg=NONE cterm=NONE guifg=#FFAF5F guibg=NONE gui=italic
hi String ctermfg=150 ctermbg=NONE cterm=NONE guifg=#AFD787 guibg=NONE gui=NONE
hi Structure ctermfg=215 ctermbg=NONE cterm=NONE guifg=#FFAF5F guibg=NONE gui=NONE
hi Tag ctermfg=140 ctermbg=NONE cterm=NONE guifg=#AF87D7 guibg=NONE gui=NONE
hi Todo ctermfg=74 ctermbg=234 cterm=inverse guifg=#5FAFD7 guibg=#1C1C1C gui=inverse,bold
hi Type ctermfg=140 ctermbg=NONE cterm=NONE guifg=#AF87D7 guibg=NONE gui=NONE
"""""""""""""""""""""""
" Supports
"""""""""""""""""""""""
hi cInclude ctermfg=140 ctermbg=NONE cterm=NONE guifg=#AF87D7 guibg=NONE gui=NONE " C++
hi cOperator ctermfg=74 ctermbg=NONE cterm=NONE guifg=#5FAFD7 guibg=NONE gui=NONE
hi cppStatement ctermfg=74 ctermbg=NONE cterm=NONE guifg=#5FAFD7 guibg=NONE gui=NONE
hi cssAttr ctermfg=173 ctermbg=NONE cterm=NONE guifg=#D7875F guibg=NONE gui=NONE " CSS/CSS3
hi cssAttrComma ctermfg=231 ctermbg=NONE cterm=NONE guifg=#EEEEEE guibg=NONE gui=NONE
hi cssBoxProp ctermfg=152 ctermbg=NONE cterm=NONE guifg=#AFD7D7 guibg=NONE gui=NONE
hi cssBraces ctermfg=117 ctermbg=NONE cterm=NONE guifg=#87D7FF guibg=NONE gui=NONE
hi cssClassName ctermfg=215 ctermbg=NONE cterm=NONE guifg=#FFAF5F guibg=NONE gui=NONE
hi cssColor ctermfg=117 ctermbg=NONE cterm=NONE guifg=#87D7FF guibg=NONE gui=NONE
hi cssCommonAttr ctermfg=74 ctermbg=NONE cterm=NONE guifg=#5FAFD7 guibg=NONE gui=NONE
hi cssFontAttr ctermfg=150 ctermbg=NONE cterm=NONE guifg=#AFD787 guibg=NONE gui=NONE
hi cssFunctionName ctermfg=75 ctermbg=NONE cterm=NONE guifg=#5FAFFF guibg=NONE gui=NONE
hi cssNoise ctermfg=117 ctermbg=NONE cterm=NONE guifg=#87D7FF guibg=NONE gui=NONE
hi cssProp ctermfg=152 ctermbg=NONE cterm=NONE guifg=#AFD7D7 guibg=NONE gui=NONE
hi cssPseudoClass ctermfg=140 ctermbg=NONE cterm=NONE guifg=#AF87D7 guibg=NONE gui=NONE
hi cssPseudoClassId ctermfg=140 ctermbg=NONE cterm=NONE guifg=#AF87D7 guibg=NONE gui=NONE
hi cssTagName ctermfg=167 ctermbg=NONE cterm=NONE guifg=#D75F5F guibg=NONE gui=NONE
hi cssUIAttr ctermfg=173 ctermbg=NONE cterm=NONE guifg=#D7875F guibg=NONE gui=NONE
hi cssUnitDecorators ctermfg=173 ctermbg=NONE cterm=NONE guifg=#D7875F guibg=NONE gui=NONE
hi cssURL ctermfg=255 ctermbg=NONE cterm=NONE guifg=#EEEEEE guibg=NONE gui=italic
hi cssValueLength ctermfg=173 ctermbg=NONE cterm=NONE guifg=#D7875F guibg=NONE gui=NONE
hi cssValueNumber ctermfg=173 ctermbg=NONE cterm=NONE guifg=#D7875F guibg=NONE gui=NONE
hi cssVendor ctermfg=140 ctermbg=NONE cterm=NONE guifg=#AF87D7 guibg=NONE gui=NONE
hi htmlArg ctermfg=215 ctermbg=NONE cterm=NONE guifg=#FFAF5F guibg=NONE gui=NONE " HTML/HTML5
hi htmlEndTag ctermfg=74 ctermbg=NONE cterm=NONE guifg=#5FAFD7 guibg=NONE gui=NONE
hi htmlScriptTag ctermfg=74 ctermbg=NONE cterm=NONE guifg=#5FAFD7 guibg=NONE gui=NONE
hi htmlSpecialChar ctermfg=215 ctermbg=NONE cterm=NONE guifg=#FFAF5F guibg=NONE gui=NONE
hi htmlSpecialTagName ctermfg=167 ctermbg=NONE cterm=NONE guifg=#D75F5F guibg=NONE gui=NONE
hi htmlTag ctermfg=74 ctermbg=NONE cterm=NONE guifg=#5FAFD7 guibg=NONE gui=NONE
hi htmlTagName ctermfg=167 ctermbg=NONE cterm=NONE guifg=#D75F5F guibg=NONE gui=NONE
hi javaScriptBoolean ctermfg=173 ctermbg=NONE cterm=NONE guifg=#D7875F guibg=NONE gui=NONE " JavaScript
hi javaScriptBraces ctermfg=74 ctermbg=NONE cterm=NONE guifg=#5FAFD7 guibg=NONE gui=NONE
hi javaScriptConditional ctermfg=140 ctermbg=NONE cterm=NONE guifg=#AF87D7 guibg=NONE gui=NONE
hi javaScriptException ctermfg=140 ctermbg=NONE cterm=NONE guifg=#AF87D7 guibg=NONE gui=NONE
hi javaScriptFunction ctermfg=140 ctermbg=NONE cterm=NONE guifg=#AF87D7 guibg=NONE gui=italic
hi javaScriptGlobal ctermfg=255 ctermbg=NONE cterm=NONE guifg=#EEEEEE guibg=NONE gui=NONE
hi javaScriptIdentifier ctermfg=140 ctermbg=NONE cterm=NONE guifg=#AF87D7 guibg=NONE gui=NONE
hi javaScriptLabel ctermfg=140 ctermbg=NONE cterm=NONE guifg=#AF87D7 guibg=NONE gui=NONE
hi javaScriptMessage ctermfg=255 ctermbg=NONE cterm=NONE guifg=#EEEEEE guibg=NONE gui=NONE
hi javaScriptNull ctermfg=173 ctermbg=NONE cterm=NONE guifg=#D7875F guibg=NONE gui=NONE
hi javaScriptNumber ctermfg=173 ctermbg=NONE cterm=NONE guifg=#D7875F guibg=NONE gui=NONE
hi javaScriptOperator ctermfg=117 ctermbg=NONE cterm=NONE guifg=#87D7FF guibg=NONE gui=NONE
hi javaScriptParens ctermfg=117 ctermbg=NONE cterm=NONE guifg=#87D7FF guibg=NONE gui=NONE
hi javaScriptRegexpString ctermfg=117 ctermbg=NONE cterm=NONE guifg=#87D7FF guibg=NONE gui=NONE
hi javaScriptRepeat ctermfg=140 ctermbg=NONE cterm=NONE guifg=#AF87D7 guibg=NONE gui=NONE
hi javaScriptSpecial ctermfg=117 ctermbg=NONE cterm=NONE guifg=#87D7FF guibg=NONE gui=NONE
hi javaScriptStatement ctermfg=140 ctermbg=NONE cterm=NONE guifg=#AF87D7 guibg=NONE gui=NONE
hi markdownCode ctermfg=140 ctermbg=NONE cterm=NONE guifg=#AF87D7 guibg=NONE gui=NONE " Markdown
hi markdownCodeBlock ctermfg=140 ctermbg=NONE cterm=NONE guifg=#AF87D7 guibg=NONE gui=NONE
hi markdownCodeDelimiter ctermfg=247 ctermbg=NONE cterm=NONE guifg=#9E9E9E guibg=NONE gui=NONE
hi markdownError ctermfg=167 ctermbg=NONE cterm=NONE guifg=#D75F5F guibg=NONE gui=NONE
hi markdownHeadingDelimiter ctermfg=150 ctermbg=NONE cterm=NONE guifg=#AFD787 guibg=NONE gui=NONE
hi markdownUrl ctermfg=173 ctermbg=NONE cterm=NONE guifg=#D7875F guibg=NONE gui=NONE
hi phpBoolean ctermfg=173 ctermbg=NONE cterm=NONE guifg=#D7875F guibg=NONE gui=NONE " PHP
hi phpClass ctermfg=215 ctermbg=NONE cterm=NONE guifg=#FFAF5F guibg=NONE gui=NONE
hi phpClassDelimiter ctermfg=117 ctermbg=NONE cterm=NONE guifg=#87D7FF guibg=NONE gui=NONE
hi phpClassExtends ctermfg=150 ctermbg=NONE cterm=NONE guifg=#AFD787 guibg=NONE gui=NONE
hi phpClassImplements ctermfg=150 ctermbg=NONE cterm=NONE guifg=#AFD787 guibg=NONE gui=NONE
hi phpCommentStar ctermfg=240 ctermbg=NONE cterm=NONE guifg=#585858 guibg=NONE gui=NONE
hi phpCommentTitle ctermfg=240 ctermbg=NONE cterm=NONE guifg=#585858 guibg=NONE gui=NONE
hi phpDocComment ctermfg=240 ctermbg=NONE cterm=NONE guifg=#585858 guibg=NONE gui=NONE
hi phpDocIdentifier ctermfg=240 ctermbg=NONE cterm=NONE guifg=#585858 guibg=NONE gui=NONE
hi phpDocParam ctermfg=240 ctermbg=NONE cterm=NONE guifg=#585858 guibg=NONE gui=NONE
hi phpDocTags ctermfg=242 ctermbg=NONE cterm=NONE guifg=#666666 guibg=NONE gui=NONE
hi phpFunction ctermfg=74 ctermbg=NONE cterm=NONE guifg=#5FAFD7 guibg=NONE gui=NONE
hi phpFunctions ctermfg=74 ctermbg=NONE cterm=NONE guifg=#5FAFD7 guibg=NONE gui=NONE
hi phpIdentifier ctermfg=255 ctermbg=NONE cterm=NONE guifg=#EEEEEE guibg=NONE gui=NONE
hi phpInclude ctermfg=140 ctermbg=NONE cterm=NONE guifg=#AF87D7 guibg=NONE gui=NONE
hi phpKeyword ctermfg=140 ctermbg=NONE cterm=NONE guifg=#AF87D7 guibg=NONE gui=NONE
hi phpMethod ctermfg=74 ctermbg=NONE cterm=NONE guifg=#5FAFD7 guibg=NONE gui=NONE
hi phpNumber ctermfg=173 ctermbg=NONE cterm=NONE guifg=#D7875F guibg=NONE gui=NONE
hi phpOperator ctermfg=117 ctermbg=NONE cterm=NONE guifg=#87D7FF guibg=NONE gui=NONE
hi phpParent ctermfg=117 ctermbg=NONE cterm=NONE guifg=#87D7FF guibg=NONE gui=NONE
hi phpMemberSelector ctermfg=117 ctermbg=NONE cterm=NONE guifg=#87D7FF guibg=NONE gui=NONE
hi phpMethodsVar ctermfg=255 ctermbg=NONE cterm=NONE guifg=#EEEEEE guibg=NONE gui=NONE
hi phpStaticClasses ctermfg=215 ctermbg=NONE cterm=NONE guifg=#FFAF5F guibg=NONE gui=NONE
hi phpStringDouble ctermfg=150 ctermbg=NONE cterm=NONE guifg=#AFD787 guibg=NONE gui=NONE
hi phpStringDelimiter ctermfg=117 ctermbg=NONE cterm=NONE guifg=#87D7FF guibg=NONE gui=NONE
hi phpStringSingle ctermfg=150 ctermbg=NONE cterm=NONE guifg=#AFD787 guibg=NONE gui=NONE
hi phpSuperglobals ctermfg=255 ctermbg=NONE cterm=NONE guifg=#EEEEEE guibg=NONE gui=NONE
hi phpType ctermfg=140 ctermbg=NONE cterm=NONE guifg=#AF87D7 guibg=NONE gui=NONE
hi phpUseClass ctermfg=215 ctermbg=NONE cterm=NONE guifg=#FFAF5F guibg=NONE gui=NONE
hi phpVarSelector ctermfg=117 ctermbg=NONE cterm=NONE guifg=#87D7FF guibg=NONE gui=NONE
hi pythonConditional ctermfg=140 ctermbg=NONE cterm=NONE guifg=#AF87D7 guibg=NONE gui=NONE " Python
hi pythonDecorator ctermfg=140 ctermbg=NONE cterm=NONE guifg=#AF87D7 guibg=NONE gui=NONE
hi pythonException ctermfg=140 ctermbg=NONE cterm=NONE guifg=#AF87D7 guibg=NONE gui=NONE
hi pythonFunction ctermfg=74 ctermbg=NONE cterm=NONE guifg=#5FAFD7 guibg=NONE gui=NONE
hi pythonInclude ctermfg=140 ctermbg=NONE cterm=NONE guifg=#AF87D7 guibg=NONE gui=NONE
hi pythonNumber ctermfg=173 ctermbg=NONE cterm=NONE guifg=#D7875F guibg=NONE gui=NONE
hi pythonOperator ctermfg=140 ctermbg=NONE cterm=NONE guifg=#AF87D7 guibg=NONE gui=NONE
hi pythonRepeat ctermfg=140 ctermbg=NONE cterm=NONE guifg=#AF87D7 guibg=NONE gui=NONE
hi pythonStatement ctermfg=140 ctermbg=NONE cterm=NONE guifg=#AF87D7 guibg=NONE gui=NONE
hi pythonTodo ctermfg=74 ctermbg=NONE cterm=NONE guifg=#5FAFD7 guibg=NONE gui=NONE
hi rubyBlockParameter ctermfg=173 ctermbg=NONE cterm=NONE guifg=#D7875F guibg=NONE gui=NONE " Ruby
hi rubyClass ctermfg=140 ctermbg=NONE cterm=NONE guifg=#AF87D7 guibg=NONE gui=NONE
hi rubyClassVariable ctermfg=117 ctermbg=NONE cterm=NONE guifg=#87D7FF guibg=NONE gui=NONE
hi rubyConstant ctermfg=215 ctermbg=NONE cterm=NONE guifg=#FFAF5F guibg=NONE gui=italic
hi rubyControl ctermfg=117 ctermbg=NONE cterm=NONE guifg=#87D7FF guibg=NONE gui=NONE
hi rubyException ctermfg=74 ctermbg=NONE cterm=NONE guifg=#5FAFD7 guibg=NONE gui=NONE
hi rubyFunction ctermfg=74 ctermbg=NONE cterm=NONE guifg=#5FAFD7 guibg=NONE gui=NONE
hi rubyInclude ctermfg=74 ctermbg=NONE cterm=NONE guifg=#5FAFD7 guibg=NONE gui=NONE
hi rubyInstanceVariable ctermfg=117 ctermbg=NONE cterm=NONE guifg=#87D7FF guibg=NONE gui=NONE
hi rubyInterpolationDelimiter ctermfg=117 ctermbg=NONE cterm=NONE guifg=#87D7FF guibg=NONE gui=NONE
hi rubyOperator ctermfg=140 ctermbg=NONE cterm=NONE guifg=#AF87D7 guibg=NONE gui=NONE
hi rubyPseudoVariable ctermfg=173 ctermbg=NONE cterm=NONE guifg=#D7875F guibg=NONE gui=NONE
hi rubyRegexp ctermfg=117 ctermbg=NONE cterm=NONE guifg=#87D7FF guibg=NONE gui=NONE
hi rubyRegexpDelimiter ctermfg=117 ctermbg=NONE cterm=NONE guifg=#87D7FF guibg=NONE gui=NONE
hi rubyStringDelimiter ctermfg=117 ctermbg=NONE cterm=NONE guifg=#87D7FF guibg=NONE gui=NONE
hi rubySymbol ctermfg=150 ctermbg=NONE cterm=NONE guifg=#AFD787 guibg=NONE gui=NONE
hi sassClass ctermfg=215 ctermbg=NONE cterm=NONE guifg=#FFAF5F guibg=NONE gui=NONE " Sass
hi sassClassChar ctermfg=215 ctermbg=NONE cterm=NONE guifg=#FFAF5F guibg=NONE gui=NONE
hi sassFunction ctermfg=255 ctermbg=NONE cterm=NONE guifg=#EEEEEE guibg=NONE gui=NONE
hi sassInclude ctermfg=74 ctermbg=NONE cterm=NONE guifg=#5FAFD7 guibg=NONE gui=NONE
hi sassVariable ctermfg=173 ctermbg=NONE cterm=NONE guifg=#D7875F guibg=NONE gui=NONE
hi shFunction ctermfg=74 ctermbg=NONE cterm=NONE guifg=#5FAFD7 guibg=NONE gui=NONE " Shell
hi shOperator ctermfg=117 ctermbg=NONE cterm=NONE guifg=#87D7FF guibg=NONE gui=NONE
hi shStatement ctermfg=74 ctermbg=NONE cterm=NONE guifg=#5FAFD7 guibg=NONE gui=NONE
hi shTestOpr ctermfg=117 ctermbg=NONE cterm=NONE guifg=#87D7FF guibg=NONE gui=NONE
hi shVariable ctermfg=255 ctermbg=NONE cterm=NONE guifg=#EEEEEE guibg=NONE gui=NONE
hi xmlAttrib ctermfg=167 ctermbg=NONE cterm=NONE guifg=#D75F5F guibg=NONE gui=NONE " XML
hi xmlCdataStart ctermfg=117 ctermbg=NONE cterm=NONE guifg=#87D7FF guibg=NONE gui=NONE
hi xmlCdataCdata ctermfg=117 ctermbg=NONE cterm=NONE guifg=#87D7FF guibg=NONE gui=NONE
hi xmlEndTag ctermfg=167 ctermbg=NONE cterm=NONE guifg=#D75F5F guibg=NONE gui=NONE
hi xmlEntity ctermfg=173 ctermbg=NONE cterm=NONE guifg=#D7875F guibg=NONE gui=NONE
hi xmlEntityPunct ctermfg=117 ctermbg=NONE cterm=NONE guifg=#87D7FF guibg=NONE gui=NONE
hi xmlEqual ctermfg=117 ctermbg=NONE cterm=NONE guifg=#87D7FF guibg=NONE gui=NONE
hi xmlProcessingDelim ctermfg=117 ctermbg=NONE cterm=NONE guifg=#87D7FF guibg=NONE gui=NONE
hi xmlTag ctermfg=117 ctermbg=NONE cterm=NONE guifg=#87D7FF guibg=NONE gui=NONE
hi xmlTagName ctermfg=167 ctermbg=NONE cterm=NONE guifg=#D75F5F guibg=NONE gui=NONE

View File

@@ -0,0 +1,276 @@
" Vim color file
"
" Author: Tomas Restrepo <tomas@winterdom.com>
" https://github.com/tomasr/molokai
"
" Note: Based on the Monokai theme for TextMate
" by Wimer Hazenberg and its darker variant
" by Hamish Stuart Macpherson
"
hi clear
if version > 580
" no guarantees for version 5.8 and below, but this makes it stop
" complaining
hi clear
if exists("syntax_on")
syntax reset
endif
endif
let g:colors_name="molokai"
if exists("g:molokai_original")
let s:molokai_original = g:molokai_original
else
let s:molokai_original = 0
endif
hi Boolean guifg=#AE81FF
hi Character guifg=#E6DB74
hi Number guifg=#AE81FF
hi String guifg=#E6DB74
hi Conditional guifg=#F92672 gui=bold
hi Constant guifg=#AE81FF gui=bold
hi Cursor guifg=#000000 guibg=#F8F8F0
hi iCursor guifg=#000000 guibg=#F8F8F0
hi Debug guifg=#BCA3A3 gui=bold
hi Define guifg=#66D9EF
hi Delimiter guifg=#8F8F8F
hi DiffAdd guibg=#13354A
hi DiffChange guifg=#89807D guibg=#4C4745
hi DiffDelete guifg=#960050 guibg=#1E0010
hi DiffText guibg=#4C4745 gui=italic,bold
hi Directory guifg=#A6E22E gui=bold
hi Error guifg=#E6DB74 guibg=#1E0010
hi ErrorMsg guifg=#F92672 guibg=#232526 gui=bold
hi Exception guifg=#A6E22E gui=bold
hi Float guifg=#AE81FF
hi FoldColumn guifg=#465457 guibg=#000000
hi Folded guifg=#465457 guibg=#000000
hi Function guifg=#A6E22E
hi Identifier guifg=#FD971F
hi Ignore guifg=#808080 guibg=bg
hi IncSearch guifg=#C4BE89 guibg=#000000
hi Keyword guifg=#F92672 gui=bold
hi Label guifg=#E6DB74 gui=none
hi Macro guifg=#C4BE89 gui=italic
hi SpecialKey guifg=#66D9EF gui=italic
hi MatchParen guifg=#000000 guibg=#FD971F gui=bold
hi ModeMsg guifg=#E6DB74
hi MoreMsg guifg=#E6DB74
hi Operator guifg=#F92672
" complete menu
hi Pmenu guifg=#66D9EF guibg=#000000
hi PmenuSel guibg=#808080
hi PmenuSbar guibg=#080808
hi PmenuThumb guifg=#66D9EF
hi PreCondit guifg=#A6E22E gui=bold
hi PreProc guifg=#A6E22E
hi Question guifg=#66D9EF
hi Repeat guifg=#F92672 gui=bold
hi Search guifg=#000000 guibg=#FFE792
" marks
hi SignColumn guifg=#A6E22E guibg=#232526
hi SpecialChar guifg=#F92672 gui=bold
hi SpecialComment guifg=#7E8E91 gui=bold
hi Special guifg=#66D9EF guibg=bg gui=italic
if has("spell")
hi SpellBad guisp=#FF0000 gui=undercurl
hi SpellCap guisp=#7070F0 gui=undercurl
hi SpellLocal guisp=#70F0F0 gui=undercurl
hi SpellRare guisp=#FFFFFF gui=undercurl
endif
hi Statement guifg=#F92672 gui=bold
hi StatusLine guifg=#455354 guibg=fg
hi StatusLineNC guifg=#808080 guibg=#080808
hi StorageClass guifg=#FD971F gui=italic
hi Structure guifg=#66D9EF
hi Tag guifg=#F92672 gui=italic
hi Title guifg=#ef5939
hi Todo guifg=#FFFFFF guibg=bg gui=bold
hi Typedef guifg=#66D9EF
hi Type guifg=#66D9EF gui=none
hi Underlined guifg=#808080 gui=underline
hi VertSplit guifg=#808080 guibg=#080808 gui=bold
hi VisualNOS guibg=#403D3D
hi Visual guibg=#403D3D
hi WarningMsg guifg=#FFFFFF guibg=#333333 gui=bold
hi WildMenu guifg=#66D9EF guibg=#000000
hi TabLineFill guifg=#1B1D1E guibg=#1B1D1E
hi TabLine guibg=#1B1D1E guifg=#808080 gui=none
if s:molokai_original == 1
hi Normal guifg=#F8F8F2 guibg=#272822
hi Comment guifg=#75715E
hi CursorLine guibg=#3E3D32
hi CursorLineNr guifg=#FD971F gui=none
hi CursorColumn guibg=#3E3D32
hi ColorColumn guibg=#3B3A32
hi LineNr guifg=#BCBCBC guibg=#3B3A32
hi NonText guifg=#75715E
hi SpecialKey guifg=#75715E
else
hi Normal guifg=#F8F8F2 guibg=#1B1D1E
hi Comment guifg=#7E8E91
hi CursorLine guibg=#293739
hi CursorLineNr guifg=#FD971F gui=none
hi CursorColumn guibg=#293739
hi ColorColumn guibg=#232526
hi LineNr guifg=#465457 guibg=#232526
hi NonText guifg=#465457
hi SpecialKey guifg=#465457
end
"
" Support for 256-color terminal
"
if &t_Co > 255
if s:molokai_original == 1
hi Normal ctermbg=234
hi CursorLine ctermbg=235 cterm=none
hi CursorLineNr ctermfg=208 cterm=none
else
hi Normal ctermfg=252 ctermbg=233
hi CursorLine ctermbg=234 cterm=none
hi CursorLineNr ctermfg=208 cterm=none
endif
hi Boolean ctermfg=135
hi Character ctermfg=144
hi Number ctermfg=135
hi String ctermfg=144
hi Conditional ctermfg=161 cterm=bold
hi Constant ctermfg=135 cterm=bold
hi Cursor ctermfg=16 ctermbg=253
hi Debug ctermfg=225 cterm=bold
hi Define ctermfg=81
hi Delimiter ctermfg=241
hi DiffAdd ctermbg=24
hi DiffChange ctermfg=181 ctermbg=239
hi DiffDelete ctermfg=162 ctermbg=53
hi DiffText ctermbg=102 cterm=bold
hi Directory ctermfg=118 cterm=bold
hi Error ctermfg=219 ctermbg=89
hi ErrorMsg ctermfg=199 ctermbg=16 cterm=bold
hi Exception ctermfg=118 cterm=bold
hi Float ctermfg=135
hi FoldColumn ctermfg=67 ctermbg=16
hi Folded ctermfg=67 ctermbg=16
hi Function ctermfg=118
hi Identifier ctermfg=208 cterm=none
hi Ignore ctermfg=244 ctermbg=232
hi IncSearch ctermfg=193 ctermbg=16
hi keyword ctermfg=161 cterm=bold
hi Label ctermfg=229 cterm=none
hi Macro ctermfg=193
hi SpecialKey ctermfg=81
hi MatchParen ctermfg=233 ctermbg=208 cterm=bold
hi ModeMsg ctermfg=229
hi MoreMsg ctermfg=229
hi Operator ctermfg=161
" complete menu
hi Pmenu ctermfg=81 ctermbg=16
hi PmenuSel ctermfg=255 ctermbg=242
hi PmenuSbar ctermbg=232
hi PmenuThumb ctermfg=81
hi PreCondit ctermfg=118 cterm=bold
hi PreProc ctermfg=118
hi Question ctermfg=81
hi Repeat ctermfg=161 cterm=bold
hi Search ctermfg=0 ctermbg=222 cterm=NONE
" marks column
hi SignColumn ctermfg=118 ctermbg=235
hi SpecialChar ctermfg=161 cterm=bold
hi SpecialComment ctermfg=245 cterm=bold
hi Special ctermfg=81
if has("spell")
hi SpellBad ctermbg=52
hi SpellCap ctermbg=17
hi SpellLocal ctermbg=17
hi SpellRare ctermfg=none ctermbg=none cterm=reverse
endif
hi Statement ctermfg=161 cterm=bold
hi StatusLine ctermfg=238 ctermbg=253
hi StatusLineNC ctermfg=244 ctermbg=232
hi StorageClass ctermfg=208
hi Structure ctermfg=81
hi Tag ctermfg=161
hi Title ctermfg=166
hi Todo ctermfg=231 ctermbg=232 cterm=bold
hi Typedef ctermfg=81
hi Type ctermfg=81 cterm=none
hi Underlined ctermfg=244 cterm=underline
hi VertSplit ctermfg=244 ctermbg=232 cterm=bold
hi VisualNOS ctermbg=238
hi Visual ctermbg=235
hi WarningMsg ctermfg=231 ctermbg=238 cterm=bold
hi WildMenu ctermfg=81 ctermbg=16
hi Comment ctermfg=59
hi CursorColumn ctermbg=236
hi ColorColumn ctermbg=236
hi LineNr ctermfg=250 ctermbg=236
hi NonText ctermfg=59
hi SpecialKey ctermfg=59
if exists("g:rehash256") && g:rehash256 == 1
hi Normal ctermfg=252 ctermbg=234
hi CursorLine ctermbg=236 cterm=none
hi CursorLineNr ctermfg=208 cterm=none
hi Boolean ctermfg=141
hi Character ctermfg=222
hi Number ctermfg=141
hi String ctermfg=222
hi Conditional ctermfg=197 cterm=bold
hi Constant ctermfg=141 cterm=bold
hi DiffDelete ctermfg=125 ctermbg=233
hi Directory ctermfg=154 cterm=bold
hi Error ctermfg=222 ctermbg=233
hi Exception ctermfg=154 cterm=bold
hi Float ctermfg=141
hi Function ctermfg=154
hi Identifier ctermfg=208
hi Keyword ctermfg=197 cterm=bold
hi Operator ctermfg=197
hi PreCondit ctermfg=154 cterm=bold
hi PreProc ctermfg=154
hi Repeat ctermfg=197 cterm=bold
hi Statement ctermfg=197 cterm=bold
hi Tag ctermfg=197
hi Title ctermfg=203
hi Visual ctermbg=238
hi Comment ctermfg=244
hi LineNr ctermfg=239 ctermbg=235
hi NonText ctermfg=239
hi SpecialKey ctermfg=239
endif
end
" Must be at the end, because of ctermbg=234 bug.
" https://groups.google.com/forum/#!msg/vim_dev/afPqwAFNdrU/nqh6tOM87QUJ
set background=dark

View File

@@ -0,0 +1,92 @@
let g:molokai_original = 1
runtime colors/molokai.vim
let g:colors_name="molokayo"
if !exists("g:molokayo#high_contrast#comments")
let g:molokayo#high_contrast#comments = 0
endif
if !exists("g:molokayo#focus_variant")
let g:molokayo#focus_variant = 0
endif
hi! Normal guibg=#202020 guifg=#ffffff ctermbg=234 ctermfg=15
if g:molokayo#focus_variant == 1
hi! NonText guibg=bg guifg=#303030 ctermbg=bg ctermfg=233
else
hi! link NonText Delimiter
endif
hi! link EndOfBuffer NonText
hi! Ignore guibg=bg guifg=#303030 ctermbg=bg ctermbg=233
hi! Special guibg=bg guifg=#66d0ef ctermbg=bg ctermfg=81 gui=italic cterm=italic
hi! Conceal guifg=#f92672 guibg=bg cterm=bold ctermfg=198 ctermbg=bg
hi! Search guifg=#000000 guibg=#ffcc00 gui=bold cterm=bold ctermfg=0 ctermbg=220
hi! Identifier guifg=#ffb700 ctermfg=214
hi! link Directory SpecialChar
hi! PreProc guibg=bg guifg=#2ee252 ctermbg=bg ctermfg=41
hi! PreCondit guibg=bg guifg=#2ee252 ctermbg=bg ctermfg=41
hi! Title guibg=bg guifg=#ef7511 ctermbg=bg ctermfg=208
hi! ColorColumn guibg=#1e1e1e ctermbg=233
hi! Error guibg=#990023 guifg=#ffca00 ctermbg=160 ctermfg=214
hi! TabLineFill guibg=#202020 guifg=#141414 ctermbg=234 ctermfg=233
hi! TabLineSel guibg=#141414 guifg=#ffb700 ctermbg=233 ctermfg=214 cterm=bold gui=bold
hi! TabLine guibg=#141414 guifg=#404040 ctermbg=233 ctermfg=238
if g:molokayo#high_contrast#comments == 1
hi! Comment guibg=bg guifg=#A6A185 ctermbg=bg ctermfg=248
endif
" Folds:
if g:molokayo#focus_variant == 1
hi! FoldColumn guibg=bg guifg=#303030 ctermbg=236 ctermfg=238
else
hi! FoldColumn guibg=#282828 guifg=#505050 ctermbg=236 ctermfg=244
endif
hi! Folded guibg=#252525 guifg=#808080 ctermbg=235 ctermfg=244
" Cursor:
hi! Cursor guibg=#f92672 guifg=#ffffff gui=bold cterm=bold ctermbg=197 ctermfg=15
hi! CursorInsert guibg=#0077ff guifg=#ffffff ctermbg=39 ctermfg=15
hi! CursorVisual guibg=#2077ff guifg=#ffffff ctermbg=38 ctermfg=15
hi! CursorReplace guibg=#ff2000 guifg=#ffffff ctermbg=196 ctermfg=15
set guicursor=
\a:block-blinkon0,
\i:blinkwait200-blinkoff150-blinkon200-CursorInsert,
\r:CursorReplace,
\v:CursorVisual,
\c:ver30-blinkon300-CursorInsert
" Split:
hi! VertSplit guibg=#151515 guifg=#151515 ctermbg=233 ctermfg=233
" Statuline:
hi! StatusLine guibg=#151515 guifg=#ffffff gui=None cterm=None ctermbg=233 ctermfg=15
hi! StatusLineNC guibg=#252525 guifg=#808080 gui=None cterm=None ctermbg=235 ctermfg=244
hi! Wildmenu guibg=#f92672 guifg=#ffffff gui=bold cterm=bold ctermbg=199 ctermfg=15
hi! SLSpecial guibg=#151515 guifg=#66d0ef ctermbg=233 ctermfg=81
hi! SLDelim guibg=#151515 guifg=#808080 ctermbg=233 ctermfg=244
hi! SLNumber guibg=#151515 guifg=#ae81ff ctermbg=233 ctermfg=141
hi! SLDirectory guibg=#151515 guifg=#f92672 gui=bold cterm=bold ctermbg=233 ctermfg=197
hi! SLIdentifier guibg=#151515 guifg=#ffb700 gui=bold cterm=bold ctermbg=233i ctermfg=214
hi! SLCharacter guibg=#151515 guifg=#e6db74 ctermbg=233 ctermfg=227
hi! SLConstant guibg=#151515 guifg=#ae81ff ctermbg=233 ctermfg=141
hi! SLType guibg=#151515 guifg=#66d9ae gui=bold cterm=bold ctermbg=233 ctermfg=81
hi! SLFunction guibg=#151515 guifg=#a6e2e2 ctermbg=233 ctermfg=153
hi! SLSpellBad guibg=#151515 gui=undercurl guisp=#ff0000 cterm=underline ctermbg=233
hi! SLVCS guibg=#151515 guifg=#ff5000 gui=italic cterm=italic ctermbg=233 ctermfg=202
" Completion:
hi! link PMenu SLDelim
hi! link PMenuSel WildMenu
" vim-buftabline support
hi! link BufTabLineFill StatusLine
hi! link BufTabLineCurrent SLIdentifier
hi! link BufTabLineActive SLCharacter
hi! link BufTabLineHidden SLType
" ctrlp support
hi! link CtrlPMatch Search
hi! link CtrlPLinePre Operator
hi! link CtrlPPrtCursor Cursor
hi! link CtrlPMode1 SLType
hi! link CtrlPMode2 SLSpecial
hi! link CtrlPStats SLFunction

View File

@@ -0,0 +1,420 @@
" -----------------------------------------------------------------------------
" Name: Mountaineer Grey
" Description: A Darn and Adventurous Vim Colorscheme
" Author: nuaNce <r3yan.chaudhry@zohomail.com>
" Website: https://github.com/co1ncidence/mountaineer.vim
" License: BSD 3-Clause License
" -----------------------------------------------------------------------------
"
" GUI color definitions
let s:gui00 = "232323"
let g:base16_gui00 = "232323"
let s:gui01 = "303030"
let g:base16_gui01 = "303030"
let s:gui02 = "3d3d3d"
let g:base16_gui02 = "3d3d3d"
let s:gui03 = "545454"
let g:base16_gui03 = "545454"
let s:gui04 = "b6b6b6"
let g:base16_gui04 = "b6b6b6"
let s:gui05 = "c0c0c0"
let g:base16_gui05 = "c0c0c0"
let s:gui06 = "e7e7e7"
let g:base16_gui06 = "e7e7e7"
let s:gui07 = "ffffff"
let g:base16_gui07 = "ffffff"
" red
let s:gui08 = "C49EA0"
let g:base16_gui08 = "C49EA0"
" orange
let s:gui09 = "C49EA0"
let g:base16_gui09 = "C49EA0"
" yellow
let s:gui0A = "C4C19E"
let g:base16_gui0A = "C4C19E"
" green
let s:gui0B = "9EC49F"
let g:base16_gui0B = "9EC49F"
" cyan
let s:gui0C = "9ec3c4"
let g:base16_gui0C = "9ec3c4"
" blue
let s:gui0D = "A39EC4"
let g:base16_gui0D = "A39EC4"
" magenta
let s:gui0E = "C49EC4"
let g:base16_gui0E = "C49EC4"
" dark red
let s:gui0F = "AC8A8C"
let g:base16_gui0F = "AC8A8C"
" Terminal color definitions
let s:cterm00 = "00"
let g:base16_cterm00 = "00"
let s:cterm03 = "08"
let g:base16_cterm03 = "08"
let s:cterm05 = "07"
let g:base16_cterm05 = "07"
let s:cterm07 = "15"
let g:base16_cterm07 = "15"
let s:cterm08 = "01"
let g:base16_cterm08 = "01"
let s:cterm0A = "03"
let g:base16_cterm0A = "03"
let s:cterm0B = "02"
let g:base16_cterm0B = "02"
let s:cterm0C = "06"
let g:base16_cterm0C = "06"
let s:cterm0D = "04"
let g:base16_cterm0D = "04"
let s:cterm0E = "05"
let g:base16_cterm0E = "05"
if exists("base16colorspace") && base16colorspace == "256"
let s:cterm01 = "18"
let g:base16_cterm01 = "18"
let s:cterm02 = "19"
let g:base16_cterm02 = "19"
let s:cterm04 = "20"
let g:base16_cterm04 = "20"
let s:cterm06 = "21"
let g:base16_cterm06 = "21"
let s:cterm09 = "16"
let g:base16_cterm09 = "16"
let s:cterm0F = "17"
let g:base16_cterm0F = "17"
else
let s:cterm01 = "10"
let g:base16_cterm01 = "10"
let s:cterm02 = "11"
let g:base16_cterm02 = "11"
let s:cterm04 = "12"
let g:base16_cterm04 = "12"
let s:cterm06 = "13"
let g:base16_cterm06 = "13"
let s:cterm09 = "09"
let g:base16_cterm09 = "09"
let s:cterm0F = "14"
let g:base16_cterm0F = "14"
endif
" Neovim terminal colours
if has("nvim")
let g:terminal_color_0 = "#232323"
let g:terminal_color_1 = "#C49EA0"
let g:terminal_color_2 = "#9EC49F"
let g:terminal_color_3 = "#C4C19E"
let g:terminal_color_4 = "#A39EC4"
let g:terminal_color_5 = "#C49EC4"
let g:terminal_color_6 = "#9ec3c4"
let g:terminal_color_7 = "#e7e7e7"
let g:terminal_color_8 = "#676767"
let g:terminal_color_9 = "#C49EA0"
let g:terminal_color_10 = "#9EC49F"
let g:terminal_color_11 = "#C4C19E"
let g:terminal_color_12 = "#A39EC4"
let g:terminal_color_13 = "#C49EC4"
let g:terminal_color_14 = "#9ec3c4"
let g:terminal_color_15 = "#f0f0f0"
let g:terminal_color_background = g:terminal_color_0
let g:terminal_color_foreground = g:terminal_color_5
if &background == "light"
let g:terminal_color_background = g:terminal_color_7
let g:terminal_color_foreground = g:terminal_color_2
endif
elseif has("terminal")
let g:terminal_ansi_colors = [
\ "#232323",
\ "#C49EA0",
\ "#9EC49F",
\ "#C4C19E",
\ "#A39EC4",
\ "#C49EC4",
\ "#9ec3c4",
\ "#e7e7e7",
\ "#676767",
\ "#C49EA0",
\ "#9EC49F",
\ "#C4C19E",
\ "#A39EC4",
\ "#C49EC4",
\ "#9ec3c4",
\ "#f0f0f0",
\ ]
endif
" Theme setup
hi clear
syntax reset
let g:colors_name = "mountaineer-grey"
" Highlighting function
" Optional variables are attributes and guisp
function! g:Base16hi(group, guifg, guibg, ctermfg, ctermbg, ...)
let l:attr = get(a:, 1, "")
let l:guisp = get(a:, 2, "")
if a:guifg != ""
exec "hi " . a:group . " guifg=#" . a:guifg
endif
if a:guibg != ""
exec "hi " . a:group . " guibg=#" . a:guibg
endif
if a:ctermfg != ""
exec "hi " . a:group . " ctermfg=" . a:ctermfg
endif
if a:ctermbg != ""
exec "hi " . a:group . " ctermbg=" . a:ctermbg
endif
if l:attr != ""
exec "hi " . a:group . " gui=" . l:attr . " cterm=" . l:attr
endif
if l:guisp != ""
exec "hi " . a:group . " guisp=#" . l:guisp
endif
endfunction
fun <sid>hi(group, guifg, guibg, ctermfg, ctermbg, attr, guisp)
call g:Base16hi(a:group, a:guifg, a:guibg, a:ctermfg, a:ctermbg, a:attr, a:guisp)
endfun
" Vim editor colors
call <sid>hi("Normal", s:gui05, s:gui00, s:cterm05, s:cterm00, "", "")
call <sid>hi("Bold", "", "", "", "", "bold", "")
call <sid>hi("Debug", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("Directory", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("Error", s:gui00, s:gui08, s:cterm00, s:cterm08, "", "")
call <sid>hi("ErrorMsg", s:gui08, s:gui00, s:cterm08, s:cterm00, "", "")
call <sid>hi("Exception", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("FoldColumn", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "")
call <sid>hi("Folded", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "")
call <sid>hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "")
call <sid>hi("Italic", "", "", "", "", "none", "")
call <sid>hi("Macro", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("MatchParen", "", s:gui03, "", s:cterm03, "", "")
call <sid>hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("Question", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "")
call <sid>hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "")
call <sid>hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("TooLong", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("Underlined", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("Visual", "", s:gui02, "", s:cterm02, "", "")
call <sid>hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("WildMenu", s:gui08, s:gui0A, s:cterm08, "", "", "")
call <sid>hi("Title", s:gui0D, "", s:cterm0D, "", "none", "")
call <sid>hi("Conceal", s:gui0D, s:gui00, s:cterm0D, s:cterm00, "", "")
call <sid>hi("Cursor", s:gui00, s:gui05, s:cterm00, s:cterm05, "", "")
call <sid>hi("NonText", s:gui00, "", s:cterm00, "", "", "")
call <sid>hi("LineNr", s:gui02, s:gui00, s:cterm03, s:cterm01, "", "")
call <sid>hi("SignColumn", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "")
call <sid>hi("StatusLine", s:gui04, s:gui02, s:cterm04, s:cterm02, "none", "")
call <sid>hi("StatusLineNC", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "")
call <sid>hi("VertSplit", s:gui02, s:gui02, s:cterm02, s:cterm02, "none", "")
call <sid>hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "")
call <sid>hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("PMenu", s:gui05, s:gui01, s:cterm05, s:cterm01, "none", "")
call <sid>hi("PMenuSel", s:gui01, s:gui05, s:cterm01, s:cterm05, "", "")
call <sid>hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "")
call <sid>hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "")
call <sid>hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "")
" Standard syntax highlighting
call <sid>hi("Boolean", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("Character", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("Comment", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("Conditional", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("Constant", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("Define", s:gui0E, "", s:cterm0E, "", "none", "")
call <sid>hi("Delimiter", s:gui0F, "", s:cterm0F, "", "", "")
call <sid>hi("Float", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("Function", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("Identifier", s:gui08, "", s:cterm08, "", "none", "")
call <sid>hi("Include", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("Keyword", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("Label", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("Number", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("Operator", s:gui05, "", s:cterm05, "", "none", "")
call <sid>hi("PreProc", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("Repeat", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("Special", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("SpecialChar", s:gui0F, "", s:cterm0F, "", "", "")
call <sid>hi("Statement", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("StorageClass", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("String", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("Structure", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("Tag", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("Todo", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "")
call <sid>hi("Type", s:gui0A, "", s:cterm0A, "", "none", "")
call <sid>hi("Typedef", s:gui0A, "", s:cterm0A, "", "", "")
" C highlighting
call <sid>hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "")
" C# highlighting
call <sid>hi("csClass", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("csType", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("csNewDecleration", s:gui08, "", s:cterm08, "", "", "")
" CSS highlighting
call <sid>hi("cssBraces", s:gui05, "", s:cterm05, "", "", "")
call <sid>hi("cssClassName", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("cssColor", s:gui0C, "", s:cterm0C, "", "", "")
" Diff highlighting
call <sid>hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "")
call <sid>hi("DiffChange", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "")
call <sid>hi("DiffDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "")
call <sid>hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "")
call <sid>hi("DiffAdded", s:gui0B, s:gui00, s:cterm0B, s:cterm00, "", "")
call <sid>hi("DiffFile", s:gui08, s:gui00, s:cterm08, s:cterm00, "", "")
call <sid>hi("DiffNewFile", s:gui0B, s:gui00, s:cterm0B, s:cterm00, "", "")
call <sid>hi("DiffLine", s:gui0D, s:gui00, s:cterm0D, s:cterm00, "", "")
call <sid>hi("DiffRemoved", s:gui08, s:gui00, s:cterm08, s:cterm00, "", "")
" Git highlighting
call <sid>hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "")
call <sid>hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "")
call <sid>hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "")
call <sid>hi("gitcommitSelectedFile", s:gui0B, "", s:cterm0B, "", "bold", "")
" GitGutter highlighting
call <sid>hi("GitGutterAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "")
call <sid>hi("GitGutterChange", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "")
call <sid>hi("GitGutterDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "")
call <sid>hi("GitGutterChangeDelete", s:gui0E, s:gui01, s:cterm0E, s:cterm01, "", "")
" HTML highlighting
call <sid>hi("htmlBold", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("htmlItalic", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("htmlEndTag", s:gui05, "", s:cterm05, "", "", "")
call <sid>hi("htmlTag", s:gui05, "", s:cterm05, "", "", "")
" JavaScript highlighting
call <sid>hi("javaScript", s:gui05, "", s:cterm05, "", "", "")
call <sid>hi("javaScriptBraces", s:gui05, "", s:cterm05, "", "", "")
call <sid>hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "")
" pangloss/vim-javascript highlighting
call <sid>hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsThis", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "")
" Mail highlighting
call <sid>hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "")
" Markdown highlighting
call <sid>hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("markdownError", s:gui05, s:gui00, s:cterm05, s:cterm00, "", "")
call <sid>hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "")
" NERDTree highlighting
call <sid>hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("NERDTreeExecFile", s:gui05, "", s:cterm05, "", "", "")
" PHP highlighting
call <sid>hi("phpMemberSelector", s:gui05, "", s:cterm05, "", "", "")
call <sid>hi("phpComparison", s:gui05, "", s:cterm05, "", "", "")
call <sid>hi("phpParent", s:gui05, "", s:cterm05, "", "", "")
call <sid>hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "")
" Python highlighting
call <sid>hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("pythonStatement", s:gui0E, "", s:cterm0E, "", "", "")
" Ruby highlighting
call <sid>hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "")
call <sid>hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "")
" SASS highlighting
call <sid>hi("sassidChar", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "")
" Signify highlighting
call <sid>hi("SignifySignAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "")
call <sid>hi("SignifySignChange", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "")
call <sid>hi("SignifySignDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "")
" Spelling highlighting
call <sid>hi("SpellBad", "", "", "", "", "undercurl", s:gui08)
call <sid>hi("SpellLocal", "", "", "", "", "undercurl", s:gui0C)
call <sid>hi("SpellCap", "", "", "", "", "undercurl", s:gui0D)
call <sid>hi("SpellRare", "", "", "", "", "undercurl", s:gui0E)
" Startify highlighting
call <sid>hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "")
call <sid>hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "")
" Java highlighting
call <sid>hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "")
" Remove functions
delf <sid>hi
" Remove color variables
unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F
unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F

View File

@@ -0,0 +1,420 @@
" -----------------------------------------------------------------------------
" Name: Mountaineer Light
" Description: A Darn and Adventurous Vim Colorscheme
" Author: nuaNce <r3yan.chaudhry@zohomail.com>
" Website: https://github.com/co1ncidence/mountaineer.vim
" License: BSD 3-Clause License
" -----------------------------------------------------------------------------
"
" GUI color definitions
let s:gui00 = "f0f0f0"
let g:base16_gui00 = "f0f0f0"
let s:gui01 = "e7e7e7"
let g:base16_gui01 = "e7e7e7"
let s:gui02 = "d9d9d9"
let g:base16_gui02 = "d9d9d9"
let s:gui03 = "c3c3c3"
let g:base16_gui03 = "c3c3c3"
let s:gui04 = "a2a2a2"
let g:base16_gui04 = "a2a2a2"
let s:gui05 = "545454"
let g:base16_gui05 = "545454"
let s:gui06 = "4c4c4c"
let g:base16_gui06 = "4c4c4c"
let s:gui07 = "363636"
let g:base16_gui07 = "363636"
" red
let s:gui08 = "786162"
let g:base16_gui08 = "786162"
" orange
let s:gui09 = "786162"
let g:base16_gui09 = "786162"
" yellow
let s:gui0A = "787661"
let g:base16_gui0A = "787661"
" green
let s:gui0B = "617878"
let g:base16_gui0B = "617878"
" cyan
let s:gui0C = "617878"
let g:base16_gui0C = "617878"
" blue
let s:gui0D = "646178"
let g:base16_gui0D = "646178"
" magenta
let s:gui0E = "786178"
let g:base16_gui0E = "786178"
" dark red
let s:gui0F = "786162"
let g:base16_gui0F = "786162"
" Terminal color definitions
let s:cterm00 = "00"
let g:base16_cterm00 = "00"
let s:cterm03 = "08"
let g:base16_cterm03 = "08"
let s:cterm05 = "07"
let g:base16_cterm05 = "07"
let s:cterm07 = "15"
let g:base16_cterm07 = "15"
let s:cterm08 = "01"
let g:base16_cterm08 = "01"
let s:cterm0A = "03"
let g:base16_cterm0A = "03"
let s:cterm0B = "02"
let g:base16_cterm0B = "02"
let s:cterm0C = "06"
let g:base16_cterm0C = "06"
let s:cterm0D = "04"
let g:base16_cterm0D = "04"
let s:cterm0E = "05"
let g:base16_cterm0E = "05"
if exists("base16colorspace") && base16colorspace == "256"
let s:cterm01 = "18"
let g:base16_cterm01 = "18"
let s:cterm02 = "19"
let g:base16_cterm02 = "19"
let s:cterm04 = "20"
let g:base16_cterm04 = "20"
let s:cterm06 = "21"
let g:base16_cterm06 = "21"
let s:cterm09 = "16"
let g:base16_cterm09 = "16"
let s:cterm0F = "17"
let g:base16_cterm0F = "17"
else
let s:cterm01 = "10"
let g:base16_cterm01 = "10"
let s:cterm02 = "11"
let g:base16_cterm02 = "11"
let s:cterm04 = "12"
let g:base16_cterm04 = "12"
let s:cterm06 = "13"
let g:base16_cterm06 = "13"
let s:cterm09 = "09"
let g:base16_cterm09 = "09"
let s:cterm0F = "14"
let g:base16_cterm0F = "14"
endif
" Neovim terminal colours
if has("nvim")
let g:terminal_color_0 = "#363636"
let g:terminal_color_1 = "#786162"
let g:terminal_color_2 = "#617878"
let g:terminal_color_3 = "#787661"
let g:terminal_color_4 = "#646178"
let g:terminal_color_5 = "#786178"
let g:terminal_color_6 = "#617878"
let g:terminal_color_7 = "#e7e7e7"
let g:terminal_color_8 = "#676767"
let g:terminal_color_9 = "#786162"
let g:terminal_color_10 = "#617878"
let g:terminal_color_11 = "#787661"
let g:terminal_color_12 = "#646178"
let g:terminal_color_13 = "#786178"
let g:terminal_color_14 = "#617878"
let g:terminal_color_15 = "#f0f0f0"
let g:terminal_color_background = g:terminal_color_0
let g:terminal_color_foreground = g:terminal_color_5
if &background == "light"
let g:terminal_color_background = g:terminal_color_7
let g:terminal_color_foreground = g:terminal_color_2
endif
elseif has("terminal")
let g:terminal_ansi_colors = [
\ "#363636",
\ "#786162",
\ "#617878",
\ "#787661",
\ "#646178",
\ "#786178",
\ "#617878",
\ "#e7e7e7",
\ "#676767",
\ "#786162",
\ "#617878",
\ "#787661",
\ "#646178",
\ "#786178",
\ "#617878",
\ "#f0f0f0",
\ ]
endif
" Theme setup
hi clear
syntax reset
let g:colors_name = "mountaineer-light"
" Highlighting function
" Optional variables are attributes and guisp
function! g:Base16hi(group, guifg, guibg, ctermfg, ctermbg, ...)
let l:attr = get(a:, 1, "")
let l:guisp = get(a:, 2, "")
if a:guifg != ""
exec "hi " . a:group . " guifg=#" . a:guifg
endif
if a:guibg != ""
exec "hi " . a:group . " guibg=#" . a:guibg
endif
if a:ctermfg != ""
exec "hi " . a:group . " ctermfg=" . a:ctermfg
endif
if a:ctermbg != ""
exec "hi " . a:group . " ctermbg=" . a:ctermbg
endif
if l:attr != ""
exec "hi " . a:group . " gui=" . l:attr . " cterm=" . l:attr
endif
if l:guisp != ""
exec "hi " . a:group . " guisp=#" . l:guisp
endif
endfunction
fun <sid>hi(group, guifg, guibg, ctermfg, ctermbg, attr, guisp)
call g:Base16hi(a:group, a:guifg, a:guibg, a:ctermfg, a:ctermbg, a:attr, a:guisp)
endfun
" Vim editor colors
call <sid>hi("Normal", s:gui05, s:gui00, s:cterm05, s:cterm00, "", "")
call <sid>hi("Bold", "", "", "", "", "bold", "")
call <sid>hi("Debug", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("Directory", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("Error", s:gui00, s:gui08, s:cterm00, s:cterm08, "", "")
call <sid>hi("ErrorMsg", s:gui08, s:gui00, s:cterm08, s:cterm00, "", "")
call <sid>hi("Exception", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("FoldColumn", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "")
call <sid>hi("Folded", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "")
call <sid>hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "")
call <sid>hi("Italic", "", "", "", "", "none", "")
call <sid>hi("Macro", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("MatchParen", "", s:gui03, "", s:cterm03, "", "")
call <sid>hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("Question", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "")
call <sid>hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "")
call <sid>hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("TooLong", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("Underlined", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("Visual", "", s:gui02, "", s:cterm02, "", "")
call <sid>hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("WildMenu", s:gui08, s:gui0A, s:cterm08, "", "", "")
call <sid>hi("Title", s:gui0D, "", s:cterm0D, "", "none", "")
call <sid>hi("Conceal", s:gui0D, s:gui00, s:cterm0D, s:cterm00, "", "")
call <sid>hi("Cursor", s:gui00, s:gui05, s:cterm00, s:cterm05, "", "")
call <sid>hi("NonText", s:gui00, "", s:cterm00, "", "", "")
call <sid>hi("LineNr", s:gui02, s:gui00, s:cterm03, s:cterm01, "", "")
call <sid>hi("SignColumn", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "")
call <sid>hi("StatusLine", s:gui04, s:gui02, s:cterm04, s:cterm02, "none", "")
call <sid>hi("StatusLineNC", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "")
call <sid>hi("VertSplit", s:gui02, s:gui02, s:cterm02, s:cterm02, "none", "")
call <sid>hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "")
call <sid>hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("PMenu", s:gui05, s:gui01, s:cterm05, s:cterm01, "none", "")
call <sid>hi("PMenuSel", s:gui01, s:gui05, s:cterm01, s:cterm05, "", "")
call <sid>hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "")
call <sid>hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "")
call <sid>hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "")
" Standard syntax highlighting
call <sid>hi("Boolean", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("Character", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("Comment", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("Conditional", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("Constant", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("Define", s:gui0E, "", s:cterm0E, "", "none", "")
call <sid>hi("Delimiter", s:gui0F, "", s:cterm0F, "", "", "")
call <sid>hi("Float", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("Function", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("Identifier", s:gui08, "", s:cterm08, "", "none", "")
call <sid>hi("Include", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("Keyword", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("Label", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("Number", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("Operator", s:gui05, "", s:cterm05, "", "none", "")
call <sid>hi("PreProc", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("Repeat", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("Special", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("SpecialChar", s:gui0F, "", s:cterm0F, "", "", "")
call <sid>hi("Statement", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("StorageClass", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("String", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("Structure", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("Tag", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("Todo", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "")
call <sid>hi("Type", s:gui0A, "", s:cterm0A, "", "none", "")
call <sid>hi("Typedef", s:gui0A, "", s:cterm0A, "", "", "")
" C highlighting
call <sid>hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "")
" C# highlighting
call <sid>hi("csClass", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("csType", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("csNewDecleration", s:gui08, "", s:cterm08, "", "", "")
" CSS highlighting
call <sid>hi("cssBraces", s:gui05, "", s:cterm05, "", "", "")
call <sid>hi("cssClassName", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("cssColor", s:gui0C, "", s:cterm0C, "", "", "")
" Diff highlighting
call <sid>hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "")
call <sid>hi("DiffChange", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "")
call <sid>hi("DiffDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "")
call <sid>hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "")
call <sid>hi("DiffAdded", s:gui0B, s:gui00, s:cterm0B, s:cterm00, "", "")
call <sid>hi("DiffFile", s:gui08, s:gui00, s:cterm08, s:cterm00, "", "")
call <sid>hi("DiffNewFile", s:gui0B, s:gui00, s:cterm0B, s:cterm00, "", "")
call <sid>hi("DiffLine", s:gui0D, s:gui00, s:cterm0D, s:cterm00, "", "")
call <sid>hi("DiffRemoved", s:gui08, s:gui00, s:cterm08, s:cterm00, "", "")
" Git highlighting
call <sid>hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "")
call <sid>hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "")
call <sid>hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "")
call <sid>hi("gitcommitSelectedFile", s:gui0B, "", s:cterm0B, "", "bold", "")
" GitGutter highlighting
call <sid>hi("GitGutterAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "")
call <sid>hi("GitGutterChange", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "")
call <sid>hi("GitGutterDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "")
call <sid>hi("GitGutterChangeDelete", s:gui0E, s:gui01, s:cterm0E, s:cterm01, "", "")
" HTML highlighting
call <sid>hi("htmlBold", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("htmlItalic", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("htmlEndTag", s:gui05, "", s:cterm05, "", "", "")
call <sid>hi("htmlTag", s:gui05, "", s:cterm05, "", "", "")
" JavaScript highlighting
call <sid>hi("javaScript", s:gui05, "", s:cterm05, "", "", "")
call <sid>hi("javaScriptBraces", s:gui05, "", s:cterm05, "", "", "")
call <sid>hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "")
" pangloss/vim-javascript highlighting
call <sid>hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsThis", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "")
" Mail highlighting
call <sid>hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "")
" Markdown highlighting
call <sid>hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("markdownError", s:gui05, s:gui00, s:cterm05, s:cterm00, "", "")
call <sid>hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "")
" NERDTree highlighting
call <sid>hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("NERDTreeExecFile", s:gui05, "", s:cterm05, "", "", "")
" PHP highlighting
call <sid>hi("phpMemberSelector", s:gui05, "", s:cterm05, "", "", "")
call <sid>hi("phpComparison", s:gui05, "", s:cterm05, "", "", "")
call <sid>hi("phpParent", s:gui05, "", s:cterm05, "", "", "")
call <sid>hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "")
" Python highlighting
call <sid>hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("pythonStatement", s:gui0E, "", s:cterm0E, "", "", "")
" Ruby highlighting
call <sid>hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "")
call <sid>hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "")
" SASS highlighting
call <sid>hi("sassidChar", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "")
" Signify highlighting
call <sid>hi("SignifySignAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "")
call <sid>hi("SignifySignChange", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "")
call <sid>hi("SignifySignDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "")
" Spelling highlighting
call <sid>hi("SpellBad", "", "", "", "", "undercurl", s:gui08)
call <sid>hi("SpellLocal", "", "", "", "", "undercurl", s:gui0C)
call <sid>hi("SpellCap", "", "", "", "", "undercurl", s:gui0D)
call <sid>hi("SpellRare", "", "", "", "", "undercurl", s:gui0E)
" Startify highlighting
call <sid>hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "")
call <sid>hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "")
" Java highlighting
call <sid>hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "")
" Remove functions
delf <sid>hi
" Remove color variables
unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F
unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F

View File

@@ -0,0 +1,420 @@
" -----------------------------------------------------------------------------
" Name: Mountaineer
" Description: A Darn and Adventurous Vim Colorscheme
" Author: nuaNce <r3yan.chaudhry@zohomail.com>
" Website: https://github.com/co1ncidence/mountaineer.vim
" License: BSD 3-Clause License
" -----------------------------------------------------------------------------
"
" GUI color definitions
let s:gui00 = "050505"
let g:base16_gui00 = "050505"
let s:gui01 = "0f0f0f"
let g:base16_gui01 = "0f0f0f"
let s:gui02 = "191919"
let g:base16_gui02 = "191919"
let s:gui03 = "4c4c4c"
let g:base16_gui03 = "4c4c4c"
let s:gui04 = "ac8a8c"
let g:base16_gui04 = "ac8a8c"
let s:gui05 = "f0f0f0"
let g:base16_gui05 = "f0f0f0"
let s:gui06 = "e7e7e7"
let g:base16_gui06 = "e7e7e7"
let s:gui07 = "f0f0f0"
let g:base16_gui07 = "f0f0f0"
" red
let s:gui08 = "AC8A8C"
let g:base16_gui08 = "AC8A8C"
" orange
let s:gui09 = "AC8A8C"
let g:base16_gui09 = "AC8A8C"
" yellow
let s:gui0A = "ACA98A"
let g:base16_gui0A = "ACA98A"
" green
let s:gui0B = "8AAC8B"
let g:base16_gui0B = "8AAC8B"
" cyan
let s:gui0C = "8AABAC"
let g:base16_gui0C = "8AABAC"
" blue
let s:gui0D = "8F8AAC"
let g:base16_gui0D = "8F8AAC"
" magenta
let s:gui0E = "AC8AAC"
let g:base16_gui0E = "AC8AAC"
" dark red
let s:gui0F = "AC8A8C"
let g:base16_gui0F = "AC8A8C"
" Terminal color definitions
let s:cterm00 = "00"
let g:base16_cterm00 = "00"
let s:cterm03 = "08"
let g:base16_cterm03 = "08"
let s:cterm05 = "07"
let g:base16_cterm05 = "07"
let s:cterm07 = "15"
let g:base16_cterm07 = "15"
let s:cterm08 = "01"
let g:base16_cterm08 = "01"
let s:cterm0A = "03"
let g:base16_cterm0A = "03"
let s:cterm0B = "02"
let g:base16_cterm0B = "02"
let s:cterm0C = "06"
let g:base16_cterm0C = "06"
let s:cterm0D = "04"
let g:base16_cterm0D = "04"
let s:cterm0E = "05"
let g:base16_cterm0E = "05"
if exists("base16colorspace") && base16colorspace == "256"
let s:cterm01 = "18"
let g:base16_cterm01 = "18"
let s:cterm02 = "19"
let g:base16_cterm02 = "19"
let s:cterm04 = "20"
let g:base16_cterm04 = "20"
let s:cterm06 = "21"
let g:base16_cterm06 = "21"
let s:cterm09 = "16"
let g:base16_cterm09 = "16"
let s:cterm0F = "17"
let g:base16_cterm0F = "17"
else
let s:cterm01 = "10"
let g:base16_cterm01 = "10"
let s:cterm02 = "11"
let g:base16_cterm02 = "11"
let s:cterm04 = "12"
let g:base16_cterm04 = "12"
let s:cterm06 = "13"
let g:base16_cterm06 = "13"
let s:cterm09 = "09"
let g:base16_cterm09 = "09"
let s:cterm0F = "14"
let g:base16_cterm0F = "14"
endif
" Neovim terminal colours
if has("nvim")
let g:terminal_color_0 = "#050505"
let g:terminal_color_1 = "#AC8A8C"
let g:terminal_color_2 = "#8AAC8B"
let g:terminal_color_3 = "#ACA98A"
let g:terminal_color_4 = "#8F8AAC"
let g:terminal_color_5 = "#AC8AAC"
let g:terminal_color_6 = "#8AABAC"
let g:terminal_color_7 = "#e7e7e7"
let g:terminal_color_8 = "#676767"
let g:terminal_color_9 = "#AC8A8C"
let g:terminal_color_10 = "#8AAC8B"
let g:terminal_color_11 = "#ACA98A"
let g:terminal_color_12 = "#8F8AAC"
let g:terminal_color_13 = "#AC8AAC"
let g:terminal_color_14 = "#8AABAC"
let g:terminal_color_15 = "#f0f0f0"
let g:terminal_color_background = g:terminal_color_0
let g:terminal_color_foreground = g:terminal_color_5
if &background == "light"
let g:terminal_color_background = g:terminal_color_7
let g:terminal_color_foreground = g:terminal_color_2
endif
elseif has("terminal")
let g:terminal_ansi_colors = [
\ "#050505",
\ "#AC8A8C",
\ "#8AAC8B",
\ "#ACA98A",
\ "#8F8AAC",
\ "#AC8AAC",
\ "#8AABAC",
\ "#e7e7e7",
\ "#676767",
\ "#AC8A8C",
\ "#8AAC8B",
\ "#ACA98A",
\ "#8F8AAC",
\ "#AC8AAC",
\ "#8AABAC",
\ "#f0f0f0",
\ ]
endif
" Theme setup
hi clear
syntax reset
let g:colors_name = "mountaineer"
" Highlighting function
" Optional variables are attributes and guisp
function! g:Base16hi(group, guifg, guibg, ctermfg, ctermbg, ...)
let l:attr = get(a:, 1, "")
let l:guisp = get(a:, 2, "")
if a:guifg != ""
exec "hi " . a:group . " guifg=#" . a:guifg
endif
if a:guibg != ""
exec "hi " . a:group . " guibg=#" . a:guibg
endif
if a:ctermfg != ""
exec "hi " . a:group . " ctermfg=" . a:ctermfg
endif
if a:ctermbg != ""
exec "hi " . a:group . " ctermbg=" . a:ctermbg
endif
if l:attr != ""
exec "hi " . a:group . " gui=" . l:attr . " cterm=" . l:attr
endif
if l:guisp != ""
exec "hi " . a:group . " guisp=#" . l:guisp
endif
endfunction
fun <sid>hi(group, guifg, guibg, ctermfg, ctermbg, attr, guisp)
call g:Base16hi(a:group, a:guifg, a:guibg, a:ctermfg, a:ctermbg, a:attr, a:guisp)
endfun
" Vim editor colors
call <sid>hi("Normal", s:gui05, s:gui00, s:cterm05, s:cterm00, "", "")
call <sid>hi("Bold", "", "", "", "", "bold", "")
call <sid>hi("Debug", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("Directory", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("Error", s:gui00, s:gui08, s:cterm00, s:cterm08, "", "")
call <sid>hi("ErrorMsg", s:gui08, s:gui00, s:cterm08, s:cterm00, "", "")
call <sid>hi("Exception", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("FoldColumn", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "")
call <sid>hi("Folded", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "")
call <sid>hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "")
call <sid>hi("Italic", "", "", "", "", "none", "")
call <sid>hi("Macro", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("MatchParen", "", s:gui03, "", s:cterm03, "", "")
call <sid>hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("Question", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "")
call <sid>hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "")
call <sid>hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("TooLong", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("Underlined", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("Visual", "", s:gui02, "", s:cterm02, "", "")
call <sid>hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("WildMenu", s:gui08, s:gui0A, s:cterm08, "", "", "")
call <sid>hi("Title", s:gui0D, "", s:cterm0D, "", "none", "")
call <sid>hi("Conceal", s:gui0D, s:gui00, s:cterm0D, s:cterm00, "", "")
call <sid>hi("Cursor", s:gui00, s:gui05, s:cterm00, s:cterm05, "", "")
call <sid>hi("NonText", s:gui00, "", s:cterm00, "", "", "")
call <sid>hi("LineNr", s:gui02, s:gui00, s:cterm03, s:cterm01, "", "")
call <sid>hi("SignColumn", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "")
call <sid>hi("StatusLine", s:gui04, s:gui02, s:cterm04, s:cterm02, "none", "")
call <sid>hi("StatusLineNC", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "")
call <sid>hi("VertSplit", s:gui02, s:gui02, s:cterm02, s:cterm02, "none", "")
call <sid>hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("CursorLineNr", s:gui04, s:gui00, s:cterm04, s:cterm01, "", "")
call <sid>hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("PMenu", s:gui05, s:gui01, s:cterm05, s:cterm01, "none", "")
call <sid>hi("PMenuSel", s:gui01, s:gui05, s:cterm01, s:cterm05, "", "")
call <sid>hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "")
call <sid>hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "")
call <sid>hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "")
" Standard syntax highlighting
call <sid>hi("Boolean", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("Character", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("Comment", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("Conditional", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("Constant", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("Define", s:gui0E, "", s:cterm0E, "", "none", "")
call <sid>hi("Delimiter", s:gui0F, "", s:cterm0F, "", "", "")
call <sid>hi("Float", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("Function", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("Identifier", s:gui08, "", s:cterm08, "", "none", "")
call <sid>hi("Include", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("Keyword", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("Label", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("Number", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("Operator", s:gui05, "", s:cterm05, "", "none", "")
call <sid>hi("PreProc", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("Repeat", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("Special", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("SpecialChar", s:gui0F, "", s:cterm0F, "", "", "")
call <sid>hi("Statement", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("StorageClass", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("String", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("Structure", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("Tag", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("Todo", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "")
call <sid>hi("Type", s:gui0A, "", s:cterm0A, "", "none", "")
call <sid>hi("Typedef", s:gui0A, "", s:cterm0A, "", "", "")
" C highlighting
call <sid>hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "")
" C# highlighting
call <sid>hi("csClass", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("csType", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("csNewDecleration", s:gui08, "", s:cterm08, "", "", "")
" CSS highlighting
call <sid>hi("cssBraces", s:gui05, "", s:cterm05, "", "", "")
call <sid>hi("cssClassName", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("cssColor", s:gui0C, "", s:cterm0C, "", "", "")
" Diff highlighting
call <sid>hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "")
call <sid>hi("DiffChange", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "")
call <sid>hi("DiffDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "")
call <sid>hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "")
call <sid>hi("DiffAdded", s:gui0B, s:gui00, s:cterm0B, s:cterm00, "", "")
call <sid>hi("DiffFile", s:gui08, s:gui00, s:cterm08, s:cterm00, "", "")
call <sid>hi("DiffNewFile", s:gui0B, s:gui00, s:cterm0B, s:cterm00, "", "")
call <sid>hi("DiffLine", s:gui0D, s:gui00, s:cterm0D, s:cterm00, "", "")
call <sid>hi("DiffRemoved", s:gui08, s:gui00, s:cterm08, s:cterm00, "", "")
" Git highlighting
call <sid>hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "")
call <sid>hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "")
call <sid>hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "")
call <sid>hi("gitcommitSelectedFile", s:gui0B, "", s:cterm0B, "", "bold", "")
" GitGutter highlighting
call <sid>hi("GitGutterAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "")
call <sid>hi("GitGutterChange", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "")
call <sid>hi("GitGutterDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "")
call <sid>hi("GitGutterChangeDelete", s:gui0E, s:gui01, s:cterm0E, s:cterm01, "", "")
" HTML highlighting
call <sid>hi("htmlBold", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("htmlItalic", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("htmlEndTag", s:gui05, "", s:cterm05, "", "", "")
call <sid>hi("htmlTag", s:gui05, "", s:cterm05, "", "", "")
" JavaScript highlighting
call <sid>hi("javaScript", s:gui05, "", s:cterm05, "", "", "")
call <sid>hi("javaScriptBraces", s:gui05, "", s:cterm05, "", "", "")
call <sid>hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "")
" pangloss/vim-javascript highlighting
call <sid>hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsThis", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "")
" Mail highlighting
call <sid>hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "")
" Markdown highlighting
call <sid>hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("markdownError", s:gui05, s:gui00, s:cterm05, s:cterm00, "", "")
call <sid>hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "")
" NERDTree highlighting
call <sid>hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("NERDTreeExecFile", s:gui05, "", s:cterm05, "", "", "")
" PHP highlighting
call <sid>hi("phpMemberSelector", s:gui05, "", s:cterm05, "", "", "")
call <sid>hi("phpComparison", s:gui05, "", s:cterm05, "", "", "")
call <sid>hi("phpParent", s:gui05, "", s:cterm05, "", "", "")
call <sid>hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "")
" Python highlighting
call <sid>hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("pythonStatement", s:gui0E, "", s:cterm0E, "", "", "")
" Ruby highlighting
call <sid>hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "")
call <sid>hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "")
" SASS highlighting
call <sid>hi("sassidChar", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "")
" Signify highlighting
call <sid>hi("SignifySignAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "")
call <sid>hi("SignifySignChange", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "")
call <sid>hi("SignifySignDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "")
" Spelling highlighting
call <sid>hi("SpellBad", "", "", "", "", "undercurl", s:gui08)
call <sid>hi("SpellLocal", "", "", "", "", "undercurl", s:gui0C)
call <sid>hi("SpellCap", "", "", "", "", "undercurl", s:gui0D)
call <sid>hi("SpellRare", "", "", "", "", "undercurl", s:gui0E)
" Startify highlighting
call <sid>hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "")
call <sid>hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "")
" Java highlighting
call <sid>hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "")
" Remove functions
delf <sid>hi
" Remove color variables
unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F
unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F

Some files were not shown because too many files have changed in this diff Show More