first round of dots

This commit is contained in:
Diego Fernando Carrion 2020-11-10 18:00:25 +01:00
parent 8d5fd2e0bd
commit 8fe92a7d08
25 changed files with 4904 additions and 0 deletions

5
bash/.bash_aliases Normal file
View File

@ -0,0 +1,5 @@
alias fixnasperms="sudo bash -c 'find . -type d -exec chmod 775 {} \\; && find . -type f -exec chmod 664 {} \\; && chown -R 2000:2000 .'"
# alias wordgrinder="gnome-terminal --profile=wordgrinder -t wordgrinder --full-screen -- wordgrinder"
alias wordgrinder="kitty -c ~/.wordgrinder/kitty.conf --session ~/.wordgrinder/kitty.session --start-as=fullscreen"
alias vim=nvim
alias ssh="TERM=xterm ssh"

7
bash/.bash_logout Normal file
View File

@ -0,0 +1,7 @@
# ~/.bash_logout: executed by bash(1) when login shell exits.
# when leaving the console clear the screen to increase privacy
if [ "$SHLVL" = 1 ]; then
[ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q
fi

51
bash/.bashrc Normal file
View File

@ -0,0 +1,51 @@
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
#### Sanity Check ####
#######################
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
#### Shell Options ####
########################
# don't put duplicate lines or lines starting with space in the history.
# See bash(1) for more options
HISTCONTROL=ignoreboth
# append to the history file, don't overwrite it
shopt -s histappend
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=4096
HISTFILESIZE=4096
# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize
#### Includes ####
##################
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
if [ -f ~/.bash_functions ]; then
. ~/.bash_functions
fi
# Machine Specific Configs
if [ -f ~/.bashrc.local ]; then
. ~/.bashrc.local
fi

48
bash/.profile Normal file
View File

@ -0,0 +1,48 @@
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ]; then
PATH="$HOME/bin:$PATH"
fi
if [ -d "$HOME/.pyenv" ]; then
export PYENV_ROOT="$HOME/.pyenv"
PATH="$PYENV_ROOT/bin:$PATH"
if command -v pyenv 1>/dev/null 2>&1; then
eval "$(pyenv init -)"
fi
# eval "$(pyenv virtualenv-init -)"
fi
export WORKON_HOME=~/devel/venvs
export GOPATH=$HOME/devel/go
if [ -d /usr/local/go/bin ]
then
export PATH=/usr/local/go/bin:$PATH
fi
if [ -d $HOME/.local/bin ]
then
export PATH=$HOME/.local/bin:$PATH
fi
export PATH=$PATH:$(go env GOPATH)/bin
#PATH="/usr/local/opt/python/libexec/bin:$PATH"
export PATH
if [ -f ~/.profile.local ]; then
. ~/.profile.local
fi
# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi

327
i3/.config/i3/config Normal file
View File

@ -0,0 +1,327 @@
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout some time, delete
# this file and re-run i3-config-wizard(1).
#
# i3 config file (v4)
#
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
set $mod Mod4
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
# font pango:monospace 8
font pango:Fira Code Retina 10
# This font is widely installed, provides lots of unicode glyphs, right-to-left
# text rendering and scalability on retina/hidpi displays (thanks to pango).
#font pango:DejaVu Sans Mono 8
# The combination of xss-lock, nm-applet and pactl is a popular choice, so
# they are included here as an example. Modify as you see fit.
# xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
# screen before suspend. Use loginctl lock-session to lock your screen.
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
# NetworkManager is the most popular way to manage wireless networks on Linux,
# and nm-applet is a desktop environment-independent system tray GUI for it.
exec --no-startup-id nm-applet
# Use pactl to adjust volume in PulseAudio.
set $refresh_i3status killall -SIGUSR1 i3status
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
# start a terminal
bindsym $mod+Return exec kitty
# kill focused window
bindsym $mod+Shift+q kill
# start dmenu (a program launcher)
# bindsym $mod+d exec dmenu_run
# There also is the (new) i3-dmenu-desktop which only displays applications
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
# installed.
bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
# change focus
bindsym $mod+h focus left
bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l focus right
# alternatively, you can use the cursor keys:
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
# move focused window
bindsym $mod+Shift+h move left
bindsym $mod+Shift+j move down
bindsym $mod+Shift+k move up
bindsym $mod+Shift+l move right
# alternatively, you can use the cursor keys:
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
# split in horizontal orientation
bindsym $mod+- split h
# split in vertical orientation
bindsym $mod+\ split v
# enter fullscreen mode for the focused container
bindsym $mod+f fullscreen toggle
# change container layout (stacked, tabbed, toggle split)
bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split
# toggle tiling / floating
bindsym $mod+Shift+space floating toggle
# change focus between tiling / floating windows
bindsym $mod+space focus mode_toggle
# focus the parent container
bindsym $mod+a focus parent
# focus the child container
#bindsym $mod+d focus child
# Define names for default workspaces for which we configure key bindings later on.
# We use variables to avoid repeating the names in multiple places.
set $ws1 "1"
set $ws2 "2"
set $ws3 "3"
set $ws4 "4"
set $ws5 "5"
set $ws6 "6"
set $ws7 "7"
set $ws8 "8"
set $ws9 "9"
set $ws10 "10"
# switch to workspace
bindsym $mod+1 workspace number $ws1
bindsym $mod+2 workspace number $ws2
bindsym $mod+3 workspace number $ws3
bindsym $mod+4 workspace number $ws4
bindsym $mod+5 workspace number $ws5
bindsym $mod+6 workspace number $ws6
bindsym $mod+7 workspace number $ws7
bindsym $mod+8 workspace number $ws8
bindsym $mod+9 workspace number $ws9
bindsym $mod+0 workspace number $ws10
# move focused container to workspace
bindsym $mod+Shift+1 move container to workspace number $ws1
bindsym $mod+Shift+2 move container to workspace number $ws2
bindsym $mod+Shift+3 move container to workspace number $ws3
bindsym $mod+Shift+4 move container to workspace number $ws4
bindsym $mod+Shift+5 move container to workspace number $ws5
bindsym $mod+Shift+6 move container to workspace number $ws6
bindsym $mod+Shift+7 move container to workspace number $ws7
bindsym $mod+Shift+8 move container to workspace number $ws8
bindsym $mod+Shift+9 move container to workspace number $ws9
bindsym $mod+Shift+0 move container to workspace number $ws10
# reload the configuration file
bindsym $mod+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+Shift+r restart
# exit i3 (logs you out of your X session)
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"
# resize window (you can also use the mouse for that)
mode "resize" {
# These bindings trigger as soon as you enter the resize mode
# Pressing left will shrink the windows width.
# Pressing right will grow the windows width.
# Pressing up will shrink the windows height.
# Pressing down will grow the windows height.
bindsym j resize shrink width 10 px or 10 ppt
bindsym k resize grow height 10 px or 10 ppt
bindsym l resize shrink height 10 px or 10 ppt
bindsym semicolon resize grow width 10 px or 10 ppt
# same bindings, but for the arrow keys
bindsym Left resize shrink width 10 px or 10 ppt
bindsym Down resize grow height 10 px or 10 ppt
bindsym Up resize shrink height 10 px or 10 ppt
bindsym Right resize grow width 10 px or 10 ppt
# back to normal: Enter or Escape or $mod+r
bindsym Return mode "default"
bindsym Escape mode "default"
bindsym $mod+r mode "default"
}
bindsym $mod+r mode "resize"
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
status_command i3status
position top
}
# My Stuff
for_window [class="kitty"] border none
for_window [class="Mailspring"] border none
for_window [class="Spotify"] border none
for_window [class="[Dd]iscord.*"] border none
exec --no-startup-id feh --bg-scale ~/Pictures/Wallpapers/linux70s.png
exec --no-startup-id xcompmgr -c -f -n
bindsym --release Print exec scrot
bindsym --release Shift+Print exec scrot -s
bindsym $mod+Mod1+l exec i3lock-fancy
bindsym $mod+Tab workspace next
bindsym $mod+Shift+Tab workspace prev
bindsym Mod1+Tab workspace next
bindsym Mod1+Shift+Tab workspace prev
# GAPS
set $mode_gaps Gaps: (o)uter, (i)nner, (h)orizontal, (v)ertical, (t)op, (r)ight, (b)ottom, (l)eft
set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global)
set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global)
set $mode_gaps_horiz Horizontal Gaps: +|-|0 (local), Shift + +|-|0 (global)
set $mode_gaps_verti Vertical Gaps: +|-|0 (local), Shift + +|-|0 (global)
set $mode_gaps_top Top Gaps: +|-|0 (local), Shift + +|-|0 (global)
set $mode_gaps_right Right Gaps: +|-|0 (local), Shift + +|-|0 (global)
set $mode_gaps_bottom Bottom Gaps: +|-|0 (local), Shift + +|-|0 (global)
set $mode_gaps_left Left Gaps: +|-|0 (local), Shift + +|-|0 (global)
bindsym $mod+Shift+g mode "$mode_gaps"
gaps inner 5
mode "$mode_gaps" {
bindsym o mode "$mode_gaps_outer"
bindsym i mode "$mode_gaps_inner"
bindsym h mode "$mode_gaps_horiz"
bindsym v mode "$mode_gaps_verti"
bindsym t mode "$mode_gaps_top"
bindsym r mode "$mode_gaps_right"
bindsym b mode "$mode_gaps_bottom"
bindsym l mode "$mode_gaps_left"
bindsym Return mode "$mode_gaps"
bindsym Escape mode "default"
}
mode "$mode_gaps_outer" {
bindsym plus gaps outer current plus 5
bindsym minus gaps outer current minus 5
bindsym 0 gaps outer current set 0
bindsym Shift+plus gaps outer all plus 5
bindsym Shift+minus gaps outer all minus 5
bindsym Shift+0 gaps outer all set 0
bindsym Return mode "$mode_gaps"
bindsym Escape mode "default"
}
mode "$mode_gaps_inner" {
bindsym plus gaps inner current plus 5
bindsym minus gaps inner current minus 5
bindsym 0 gaps inner current set 0
bindsym Shift+plus gaps inner all plus 5
bindsym Shift+minus gaps inner all minus 5
bindsym Shift+0 gaps inner all set 0
bindsym Return mode "$mode_gaps"
bindsym Escape mode "default"
}
mode "$mode_gaps_horiz" {
bindsym plus gaps horizontal current plus 5
bindsym minus gaps horizontal current minus 5
bindsym 0 gaps horizontal current set 0
bindsym Shift+plus gaps horizontal all plus 5
bindsym Shift+minus gaps horizontal all minus 5
bindsym Shift+0 gaps horizontal all set 0
bindsym Return mode "$mode_gaps"
bindsym Escape mode "default"
}
mode "$mode_gaps_verti" {
bindsym plus gaps vertical current plus 5
bindsym minus gaps vertical current minus 5
bindsym 0 gaps vertical current set 0
bindsym Shift+plus gaps vertical all plus 5
bindsym Shift+minus gaps vertical all minus 5
bindsym Shift+0 gaps vertical all set 0
bindsym Return mode "$mode_gaps"
bindsym Escape mode "default"
}
mode "$mode_gaps_top" {
bindsym plus gaps top current plus 5
bindsym minus gaps top current minus 5
bindsym 0 gaps top current set 0
bindsym Shift+plus gaps top all plus 5
bindsym Shift+minus gaps top all minus 5
bindsym Shift+0 gaps top all set 0
bindsym Return mode "$mode_gaps"
bindsym Escape mode "default"
}
mode "$mode_gaps_right" {
bindsym plus gaps right current plus 5
bindsym minus gaps right current minus 5
bindsym 0 gaps right current set 0
bindsym Shift+plus gaps right all plus 5
bindsym Shift+minus gaps right all minus 5
bindsym Shift+0 gaps right all set 0
bindsym Return mode "$mode_gaps"
bindsym Escape mode "default"
}
mode "$mode_gaps_bottom" {
bindsym plus gaps bottom current plus 5
bindsym minus gaps bottom current minus 5
bindsym 0 gaps bottom current set 0
bindsym Shift+plus gaps bottom all plus 5
bindsym Shift+minus gaps bottom all minus 5
bindsym Shift+0 gaps bottom all set 0
bindsym Return mode "$mode_gaps"
bindsym Escape mode "default"
}
mode "$mode_gaps_left" {
bindsym plus gaps left current plus 5
bindsym minus gaps left current minus 5
bindsym 0 gaps left current set 0
bindsym Shift+plus gaps left all plus 5
bindsym Shift+minus gaps left all minus 5
bindsym Shift+0 gaps left all set 0
bindsym Return mode "$mode_gaps"
bindsym Escape mode "default"
}

View File

@ -0,0 +1,53 @@
# i3status configuration file.
# see "man i3status" for documentation.
# It is important that this file is edited as UTF-8.
# The following line should contain a sharp s:
# ß
# If the above line is not correctly displayed, fix your editor first!
general {
colors = true
interval = 1
}
#order += "ipv6"
order += "wireless _first_"
order += "ethernet _first_"
order += "battery all"
#order += "disk /"
order += "load"
order += "memory"
order += "tztime local"
wireless _first_ {
format_up = "W: (%quality at %essid) %ip"
format_down = "W: down"
}
ethernet _first_ {
format_up = "E: %ip (%speed)"
format_down = "E: down"
}
battery all {
format = "%status %percentage %remaining"
}
disk "/" {
format = "%avail"
}
load {
format = "%1min"
}
memory {
format = "RAM: %used - %available"
threshold_degraded = "1G"
format_degraded = "MEMORY < %available"
}
tztime local {
format = "%Y-%m-%d %H:%M:%S"
}

1
i3/.i3/config Symbolic link
View File

@ -0,0 +1 @@
../.config/i3/config

1
i3/.i3/i3status.conf Symbolic link
View File

@ -0,0 +1 @@
../.config/i3status/config

View File

@ -0,0 +1,49 @@
font_family Fira Code Retina
disable_ligatures never
# Special Colors {{{
foreground #FCE8C3
background #1C1B19
cursor #FCE8C3
selection_foreground #1C1B19
selection_background #FCE8C3
# }}}
background_opacity 0.95
# Main Colors {{{
# Black
color0 #1C1B19
color8 #2D2C29
# Red
color1 #EF2F27
color9 #F75341
# Green
color2 #519F50
color10 #98BC37
# Yellow
color3 #FBB829
color11 #FED06E
# Blue
color4 #2C78BF
color12 #68A8E4
# Magenta
color5 #E02C6D
color13 #FF5C8F
# Cyan
color6 #0AAEB3
color14 #53FDE9
# White
color7 #918175
color15 #FCE8C3
# }}}

8
stowall.sh Executable file
View File

@ -0,0 +1,8 @@
#/bin/bash
for x in $(ls)
do
if [[ -d $x ]]
then
stow $x
fi
done

1
vim/.config/nvim Symbolic link
View File

@ -0,0 +1 @@
../.vim

2
vim/.vim/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
plugged/*
!plugged/.gitkeep

2687
vim/.vim/autoload/plug.vim Normal file

File diff suppressed because it is too large Load Diff

79
vim/.vim/colors/Czar.vim Normal file
View File

@ -0,0 +1,79 @@
" Vim color file
" Converted from Textmate theme Czar using Coloration v0.4.0 (http://github.com/sickill/coloration)
set background=dark
highlight clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name = "Czar"
hi Cursor ctermfg=234 ctermbg=188 cterm=NONE
hi Visual ctermfg=NONE ctermbg=238 cterm=NONE
hi CursorLine ctermfg=NONE ctermbg=236 cterm=NONE
hi CursorColumn ctermfg=NONE ctermbg=236 cterm=NONE
hi ColorColumn ctermfg=NONE ctermbg=236 cterm=NONE
hi LineNr ctermfg=214 ctermbg=236 cterm=NONE
hi VertSplit ctermfg=240 ctermbg=240 cterm=NONE
hi MatchParen ctermfg=39 ctermbg=NONE cterm=underline
hi StatusLine ctermfg=231 ctermbg=240 cterm=bold
hi StatusLineNC ctermfg=231 ctermbg=240 cterm=NONE
hi Pmenu ctermfg=230 ctermbg=NONE cterm=NONE
hi PmenuSel ctermfg=NONE ctermbg=238 cterm=NONE
hi IncSearch ctermfg=234 ctermbg=196 cterm=NONE
hi Search ctermfg=NONE ctermbg=NONE cterm=underline
hi Directory ctermfg=39 ctermbg=NONE cterm=NONE
hi Folded ctermfg=71 ctermbg=234 cterm=NONE
hi Normal ctermfg=231 ctermbg=234 cterm=NONE
hi Boolean ctermfg=39 ctermbg=NONE cterm=NONE
hi Character ctermfg=39 ctermbg=NONE cterm=NONE
hi Comment ctermfg=71 ctermbg=NONE cterm=NONE
hi Conditional ctermfg=39 ctermbg=NONE cterm=NONE
hi Constant ctermfg=39 ctermbg=NONE cterm=NONE
hi Define ctermfg=39 ctermbg=NONE cterm=NONE
hi DiffAdd ctermfg=231 ctermbg=64 cterm=bold
hi DiffDelete ctermfg=88 ctermbg=NONE cterm=NONE
hi DiffChange ctermfg=231 ctermbg=23 cterm=NONE
hi DiffText ctermfg=231 ctermbg=24 cterm=bold
hi ErrorMsg ctermfg=231 ctermbg=124 cterm=NONE
hi WarningMsg ctermfg=231 ctermbg=124 cterm=NONE
hi Float ctermfg=214 ctermbg=NONE cterm=NONE
hi Function ctermfg=230 ctermbg=NONE cterm=NONE
hi Identifier ctermfg=39 ctermbg=NONE cterm=NONE
hi Keyword ctermfg=39 ctermbg=NONE cterm=NONE
hi Label ctermfg=196 ctermbg=NONE cterm=NONE
hi NonText ctermfg=240 ctermbg=None cterm=NONE
hi Number ctermfg=214 ctermbg=NONE cterm=NONE
hi Operator ctermfg=39 ctermbg=NONE cterm=NONE
hi PreProc ctermfg=39 ctermbg=NONE cterm=NONE
hi Special ctermfg=231 ctermbg=NONE cterm=NONE
hi SpecialKey ctermfg=240 ctermbg=NONE cterm=NONE
hi Statement ctermfg=39 ctermbg=NONE cterm=NONE
hi StorageClass ctermfg=39 ctermbg=NONE cterm=NONE
hi String ctermfg=196 ctermbg=NONE cterm=NONE
hi Tag ctermfg=230 ctermbg=NONE cterm=NONE
hi Title ctermfg=231 ctermbg=NONE cterm=bold
hi Todo ctermfg=71 ctermbg=NONE cterm=inverse,bold
hi Type ctermfg=230 ctermbg=NONE cterm=NONE
hi Underlined ctermfg=NONE ctermbg=NONE cterm=underline
hi htmlTag ctermfg=39 ctermbg=NONE cterm=NONE
hi htmlEndTag ctermfg=39 ctermbg=NONE cterm=NONE
hi htmlTagName ctermfg=39 ctermbg=NONE cterm=NONE
hi htmlArg ctermfg=39 ctermbg=NONE cterm=NONE
hi htmlSpecialChar ctermfg=221 ctermbg=NONE cterm=NONE
hi yamlKey ctermfg=230 ctermbg=NONE cterm=NONE
hi yamlAnchor ctermfg=39 ctermbg=NONE cterm=NONE
hi yamlAlias ctermfg=39 ctermbg=NONE cterm=NONE
hi yamlDocumentHeader ctermfg=196 ctermbg=NONE cterm=NONE
hi cssURL ctermfg=39 ctermbg=NONE cterm=NONE
hi cssFunctionName ctermfg=230 ctermbg=NONE cterm=NONE
hi cssColor ctermfg=39 ctermbg=NONE cterm=NONE
hi cssPseudoClassId ctermfg=230 ctermbg=NONE cterm=NONE
hi cssClassName ctermfg=230 ctermbg=NONE cterm=NONE
hi cssValueLength ctermfg=214 ctermbg=NONE cterm=NONE
hi cssCommonAttr ctermfg=230 ctermbg=NONE cterm=NONE
hi cssBraces ctermfg=NONE ctermbg=NONE cterm=NONE

224
vim/.vim/colors/inkpot.vim Normal file
View File

@ -0,0 +1,224 @@
" Vim color file
" Name: inkpot.vim
" Maintainer: Ciaran McCreesh <ciaran.mccreesh@googlemail.com>
" Homepage: http://github.com/ciaranm/inkpot/
"
" This should work in the GUI, rxvt-unicode (88 colour mode) and xterm (256
" colour mode). It won't work in 8/16 colour terminals.
"
" To use a black background, :let g:inkpot_black_background = 1
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let colors_name = "inkpot"
" map a urxvt cube number to an xterm-256 cube number
fun! <SID>M(a)
return strpart("0135", a:a, 1) + 0
endfun
" map a urxvt colour to an xterm-256 colour
fun! <SID>X(a)
if &t_Co == 88
return a:a
else
if a:a == 8
return 237
elseif a:a < 16
return a:a
elseif a:a > 79
return 232 + (3 * (a:a - 80))
else
let l:b = a:a - 16
let l:x = l:b % 4
let l:y = (l:b / 4) % 4
let l:z = (l:b / 16)
return 16 + <SID>M(l:x) + (6 * <SID>M(l:y)) + (36 * <SID>M(l:z))
endif
endif
endfun
if ! exists("g:inkpot_black_background")
let g:inkpot_black_background = 0
endif
if has("gui_running")
if ! g:inkpot_black_background
hi Normal gui=NONE guifg=#cfbfad guibg=#1e1e27
else
hi Normal gui=NONE guifg=#cfbfad guibg=#000000
endif
hi CursorLine guibg=#2e2e37
hi IncSearch gui=BOLD guifg=#303030 guibg=#cd8b60
hi Search gui=NONE guifg=#303030 guibg=#ad7b57
hi ErrorMsg gui=BOLD guifg=#ffffff guibg=#ce4e4e
hi WarningMsg gui=BOLD guifg=#ffffff guibg=#ce8e4e
hi ModeMsg gui=BOLD guifg=#7e7eae guibg=NONE
hi MoreMsg gui=BOLD guifg=#7e7eae guibg=NONE
hi Question gui=BOLD guifg=#ffcd00 guibg=NONE
hi StatusLine gui=BOLD guifg=#b9b9b9 guibg=#3e3e5e
hi User1 gui=BOLD guifg=#00ff8b guibg=#3e3e5e
hi User2 gui=BOLD guifg=#7070a0 guibg=#3e3e5e
hi StatusLineNC gui=NONE guifg=#b9b9b9 guibg=#3e3e5e
hi VertSplit gui=NONE guifg=#b9b9b9 guibg=#3e3e5e
hi WildMenu gui=BOLD guifg=#eeeeee guibg=#6e6eaf
hi MBENormal guifg=#cfbfad guibg=#2e2e3f
hi MBEChanged guifg=#eeeeee guibg=#2e2e3f
hi MBEVisibleNormal guifg=#cfcfcd guibg=#4e4e8f
hi MBEVisibleChanged guifg=#eeeeee guibg=#4e4e8f
hi DiffText gui=NONE guifg=#ffffcd guibg=#4a2a4a
hi DiffChange gui=NONE guifg=#ffffcd guibg=#306b8f
hi DiffDelete gui=NONE guifg=#ffffcd guibg=#6d3030
hi DiffAdd gui=NONE guifg=#ffffcd guibg=#306d30
hi Cursor gui=NONE guifg=#404040 guibg=#8b8bff
hi lCursor gui=NONE guifg=#404040 guibg=#8fff8b
hi CursorIM gui=NONE guifg=#404040 guibg=#8b8bff
hi Folded gui=NONE guifg=#cfcfcd guibg=#4b208f
hi FoldColumn gui=NONE guifg=#8b8bcd guibg=#2e2e2e
hi Directory gui=NONE guifg=#00ff8b guibg=NONE
hi LineNr gui=NONE guifg=#8b8bcd guibg=#2e2e2e
hi NonText gui=BOLD guifg=#8b8bcd guibg=NONE
hi SpecialKey gui=BOLD guifg=#3b205d guibg=NONE
hi Title gui=BOLD guifg=#af4f4b guibg=NONE
hi Visual gui=NONE guifg=#eeeeee guibg=#4e4e8f
hi Comment gui=NONE guifg=#cd8b00 guibg=NONE
hi Constant gui=NONE guifg=#ffcd8b guibg=NONE
hi String gui=NONE guifg=#ffcd8b guibg=#404040
hi Error gui=NONE guifg=#ffffff guibg=#6e2e2e
hi Identifier gui=NONE guifg=#ff8bff guibg=NONE
hi Ignore gui=NONE
hi Number gui=NONE guifg=#f0ad6d guibg=NONE
hi PreProc gui=NONE guifg=#409090 guibg=NONE
hi Special gui=NONE guifg=#c080d0 guibg=NONE
hi SpecialChar gui=NONE guifg=#c080d0 guibg=#404040
hi Statement gui=NONE guifg=#808bed guibg=NONE
hi Todo gui=BOLD guifg=#303030 guibg=#d0a060
hi Type gui=NONE guifg=#ff8bff guibg=NONE
hi Underlined gui=BOLD guifg=#df9f2d guibg=NONE
hi TaglistTagName gui=BOLD guifg=#808bed guibg=NONE
hi perlSpecialMatch gui=NONE guifg=#c080d0 guibg=#404040
hi perlSpecialString gui=NONE guifg=#c080d0 guibg=#404040
hi cSpecialCharacter gui=NONE guifg=#c080d0 guibg=#404040
hi cFormat gui=NONE guifg=#c080d0 guibg=#404040
hi doxygenBrief gui=NONE guifg=#fdab60 guibg=NONE
hi doxygenParam gui=NONE guifg=#fdd090 guibg=NONE
hi doxygenPrev gui=NONE guifg=#fdd090 guibg=NONE
hi doxygenSmallSpecial gui=NONE guifg=#fdd090 guibg=NONE
hi doxygenSpecial gui=NONE guifg=#fdd090 guibg=NONE
hi doxygenComment gui=NONE guifg=#ad7b20 guibg=NONE
hi doxygenSpecial gui=NONE guifg=#fdab60 guibg=NONE
hi doxygenSpecialMultilineDesc gui=NONE guifg=#ad600b guibg=NONE
hi doxygenSpecialOnelineDesc gui=NONE guifg=#ad600b guibg=NONE
if v:version >= 700
hi Pmenu gui=NONE guifg=#eeeeee guibg=#4e4e8f
hi PmenuSel gui=BOLD guifg=#eeeeee guibg=#2e2e3f
hi PmenuSbar gui=BOLD guifg=#eeeeee guibg=#6e6eaf
hi PmenuThumb gui=BOLD guifg=#eeeeee guibg=#6e6eaf
hi SpellBad gui=undercurl guisp=#cc6666
hi SpellRare gui=undercurl guisp=#cc66cc
hi SpellLocal gui=undercurl guisp=#cccc66
hi SpellCap gui=undercurl guisp=#66cccc
hi MatchParen gui=NONE guifg=#cfbfad guibg=#4e4e8f
endif
if v:version >= 703
hi Conceal gui=NONE guifg=#c080d0 guibg=NONE
hi ColorColumn gui=NONE guibg=#2e2e2e
endif
else
if ! g:inkpot_black_background
exec "hi Normal cterm=NONE ctermfg=" . <SID>X(79) . " ctermbg=" . <SID>X(80)
else
exec "hi Normal cterm=NONE ctermfg=" . <SID>X(79) . " ctermbg=" . <SID>X(16)
endif
exec "hi IncSearch cterm=BOLD ctermfg=" . <SID>X(80) . " ctermbg=" . <SID>X(73)
exec "hi Search cterm=NONE ctermfg=" . <SID>X(80) . " ctermbg=" . <SID>X(52)
exec "hi ErrorMsg cterm=BOLD ctermfg=" . <SID>X(16) . " ctermbg=" . <SID>X(48)
exec "hi WarningMsg cterm=BOLD ctermfg=" . <SID>X(16) . " ctermbg=" . <SID>X(68)
exec "hi ModeMsg cterm=BOLD ctermfg=" . <SID>X(38) . " ctermbg=" . "NONE"
exec "hi MoreMsg cterm=BOLD ctermfg=" . <SID>X(38) . " ctermbg=" . "NONE"
exec "hi Question cterm=BOLD ctermfg=" . <SID>X(52) . " ctermbg=" . "NONE"
exec "hi StatusLine cterm=BOLD ctermfg=" . <SID>X(85) . " ctermbg=" . <SID>X(81)
exec "hi User1 cterm=BOLD ctermfg=" . <SID>X(28) . " ctermbg=" . <SID>X(81)
exec "hi User2 cterm=BOLD ctermfg=" . <SID>X(39) . " ctermbg=" . <SID>X(81)
exec "hi StatusLineNC cterm=NONE ctermfg=" . <SID>X(84) . " ctermbg=" . <SID>X(81)
exec "hi VertSplit cterm=NONE ctermfg=" . <SID>X(84) . " ctermbg=" . <SID>X(81)
exec "hi WildMenu cterm=BOLD ctermfg=" . <SID>X(87) . " ctermbg=" . <SID>X(38)
exec "hi MBENormal ctermfg=" . <SID>X(85) . " ctermbg=" . <SID>X(81)
exec "hi MBEChanged ctermfg=" . <SID>X(87) . " ctermbg=" . <SID>X(81)
exec "hi MBEVisibleNormal ctermfg=" . <SID>X(85) . " ctermbg=" . <SID>X(82)
exec "hi MBEVisibleChanged ctermfg=" . <SID>X(87) . " ctermbg=" . <SID>X(82)
exec "hi DiffText cterm=NONE ctermfg=" . <SID>X(79) . " ctermbg=" . <SID>X(34)
exec "hi DiffChange cterm=NONE ctermfg=" . <SID>X(79) . " ctermbg=" . <SID>X(17)
exec "hi DiffDelete cterm=NONE ctermfg=" . <SID>X(79) . " ctermbg=" . <SID>X(32)
exec "hi DiffAdd cterm=NONE ctermfg=" . <SID>X(79) . " ctermbg=" . <SID>X(20)
exec "hi Folded cterm=NONE ctermfg=" . <SID>X(79) . " ctermbg=" . <SID>X(35)
exec "hi FoldColumn cterm=NONE ctermfg=" . <SID>X(39) . " ctermbg=" . <SID>X(80)
exec "hi Directory cterm=NONE ctermfg=" . <SID>X(28) . " ctermbg=" . "NONE"
exec "hi LineNr cterm=NONE ctermfg=" . <SID>X(39) . " ctermbg=" . <SID>X(80)
exec "hi NonText cterm=BOLD ctermfg=" . <SID>X(39) . " ctermbg=" . "NONE"
exec "hi SpecialKey cterm=BOLD ctermfg=" . <SID>X(55) . " ctermbg=" . "NONE"
exec "hi Title cterm=BOLD ctermfg=" . <SID>X(48) . " ctermbg=" . "NONE"
exec "hi Visual cterm=NONE ctermfg=" . <SID>X(79) . " ctermbg=" . <SID>X(38)
exec "hi Comment cterm=NONE ctermfg=" . <SID>X(52) . " ctermbg=" . "NONE"
exec "hi Constant cterm=NONE ctermfg=" . <SID>X(73) . " ctermbg=" . "NONE"
exec "hi String cterm=NONE ctermfg=" . <SID>X(73) . " ctermbg=" . <SID>X(81)
exec "hi Error cterm=NONE ctermfg=" . <SID>X(79) . " ctermbg=" . <SID>X(32)
exec "hi Identifier cterm=NONE ctermfg=" . <SID>X(53) . " ctermbg=" . "NONE"
exec "hi Ignore cterm=NONE"
exec "hi Number cterm=NONE ctermfg=" . <SID>X(69) . " ctermbg=" . "NONE"
exec "hi PreProc cterm=NONE ctermfg=" . <SID>X(25) . " ctermbg=" . "NONE"
exec "hi Special cterm=NONE ctermfg=" . <SID>X(55) . " ctermbg=" . "NONE"
exec "hi SpecialChar cterm=NONE ctermfg=" . <SID>X(55) . " ctermbg=" . <SID>X(81)
exec "hi Statement cterm=NONE ctermfg=" . <SID>X(27) . " ctermbg=" . "NONE"
exec "hi Todo cterm=BOLD ctermfg=" . <SID>X(16) . " ctermbg=" . <SID>X(57)
exec "hi Type cterm=NONE ctermfg=" . <SID>X(71) . " ctermbg=" . "NONE"
exec "hi Underlined cterm=BOLD ctermfg=" . <SID>X(77) . " ctermbg=" . "NONE"
exec "hi TaglistTagName cterm=BOLD ctermfg=" . <SID>X(39) . " ctermbg=" . "NONE"
if v:version >= 700
exec "hi Pmenu cterm=NONE ctermfg=" . <SID>X(87) . " ctermbg=" . <SID>X(82)
exec "hi PmenuSel cterm=BOLD ctermfg=" . <SID>X(87) . " ctermbg=" . <SID>X(38)
exec "hi PmenuSbar cterm=BOLD ctermfg=" . <SID>X(87) . " ctermbg=" . <SID>X(39)
exec "hi PmenuThumb cterm=BOLD ctermfg=" . <SID>X(87) . " ctermbg=" . <SID>X(39)
exec "hi SpellBad cterm=NONE ctermbg=" . <SID>X(32)
exec "hi SpellRare cterm=NONE ctermbg=" . <SID>X(33)
exec "hi SpellLocal cterm=NONE ctermbg=" . <SID>X(36)
exec "hi SpellCap cterm=NONE ctermbg=" . <SID>X(21)
exec "hi MatchParen cterm=NONE ctermbg=" . <SID>X(14) . "ctermfg=" . <SID>X(25)
endif
if v:version >= 703
exec "hi Conceal cterm=NONE ctermfg=" . <SID>X(55) . " ctermbg=" . "NONE"
exec "hi ColorColumn cterm=NONE ctermbg=" . <SID>X(81)
endif
endif
" vim: set et :

965
vim/.vim/colors/srcery.vim Normal file
View File

@ -0,0 +1,965 @@
" 'srcery.vim' -- Vim color scheme.
" Maintainer: Roosta (mail@roosta.sh)
" Description: Colorscheme that focus ease of use and clearly defined contrasting colors with a slightly earthy tone.
" Original Source: https://github.com/morhetz/gruvbox
scriptencoding utf-8
if v:version > 580
hi clear
if exists('syntax_on')
syntax reset
endif
endif
let g:colors_name='srcery'
if !has('gui_running') && &t_Co != 256
finish
endif
" Palette {{{
let s:black = ['#1C1B19', 0]
let s:red = ['#EF2F27', 1]
let s:green = ['#519F50', 2]
let s:yellow = ['#FBB829', 3]
let s:blue = ['#2C78BF', 4]
let s:magenta = ['#E02C6D', 5]
let s:cyan = ['#0AAEB3', 6]
let s:white = ['#918175', 7]
let s:bright_black = ['#2D2C29', 8]
let s:bright_red = ['#F75341', 9]
let s:bright_green = ['#98BC37', 10]
let s:bright_yellow = ['#FED06E', 11]
let s:bright_blue = ['#68A8E4', 12]
let s:bright_magenta = ['#FF5C8F', 13]
let s:bright_cyan = ['#53FDE9', 14]
let s:bright_white = ['#FCE8C3', 15]
" xterm colors.
let s:orange = ['#D75F00', 166]
let s:bright_orange = ['#FF8700', 208]
let s:hard_black = ['#121212', 233]
let s:xgray1 = ['#262626', 235]
let s:xgray2 = ['#303030', 236]
let s:xgray3 = ['#3A3A3A', 237]
let s:xgray4 = ['#444444', 238]
let s:xgray5 = ['#4E4E4E', 239]
"}}}
" Setup Variables: {{{
let s:none = ['NONE', 'NONE']
if !exists('g:srcery_bold')
let g:srcery_bold=1
endif
if !exists('g:srcery_italic')
if has('gui_running') || $TERM_ITALICS ==? 'true'
let g:srcery_italic=1
else
let g:srcery_italic=0
endif
endif
if !exists('g:srcery_transparent_background')
let g:srcery_transparent_background=0
endif
if !exists('g:srcery_undercurl')
let g:srcery_undercurl=1
endif
if !exists('g:srcery_underline')
let g:srcery_underline=1
endif
if !exists('g:srcery_inverse')
let g:srcery_inverse=1
endif
if !exists('g:srcery_inverse_matches')
let g:srcery_inverse_matches=0
endif
if !exists('g:srcery_inverse_match_paren')
let g:srcery_inverse_match_paren=0
endif
if !exists('g:srcery_dim_lisp_paren')
let g:srcery_dim_lisp_paren=0
endif
" }}}
" Setup Emphasis: {{{
let s:bold = 'bold,'
if g:srcery_bold == 0
let s:bold = ''
endif
let s:italic = 'italic,'
if g:srcery_italic == 0
let s:italic = ''
endif
let s:underline = 'underline,'
if g:srcery_underline == 0
let s:underline = ''
endif
let s:undercurl = 'undercurl,'
if g:srcery_undercurl == 0
let s:undercurl = ''
endif
let s:inverse = 'inverse,'
if g:srcery_inverse == 0
let s:inverse = ''
endif
" }}}
" Highlighting Function: {{{
function! s:HL(group, fg, ...)
" Arguments: group, guifg, guibg, gui, guisp
" foreground
let l:fg = a:fg
" background
if a:0 >= 1
let l:bg = a:1
else
let l:bg = s:none
endif
" emphasis
if a:0 >= 2 && strlen(a:2)
let l:emstr = a:2
else
let l:emstr = 'NONE,'
endif
let l:histring = [ 'hi', a:group,
\ 'guifg=' . l:fg[0], 'ctermfg=' . l:fg[1],
\ 'guibg=' . l:bg[0], 'ctermbg=' . l:bg[1],
\ 'gui=' . l:emstr[:-2], 'cterm=' . l:emstr[:-2]
\ ]
" special
if a:0 >= 3
call add(l:histring, 'guisp=' . a:3[0])
endif
execute join(l:histring, ' ')
endfunction
"}}}
" Srcery Hi Groups: {{{
" memoize common hi groups
call s:HL('SrceryWhite', s:white)
call s:HL('SrceryRed', s:red)
call s:HL('SrceryGreen', s:green)
call s:HL('SrceryYellow', s:yellow)
call s:HL('SrceryBlue', s:blue)
call s:HL('SrceryMagenta', s:magenta)
call s:HL('SrceryCyan', s:cyan)
call s:HL('SrceryBlack', s:black)
call s:HL('SrceryRedBold', s:red, s:none, s:bold)
call s:HL('SrceryGreenBold', s:green, s:none, s:bold)
call s:HL('SrceryYellowBold', s:yellow, s:none, s:bold)
call s:HL('SrceryBlueBold', s:blue, s:none, s:bold)
call s:HL('SrceryMagentaBold', s:magenta, s:none, s:bold)
call s:HL('SrceryCyanBold', s:cyan, s:none, s:bold)
call s:HL('SrceryBrightRed', s:bright_red, s:none)
call s:HL('SrceryBrightGreen', s:bright_green, s:none)
call s:HL('SrceryBrightYellow', s:bright_yellow, s:none)
call s:HL('SrceryBrightBlue', s:bright_blue, s:none)
call s:HL('SrceryBrightMagenta', s:bright_magenta, s:none)
call s:HL('SrceryBrightCyan', s:bright_cyan, s:none)
call s:HL('SrceryBrightBlack', s:bright_black, s:none)
call s:HL('SrceryBrightWhite', s:bright_white)
" special
call s:HL('SrceryOrange', s:orange)
call s:HL('SrceryBrightOrange', s:bright_orange)
call s:HL('SrceryOrangeBold', s:orange, s:none, s:bold)
call s:HL('SrceryHardBlack', s:hard_black)
call s:HL('SrceryXgray1', s:xgray1)
call s:HL('SrceryXgray2', s:xgray2)
call s:HL('SrceryXgray3', s:xgray3)
call s:HL('SrceryXgray4', s:xgray4)
call s:HL('SrceryXgray5', s:xgray5)
" }}}
" Vanilla colorscheme ---------------------------------------------------------
" General UI: {{{
" Normal text
"
if g:srcery_transparent_background == 1 && !has('gui_running')
call s:HL('Normal', s:bright_white, s:none)
else
call s:HL('Normal', s:bright_white, s:black)
endif
if v:version >= 700
" Screen line that the cursor is
call s:HL('CursorLine', s:none, s:bright_black)
" Screen column that the cursor is
hi! link CursorColumn CursorLine
if g:srcery_transparent_background == 1 && !has('gui_running')
" Tab pages line filler
call s:HL('TabLineFill', s:green, s:none)
" Active tab page label
call s:HL('TabLineSel', s:red, s:none, s:bold)
else
call s:HL('TabLineFill', s:green, s:black)
call s:HL('TabLineSel', s:red, s:black, s:bold)
endif
" Not active tab page label
hi! link TabLine TabLineFill
" Match paired bracket under the cursor
"
if g:srcery_inverse_match_paren == 1
call s:HL('MatchParen', s:bright_magenta, s:none, s:inverse . s:bold)
else
call s:HL('MatchParen', s:bright_magenta, s:none, s:bold)
endif
endif
if v:version >= 703
" Highlighted screen columns
call s:HL('ColorColumn', s:none, s:bright_black)
" Concealed element: \lambda → λ
call s:HL('Conceal', s:blue, s:none)
" Line number of CursorLine
if g:srcery_transparent_background == 1 && !has('gui_running')
call s:HL('CursorLineNr', s:yellow, s:none)
else
call s:HL('CursorLineNr', s:yellow, s:black)
endif
endif
hi! link NonText SrceryWhiteAlt
hi! link SpecialKey SrceryWhiteAlt
if g:srcery_inverse == 1
call s:HL('Visual', s:none, s:none, s:inverse)
else
call s:HL('Visual', s:none, s:bright_black, s:bold)
endif
hi! link VisualNOS Visual
if g:srcery_inverse == 1 && g:srcery_inverse_matches == 1
call s:HL('Search', s:none, s:none, s:inverse)
call s:HL('IncSearch', s:none, s:none, s:inverse)
else
call s:HL('Search', s:none, s:xgray4, s:bold)
call s:HL('IncSearch', s:none, s:xgray4, s:underline . s:bold)
endif
call s:HL('Underlined', s:blue, s:none, s:underline)
call s:HL('StatusLine', s:bright_white, s:bright_black)
if g:srcery_transparent_background == 1 && !has('gui_running')
call s:HL('StatusLineNC', s:white, s:none, s:underline)
" The column separating vertically split windows
call s:HL('VertSplit', s:bright_white, s:none)
" Current match in wildmenu completion
call s:HL('WildMenu', s:blue, s:none, s:bold)
else
call s:HL('StatusLineNC', s:white, s:black, s:underline)
call s:HL('VertSplit', s:bright_white, s:black)
call s:HL('WildMenu', s:blue, s:black, s:bold)
endif
" Directory names, special names in listing
hi! link Directory SrceryGreenBold
" Titles for output from :set all, :autocmd, etc.
hi! link Title SrceryGreenBold
" Error messages on the command line
call s:HL('ErrorMsg', s:bright_white, s:red)
" More prompt: -- More --
hi! link MoreMsg SrceryYellowBold
" Current mode message: -- INSERT --
hi! link ModeMsg SrceryYellowBold
" 'Press enter' prompt and yes/no questions
hi! link Question SrceryOrangeBold
" Warning messages
hi! link WarningMsg SrceryRedBold
" }}}
" Gutter: {{{
" Line number for :number and :# commands
call s:HL('LineNr', s:white)
if g:srcery_transparent_background == 1 && !has('gui_running')
" Column where signs are displayed
" TODO Possibly need to fix SignColumn
call s:HL('SignColumn', s:none, s:none)
" Line used for closed folds
call s:HL('Folded', s:white, s:none, s:italic)
" Column where folds are displayed
call s:HL('FoldColumn', s:white, s:none)
else
call s:HL('SignColumn', s:none, s:black)
call s:HL('Folded', s:white, s:black, s:italic)
call s:HL('FoldColumn', s:white, s:black)
endif
" }}}
" Cursor: {{{
" Character under cursor
call s:HL('Cursor', s:black, s:yellow)
" Visual mode cursor, selection
hi! link vCursor Cursor
" Input moder cursor
hi! link iCursor Cursor
" Language mapping cursor
hi! link lCursor Cursor
" }}}
" Syntax Highlighting: {{{
hi! link Special SrceryOrange
call s:HL('Comment', s:white, s:none, s:italic)
if g:srcery_transparent_background == 1 && !has('gui_running')
call s:HL('Todo', s:bright_white, s:none, s:bold . s:italic)
else
call s:HL('Todo', s:bright_white, s:black, s:bold . s:italic)
endif
call s:HL('Error', s:bright_white, s:red, s:bold)
" String constant: "this is a string"
call s:HL('String', s:bright_green)
" Generic statement
hi! link Statement SrceryRed
" if, then, else, endif, swicth, etc.
hi! link Conditional SrceryRed
" for, do, while, etc.
hi! link Repeat SrceryRed
" case, default, etc.
hi! link Label SrceryRed
" try, catch, throw
hi! link Exception SrceryRed
" sizeof, "+", "*", etc.
hi! link Operator Normal
" Any other keyword
hi! link Keyword SrceryRed
" Variable name
hi! link Identifier SrceryCyan
" Function name
hi! link Function SrceryYellow
" Generic preprocessor
hi! link PreProc SrceryCyan
" Preprocessor #include
hi! link Include SrceryCyan
" Preprocessor #define
hi! link Define SrceryCyan
" Same as Define
hi! link Macro SrceryOrange
" Preprocessor #if, #else, #endif, etc.
hi! link PreCondit SrceryCyan
" Generic constant
hi! link Constant SrceryBrightMagenta
" Character constant: 'c', '/n'
hi! link Character SrceryBrightMagenta
" Boolean constant: TRUE, false
hi! link Boolean SrceryBrightMagenta
" Number constant: 234, 0xff
hi! link Number SrceryBrightMagenta
" Floating point constant: 2.3e10
hi! link Float SrceryBrightMagenta
" Generic type
hi! link Type SrceryBrightBlue
" static, register, volatile, etc
hi! link StorageClass SrceryOrange
" struct, union, enum, etc.
hi! link Structure SrceryCyan
" typedef
hi! link Typedef SrceryMagenta
if g:srcery_dim_lisp_paren == 1
hi! link Delimiter SrceryXgray5
else
hi! link Delimiter SrceryWhite
endif
" }}}
" Completion Menu: {{{
if v:version >= 700
" Popup menu: normal item
call s:HL('Pmenu', s:bright_white, s:bright_black)
" Popup menu: selected item
call s:HL('PmenuSel', s:bright_white, s:magenta, s:bold)
if g:srcery_transparent_background == 1 && !has('gui_running')
" Popup menu: scrollbar
call s:HL('PmenuSbar', s:none, s:none)
" Popup menu: scrollbar thumb
call s:HL('PmenuThumb', s:none, s:none)
else
call s:HL('PmenuSbar', s:none, s:black)
call s:HL('PmenuThumb', s:none, s:black)
endif
endif
" }}}
" Diffs: {{{
if g:srcery_transparent_background == 1 && !has('gui_running')
call s:HL('DiffDelete', s:red, s:none)
call s:HL('DiffAdd', s:green, s:none)
call s:HL('DiffChange', s:cyan, s:none)
call s:HL('DiffText', s:yellow, s:none)
else
call s:HL('DiffDelete', s:red, s:black)
call s:HL('DiffAdd', s:green, s:black)
call s:HL('DiffChange', s:cyan, s:black)
call s:HL('DiffText', s:yellow, s:black)
endif
" }}}
" Spelling: {{{
if has('spell')
" Not capitalised word, or compile warnings
call s:HL('SpellCap', s:green, s:none, s:bold . s:italic)
" Not recognized word
call s:HL('SpellBad', s:none, s:none, s:undercurl, s:blue)
" Wrong spelling for selected region
call s:HL('SpellLocal', s:none, s:none, s:undercurl, s:cyan)
" Rare word
call s:HL('SpellRare', s:none, s:none, s:undercurl, s:magenta)
endif
" }}}
" Terminal: {{{
if has('terminal')
" Must set an explicit background as NONE won't work
" Therefore not useful with transparent background option
call s:HL('Terminal', s:bright_white, s:hard_black)
endif
" }}}
" CtrlP: "{{{
hi! link CtrlPMatch SrceryMagenta
hi! link CtrlPLinePre SrceryBrightGreen
call s:HL('CtrlPMode1', s:bright_white, s:xgray2)
call s:HL('CtrlPMode2', s:bright_white, s:xgray4)
call s:HL('CtrlPStats', s:yellow, s:bright_black)
" }}}
" Plugin specific -------------------------------------------------------------
" Sneak: {{{
hi! link SneakPluginTarget Search
hi! link SneakStreakTarget Search
call s:HL('SneakStreakMask', s:yellow, s:yellow)
hi! link SneakStreakStatusLine Search
" }}}
" Rainbow Parentheses: {{{
if !exists('g:rbpt_colorpairs')
let g:rbpt_colorpairs =
\ [
\ ['blue', '#2C78BF'], ['166', '#D75F00'],
\ ['red', '#EF2F27'], ['magenta', '#E02C6D']
\ ]
endif
let g:rainbow_guifgs = [ '#E02C6D', '#EF2F27', '#D75F00', '#2C78BF']
let g:rainbow_ctermfgs = [ 'magenta', 'red', '166', 'blue' ]
if !exists('g:rainbow_conf')
let g:rainbow_conf = {}
endif
if !has_key(g:rainbow_conf, 'guifgs')
let g:rainbow_conf['guifgs'] = g:rainbow_guifgs
endif
if !has_key(g:rainbow_conf, 'ctermfgs')
let g:rainbow_conf['ctermfgs'] = g:rainbow_ctermfgs
endif
let g:niji_dark_colours = g:rbpt_colorpairs
let g:niji_light_colours = g:rbpt_colorpairs
"}}}
" GitGutter: {{{
hi! link GitGutterAdd SrceryGreen
hi! link GitGutterChange SrceryYellow
hi! link GitGutterDelete SrceryRed
hi! link GitGutterChangeDelete SrceryYellow
" }}}
" GitCommit: "{{{
hi! link gitcommitSelectedFile SrceryGreen
hi! link gitcommitDiscardedFile SrceryRed
" }}}
" Asynchronous Lint Engine: {{{
call s:HL('ALEError', s:none, s:none, s:undercurl, s:red)
call s:HL('ALEWarning', s:none, s:none, s:undercurl, s:yellow)
call s:HL('ALEInfo', s:none, s:none, s:undercurl, s:blue)
hi! link ALEErrorSign SrceryRed
hi! link ALEWarningSign SrceryYellow
hi! link ALEInfoSign SrceryBlue
" }}}
" vim-indent-guides: {{{
call s:HL('IndentGuidesEven', s:none, s:xgray2)
call s:HL('IndentGuidesOdd', s:none, s:xgray3)
" }}}
" vim-startify {{{
hi! link StartifyNumber Statement
hi! link StartifyFile Normal
hi! link StartifyPath String
hi! link StartifySlash Normal
hi! link StartifyBracket Comment
hi! link StartifyHeader Type
hi! link StartifyFooter Normal
hi! link StartifySpecial Comment
hi! link StartifySection Identifier
" }}}
" Filetype specific -----------------------------------------------------------
" Diff: {{{
hi! link diffAdded SrceryGreen
hi! link diffRemoved SrceryRed
hi! link diffChanged SrceryCyan
hi! link diffFile SrceryOrange
hi! link diffNewFile SrceryYellow
hi! link diffLine SrceryBlue
" }}}
" Html: {{{
hi! link htmlTag SrceryBlue
hi! link htmlEndTag SrceryBlue
hi! link htmlTagName SrceryBlue
hi! link htmlTag SrceryWhite
hi! link htmlArg SrceryYellow
hi! link htmlScriptTag SrceryRed
hi! link htmlTagN SrceryBlue
hi! link htmlSpecialTagName SrceryBlue
call s:HL('htmlLink', s:bright_white, s:none, s:underline)
hi! link htmlSpecialChar SrceryYellow
if g:srcery_transparent_background == 1 && !has('gui_running')
call s:HL('htmlBold', s:bright_white, s:none, s:bold)
call s:HL('htmlBoldUnderline', s:bright_white, s:none, s:bold . s:underline)
call s:HL('htmlBoldItalic', s:bright_white, s:none, s:bold . s:italic)
call s:HL('htmlBoldUnderlineItalic', s:bright_white, s:none, s:bold . s:underline . s:italic)
call s:HL('htmlUnderline', s:bright_white, s:none, s:underline)
call s:HL('htmlUnderlineItalic', s:bright_white, s:none, s:underline . s:italic)
call s:HL('htmlItalic', s:bright_white, s:none, s:italic)
else
call s:HL('htmlBold', s:bright_white, s:black, s:bold)
call s:HL('htmlBoldUnderline', s:bright_white, s:black, s:bold . s:underline)
call s:HL('htmlBoldItalic', s:bright_white, s:black, s:bold . s:italic)
call s:HL('htmlBoldUnderlineItalic', s:bright_white, s:black, s:bold . s:underline . s:italic)
call s:HL('htmlUnderline', s:bright_white, s:black, s:underline)
call s:HL('htmlUnderlineItalic', s:bright_white, s:black, s:underline . s:italic)
call s:HL('htmlItalic', s:bright_white, s:black, s:italic)
endif
" }}}
" Xml: {{{
hi! link xmlTag SrceryBlue
hi! link xmlEndTag SrceryBlue
hi! link xmlTagName SrceryBlue
hi! link xmlEqual SrceryBlue
hi! link docbkKeyword SrceryCyanBold
hi! link xmlDocTypeDecl SrceryWhite
hi! link xmlDocTypeKeyword SrceryMagenta
hi! link xmlCdataStart SrceryWhite
hi! link xmlCdataCdata SrceryMagenta
hi! link dtdFunction SrceryWhite
hi! link dtdTagName SrceryMagenta
hi! link xmlAttrib SrceryCyan
hi! link xmlProcessingDelim SrceryWhite
hi! link dtdParamEntityPunct SrceryWhite
hi! link dtdParamEntityDPunct SrceryWhite
hi! link xmlAttribPunct SrceryWhite
hi! link xmlEntity SrceryYellow
hi! link xmlEntityPunct SrceryYellow
" }}}
" Vim: {{{
call s:HL('vimCommentTitle', s:bright_white, s:none, s:bold . s:italic)
hi! link vimNotation SrceryYellow
hi! link vimBracket SrceryYellow
hi! link vimMapModKey SrceryYellow
hi! link vimFuncSID SrceryBrightWhite
hi! link vimSetSep SrceryBrightWhite
hi! link vimSep SrceryBrightWhite
hi! link vimContinue SrceryBrightWhite
" }}}
" Lisp dialects: {{{
if g:srcery_dim_lisp_paren == 1
hi! link schemeParentheses SrceryXgray5
hi! link clojureParen SrceryXgray5
else
hi! link schemeParentheses SrceryWhite
hi! link clojureParen SrceryWhite
endif
hi! link clojureKeyword SrceryBlue
hi! link clojureCond SrceryRed
hi! link clojureSpecial SrceryRed
hi! link clojureDefine SrceryRed
hi! link clojureFunc SrceryYellow
hi! link clojureRepeat SrceryYellow
hi! link clojureCharacter SrceryCyan
hi! link clojureStringEscape SrceryCyan
hi! link clojureException SrceryRed
hi! link clojureRegexp SrceryCyan
hi! link clojureRegexpEscape SrceryCyan
call s:HL('clojureRegexpCharClass', s:bright_white, s:none, s:bold)
hi! link clojureRegexpMod clojureRegexpCharClass
hi! link clojureRegexpQuantifier clojureRegexpCharClass
hi! link clojureAnonArg SrceryYellow
hi! link clojureVariable SrceryBlue
hi! link clojureMacro SrceryOrangeBold
hi! link clojureMeta SrceryYellow
hi! link clojureDeref SrceryYellow
hi! link clojureQuote SrceryYellow
hi! link clojureUnquote SrceryYellow
" }}}
" C: {{{
hi! link cOperator SrceryMagenta
hi! link cStructure SrceryYellow
" }}}
" Python: {{{
hi! link pythonBuiltin SrceryYellow
hi! link pythonBuiltinObj SrceryYellow
hi! link pythonBuiltinFunc SrceryYellow
hi! link pythonFunction SrceryCyan
hi! link pythonDecorator SrceryRed
hi! link pythonInclude SrceryBlue
hi! link pythonImport SrceryBlue
hi! link pythonRun SrceryBlue
hi! link pythonCoding SrceryBlue
hi! link pythonOperator SrceryRed
hi! link pythonExceptions SrceryMagenta
hi! link pythonBoolean SrceryMagenta
hi! link pythonDot SrceryBrightWhite
" }}}
" CSS/SASS: {{{
hi! link cssBraces SrceryBrightWhite
hi! link cssFunctionName SrceryYellow
hi! link cssIdentifier SrceryBlue
hi! link cssClassName SrceryBlue
hi! link cssClassNameDot SrceryBlue
hi! link cssColor SrceryBrightMagenta
hi! link cssSelectorOp SrceryBlue
hi! link cssSelectorOp2 SrceryBlue
hi! link cssImportant SrceryGreen
hi! link cssVendor SrceryBlue
hi! link cssMediaProp SrceryYellow
hi! link cssBorderProp SrceryYellow
hi! link cssAttrComma SrceryBrightWhite
hi! link cssTextProp SrceryYellow
hi! link cssAnimationProp SrceryYellow
hi! link cssUIProp SrceryYellow
hi! link cssTransformProp SrceryYellow
hi! link cssTransitionProp SrceryYellow
hi! link cssPrintProp SrceryYellow
hi! link cssPositioningProp SrceryYellow
hi! link cssBoxProp SrceryYellow
hi! link cssFontDescriptorProp SrceryYellow
hi! link cssFlexibleBoxProp SrceryYellow
hi! link cssBorderOutlineProp SrceryYellow
hi! link cssBackgroundProp SrceryYellow
hi! link cssMarginProp SrceryYellow
hi! link cssListProp SrceryYellow
hi! link cssTableProp SrceryYellow
hi! link cssFontProp SrceryYellow
hi! link cssPaddingProp SrceryYellow
hi! link cssDimensionProp SrceryYellow
hi! link cssRenderProp SrceryYellow
hi! link cssColorProp SrceryYellow
hi! link cssGeneratedContentProp SrceryYellow
hi! link cssTagName SrceryBrightBlue
" SASS
hi! link sassClass SrceryBlue
hi! link sassClassChar SrceryBlue
hi! link sassVariable SrceryCyan
hi! link sassIdChar SrceryBrightBlue
" }}}
" JavaScript: {{{
hi! link javaScriptMember SrceryBlue
hi! link javaScriptNull SrceryMagenta
" }}}
" YAJS: {{{
hi! link javascriptParens SrceryBrightCyan
hi! link javascriptFuncArg Normal
hi! link javascriptDocComment SrceryGreen
hi! link javascriptArrayMethod Function
hi! link javascriptReflectMethod Function
hi! link javascriptStringMethod Function
hi! link javascriptObjectMethod Function
hi! link javascriptObjectStaticMethod Function
hi! link javascriptObjectLabel SrceryBlue
hi! link javascriptProp SrceryBlue
hi! link javascriptVariable SrceryBrightBlue
hi! link javascriptOperator SrceryBrightCyan
hi! link javascriptFuncKeyword SrceryBrightRed
hi! link javascriptFunctionMethod SrceryYellow
hi! link javascriptReturn SrceryBrightRed
hi! link javascriptEndColons Normal
" }}}
" CoffeeScript: {{{
hi! link coffeeExtendedOp SrceryBrightWhite
hi! link coffeeSpecialOp SrceryBrightWhite
hi! link coffeeCurly SrceryYellow
hi! link coffeeParen SrceryBrightWhite
hi! link coffeeBracket SrceryYellow
" }}}
" Ruby: {{{
hi! link rubyStringDelimiter SrceryGreen
hi! link rubyInterpolationDelimiter SrceryCyan
hi! link rubyDefine Keyword
" }}}
" ObjectiveC: {{{
hi! link objcTypeModifier SrceryRed
hi! link objcDirective SrceryBlue
" }}}
" Go: {{{
hi! link goDirective SrceryCyan
hi! link goConstants SrceryMagenta
hi! link goDeclaration SrceryRed
hi! link goDeclType SrceryBlue
hi! link goBuiltins SrceryYellow
" }}}
" Lua: {{{
hi! link luaIn SrceryRed
hi! link luaFunction SrceryCyan
hi! link luaTable SrceryYellow
" }}}
" MoonScript: {{{
hi! link moonSpecialOp SrceryBrightWhite
hi! link moonExtendedOp SrceryBrightWhite
hi! link moonFunction SrceryBrightWhite
hi! link moonObject SrceryYellow
" }}}
" Java: {{{
hi! link javaAnnotation SrceryBlue
hi! link javaDocTags SrceryCyan
hi! link javaCommentTitle vimCommentTitle
hi! link javaParen SrceryBrightWhite
hi! link javaParen1 SrceryBrightWhite
hi! link javaParen2 SrceryBrightWhite
hi! link javaParen3 SrceryBrightWhite
hi! link javaParen4 SrceryBrightWhite
hi! link javaParen5 SrceryBrightWhite
hi! link javaOperator SrceryYellow
hi! link javaVarArg SrceryGreen
" }}}
" Elixir: {{{
hi! link elixirDocString Comment
hi! link elixirStringDelimiter SrceryGreen
hi! link elixirInterpolationDelimiter SrceryCyan
" }}}
" Scala: {{{
" NB: scala vim syntax file is kinda horrible
hi! link scalaNameDefinition SrceryBlue
hi! link scalaCaseFollowing SrceryBlue
hi! link scalaCapitalWord SrceryBlue
hi! link scalaTypeExtension SrceryBlue
hi! link scalaKeyword SrceryRed
hi! link scalaKeywordModifier SrceryRed
hi! link scalaSpecial SrceryCyan
hi! link scalaOperator SrceryBlue
hi! link scalaTypeDeclaration SrceryYellow
hi! link scalaTypeTypePostDeclaration SrceryYellow
hi! link scalaInstanceDeclaration SrceryBlue
hi! link scalaInterpolation SrceryCyan
" }}}
" Markdown: {{{
call s:HL('markdownItalic', s:bright_white, s:none, s:italic)
hi! link markdownH1 SrceryGreenBold
hi! link markdownH2 SrceryGreenBold
hi! link markdownH3 SrceryYellowBold
hi! link markdownH4 SrceryYellowBold
hi! link markdownH5 SrceryYellow
hi! link markdownH6 SrceryYellow
hi! link markdownCode SrceryCyan
hi! link markdownCodeBlock SrceryCyan
hi! link markdownCodeDelimiter SrceryCyan
hi! link markdownBlockquote SrceryWhite
hi! link markdownListMarker SrceryWhite
hi! link markdownOrderedListMarker SrceryWhite
hi! link markdownRule SrceryWhite
hi! link markdownHeadingRule SrceryWhite
hi! link markdownUrlDelimiter SrceryBrightWhite
hi! link markdownLinkDelimiter SrceryBrightWhite
hi! link markdownLinkTextDelimiter SrceryBrightWhite
hi! link markdownHeadingDelimiter SrceryYellow
hi! link markdownUrl SrceryMagenta
hi! link markdownUrlTitleDelimiter SrceryGreen
call s:HL('markdownLinkText', s:white, s:none, s:underline)
hi! link markdownIdDeclaration markdownLinkText
" }}}
" Haskell: {{{
" hi! link haskellType SrceryYellow
" hi! link haskellOperators SrceryYellow
" hi! link haskellConditional SrceryCyan
" hi! link haskellLet SrceryYellow
"
hi! link haskellType SrceryBlue
hi! link haskellIdentifier SrceryBlue
hi! link haskellSeparator SrceryBlue
hi! link haskellDelimiter SrceryBrightWhite
hi! link haskellOperators SrceryBlue
"
hi! link haskellBacktick SrceryYellow
hi! link haskellStatement SrceryYellow
hi! link haskellConditional SrceryYellow
hi! link haskellLet SrceryCyan
hi! link haskellDefault SrceryCyan
hi! link haskellWhere SrceryCyan
hi! link haskellBottom SrceryCyan
hi! link haskellBlockKeywords SrceryCyan
hi! link haskellImportKeywords SrceryCyan
hi! link haskellDeclKeyword SrceryCyan
hi! link haskellDeriving SrceryCyan
hi! link haskellAssocType SrceryCyan
hi! link haskellNumber SrceryMagenta
hi! link haskellPragma SrceryMagenta
hi! link haskellString SrceryGreen
hi! link haskellChar SrceryGreen
" }}}
" Json: {{{
hi! link jsonKeyword SrceryGreen
hi! link jsonQuote SrceryGreen
hi! link jsonBraces SrceryBlue
hi! link jsonString SrceryBlue
" }}}
" Rust: {{{
"https://github.com/rust-lang/rust.vim/blob/master/syntax/rust.vim
hi! link rustCommentLineDoc SrceryGreen
hi! link rustModPathSep SrceryWhite
" }}}
" Make: {{{
hi! link makePreCondit SrceryRed
hi! link makeCommands SrceryBrightWhite
hi! link makeTarget SrceryYellow
" }}}
" Misc: {{{
call s:HL('shParenError', s:bright_white, s:bright_red)
" }}}
" vim: set sw=2 ts=2 sts=2 et tw=80 ft=vim fdm=marker :

View File

@ -0,0 +1,114 @@
" Vim color file - synthwave
" Designed by Troy Fletcher TroyFletcher.net
"
" dP dP
" 88 88
" .d8888b. dP dP 88d888b. d8888P 88d888b. dP dP dP .d8888b. dP .dP .d8888b.
" Y8ooooo. 88 88 88' `88 88 88' `88 88 88 88 88' `88 88 d8' 88ooood8
" 88 88. .88 88 88 88 88 88 88.88b.88' 88. .88 88 .88' 88. ...
" `88888P' `8888P88 dP dP dP dP dP 8888P Y8P `88888P8 8888P' `88888P'
" .88
" d8888P
"
" Test ALL THE SYNTAX!!! so $VIMRUNTIME/syntax/hitest.vim
set background=dark
if version > 580
hi clear
if exists("syntax_on")
syntax reset
endif
endif
set t_Co=256
let g:colors_name = "synthwave"
"hi CTagsMember -- no settings --
"hi CTagsGlobalConstant -- no settings --
"hi Ignore -- no settings --
hi Normal guifg=#ffffff guibg=#181615 guisp=#181615 gui=NONE ctermfg=15 ctermbg=234 cterm=NONE
"hi CTagsImport -- no settings --
"hi CTagsGlobalVariable -- no settings --
"hi EnumerationValue -- no settings --
"hi Union -- no settings --
"hi EnumerationName -- no settings --
"hi DefinedName -- no settings --
"hi LocalVariable -- no settings --
"hi CTagsClass -- no settings --
"hi clear -- no settings --
hi IncSearch guifg=#ffffff guibg=#d500ff guisp=#d500ff gui=NONE ctermfg=15 ctermbg=165 cterm=NONE
hi WildMenu guifg=NONE guibg=#A1A6A8 guisp=#A1A6A8 gui=NONE ctermfg=NONE ctermbg=248 cterm=NONE
hi SignColumn guifg=#192224 guibg=#536991 guisp=#536991 gui=NONE ctermfg=235 ctermbg=60 cterm=NONE
hi SpecialComment guifg=#c051d3 guibg=NONE guisp=NONE gui=NONE ctermfg=164 ctermbg=0 cterm=NONE
hi Typedef guifg=#536991 guibg=NONE guisp=NONE gui=bold ctermfg=60 ctermbg=NONE cterm=bold
hi Title guifg=#a58aff guibg=#2b262b guisp=#2b262b gui=bold ctermfg=141 ctermbg=235 cterm=bold
hi Folded guifg=#192224 guibg=#A1A6A8 guisp=#A1A6A8 gui=italic ctermfg=235 ctermbg=248 cterm=NONE
hi PreCondit guifg=#7dbef0 guibg=NONE guisp=NONE gui=NONE ctermfg=117 ctermbg=NONE cterm=NONE
hi Include guifg=#c051d3 guibg=NONE guisp=NONE gui=NONE ctermfg=164 ctermbg=NONE cterm=NONE
hi TabLineSel guifg=#000000 guibg=#ff00d9 guisp=#ff00d9 gui=bold ctermfg=NONE ctermbg=200 cterm=bold
hi StatusLineNC guifg=#000000 guibg=#6a61f2 guisp=#6a61f2 gui=bold ctermfg=NONE ctermbg=63 cterm=bold
hi NonText guifg=#5E6C70 guibg=NONE guisp=NONE gui=italic ctermfg=66 ctermbg=NONE cterm=NONE
hi DiffText guifg=#70eeff guibg=#630075 guisp=#630075 gui=NONE ctermfg=87 ctermbg=54 cterm=NONE
hi ErrorMsg guifg=#000000 guibg=#00ff00 guisp=#00ff00 gui=bold ctermfg=NONE ctermbg=10 cterm=bold
hi Debug guifg=#c051d3 guibg=NONE guisp=NONE gui=NONE ctermfg=164 ctermbg=NONE cterm=NONE
hi PMenuSbar guifg=#3a0057 guibg=#bf2a79 guisp=#bf2a79 gui=NONE ctermfg=53 ctermbg=5 cterm=NONE
hi Identifier guifg=#96f3fa guibg=#000000 guisp=#000000 gui=NONE ctermfg=51 ctermbg=0 cterm=NONE
hi SpecialChar guifg=#c051d3 guibg=NONE guisp=NONE gui=NONE ctermfg=164 ctermbg=NONE cterm=NONE
hi Conditional guifg=#db93c8 guibg=NONE guisp=NONE gui=bold ctermfg=175 ctermbg=NONE cterm=bold
hi StorageClass guifg=#536991 guibg=NONE guisp=NONE gui=bold ctermfg=60 ctermbg=NONE cterm=bold
hi Todo guifg=#000000 guibg=#00c4ff guisp=#00c4ff gui=NONE ctermfg=0 ctermbg=45 cterm=NONE
hi Special guifg=#984aff guibg=NONE guisp=NONE gui=NONE ctermfg=135 ctermbg=NONE cterm=NONE
hi LineNr guifg=#ff00bb guibg=NONE guisp=NONE gui=NONE ctermfg=199 ctermbg=NONE cterm=NONE
hi StatusLine guifg=#000000 guibg=#ff00bb guisp=#ff00bb gui=bold ctermfg=NONE ctermbg=199 cterm=bold
hi Label guifg=#c051d3 guibg=NONE guisp=NONE gui=bold ctermfg=164 ctermbg=NONE cterm=bold
hi PMenuSel guifg=#ffffff guibg=#891a8f guisp=#891a8f gui=NONE ctermfg=15 ctermbg=90 cterm=NONE
hi Search guifg=#ffffff guibg=#ad00bd guisp=#ad00bd gui=NONE ctermfg=15 ctermbg=5 cterm=NONE
hi Delimiter guifg=#67fffa guibg=#000000 guisp=NONE gui=bold ctermfg=51 ctermbg=0 cterm=bold
hi Statement guifg=#6cddf1 guibg=NONE guisp=NONE gui=bold ctermfg=81 ctermbg=NONE cterm=bold
hi SpellRare guifg=#F9F9FF guibg=#192224 guisp=#192224 gui=underline ctermfg=189 ctermbg=235 cterm=underline
hi ColorColumn guifg=NONE guibg=#536991 guisp=NONE ctermfg=NONE ctermbg=60 cterm=NONE
hi OverColLimit term=inverse,bold cterm=bold ctermbg=red ctermfg=white gui=bold guibg=red guifg=white
hi Comment guifg=#9c38bd guibg=#000000 guisp=NONE gui=NONE ctermfg=5 ctermbg=0 cterm=NONE
hi Character guifg=#A1A6A8 guibg=NONE guisp=NONE gui=NONE ctermfg=248 ctermbg=NONE cterm=NONE
hi Float guifg=#A1A6A8 guibg=NONE guisp=NONE gui=NONE ctermfg=248 ctermbg=NONE cterm=NONE
hi Number guifg=#ff00bb guibg=NONE guisp=NONE gui=NONE ctermfg=199 ctermbg=NONE cterm=NONE
hi Boolean guifg=#A1A6A8 guibg=NONE guisp=NONE gui=NONE ctermfg=248 ctermbg=NONE cterm=NONE
hi Operator guifg=#e6199e guibg=NONE guisp=NONE gui=bold ctermfg=162 ctermbg=NONE cterm=bold
hi CursorLine guifg=NONE guibg=#222E30 guisp=#222E30 gui=NONE ctermfg=NONE ctermbg=236 cterm=NONE
hi TabLineFill guifg=#dd00ff guibg=#53bedb guisp=#53bedb gui=bold ctermfg=165 ctermbg=74 cterm=bold
hi Question guifg=#a41bab guibg=NONE guisp=NONE gui=NONE ctermfg=127 ctermbg=NONE cterm=NONE
hi WarningMsg guifg=#A1A6A8 guibg=#912C00 guisp=#912C00 gui=NONE ctermfg=248 ctermbg=88 cterm=NONE
hi VisualNOS guifg=#192224 guibg=#F9F9FF guisp=#F9F9FF gui=underline ctermfg=235 ctermbg=189 cterm=underline
hi DiffDelete guifg=NONE guibg=#192224 guisp=#192224 gui=NONE ctermfg=NONE ctermbg=125 cterm=NONE
hi ModeMsg guifg=#000000 guibg=#00e1ff guisp=#00e1ff gui=bold ctermfg=NONE ctermbg=45 cterm=bold
hi CursorColumn guifg=NONE guibg=#222E30 guisp=#222E30 gui=NONE ctermfg=NONE ctermbg=236 cterm=NONE
hi Define guifg=#c051d3 guibg=NONE guisp=NONE gui=NONE ctermfg=164 ctermbg=0 cterm=NONE
hi Function guifg=#ff00bb guibg=NONE guisp=NONE gui=bold ctermfg=199 ctermbg=NONE cterm=bold
hi FoldColumn guifg=#192224 guibg=#A1A6A8 guisp=#A1A6A8 gui=italic ctermfg=235 ctermbg=248 cterm=NONE
hi PreProc guifg=#6cddf1 guibg=NONE guisp=NONE gui=NONE ctermfg=81 ctermbg=NONE cterm=NONE
hi Visual guifg=NONE guibg=#530060 guisp=#F9F9FF gui=NONE ctermfg=0 ctermbg=51 cterm=NONE
hi MoreMsg guifg=#c051d3 guibg=NONE guisp=NONE gui=bold ctermfg=164 ctermbg=0 cterm=bold
hi SpellCap guifg=#F9F9FF guibg=#192224 guisp=#192224 gui=underline ctermfg=189 ctermbg=235 cterm=underline
hi VertSplit guifg=#192224 guibg=#5E6C70 guisp=#5E6C70 gui=bold ctermfg=235 ctermbg=66 cterm=bold
hi Exception guifg=#bd0065 guibg=#000000 guisp=#000000 gui=bold ctermfg=5 ctermbg=NONE cterm=bold
hi Keyword guifg=#0098a3 guibg=NONE guisp=NONE gui=bold ctermfg=37 ctermbg=NONE cterm=bold
hi Type guifg=#536991 guibg=NONE guisp=NONE gui=bold ctermfg=60 ctermbg=NONE cterm=bold
hi DiffChange guifg=#ff0000 guibg=#492224 guisp=#492224 gui=NONE ctermfg=196 ctermbg=52 cterm=NONE
hi Cursor guifg=#000000 guibg=#FF00BA guisp=#F9F9F9 gui=NONE ctermfg=0 ctermbg=13 cterm=NONE
hi SpellLocal guifg=#F9F9FF guibg=#192224 guisp=#192224 gui=underline ctermfg=189 ctermbg=235 cterm=underline
hi Error guifg=#A1A6A8 guibg=#912C00 guisp=#912C00 gui=NONE ctermfg=248 ctermbg=88 cterm=NONE
hi PMenu guifg=#00ffd5 guibg=#275b6c guisp=#275b6c gui=NONE ctermfg=50 ctermbg=23 cterm=NONE
hi SpecialKey guifg=#5E6C70 guibg=NONE guisp=NONE gui=italic ctermfg=66 ctermbg=NONE cterm=NONE
hi Constant guifg=#A1A6A8 guibg=NONE guisp=NONE gui=NONE ctermfg=248 ctermbg=NONE cterm=NONE
hi Tag guifg=#c051d3 guibg=NONE guisp=NONE gui=NONE ctermfg=164 ctermbg=0 cterm=NONE
hi String guifg=#dd00ff guibg=#000000 guisp=#000000 gui=NONE ctermfg=165 ctermbg=NONE cterm=NONE
hi PMenuThumb guifg=#00858f guibg=#00f7ff guisp=#00f7ff gui=NONE ctermfg=30 ctermbg=51 cterm=NONE
hi MatchParen guifg=#dd00ff guibg=#000000 guisp=#000000 gui=bold ctermfg=0 ctermbg=51 cterm=NONE
hi Repeat guifg=#ff00f7 guibg=NONE guisp=NONE gui=bold ctermfg=201 ctermbg=NONE cterm=bold
hi SpellBad guifg=#F9F9FF guibg=#192224 guisp=#192224 gui=underline ctermfg=189 ctermbg=235 cterm=underline
hi Directory guifg=#536991 guibg=NONE guisp=NONE gui=bold ctermfg=60 ctermbg=NONE cterm=bold
hi Structure guifg=#536991 guibg=NONE guisp=NONE gui=bold ctermfg=60 ctermbg=NONE cterm=bold
hi Macro guifg=#c051d3 guibg=NONE guisp=NONE gui=NONE ctermfg=164 ctermbg=0 cterm=NONE
hi Underlined guifg=#F9F9FF guibg=#192224 guisp=#192224 gui=underline ctermfg=189 ctermbg=235 cterm=underline
hi DiffAdd guifg=#00ff33 guibg=#1a4b54 guisp=#1a4b54 gui=NONE ctermfg=47 ctermbg=23 cterm=NONE
hi TabLine guifg=#000000 guibg=#27c9f2 guisp=#27c9f2 gui=bold ctermfg=NONE ctermbg=45 cterm=bold
hi cursorim guifg=#192224 guibg=#536991 guisp=#536991 gui=NONE ctermfg=235 ctermbg=60 cterm=NONE

View File

@ -0,0 +1,111 @@
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let colors_name = "twilight"
let s:grey_blue = '#8a9597'
let s:light_grey_blue = '#a0a8b0'
let s:dark_grey_blue = '#34383c'
let s:mid_grey_blue = '#64686c'
let s:beige = '#ceb67f'
let s:light_orange = '#ebc471'
let s:yellow = '#e3d796'
let s:violet = '#a999ac'
let s:green = '#a2a96f'
let s:lightgreen = '#c2c98f'
let s:red = '#d08356'
let s:cyan = '#74dad9'
let s:darkgrey = '#1a1a1a'
let s:grey = '#303030'
let s:lightgrey = '#605958'
let s:white = '#fffedc'
if version >= 700
hi CursorLine guibg=#262626
hi CursorColumn guibg=#262626
hi MatchParen guifg=white guibg=#80a090 gui=bold
"Tabpages
hi TabLine guifg=#a09998 guibg=#202020 gui=underline
hi TabLineFill guifg=#a09998 guibg=#202020 gui=underline
hi TabLineSel guifg=#a09998 guibg=#404850 gui=underline
"P-Menu (auto-completion)
hi Pmenu guifg=#605958 guibg=#303030 gui=underline
hi PmenuSel guifg=#a09998 guibg=#404040 gui=underline
"PmenuSbar
"PmenuThumb
endif
hi Visual guibg=#404040
"hi Cursor guifg=NONE guibg=#586068
hi Cursor guibg=#b0d0f0
exe 'hi Normal guifg='.s:white .' guibg='.s:darkgrey
exe 'hi Underlined guifg='.s:white .' guibg='.s:darkgrey .' gui=underline'
exe 'hi NonText guifg='.s:lightgrey .' guibg='.s:grey
exe 'hi SpecialKey guifg='.s:grey .' guibg='.s:darkgrey
exe 'hi LineNr guifg='.s:mid_grey_blue .' guibg='.s:dark_grey_blue .' gui=none'
exe 'hi StatusLine guifg='.s:white .' guibg='.s:grey .' gui=italic,underline'
exe 'hi StatusLineNC guifg='.s:lightgrey .' guibg='.s:grey .' gui=italic,underline'
exe 'hi VertSplit guifg='.s:grey .' guibg='.s:grey .' gui=none'
exe 'hi Folded guifg='.s:grey_blue .' guibg='.s:dark_grey_blue .' gui=none'
exe 'hi FoldColumn guifg='.s:grey_blue .' guibg='.s:dark_grey_blue .' gui=none'
exe 'hi SignColumn guifg='.s:grey_blue .' guibg='.s:dark_grey_blue .' gui=none'
exe 'hi Comment guifg='.s:mid_grey_blue .' guibg='.s:darkgrey .' gui=italic'
exe 'hi TODO guifg='.s:grey_blue .' guibg='.s:darkgrey .' gui=italic,bold'
exe 'hi Title guifg='.s:red .' guibg='.s:darkgrey .' gui=underline'
exe 'hi Constant guifg='.s:red .' guibg='.s:darkgrey .' gui=none'
exe 'hi String guifg='.s:green .' guibg='.s:darkgrey .' gui=none'
exe 'hi Special guifg='.s:lightgreen .' guibg='.s:darkgrey .' gui=none'
exe 'hi Identifier guifg='.s:grey_blue .' guibg='.s:darkgrey .' gui=none'
exe 'hi Statement guifg='.s:beige .' guibg='.s:darkgrey .' gui=none'
exe 'hi Conditional guifg='.s:beige .' guibg='.s:darkgrey .' gui=none'
exe 'hi Repeat guifg='.s:beige .' guibg='.s:darkgrey .' gui=none'
exe 'hi Structure guifg='.s:beige .' guibg='.s:darkgrey .' gui=none'
exe 'hi Function guifg='.s:violet .' guibg='.s:darkgrey .' gui=none'
exe 'hi PreProc guifg='.s:grey_blue .' guibg='.s:darkgrey .' gui=none'
exe 'hi Operator guifg='.s:light_orange .' guibg='.s:darkgrey .' gui=none'
exe 'hi Type guifg='.s:yellow .' guibg='.s:darkgrey .' gui=italic'
"hi Identifier guifg=#7587a6
" Type d: 'class'
"hi Structure guifg=#9B859D gui=underline
"hi Function guifg=#dad085
" dylan: method, library, ... d: if, return, ...
"hi Statement guifg=#7187a1 gui=NONE
" Keywords d: import, module...
"hi PreProc guifg=#8fbfdc
"gui=underline
"hi Operator guifg=#a07020
"hi Repeat guifg=#906040 gui=underline
"hi Type guifg=#708090
"hi Type guifg=#f9ee98 gui=NONE
"hi NonText guifg=#808080 guibg=#303030
"hi Macro guifg=#a0b0c0 gui=underline
"Tabs, trailing spaces, etc (lcs)
"hi SpecialKey guifg=#808080 guibg=#343434
"hi TooLong guibg=#ff0000 guifg=#f8f8f8
hi Search guifg=#606000 guibg=#c0c000 gui=bold
hi Directory guifg=#dad085 gui=NONE
hi Error guibg=#602020

1
vim/.vim/init.vim Symbolic link
View File

@ -0,0 +1 @@
vimrc

View File

6
vim/.vim/tmp/.gitignore vendored Normal file
View File

@ -0,0 +1,6 @@
backup/*
!backup/.gitkeep
swap/*
!swap/.gitkeep
undo/*
!undo/.gitkeep

View File

View File

View File

164
vim/.vim/vimrc Normal file
View File

@ -0,0 +1,164 @@
call plug#begin('~/.vim/plugged')
Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' } " Amazing combination of features.
"Plug 'godoctor/godoctor.vim' " Some refactoring tools
Plug 'plytophogy/vim-virtualenv'
"Plug 'terryma/vim-multiple-cursors'
Plug 'airblade/vim-rooter'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'majutsushi/tagbar' " install exuberant-ctags
Plug 'tpope/vim-commentary'
Plug 'SirVer/ultisnips'
Plug 'neomake/neomake'
"Plug 'godlygeek/tabular'
Plug 'lepture/vim-jinja'
Plug 'b4b4r07/vim-hcl'
Plug 'hashivim/vim-packer'
Plug 'hashivim/vim-terraform'
Plug 'scrooloose/nerdtree'
Plug 'PotatoesMaster/i3-vim-syntax'
"Plug 'tpope/vim-surround'
"Plugin 'jiangmiao/auto-pairs'
"Plug 'elzr/vim-json'
if !has('nvim')
" Plugins for when you're not using neovim
endif
if has('nvim')
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
Plug 'zchee/deoplete-go', {'build': {'unix': 'make'}}
"Plug 'jodosha/vim-godebug' " Debugger integration via delve
endif
" All of your Plugs must be added before the following line
call plug#end()
"""""""""""""""""
" Plugin Config "
"""""""""""""""""
""" deoplete
if has('nvim')
" Enable deoplete on startup
let g:deoplete#enable_at_startup = 1
call deoplete#custom#option('omni_patterns', { 'go': '[^. *\t]\.\w*' })
"call deoplete#custom#option('prev_completion_mode', 'mirror')
" Disable deoplete when in multi cursor mode
"function! Multiple_cursors_before()
" let b:deoplete_disable_auto_complete = 1
"endfunction
"function! Multiple_cursors_after()
" let b:deoplete_disable_auto_complete = 0
"endfunction
endif
""" tagbar
nmap <F8> :TagbarToggle<CR>
let g:tagbar_type_go = {
\ 'ctagstype' : 'go',
\ 'kinds' : [
\ 'p:package',
\ 'i:imports:1',
\ 'c:constants',
\ 'v:variables',
\ 't:types',
\ 'n:interfaces',
\ 'w:fields',
\ 'e:embedded',
\ 'm:methods',
\ 'r:constructor',
\ 'f:functions'
\ ],
\ 'sro' : '.',
\ 'kind2scope' : {
\ 't' : 'ctype',
\ 'n' : 'ntype'
\ },
\ 'scope2kind' : {
\ 'ctype' : 't',
\ 'ntype' : 'n'
\ },
\ 'ctagsbin' : 'gotags',
\ 'ctagsargs' : '-sort -silent'
\ }
""" vim-rooter
" let g:rooter_use_lcd = 1
let g:rooter_cd_cmd="lcd"
let g:rooter_silent_chdir = 1
let g:rooter_resolve_links = 1
""" vim-terraform
let g:terraform_fmt_on_save=1
"autocmd filetype tf set syntax=terraform
autocmd FileType terraform setlocal commentstring=#%s
""" vim-jinja
autocmd BufNewFile,BufRead *.j2 set filetype=jinja
""" vim-go
let g:go_highlight_types = 1
let g:go_term_enabled = 1
let g:go_fmt_command = "goimports"
let g:go_def_mode='gopls'
let g:go_info_mode='gopls'
""" neomake
" Full config: when writing or reading a buffer, and on changes in insert and
" normal mode (after 1s; no delay when writing).
call neomake#configure#automake('nrwi', 500)
""" airline
let g:airline_theme='powerlineish' " <theme> is a valid theme name
let g:airline_powerline_fonts = 1
" powerline symbols
let g:airline_left_sep = ''
let g:airline_left_alt_sep = ''
let g:airline_right_sep = ''
let g:airline_right_alt_sep = ''
let g:airline_symbols = {}
let g:airline_symbols.branch = ''
let g:airline_symbols.readonly = ''
let g:airline_symbols.linenr = '☰'
let g:airline_symbols.maxlinenr = ''
let g:airline_symbols.dirty='⚡'
"""""""""""""""""""""
" Personal Settings "
"""""""""""""""""""""
set number
colorscheme Czar
hi Normal guibg=NONE ctermbg=NONE
command! W w !sudo tee >/dev/null %
set backupdir=~/.vim/tmp/backup//
set directory=~/.vim/tmp/swap//
set undodir=~/.vim/tmp/undo//
set completeopt-=preview
set colorcolumn=80
autocmd Filetype java setlocal colorcolumn=100
autocmd Filetype html setlocal colorcolumn=100
autocmd Filetype go setlocal colorcolumn=100
autocmd Filetype netrw setlocal colorcolumn=
set tabstop=2
set shiftwidth=2
set noexpandtab
autocmd FileType python setlocal expandtab
autocmd FileType python setlocal tabstop=4
autocmd FileType python setlocal shiftwidth=4
autocmd filetype json setlocal expandtab
autocmd filetype tf setlocal expandtab
"set list lcs=tab:\┆\ ,trail:▓,space:.
"set list lcs=tab:\⇥\ ,trail:▓,space:.
set list lcs=tab:\⇥\ ,trail:▓