dotfiles

Obligatory dotfiles repo
git clone git://git.danielmoch.com/dotfiles.git
Log | Files | Refs

commit eab144ed76cdfe80f8d8cb844377c5b1521bee49
parent fa2fa9da2439bc1dcae90ab011b6c049c2327613
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Sun, 24 Nov 2019 16:15:13 -0500

Add Vis config

Diffstat:
A.config/vis/themes/djmoch.lua | 37+++++++++++++++++++++++++++++++++++++
A.config/vis/visrc.lua | 13+++++++++++++
2 files changed, 50 insertions(+), 0 deletions(-)

diff --git a/.config/vis/themes/djmoch.lua b/.config/vis/themes/djmoch.lua @@ -0,0 +1,37 @@ +-- Eight-color scheme +local lexers = vis.lexers +-- light +lexers.STYLE_DEFAULT = 'back:default,fore:default' +lexers.STYLE_NOTHING = 'back:default' +lexers.STYLE_CLASS = 'fore:yellow,bold' +lexers.STYLE_COMMENT = 'fore:blue,bold' +lexers.STYLE_CONSTANT = 'fore:cyan,bold' +lexers.STYLE_DEFINITION = 'fore:blue,bold' +lexers.STYLE_ERROR = 'fore:red,italics' +lexers.STYLE_FUNCTION = 'fore:blue,bold' +lexers.STYLE_KEYWORD = 'fore:yellow,bold' +lexers.STYLE_LABEL = 'fore:green,bold' +lexers.STYLE_NUMBER = 'fore:red,bold' +lexers.STYLE_OPERATOR = 'fore:cyan,bold' +lexers.STYLE_REGEX = 'fore:green,bold' +lexers.STYLE_STRING = 'fore:red,bold' +lexers.STYLE_PREPROCESSOR = 'fore:magenta,bold' +lexers.STYLE_TAG = 'fore:red,bold' +lexers.STYLE_TYPE = 'fore:green,bold' +lexers.STYLE_VARIABLE = 'fore:blue,bold' +lexers.STYLE_WHITESPACE = '' +lexers.STYLE_EMBEDDED = 'back:blue,bold' +lexers.STYLE_IDENTIFIER = 'fore:black' + +lexers.STYLE_LINENUMBER = 'back:white,fore:black' +lexers.STYLE_LINENUMBER_CURSOR = lexers.STYLE_LINENUMBER +lexers.STYLE_CURSOR = 'reverse' +lexers.STYLE_CURSOR_PRIMARY = lexers.STYLE_CURSOR..',fore:yellow' +lexers.STYLE_CURSOR_LINE = 'underlined' +lexers.STYLE_COLOR_COLUMN = 'back:red' +lexers.STYLE_SELECTION = 'back:white' +lexers.STYLE_STATUS = 'back:black,fore:blue,bold' +lexers.STYLE_STATUS_FOCUSED = 'back:blue,fore:white,bold' +lexers.STYLE_SEPARATOR = lexers.STYLE_DEFAULT +lexers.STYLE_INFO = 'fore:default,back:default,bold' +lexers.STYLE_EOF = '' diff --git a/.config/vis/visrc.lua b/.config/vis/visrc.lua @@ -0,0 +1,13 @@ +-- load standard vis module, providing parts of the Lua API +require('vis') + +vis.events.subscribe(vis.events.INIT, function() + -- Your global configuration options + vis:command('set theme djmoch') +end) + +vis.events.subscribe(vis.events.WIN_OPEN, function(win) + -- Your per window configuration options e.g. + vis:command('set syntax off') + vis:command('set number') +end)