aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2020-04-11 20:54:27 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2020-05-20 11:27:26 -0400
commitab84a8f2e98b93faea3b445c07882069df37cc62 (patch)
tree04771995c902efc7ce4ff64775543b7fdebe990f
parenthelp & manpages, start work (diff)
syntax highlighting, start work, based on sisu.rb
-rw-r--r--.gitignore2
-rw-r--r--makefile16
-rw-r--r--misc/editor-syntax-etc/README90
-rw-r--r--misc/editor-syntax-etc/emacs/README4
-rw-r--r--misc/editor-syntax-etc/emacs/sisu-spine-mode-autoloads.el10
-rw-r--r--misc/editor-syntax-etc/emacs/sisu-spine-mode.el493
-rw-r--r--misc/editor-syntax-etc/gedit/sisu.lang128
-rw-r--r--misc/editor-syntax-etc/kate/sisu.xml178
-rw-r--r--misc/editor-syntax-etc/nano/nanorc221
-rw-r--r--misc/editor-syntax-etc/nedit/sisu_nedit.pats79
-rw-r--r--misc/editor-syntax-etc/vim/colors/8.vim65
-rw-r--r--misc/editor-syntax-etc/vim/colors/def-ruby.vim223
-rw-r--r--misc/editor-syntax-etc/vim/colors/def-sisu.vim223
-rw-r--r--misc/editor-syntax-etc/vim/colors/def.vim223
-rw-r--r--misc/editor-syntax-etc/vim/colors/def256-ruby.vim195
-rw-r--r--misc/editor-syntax-etc/vim/colors/def256-sisu.vim195
-rw-r--r--misc/editor-syntax-etc/vim/colors/def256.vim195
-rw-r--r--misc/editor-syntax-etc/vim/colors/frugal-cterm-ruby.vim66
-rw-r--r--misc/editor-syntax-etc/vim/colors/frugal-cterm-sisu.vim66
-rw-r--r--misc/editor-syntax-etc/vim/colors/frugal-cterm.vim69
-rw-r--r--misc/editor-syntax-etc/vim/colors/frugal.vim66
-rw-r--r--misc/editor-syntax-etc/vim/colors/slate.vim75
-rw-r--r--misc/editor-syntax-etc/vim/colors/sparse-cterm-ruby.vim66
-rw-r--r--misc/editor-syntax-etc/vim/colors/sparse-cterm-sisu.vim66
-rw-r--r--misc/editor-syntax-etc/vim/filetype.vim8
-rw-r--r--misc/editor-syntax-etc/vim/ftplugin/sisu.vim224
-rw-r--r--misc/editor-syntax-etc/vim/ftplugin/sisurb.vim7
-rw-r--r--misc/editor-syntax-etc/vim/rc/vimrc_statusline110
-rw-r--r--misc/editor-syntax-etc/vim/syntax/sisu.vim277
-rw-r--r--misc/editor-syntax-etc/vim/templates/ssi.tpl30
-rw-r--r--misc/editor-syntax-etc/vim/templates/ssm.tpl30
-rw-r--r--misc/editor-syntax-etc/vim/templates/sst.tpl30
-rw-r--r--misc/editor-syntax-etc/vim/vim-sisu.yaml7
-rw-r--r--org/spine_build_scaffold.org16
-rw-r--r--org/spine_syntax_highlighting_emacs.org539
-rw-r--r--org/spine_syntax_highlighting_vim.org984
36 files changed, 5272 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
index d37450c..dbfeee5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -23,6 +23,8 @@
!misc/**
!util
!util/**
+!editor-syntax-etc
+!editor-syntax-etc/**
!ext_lib
!ext_lib/**
!src
diff --git a/makefile b/makefile
index 8b23e43..915177e 100644
--- a/makefile
+++ b/makefile
@@ -162,7 +162,13 @@ skel:
mkdir -p build; \
mkdir -p views; \
mkdir -p data; \
- mkdir -p util; \
+ mkdir -p misc/util; \
+ mkdir -p misc/editor-syntax-etc/emacs; \
+ mkdir -p misc/editor-syntax-etc/vim/syntax; \
+ mkdir -p misc/editor-syntax-etc/vim/colors; \
+ mkdir -p misc/editor-syntax-etc/vim/ftplugin; \
+ mkdir -p misc/editor-syntax-etc/vim/rc; \
+ mkdir -p misc/editor-syntax-etc/vim/templates; \
mkdir -p $(PRG_SRCDIR)/$(PRG_NAME_DIR)/conf; \
mkdir -p $(PRG_SRCDIR)/$(PRG_NAME_DIR)/io_in; \
mkdir -p $(PRG_SRCDIR)/$(PRG_NAME_DIR)/io_out; \
@@ -190,7 +196,13 @@ expunge:
distclean: expunge
distclean_and_init: expunge
mkdir -p views; \
- mkdir -p util; \
+ mkdir -p misc/util; \
+ mkdir -p misc/editor-syntax-etc/emacs; \
+ mkdir -p misc/editor-syntax-etc/vim/syntax; \
+ mkdir -p misc/editor-syntax-etc/vim/colors; \
+ mkdir -p misc/editor-syntax-etc/vim/ftplugin; \
+ mkdir -p misc/editor-syntax-etc/vim/rc; \
+ mkdir -p misc/editor-syntax-etc/vim/templates; \
mkdir -p $(PRG_SRCDIR)/$(PRG_NAME_DIR); \
mkdir -p $(PRG_BINDIR);
ver:
diff --git a/misc/editor-syntax-etc/README b/misc/editor-syntax-etc/README
new file mode 100644
index 0000000..c03f356
--- /dev/null
+++ b/misc/editor-syntax-etc/README
@@ -0,0 +1,90 @@
+This directory
+ ./data/sisu/conf/editor-syntax-etc/
+ /usr/share/sisu/conf/editor-syntax-etc/
+contains rudimentary sisu syntax highlighting files for:
+
+* (g)vim <http://www.vim.org>
+ * package: sisu-vim
+ * status: largely done
+ there is a vim syntax highlighting and folds component
+
+* gedit <http://www.gnome.org/projects/gedit>
+* gobby <http://gobby.0x539.de/>
+ file: sisu.lang
+ place in:
+ /usr/share/gtksourceview-1.0/language-specs
+ or
+ ~/.gnome2/gtksourceview-1.0/language-specs
+ * status: very basic syntax highlighting
+ * comments: this editor features display line wrap and is used by Goby!
+
+* nano <http://www.nano-editor.org>
+ file: nanorc
+ save as:
+ ~/.nanorc
+ includes:
+ * status: basic syntax highlighting
+ * comments: assumes dark background
+ no display line-wrap
+ does line breaks
+
+* diakonos (an editor written in ruby) <http://purepistos.net/diakonos>
+ file: diakonos.conf
+ save as:
+ ~/.diakonos/diakonos.conf
+ includes:
+ * status: basic syntax highlighting
+ * comments: assumes dark background
+ no display line-wrap
+
+* kate & kwrite http://kate.kde.org
+ file: sisu.xml
+ place in:
+ /usr/share/apps/katepart/syntax
+ or
+ ~/.kde/share/apps/katepart/syntax
+ [settings::configure kate::{highlighting,filetypes}]
+ [tools::highlighting::{markup,scripts}::SiSU]
+
+* nedit <http://www.nedit.org>
+ file: sisu_nedit.pats
+ nedit -import sisu_nedit.pats
+ * status: a very clumsy first attempt
+ [not really done]
+ * comments: this editor features display line wrap
+
+* emacs <http://www.gnu.org/software/emacs/emacs.html>
+ files: sisu-mode.el
+ to file ~/.emacs add the following 2 lines:
+ (add-to-list 'load-path "/usr/share/sisu-examples/config/syntax_hi")
+ (require 'sisu-mode.el)
+ [not done / not yet included]
+
+* vim & gvim <http://www.vim.org>
+ files: sisu-vim <http://www.jus.uio.no/sisu/SiSU/download>
+ package is the most comprehensive sisu syntax highlighting and editor
+ environment provided to date (is for vim/ gvim, and is separate from the
+ contents of this directory)
+ on debian:
+ aptitude install sisu-vim
+ * status: this includes:
+ syntax highlighting
+ vim folds
+ some error checking
+ * comments: this editor features display line wrap
+
+NOTE:
+
+[SiSU parses files with long lines or line breaks,
+but, display linewrap (without line-breaks) is a
+convenient editor feature to have for sisu markup]
+
+kde-config --prefix
+KDEDIR/share/apps/katepart/syntax/
+KDEHOME/share/apps/katepart/syntax
+[In the configure dialog in kate, go to the "Editor->highlighting" page and
+>select a highlight to change the mimetype/pattern associations for it.]
+/etc/mime.types
+/usr/share/mime/text
+#
+# * aeditor (an editor written in ruby)
diff --git a/misc/editor-syntax-etc/emacs/README b/misc/editor-syntax-etc/emacs/README
new file mode 100644
index 0000000..6dabf72
--- /dev/null
+++ b/misc/editor-syntax-etc/emacs/README
@@ -0,0 +1,4 @@
+; put this into your .emacs file, then use the mode file:
+
+(load-file "~/emacs/el/sisu-spine-mode.el")
+(add-to-list 'auto-mode-alist '("\\.sst$" . sisu-spine-mode))
diff --git a/misc/editor-syntax-etc/emacs/sisu-spine-mode-autoloads.el b/misc/editor-syntax-etc/emacs/sisu-spine-mode-autoloads.el
new file mode 100644
index 0000000..80ff5b1
--- /dev/null
+++ b/misc/editor-syntax-etc/emacs/sisu-spine-mode-autoloads.el
@@ -0,0 +1,10 @@
+(add-to-list 'load-path (or (file-name-directory #$) (car load-path)))
+(autoload 'sisu-spine-mode "sisu-spine-mode" "\
+Major mode for editing SiSU (spine) markup files.
+SiSU (http://www.sisudoc.org/) document structuring, publishing
+and search.
+
+\(fn)" t nil)
+(add-to-list 'auto-mode-alist '("\\.sst\\'" . sisu-spine-mode))
+(add-to-list 'auto-mode-alist '("\\.ssm\\'" . sisu-spine-mode))
+(add-to-list 'auto-mode-alist '("\\.ssi\\'" . sisu-spine-mode))
diff --git a/misc/editor-syntax-etc/emacs/sisu-spine-mode.el b/misc/editor-syntax-etc/emacs/sisu-spine-mode.el
new file mode 100644
index 0000000..862662a
--- /dev/null
+++ b/misc/editor-syntax-etc/emacs/sisu-spine-mode.el
@@ -0,0 +1,493 @@
+;;; sisu-spine-mode.el --- Major mode for SiSU (spine parser) markup text
+
+;; Copyright (C) 2011, 2020 Free Software Foundation, Inc.
+
+;; Author: Ralph Amissah & Ambrose Kofi Laing
+;; Maintainer: Ralph Amissah <ralph.amissah@gmail.com>
+;; Keywords: text, syntax, processes, tools
+;; Version: 8.0.0
+;; URL: http://www.sisudoc.org/
+;; originally looked at (based on) doc-mode, with kind permission of the author
+;; Author: SUN, Tong <suntong001@users.sf.net>, (c)2001-6, all right reserved
+;; Version: $Date: 2006/01/19 03:13:41 $ $Revision: 1.14 $
+;; Home URL: http://xpt.sourceforge.net/
+;; with contributions from Kevin Ryde and Stefan Monnier
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation; either version 3, or (at your option)
+;; any later version.
+;;
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+;;
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+;; Viva Software Libre!
+;; Support the free software movement!
+;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+;;; Commentary:
+
+;; SiSU (http://www.sisudoc.org/) is a document structuring and
+;; publishing framework. This package provides an Emacs major mode
+;; for SiSU markup, as used by the spine parser (in D) which has a different
+;; header (based on yaml) from the original sisu parser (in Ruby) which has
+;; bespoke headers.
+
+;; When this package is installed, files ending in ".sst" are automatically
+;; associated with sisu-spine-mode. If a file doesn't have a
+;; .sst extension, add a first line:
+;; # -*- sisuSpine -*-
+
+;; The documentation for the "Structure Of The Hierarchy Text" can be
+;; found in the sisustring for the sisu-spine-mode function.
+
+;;; Code:
+
+;; Variables:
+
+(defgroup sisu-faces nil
+ "AsciiSisu highlighting"
+ :group 'sisus)
+
+;; == Colors
+; color n is more prominent than color n+1
+
+(defface sisu-title-1-face
+ `((((class color)
+ (background dark))
+ (:foreground "brown3" :bold t :height 1.2 :inherit variable-pitch))
+ (((class color)
+ (background light))
+ (:foreground "brown3" :bold t :height 1.2 :inherit variable-pitch))
+ (t (:weight bold :inherit variable-pitch)))
+ "Face for AsciiSisu titles at level 1."
+ :group 'sisu-faces)
+
+(defface sisu-title-2-face
+ `((((class color)
+ (background dark))
+ (:foreground "yellow4" :bold t :height 1.1 :inherit variable-pitch))
+ (((class color)
+ (background light))
+ (:foreground "yellow4" :bold t :height 1.1 :inherit variable-pitch))
+ (t (:weight bold :inherit variable-pitch)))
+ "Face for AsciiSisu titles at level 2."
+ :group 'sisu-faces)
+
+(defface sisu-title-3-face
+ `((((class color)
+ (background dark))
+ (:foreground "sienna3" :bold t))
+ (((class color)
+ (background light))
+ (:foreground "sienna3" :bold t))
+ (t (:weight bold)))
+ "Face for AsciiSisu titles at level 3."
+ :group 'sisu-faces)
+
+(defface sisu-title-4-face
+ `((((class color)
+ (background dark))
+ (:foreground "burlywood3"))
+ (((class color)
+ (background light))
+ (:foreground "burlywood3"))
+ (t ()))
+ "Face for AsciiSisu titles at level 4."
+ :group 'sisu-faces)
+
+(defface info-node
+ '((((class color) (background light)) (:foreground "brown" :bold t :italic t))
+ (((class color) (background dark)) (:foreground "white" :bold t :italic t))
+ (t (:bold t :italic t)))
+ "Face for Info node names."
+ :group 'sisu-faces)
+
+(defvar sisu-title-1 'sisu-title-1-face)
+(defvar sisu-title-2 'sisu-title-2-face)
+(defvar sisu-title-3 'sisu-title-3-face)
+(defvar sisu-title-4 'sisu-title-4-face)
+
+(defvar sisu-general-font-lock-red1 font-lock-warning-face)
+(defvar sisu-general-font-lock-red2 font-lock-comment-face)
+(defvar sisu-general-font-lock-red3 font-lock-string-face)
+
+(defvar sisu-general-font-lock-green1 font-lock-type-face)
+(defvar sisu-general-font-lock-green2 font-lock-constant-face)
+
+(defvar sisu-general-font-lock-blue1 font-lock-keyword-face)
+(defvar sisu-general-font-lock-blue2 font-lock-function-name-face)
+(defvar sisu-general-font-lock-blue3 font-lock-builtin-face)
+
+(defvar sisu-general-font-lock-yellow1 font-lock-variable-name-face)
+(defvar sisu-general-font-lock-yellow2 font-lock-comment-face)
+
+;; == sisu-spine-mode settings
+
+(defvar sisu-spine-mode-hook nil
+ "Normal hook run when entering Sisu Text mode.")
+
+(defvar sisu-spine-mode-abbrev-table nil
+ "Abbrev table in use in Sisu-spine-mode buffers.")
+(define-abbrev-table 'sisu-spine-mode-abbrev-table ())
+
+(defconst sisu-font-lock-keywords
+ (eval-when-compile
+ (list
+ ;;grouped text ---------
+ ;(cons "^```[ ]code\\(.\\|\n\\)+?\n```\n" 'sisu-general-font-lock-red2)
+ (cons "^```[ ]+code.*?$\\|^```$" 'sisu-general-font-lock-red2)
+ (cons "^```[ ]+table.*?$\\|^```$" 'sisu-general-font-lock-red2)
+ (cons "^```[ ]+group$\\|^```$" 'sisu-general-font-lock-red2)
+ (cons "^```[ ]+block$\\|^```$" 'sisu-general-font-lock-red2)
+ (cons "^```[ ]+poem$\\|^```$" 'sisu-general-font-lock-red2)
+ (cons "^```[ ]+alt$\\|^```$" 'sisu-general-font-lock-red2)
+ ;;grouped text ---------
+ (cons "^group{\\|^}group" 'sisu-general-font-lock-red2)
+ (cons "^block{\\|^}block" 'sisu-general-font-lock-red2)
+ (cons "^code{\\|^}code" 'sisu-general-font-lock-red2)
+ (cons "^poem{\\|^}poem" 'sisu-general-font-lock-red2)
+ (cons "^alt{\\|^}alt" 'sisu-general-font-lock-red2)
+ (cons "^table{.+\\|^}table" 'sisu-general-font-lock-red2)
+ (cons "^{table[^}]+}" 'sisu-general-font-lock-red2)
+
+ (list
+ (concat
+ "^\`\\{3\\}[ ]+code.*?$"
+ "\\(.\\|\n\\)+?"
+ "\`\\{3\\}$"
+ )
+ '(1 sisu-general-font-lock-red2 t)
+ '(2 nil t)
+ '(3 sisu-general-font-lock-red2 t)
+ )
+ (list
+ (concat
+ "^\`\\{3\\}[ ]+table.*?$"
+ "\\(.\\|\n\\)+?"
+ "\`\\{3\\}$"
+ )
+ '(1 sisu-general-font-lock-red2 t)
+ '(2 nil t)
+ '(3 sisu-general-font-lock-red2 t)
+ )
+ (list
+ (concat
+ "^\`\\{3\\}[ ]+\\(group\\|block\\|alt\\|poem\\)$"
+ "\\(.\\|\n\\)+?"
+ "^\`\\{3\\}$"
+ )
+ '(1 sisu-general-font-lock-red2 t)
+ '(2 nil t)
+ '(3 sisu-general-font-lock-red2 t)
+ )
+
+ ;; footnote/endnote ----
+ ;(cons "\~{.+?}\~" 'sisu-general-font-lock-green1)
+ (cons "\~{\\*\\*\\|\~{\\*\\|\~{\\|}\~" 'sisu-general-font-lock-red2)
+ (cons "\~\\[\\+\\|\~\\[\\*\\|\~\\[\\|\\]\~" 'sisu-general-font-lock-red2)
+ (cons "\~\\^ \\|^\\^\~ " 'sisu-general-font-lock-red2)
+ (list
+ (concat
+ "\\(\*\~\\)"
+ "\\([^ \r\t\n]+\\)"
+ )
+ '(1 sisu-general-font-lock-red1 t)
+ '(2 sisu-general-font-lock-blue2 t)
+ )
+
+ ;; emphasis (can be program configured to be bold italics or underscore)
+ (list
+ (concat
+ "\\([*]{\\)"
+ "\\([^}]+\\)"
+ "\\(}[*]\\)"
+ )
+ '(1 sisu-general-font-lock-red1 t)
+ '(2 sisu-general-font-lock-red1 t)
+ '(3 sisu-general-font-lock-red1 t)
+ )
+
+ ;; bold ----------------
+ (list
+ (concat
+ "\\([!]{\\)"
+ "\\([^}]+\\)"
+ "\\(}[!]\\)"
+ )
+ '(1 sisu-general-font-lock-red1 t)
+ '(2 sisu-general-font-lock-red1 t)
+ '(3 sisu-general-font-lock-red1 t)
+ )
+ (cons "\\*[^ ]+\\*" 'sisu-general-font-lock-red1)
+ (cons "^!_ .+" 'sisu-general-font-lock-red1)
+
+ ;; italics -------------
+ (list
+ (concat
+ "\\([/]{\\)"
+ "\\([^}]+\\)"
+ "\\(}[/]\\)"
+ )
+ '(1 sisu-general-font-lock-red1 t)
+ '(2 sisu-general-font-lock-blue1 t)
+ '(3 sisu-general-font-lock-red1 t)
+ )
+
+ ;; underscore ----------
+ (list
+ (concat
+ "\\([_]{\\)"
+ "\\([^}]+\\)"
+ "\\(\}[_]\\)"
+ )
+ '(1 sisu-general-font-lock-red1 t)
+ '(2 sisu-general-font-lock-red1 t)
+ '(3 sisu-general-font-lock-red1 t)
+ )
+
+ ;; monospace -----------
+ (list
+ (concat
+ "\\([#]{\\)"
+ "\\([^}]+\\)"
+ "\\(}[#]\\)"
+ )
+ '(1 sisu-general-font-lock-red1 t)
+ '(2 sisu-general-font-lock-red1 t)
+ '(3 sisu-general-font-lock-red1 t)
+ )
+
+ ;; citation ------------
+ (list
+ (concat
+ "\\([\"]{\\)"
+ "\\([^}]+\\)"
+ "\\(}[\"]\\)"
+ )
+ '(1 sisu-general-font-lock-red1 t)
+ '(2 sisu-general-font-lock-red1 t)
+ '(3 sisu-general-font-lock-red1 t)
+ )
+
+ ;; inserted text -------
+ (list
+ (concat
+ "\\([\+]{\\)"
+ "\\([^}]+\\)"
+ "\\(}[\+]\\)"
+ )
+ '(1 sisu-general-font-lock-red1 t)
+ '(2 sisu-general-font-lock-red1 t)
+ '(3 sisu-general-font-lock-red1 t)
+ )
+
+ ;; strike through ------
+ (list
+ (concat
+ "\\(\\-{\\)"
+ "\\([^}]+\\)"
+ "\\(}\\-\\)"
+ )
+ '(1 sisu-general-font-lock-red1 t)
+ '(2 sisu-general-font-lock-red1 t)
+ '(3 sisu-general-font-lock-red1 t)
+ )
+
+ ;; superscript ---------
+ (list
+ (concat
+ "\\(\\^{\\)"
+ "\\([^}]+\\)"
+ "\\(}\\^\\)"
+ )
+ '(1 sisu-general-font-lock-red1 t)
+ '(2 sisu-general-font-lock-red1 t)
+ '(3 sisu-general-font-lock-red1 t)
+ )
+
+ ;; subscript -----------
+ (list
+ (concat
+ "\\([,]{\\)"
+ "\\([^}]+\\)"
+ "\\(}[,]\\)"
+ )
+ '(1 sisu-general-font-lock-red1 t)
+ '(2 sisu-general-font-lock-red1 t)
+ '(3 sisu-general-font-lock-red1 t)
+ )
+
+ ;; numbered list
+ (cons "^# \\|^_# " 'sisu-general-font-lock-red1)
+
+ ;; bullet text
+ (cons "^_\\*[1-9] \\|^_\\* " 'sisu-general-font-lock-red1)
+
+ ;; indented text
+ (cons "^_[1-9] " 'sisu-general-font-lock-red1)
+ (cons "^_[1-9]! " 'sisu-general-font-lock-red1)
+
+ ;; hanging indented text [proposed enable when implemented]
+ (cons "^__[1-9] " 'sisu-general-font-lock-red1)
+ (cons "^_[0-9]_[0-9] " 'sisu-general-font-lock-red1)
+ (cons "^__[1-9]! " 'sisu-general-font-lock-red1)
+ (cons "^_[0-9]_[0-9]! " 'sisu-general-font-lock-red1)
+
+ ;; url
+ (cons "\\(^\\|[ ]\\)https?:[/][/][^ \t\n\r<]+" 'sisu-general-font-lock-blue2)
+
+ ;; Comment Lines
+ (cons "^% .*" 'sisu-general-font-lock-blue1)
+
+ ;; page break
+ (cons "^\\(-\\\\\\\\-\\|=\\\\\\\\=\\|-\\.\\.-\\)" 'sisu-general-font-lock-red2)
+
+ ;; line break
+ (cons " \\\\\\\\ " 'sisu-general-font-lock-red1)
+
+ ;; line break (depreciated)
+ (cons "<br>" 'sisu-general-font-lock-red1)
+
+ ;; Section titles
+ (list "^\\(\\([1-4]\\|:?[A-D]\\)\\~\\)\\(.*\\)"
+ '(1 sisu-title-1 t)
+ '(3 sisu-title-2 t)
+ )
+
+ ;; hyper-links
+ (list
+ (concat
+ "\\({~^\\|{\\)"
+ "\\([^}{]+\\)"
+ "\\(}https?:[/][/][^ \r\n\t<]+\\)"
+ )
+ '(1 sisu-general-font-lock-blue2 t)
+ '(2 sisu-general-font-lock-red1 t)
+ '(3 sisu-general-font-lock-blue2 t)
+ )
+
+ ;; book index
+ (list
+ (concat
+ "^\\(\={\\)"
+ "\\([^}{]+\\)"
+ "\\(}\\)$"
+ )
+ '(1 sisu-general-font-lock-green1 t)
+ '(2 nil t)
+ '(3 sisu-general-font-lock-green1 t)
+ )
+
+ ;(cons "^\={.+}" 'sisu-general-font-lock-green1)
+
+ ;; numbers
+ (cons "\\<[.0-9]+\\>" 'sisu-general-font-lock-green2)
+
+ ;; bullets sisu_normal (nearly copied regexp)
+ (cons "^_\\([1-9*]\\|[1-9]\\*\\) " 'sisu-general-font-lock-blue2)
+
+ ;; image links
+ (list
+ (concat
+ "\\({\\)"
+ "\\([^}{]+\\)"
+ "\\(}image\\)"
+ )
+ '(1 sisu-general-font-lock-blue2 t)
+ '(2 sisu-general-font-lock-red1 t)
+ '(3 sisu-general-font-lock-blue2 t)
+ )
+
+ ;; insert file links
+ (list
+ (concat
+ "\\(<< \\)"
+ "\\([^ \r\t\n]+\\.ss\\)"
+ "\\(i\\|t\\)"
+ )
+ '(1 sisu-general-font-lock-blue2 t)
+ '(2 sisu-general-font-lock-blue2 t)
+ '(3 sisu-general-font-lock-blue2 t)
+ )
+
+ ;; raw keywords
+ (list
+ (concat
+ "^\\(\\("
+ "creator\\|"
+ "title\\|"
+ "date\\|"
+ "rights\\|"
+ "publisher\\|"
+ "classify\\|"
+ "identifier\\|"
+ "original\\|"
+ "notes\\|"
+ "links\\|"
+ "make\\|"
+ "\\):\\)\\(.*\\)"
+ )
+ '(1 sisu-title-2 keep)
+ '(3 sisu-title-3 keep)
+ )
+ )
+ )
+ "Default expressions to highlight in AsciiSisu mode."
+)
+
+;; outline mode evil "folding" if available
+;; (define-key evil-normal-state-map ",0" 'show-all)
+;; (define-key evil-normal-state-map ",-" 'hide-body)
+;; (define-key evil-normal-state-map ",+" 'show-subtree)
+;; (define-key evil-normal-state-map ",=" 'show-subtree)
+
+;;
+
+;; Sisu & Autoload:
+
+;;;###autoload
+(define-derived-mode sisu-spine-mode text-mode "SiSU"
+ "Major mode for editing SiSU files.
+SiSU document structuring, publishing in multiple formats and search.
+URL `http://www.sisudoc.org/'"
+ (modify-syntax-entry ?\' ".")
+ ;;(flyspell-mode nil)
+
+ (make-local-variable 'paragraph-start)
+ (setq paragraph-start (concat "$\\|>" page-delimiter))
+ (make-local-variable 'paragraph-separate)
+ (setq paragraph-separate paragraph-start)
+ (make-local-variable 'paragraph-ignore-fill-prefix)
+ (setq paragraph-ignore-fill-prefix t)
+
+ (set (make-local-variable 'outline-regexp)
+ "^\\(\\([1-4]\\|:?[A-D]\\)\\~\\|\\@[a-z]+:\\( \\|$\\)\\)")
+
+ (make-local-variable 'require-final-newline)
+ (setq require-final-newline t)
+
+ (make-local-variable 'font-lock-defaults)
+ (setq font-lock-defaults
+ '(sisu-font-lock-keywords
+ nil ; KEYWORDS-ONLY: no
+ nil ; CASE-FOLD: no
+ ((?_ . "w")) ; SYNTAX-ALIST
+ ))
+ ;; Enable outlining.
+ ;; TODO with outlining make sure linum (line numbering) is off,
+ ;; else performance penalty, sucks bigtime
+ (outline-minor-mode 1))
+
+;;;###autoload (add-to-list 'auto-mode-alist '("\\.ss[imt]\\'" . sisu-spine-mode))
+
+(provide 'sisu-spine-mode)
+
+;;
+
+;;; sisu-spine-mode.el ends here
diff --git a/misc/editor-syntax-etc/gedit/sisu.lang b/misc/editor-syntax-etc/gedit/sisu.lang
new file mode 100644
index 0000000..b82d5f8
--- /dev/null
+++ b/misc/editor-syntax-etc/gedit/sisu.lang
@@ -0,0 +1,128 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE language SYSTEM "language.dtd">
+<language _name="SiSU" version="1.0" _section="Markup" mimetypes="text/x-ruby">
+<!-- SiSU syntax highligting for gedit, place in:
+ /usr/share/gtksourceview-1.0/language-specs
+or:
+ ~/gtksourceview-1.0/language-specs
+-->
+
+ <syntax-item _name="Header" style="Data Type">
+ <start-regex>^0~\S|^\@\S+:\s</start-regex>
+ <end-regex>\n\n</end-regex>
+ </syntax-item>
+
+ <pattern-item _name="Bold" style="Keyword" end-at-line-end = "TRUE">
+ <regex>^(:[A-C]|[1-6])~[a-zA-Z0-9.?_-]*\s+.+</regex>
+ </pattern-item>
+
+ <pattern-item _name="Operators" style="Function">
+ <regex>^(!_|_[1-9]|_[1-9]?\*)\s</regex>
+ </pattern-item>
+
+ <syntax-item _name="Note Function" style="Function">
+ <start-regex>~\{</start-regex>
+ <end-regex>\}~</end-regex>
+ </syntax-item>
+
+ <syntax-item _name="Bold Function" style="Function">
+ <start-regex>[*]\{</start-regex>
+ <end-regex>\}[*]</end-regex>
+ </syntax-item>
+
+ <syntax-item _name="Exclaim Function" style="Function">
+ <start-regex>!\{</start-regex>
+ <end-regex>\}!</end-regex>
+ </syntax-item>
+
+ <syntax-item _name="Italics Function" style="Function">
+ <start-regex>/\{</start-regex>
+ <end-regex>\}/</end-regex>
+ </syntax-item>
+
+ <syntax-item _name="Underscore Function" style="Function">
+ <start-regex>_\{</start-regex>
+ <end-regex>\}_</end-regex>
+ </syntax-item>
+
+ <syntax-item _name="Supercript Function" style="Function">
+ <start-regex>\^{</start-regex>
+ <end-regex>\}\^</end-regex>
+ </syntax-item>
+
+ <syntax-item _name="Subscript Function" style="Function">
+ <start-regex>,{</start-regex>
+ <end-regex>\},</end-regex>
+ </syntax-item>
+
+ <syntax-item _name="Added Function" style="Function">
+ <start-regex>[+]\{</start-regex>
+ <end-regex>\}[+]</end-regex>
+ </syntax-item>
+
+ <syntax-item _name="Strikethrough Function" style="Function">
+ <start-regex>[-]\{</start-regex>
+ <end-regex>\}[-]</end-regex>
+ </syntax-item>
+
+ <pattern-item _name="Bold Single" style="String">
+ <regex>[*]\S+[*]</regex>
+ </pattern-item>
+
+ <pattern-item _name="Link" style="String">
+ <regex>\{[^}]+\}(https?:\/\/\S+|image)\s</regex>
+ </pattern-item>
+
+ <pattern-item _name="Link Internal" style="String">
+ <regex>\s\*~\S+</regex>
+ </pattern-item>
+
+ <pattern-item _name="Url" style="String">
+ <regex>http[s]*:\/\/\S+</regex>
+ </pattern-item>
+
+ <pattern-item _name="Url" style="String">
+ <regex>^&lt;&lt;\s+\S+\.ss[ti]</regex>
+ </pattern-item>
+
+ <line-comment _name="Line Comment" style="Comment">
+ <start-regex>^%+\s.</start-regex>
+ </line-comment>
+
+ <syntax-item _name="Multiline Code" style="Others">
+ <start-regex>^code\{\s*$</start-regex>
+ <end-regex>^\}code\s*$</end-regex>
+ </syntax-item>
+
+ <syntax-item _name="Multiline Poem" style="Others">
+ <start-regex>^poem\{\s*$</start-regex>
+ <end-regex>^\}poem\s*$</end-regex>
+ </syntax-item>
+
+ <syntax-item _name="Multiline Group" style="Others">
+ <start-regex>^group\{\s*$</start-regex>
+ <end-regex>^\}group\s*$</end-regex>
+ </syntax-item>
+
+ <syntax-item _name="Multiline Alt" style="Others">
+ <start-regex>^alt\{\s*$</start-regex>
+ <end-regex>^\}alt\s*$</end-regex>
+ </syntax-item>
+
+ <pattern-item _name="Page Break" style="Others 2" end-at-line-end = "TRUE">
+ <regex>&lt;:(pb|np)&gt;</regex>
+ </pattern-item>
+
+ <pattern-item _name="Line Break" style="Others 2" end-at-line-end = "TRUE">
+ <regex>&lt;:?br&gt;</regex>
+ </pattern-item>
+
+ <pattern-item _name="Footnote Reference" style="Others" end-at-line-end = "TRUE">
+ <regex>~\^(\s|$)</regex>
+ </pattern-item>
+
+ <pattern-item _name="Footnote Content" style="Others" end-at-line-end = "TRUE">
+ <regex>^\^~\s.+</regex>
+ </pattern-item>
+
+</language>
diff --git a/misc/editor-syntax-etc/kate/sisu.xml b/misc/editor-syntax-etc/kate/sisu.xml
new file mode 100644
index 0000000..a8054f2
--- /dev/null
+++ b/misc/editor-syntax-etc/kate/sisu.xml
@@ -0,0 +1,178 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE language SYSTEM "language.dtd">
+<language name="SiSU" version="1.00" section="Markup" kateversion="2.4" extensions="*.sst; *.ssm; *.ssi; *._sst; *.-sst;" author="Ralph Amissah (ralph.amissah@gmail.com)" license="LGPL" >
+ <highlighting>
+ <list name="somename">
+ <item> class </item>
+ <item> const </item>
+ </list>
+ <contexts>
+ <context attribute="Normal Text" lineEndContext="#pop" name="Normal Text" >
+ <StringDetect String="&lt;br&gt;" attribute="Break" context="#pop" />
+ <RegExpr String="\s+$" attribute="Warn" context="#pop" />
+ <RegExpr String="&lt;\S+&gt;" attribute="Warn" context="#pop" />
+ <RegExpr String="&lt;a href=\S+&gt;" attribute="Warn" context="#pop" />
+ <RegExpr String="&lt;a href=" attribute="Warn" context="#pop" />
+ <RegExpr String="&lt;/a&gt;" attribute="Warn" context="#pop" />
+ <RegExpr String="&lt;https?:\/\/\S+&gt;" attribute="Warn" context="#pop"/>
+ <RegExpr String="&gt;https?:\/\/\S+" attribute="Warn" context="#pop"/>
+ <RegExpr String="^&lt;&lt;\s+[a-zA-Z._]+\.ss[it]" attribute="Link" context="#pop"/>
+ <RegExpr String="^&lt;&lt;\{\s*[a-zA-Z._]+\.ss[it]\s*\}" attribute="Link" context="#pop"/>
+ <RegExpr String="&lt;&lt;\s+&#124;" attribute="Link" context="#pop"/>
+ <RegExpr String="https?:\/\/\S+&lt;" attribute="Warn" context="#pop"/>
+ <keyword attribute="Keyword" context="#stay" String="somename" />
+ <DetectChar attribute="String" context="string" char="&quot;" />
+ <RegExpr String="^(0~\S+|@\S+)\s.+$" attribute="Header" context="#pop" />
+ <RegExpr String="^:?[A-C1-9]~.+$" attribute="Heading" context="#pop" />
+ <StringDetect String="~{" attribute="Endnote" context="footnote"/>
+ <StringDetect String="^~" attribute="Endnote" context="endnote"/>
+ <StringDetect String="!{" attribute="Bold" context="emphasis"/>
+ <StringDetect String="*{" attribute="Bold" context="bold"/>
+ <StringDetect String="/{" attribute="Italic" context="italic"/>
+ <StringDetect String="_{" attribute="Underscore" context="underscore"/>
+ <StringDetect String="^{" attribute="Superscript" context="superscript"/>
+ <StringDetect String=",{" attribute="Subscript" context="subscript"/>
+ <StringDetect String="-{" attribute="Strike" context="strike"/>
+ <StringDetect String="+{" attribute="Insert" context="insert"/>
+ <RegExpr String="\{[\s\S]+\}https?:\/\/\S+(\s|$)" attribute="Link" context="#pop" minimal="true" />
+ <RegExpr String="\{[\s\S]+\}\.\.\/\S+(\s|$)" attribute="Link" context="#stay" minimal="true" />
+ <RegExpr String="\{[\s\S]+\}image(\s|$)" attribute="Link" context="#stay" minimal="true" />
+ <RegExpr String="\s_?https?:\/\/\S+" attribute="Link" context="#stay"/>
+ <RegExpr String="^_?https?:\/\/\S+" attribute="Link" context="#stay"/>
+ <RegExpr String="^!_ .+" attribute="Bold" context="boldline"/>
+ <RegExpr String="^(_[1-9]|_\*|_[1-9]\*)\s" attribute="Indent" context="#stay"/>
+ <RegExpr String="~\^" attribute="Endnote" context="#stay"/>
+ <RegExpr String="^%+\s.+$" attribute="Comment" context="#stay" endRegion="regionMarker" firstNonSpace="true" />
+ </context>
+ <context attribute="String" lineEndContext="#stay" name="string" >
+ <DetectChar attribute="String" context="#pop" char="&quot;" />
+ </context>
+ <context attribute="Endnote" lineEndContext="#stay" name="footnote" >
+ <StringDetect attribute="Endnote" context="#pop" String="}~" />
+ <RegExpr String="\{[\s\S]+\}https?:\/\/\S+(\s|$)" attribute="Link" context="#pop" minimal="true" />
+ <RegExpr String="\{[\s\S]+\}\.\.\/\S+(\s|$)" attribute="Link" context="#stay" minimal="true" />
+ <RegExpr String="\{[\s\S]+\}image(\s|$)" attribute="Link" context="#stay" minimal="true" />
+ <RegExpr String="\s_?https?:\/\/\S+" attribute="Link" context="#stay"/>
+ <RegExpr String="^_?https?:\/\/\S+" attribute="Link" context="#stay"/>
+ <StringDetect String="!{" attribute="Bold" context="emphasis"/>
+ <StringDetect String="*{" attribute="Bold" context="bold"/>
+ <StringDetect String="/{" attribute="Italic" context="italic"/>
+ <StringDetect String="_{" attribute="Underscore" context="underscore"/>
+ <StringDetect String="^{" attribute="Superscript" context="superscript"/>
+ <StringDetect String=",{" attribute="Subscript" context="subscript"/>
+ <StringDetect String="-{" attribute="Strike" context="strike"/>
+ <StringDetect String="+{" attribute="Insert" context="insert"/>
+ </context>
+ <context attribute="Bold" lineEndContext="#stay" name="bold" >
+ <StringDetect attribute="Bold" context="#pop" String="}*" />
+ <StringDetect String="/{" attribute="Italic" context="italic"/>
+ <StringDetect String="_{" attribute="Underscore" context="underscore"/>
+ <StringDetect String="^{" attribute="Superscript" context="superscript"/>
+ <StringDetect String=",{" attribute="Subscript" context="subscript"/>
+ <StringDetect String="-{" attribute="Strike" context="strike"/>
+ <StringDetect String="+{" attribute="Insert" context="insert"/>
+ </context>
+ <context attribute="Bold" lineEndContext="#stay" name="emphasis" >
+ <StringDetect attribute="Bold" context="#pop" String="}!" />
+ <StringDetect String="/{" attribute="Italic" context="italic"/>
+ <StringDetect String="_{" attribute="Underscore" context="underscore"/>
+ <StringDetect String="^{" attribute="Superscript" context="superscript"/>
+ <StringDetect String=",{" attribute="Subscript" context="subscript"/>
+ <StringDetect String="-{" attribute="Strike" context="strike"/>
+ <StringDetect String="+{" attribute="Insert" context="insert"/>
+ </context>
+ <context attribute="Italic" lineEndContext="#stay" name="italic" >
+ <StringDetect attribute="Italic" context="#pop" String="}/" />
+ <StringDetect String="!{" attribute="Bold" context="emphasis"/>
+ <StringDetect String="*{" attribute="Bold" context="bold"/>
+ <StringDetect String="_{" attribute="Underscore" context="underscore"/>
+ <StringDetect String="^{" attribute="Superscript" context="superscript"/>
+ <StringDetect String=",{" attribute="Subscript" context="subscript"/>
+ <StringDetect String="-{" attribute="Strike" context="strike"/>
+ <StringDetect String="+{" attribute="Insert" context="insert"/>
+ </context>
+ <context attribute="Underscore" lineEndContext="#stay" name="underscore" >
+ <StringDetect attribute="Underscore" context="#pop" String="}_" />
+ <StringDetect String="!{" attribute="Bold" context="emphasis"/>
+ <StringDetect String="*{" attribute="Bold" context="bold"/>
+ <StringDetect String="/{" attribute="Italic" context="italic"/>
+ <StringDetect String="^{" attribute="Superscript" context="superscript"/>
+ <StringDetect String=",{" attribute="Subscript" context="subscript"/>
+ <StringDetect String="-{" attribute="Strike" context="strike"/>
+ <StringDetect String="+{" attribute="Insert" context="insert"/>
+ </context>
+ <context attribute="Superscript" lineEndContext="#stay" name="superscript" >
+ <StringDetect attribute="Superscript" context="#pop" String="}^" />
+ <StringDetect String="!{" attribute="Bold" context="emphasis"/>
+ <StringDetect String="*{" attribute="Bold" context="bold"/>
+ <StringDetect String="/{" attribute="Italic" context="italic"/>
+ <StringDetect String="_{" attribute="Underscore" context="underscore"/>
+ <StringDetect String=",{" attribute="Subscript" context="subscript"/>
+ <StringDetect String="-{" attribute="Strike" context="strike"/>
+ <StringDetect String="+{" attribute="Insert" context="insert"/>
+ </context>
+ <context attribute="Subscript" lineEndContext="#stay" name="subscript" >
+ <StringDetect attribute="Subscript" context="#pop" String="}," />
+ <StringDetect String="!{" attribute="Bold" context="emphasis"/>
+ <StringDetect String="*{" attribute="Bold" context="bold"/>
+ <StringDetect String="/{" attribute="Italic" context="italic"/>
+ <StringDetect String="_{" attribute="Underscore" context="underscore"/>
+ <StringDetect String="^{" attribute="Superscript" context="superscript"/>
+ <StringDetect String="-{" attribute="Strike" context="strike"/>
+ <StringDetect String="+{" attribute="Insert" context="insert"/>
+ </context>
+ <context attribute="Strike" lineEndContext="#stay" name="strike" >
+ <StringDetect attribute="Strike" context="#pop" String="}-" />
+ <StringDetect String="!{" attribute="Bold" context="emphasis"/>
+ <StringDetect String="*{" attribute="Bold" context="bold"/>
+ <StringDetect String="/{" attribute="Italic" context="italic"/>
+ <StringDetect String="_{" attribute="Underscore" context="underscore"/>
+ <StringDetect String="^{" attribute="Superscript" context="superscript"/>
+ <StringDetect String=",{" attribute="Subscript" context="subscript"/>
+ <StringDetect String="+{" attribute="Insert" context="insert"/>
+ </context>
+ <context attribute="Insert" lineEndContext="#stay" name="insert" >
+ <StringDetect attribute="Insert" context="#pop" String="}+" />
+ <StringDetect String="!{" attribute="Bold" context="emphasis"/>
+ <StringDetect String="*{" attribute="Bold" context="bold"/>
+ <StringDetect String="/{" attribute="Italic" context="italic"/>
+ <StringDetect String="_{" attribute="Underscore" context="underscore"/>
+ <StringDetect String="^{" attribute="Superscript" context="superscript"/>
+ <StringDetect String=",{" attribute="Subscript" context="subscript"/>
+ <StringDetect String="-{" attribute="Strike" context="strike"/>
+ </context>
+ <context attribute="Endnote" lineEndContext="#pop" name="endnote" />
+ <context attribute="Bold" lineEndContext="#pop" name="boldline" />
+ <context attribute="Indent" lineEndContext="#pop" name="indent" />
+ <context attribute="Warn" lineEndContext="#pop" name="warn" />
+ </contexts>
+ <itemDatas>
+ <itemData name="Normal Text" defStyleNum="dsNormal" />
+ <itemData name="Header" defStyleNum="dsNormal" color="#1c869b" selColor="#60FFFF" bold="0" italic="0"/>
+ <itemData name="Heading" defStyleNum="dsNormal" color="#ff0000" selColor="#60FFFF" bold="1" italic="0"/>
+ <itemData name="Bold" defStyleNum="dsNormal" color="#800000" selColor="#60FFFF" bold="1" italic="0"/>
+ <itemData name="Italic" defStyleNum="dsNormal" color="#800000" selColor="#60FFFF" bold="0" italic="1"/>
+ <itemData name="Underscore" defStyleNum="dsNormal" color="#F00000" selColor="#80FFD0" bold="0" italic="0"/>
+ <itemData name="Superscript" defStyleNum="dsNormal" color="#F00000" selColor="#80FFD0" bold="0" italic="0"/>
+ <itemData name="Subscript" defStyleNum="dsNormal" color="#F00000" selColor="#80FFD0" bold="0" italic="0"/>
+ <itemData name="Strike" defStyleNum="dsNormal" color="#F00000" selColor="#80FFD0" bold="0" italic="0"/>
+ <itemData name="Insert" defStyleNum="dsNormal" color="#F00000" selColor="#80FFD0" bold="0" italic="0"/>
+ <itemData name="Keyword" defStyleNum="dsKeyword" />
+ <itemData name="Endnote" defStyleNum="dsNormal" color="#0AAA00" selColor="#60FFFF" bold="0" italic="0"/>
+ <itemData name="Link" defStyleNum="dsNormal" color="#0000FF" selColor="#60FFFF" bold="0" italic="0"/>
+ <itemData name="String" defStyleNum="dsString" />
+ <itemData name="Comment" defStyleNum="dsComment"/>
+ <itemData name="Group" defStyleNum="dsRegionMarker"/>
+ <itemData name="Break" defStyleNum="dsNormal" color="#FF0000" selColor="#60FFFF" bold="0" italic="0"/>
+ <itemData name="Indent" defStyleNum="dsNormal" color="#F00000" selColor="#80FFD0" bold="0" italic="0"/>
+ <itemData name="Structure" defStyleNum="dsNormal" color="#F00000" selColor="#80FFD0" bold="0" italic="0"/>
+ <itemData name="Warn" defStyleNum="dsError" color="#FF00FF" selColor="#000000" bold="1" italic="0"/>
+ </itemDatas>
+ </highlighting>
+ <general>
+ <keywords weakDeliminator="\" wordWrapDeliminator=",{}[]"/>
+ <comments>
+ <comment name="singleLine" start="%" />
+ </comments>
+ </general>
+</language>
diff --git a/misc/editor-syntax-etc/nano/nanorc b/misc/editor-syntax-etc/nano/nanorc
new file mode 100644
index 0000000..30ba439
--- /dev/null
+++ b/misc/editor-syntax-etc/nano/nanorc
@@ -0,0 +1,221 @@
+## Sample initialization file for GNU nano
+## Please note that you must have configured nano with --enable-nanorc
+## for this file to be read! Also note that characters specially
+## interpreted by the shell should not be escaped here.
+##
+## To make sure a value is not enabled, use "unset <option>"
+##
+## For the options that take parameters, the default value is given.
+## Other options are unset by default.
+
+## Use auto-indentation.
+# set autoindent
+
+## Backup files to filename~.
+# set backup
+
+## The directory to put unique backup files in.
+# set backupdir ""
+
+## Do backwards searches by default.
+# set backwards
+
+## The characters treated as closing brackets. They cannot contain
+## blank characters. Only closing punctuation, optionally followed by
+## closing brackets, can end sentences.
+##
+# set brackets "'")}]>"
+
+## Do case sensitive searches by default.
+# set casesensitive
+
+## Constantly display the cursor position in the statusbar. Note that
+## this cancels out "quickblank".
+# set const
+
+## Use cut to end of line by default.
+# set cut
+
+## Set the line length for wrapping text and justifying paragraphs.
+## If fill is 0 or less, the line length will be the screen width less
+## this number.
+##
+# set fill -8
+
+## Enable ~/.nano_history for saving and reading search/replace strings.
+# set historylog
+
+## Use the blank line below the titlebar as extra editing space.
+# set morespace
+
+## Enable mouse support, so that mouse clicks can be used to set the
+## mark and run shortcuts.
+# set mouse
+
+## Allow multiple file buffers (inserting a file will put it into a
+## separate buffer). You must have configured with --enable-multibuffer
+## for this to work.
+##
+# set multibuffer
+
+## Don't convert files from DOS/Mac format.
+# set noconvert
+
+## Don't follow symlinks when writing files.
+# set nofollow
+
+## Don't display the helpful shortcut lists at the bottom of the screen.
+# set nohelp
+
+## Don't wrap text at all.
+# set nowrap
+
+## Set operating directory. nano will not read or write files outside
+## this directory and its subdirectories. Also, the current directory
+## is changed to here, so files are inserted from this dir. A blank
+## string means the operating directory feature is turned off.
+##
+# set operatingdir ""
+
+## Preserve the XON and XOFF keys (^Q and ^S).
+# set preserve
+
+## The characters treated as closing punctuation. They cannot contain
+## blank characters. Only closing punctuation, optionally followed by
+## closing brackets, can end sentences.
+##
+# set punct ".?!"
+
+## Do quick statusbar blanking. Statusbar messages will disappear after
+## 1 keystroke instead of 25. Note that "const" cancels this out.
+##
+# set quickblank
+
+## The email-quote string, used to justify email-quoted paragraphs.
+## This is an extended regular expression if your system supports them,
+## otherwise a literal string. Default:
+# set quotestr "^([ ]*[\|>:}#])+"
+## if you have regexps, otherwise:
+# set quotestr "> "
+## You can get old nano quoted-justify behavior via:
+# set quotestr "(> )+"
+
+## Fix Backspace/Delete confusion problem.
+# set rebinddelete
+
+## Do extended regular expression searches by default.
+# set regexp
+
+## Make the Home key smarter. When Home is pressed anywhere but at the
+## very beginning of non-whitespace characters on a line, the cursor
+## will jump to that beginning (either forwards or backwards). If the
+## cursor is already at that position, it will jump to the true
+## beginning of the line.
+# set smarthome
+
+## Use smooth scrolling as the default.
+# set smooth
+
+## Use this spelling checker instead of the internal one. This option
+## does not properly have a default value.
+##
+# set speller "aspell -x -c"
+
+## Allow nano to be suspended.
+# set suspend
+
+## Use this tab size instead of the default; it must be greater than 0.
+# set tabsize 8
+
+## Convert typed tabs to spaces.
+# set tabstospaces
+
+## Save automatically on exit, don't prompt.
+# set tempfile
+
+## Disallow file modification; why would you want this in an rcfile? ;)
+# set view
+
+## The two single-column characters used to display the first characters
+## of tabs and spaces. 187 decimal (00BB hexadecimal) and 183 decimal
+## (00B7 hexadecimal) seem to be good values for these.
+# set whitespace " "
+
+## Color setup
+##
+## Format:
+##
+## syntax "short description" ["filename regex" ...]
+##
+## color foreground,background "regex" ["regex"...]
+## or
+## icolor foreground,background "regex" ["regex"...]
+##
+## "color" will do case sensitive matches, while "icolor" will do case
+## insensitive matches.
+##
+## Legal colors: white, black, red, blue, green, yellow, magenta, cyan.
+## You may use the prefix "bright" to mean a stronger color highlight
+## for the foreground.
+##
+## To use multi-line regexes, use the start="regex" end="regex" format.
+##
+## If your system supports transparency, not specifying a background
+## color will use a transparent color. If you don't want this, be sure
+## to set the background color to black or white.
+##
+# syntax "c-file" "\.(c|C|cc|cpp|cxx|h|H|hh|hpp|hxx)$"
+# color red "\<[A-Z_]{2,}\>"
+# color green "\<(float|double|bool|char|int|short|long|sizeof|enum|void|static|const|struct|union|typedef|extern|signed|unsigned|inline)\>"
+# color green "\<(class|namespace|template|public|protected|private|typename|this|friend|virtual|using|mutable|volatile|register|explicit)\>"
+# color brightyellow "\<(for|if|while|do|else|case|default|switch|goto|continue|break|return)\>"
+# color brightyellow "\<(try|throw|catch|operator|new|delete)\>"
+# color brightcyan "^[[:space:]]*#[[:space:]]*(define|undef|include|ifn?def|endif|elif|else|if|warning|error)"
+# color brightmagenta "'([^\]|(\\['abfnrtv\\]))'" "'\\(([0-7][0-7]?)|([0-3][0-7][0-7]))'" "'\\x[0-9A-Fa-f][0-9A-Fa-f]?'"
+## color foreground,background "regex" ["regex"...]
+##
+#% sisu
+syntax "sisu" "\.ss[tmi]$"
+#color white,black ".*"
+color cyan start="^0~" end="^$"
+color cyan start="^@\S+:" end="^$"
+#color cyan "^0~.*"
+color brightyellow "^[1-6]~.*"
+color brightyellow "^:?[A-C]~.*"
+icolor brightwhite "^(Chapter|Part|Section|Book|Article|Preamble|Appendix)\s.*"
+color brightyellow "^!_\s.*"
+color brightyellow "[!*]\{.+?\}[!*]"
+color yellow "[/_+-^,]\{.+?\}[/_+-^,]"
+color green "~\{.+?\}~"
+color green "~\^(\s|$)"
+color green "^\^~\s.+"
+#color green start="~\{" end="\}~"
+color yellow "\{.+?\}http:\/\/\S+"
+color brightblue "http:\/\/\S+"
+color brightblue "^<<\s\S+?\.ss[it]"
+color yellow "^(_[12]?\*|_[12])"
+color magenta "^%+\s+.*"
+color green start="^poem\{$" end="^\}poem$"
+color green start="^code\{$" end="^\}code$"
+color green start="^group\{$" end="^\}group$"
+color green start="^alt\{$" end="^\}alt$"
+color magenta "<:(pb|np)>"
+color magenta "<(\/\s*)?br>"
+color magenta "[a-zA-Z0-9,.::?!&]+http:\/\/\S+"
+
+# .nanorc
+#
+ syntax "nanorc" "(\.|/|)nanorc$"
+# highlight possible errors and parameters
+ icolor brightwhite "^[[:space:]]*(set|unset|syntax|i?color).*$"
+# set, unset and syntax
+ icolor cyan "^[[:space:]]*(set|unset)[[:space:]]+(autoindent|backup|backupdir|backwards|brackets|casesensitive|const|cut|fill|historylog|morespace|mouse|multibuffer|noconvert|nofollow|nohelp|nowrap|operatingdir|preserve|punct|quickblank|quotestr|rebinddelete)\>" "^[[:space:]]*(set|unset)[[:space:]]+(regexp|smarthome|smooth|speller|suspend|tabsize|tabstospaces|tempfile|view|whitespace)\>"
+ icolor green "^[[:space:]]*(set|unset|syntax)\>"
+# colors
+ icolor yellow "^[[:space:]]*i?color[[:space:]]*(bright)?(white|black|red|blue|green|yellow|magenta|cyan)?(,(white|black|red|blue|green|yellow|magenta|cyan))?\>"
+ icolor magenta "^[[:space:]]*i?color\>" "\<(start|end)="
+# strings
+ icolor white "\"(\\.|[^\"])*\""
+# comments
+ icolor blue "^[[:space:]]*#.*$"
+
diff --git a/misc/editor-syntax-etc/nedit/sisu_nedit.pats b/misc/editor-syntax-etc/nedit/sisu_nedit.pats
new file mode 100644
index 0000000..ef01b2b
--- /dev/null
+++ b/misc/editor-syntax-etc/nedit/sisu_nedit.pats
@@ -0,0 +1,79 @@
+! Nedit Syntax highlighting patterns and commenting for SiSU
+! Version 0.1
+!
+! INSTALLATION
+!
+! Load this pattern by starting nedit with:
+!
+! nedit -import <name of this file>
+!
+! Then, check that the patterns were loaded correctly, and choose Save Defaults
+! from the Preferences menu. The new patterns will now be incorporated into
+! your own .nedit file, so the next time you start NEdit, you will no longer
+! need to use -import.
+!
+! These comments will not appear in your ~/.nedit
+!
+nedit.macroCommands: \
+ SiSU Comments>Comment Out Lines@SiSU:::R: {\n\
+ replace_in_selection("^.*$", "%+ &", "regex")\n\
+ }\n\
+ SiSU Comments>Uncomment Lines@SiSU:::R: {\n\
+ replace_in_selection("(^[ \\\\t]*# ?)(.*)$", "\\\\2", "regex")\n\
+ }\n\
+ SiSU Comments>Comment Out Sel.@SiSU:::R: {\n\
+ beginning-of-selection()\n\
+ mark("1")\n\
+ deselect-all()\n\
+ insert-string("=begin\\n")\n\
+ goto-mark("1")\n\
+ beginning-of-selection()\n\
+ backward-character("extend")\n\
+ backward-character("extend")\n\
+ backward-character("extend")\n\
+ backward-character("extend")\n\
+ backward-character("extend")\n\
+ backward-character("extend")\n\
+ backward-character("extend")\n\
+ mark("1")\n\
+ end-of-selection()\n\
+ deselect-all()\n\
+ insert-string("\\n=end")\n\
+ goto-mark("1")\n\
+ }\n\
+ SiSU Comments>Uncomment Sel.@SiSU:::R: {\n\
+ beginning-of-selection()\n\
+ mark("1")\n\
+ deselect-all()\n\
+ replace("=begin\\n","")\n\
+ goto-mark("1")\n\
+ deselect-all()\n\
+ replace("\\n=end","","backward")\n\
+ goto-mark("1")\n\
+ }\n
+nedit.highlightPatterns: SiSU:1:0{\n\
+ comment:"^%+ ":"$"::Comment::\n\
+ endnote1:"~\\^(\s|$)":::Keyword::D\n\
+ endnote2:"^\\^~ ":"$"::Comment::\n\
+ header:"^0~|@\S+:\s":"$"::Keyword::\n\
+ bold_line:"^!_ ":"$"::Keyword::\n\
+ heading:"^[1-9]~":"$"::Keyword::\n\
+ code_block:"^code\\{":"^\\}code"::Comment::\n\
+ poem_block:"^poem\\{":"^\\}poem"::Comment::\n\
+ group_block:"^group\\{":"^\\}group"::Comment::\n\
+ alt_block:"^alt\\{":"^\\}alt"::Comment::\n\
+ endnote:"~\\{":"\\}~":"\\n":String::\n\
+ string2:"'":"'":"\\n":String1::\n\
+ string escape chars:"\\\\(.|\\n)":::String1:endnote:\n\
+ character constant:"'":"'":"[^\\\\][^']":Character Const::\n\
+ numeric constant:"<((0(x|X)[0-9a-fA-F]*)|(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)(L|l|UL|ul|u|U|F|f)?>":::Plain::D\n\
+ storage keyword:"<(class)>":::Storage Type::D\n\
+ line:"^(_[1-9]|_\\*|_[1-9]\\*)":::Keyword::D\n\
+ link:"[{}](http://[a-zA-Z0-9?.!+\\-_/&=#]+)?":::Keyword::D\n\
+ url:"http://[a-zA-Z0-9?.!+\\-_/&=#]+":::Keyword::D\n\
+ }
+! endnote:"~\\{":"\\}~"::Keyword::\n\
+! link:"\\{":"\\}http://\S+"::Keyword::D\n\
+nedit.languageModes: SiSU:.sst::::::".,/\\`'!|@#%^&*()-=+{}[]"":;<>?~"
+! nedit.languageModes: SiSU:.sst::::::".,/\\`'!|@#%^&*()-=+{}[]"":;<>?~"
+! nedit.languageModes: SiSU:.ss[tmi]::::::
diff --git a/misc/editor-syntax-etc/vim/colors/8.vim b/misc/editor-syntax-etc/vim/colors/8.vim
new file mode 100644
index 0000000..08c43b1
--- /dev/null
+++ b/misc/editor-syntax-etc/vim/colors/8.vim
@@ -0,0 +1,65 @@
+" Vim color file
+" Name: 8
+" Maintainer: Ralph Amissah <ralph@amissah.com>
+" Last Change: 2013-02-09
+" URL: <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=data/sisu/conf/editor-syntax-etc/vim/colors/8.vim;hb=HEAD>
+" Note: 8 color cterm, related colorschemes frugal & sparse
+:set background=dark
+:hi clear
+if exists("syntax_on")
+ syntax reset
+endif
+:let colors_name = "8"
+" 0 = black, 1 = red, 2 = green, 3 = yellow/orange, 4 = blue, 5 = magenta, 6 = cyan, 7 = white
+:hi Normal ctermbg=0 ctermfg=7
+:hi Cursor term=reverse cterm=reverse
+:hi lCursor term=reverse cterm=reverse
+:hi StatusLine term=bold,reverse cterm=bold,reverse
+:hi StatusLineNC term=reverse cterm=reverse
+:hi Search term=reverse cterm=none ctermbg=2 ctermfg=0
+:hi IncSearch term=reverse cterm=bold ctermbg=2 ctermfg=7
+:hi SpecialKey term=bold ctermfg=4
+:hi Visual term=reverse cterm=reverse
+:hi VisualNOS term=bold,underline cterm=bold,underline
+:hi MoreMsg term=bold ctermfg=2
+:hi ModeMsg term=bold cterm=bold
+:hi Question term=standout ctermfg=2
+:hi Title term=bold ctermfg=1
+:hi NonText term=bold cterm=bold ctermfg=4
+:hi LineNr term=underline cterm=none ctermbg=7 ctermfg=0
+:hi Directory term=bold ctermfg=4
+:hi WildMenu term=standout ctermbg=3 ctermfg=0
+:hi VertSplit term=reverse cterm=reverse
+:hi Folded term=standout cterm=none ctermbg=0 ctermfg=7
+:hi FoldColumn term=standout ctermbg=7 ctermfg=4
+:hi DiffChange cterm=none ctermbg=7 ctermfg=0
+:hi DiffText cterm=none ctermbg=6 ctermfg=0
+:hi DiffAdd cterm=none ctermbg=2 ctermfg=0
+:hi DiffDelete cterm=none ctermbg=7 ctermfg=0
+:hi String cterm=none ctermfg=3
+:hi Comment cterm=none ctermbg=0 ctermfg=4
+:hi Constant term=underline ctermfg=1
+:hi Special term=bold ctermfg=3
+:hi Identifier term=underline cterm=none ctermfg=6
+:hi Statement term=bold cterm=none ctermfg=2
+":hi Operator term=bold ctermfg=1
+:hi PreProc term=underline ctermfg=1
+:hi Type term=underline cterm=bold ctermfg=3
+:hi Delimiter cterm=none ctermfg=2
+:hi Ignore cterm=bold ctermfg=7
+:hi Todo term=standout ctermbg=3 ctermfg=0
+:hi Underlined term=underline cterm=underline
+":hi Include ctermfg=1
+":hi Define ctermfg=3
+":hi Function ctermfg=6
+":hi Structure ctermfg=2
+:hi MatchParen cterm=bold ctermbg=4 ctermfg=7
+:hi CursorLine cterm=bold
+:hi CursorColumn cterm=bold
+:hi SpellBad term=underline,standout cterm=none ctermbg=7 ctermfg=0
+:hi SpellCap term=underline,standout cterm=none ctermbg=7 ctermfg=0
+:hi SpellLocal term=underline,standout cterm=none ctermbg=7 ctermfg=0
+:hi SpellRare term=underline,standout cterm=none ctermbg=7 ctermfg=0
+:hi WarningMsg term=standout ctermfg=1
+:hi ErrorMsg term=standout cterm=bold ctermbg=1 ctermfg=7
+:hi Error term=reverse cterm=bold ctermbg=1 ctermfg=7
diff --git a/misc/editor-syntax-etc/vim/colors/def-ruby.vim b/misc/editor-syntax-etc/vim/colors/def-ruby.vim
new file mode 100644
index 0000000..6578593
--- /dev/null
+++ b/misc/editor-syntax-etc/vim/colors/def-ruby.vim
@@ -0,0 +1,223 @@
+" Vim color file
+" Name: def-ruby
+" Maintainer: Ralph Amissah <ralph@amissah.com>
+" Last Change: 2013-02-14
+" URL: <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=data/sisu/conf/editor-syntax-etc/vim/colors/def-ruby.vim;hb=HEAD>
+" Note: primarily 16 color cterm improved by tweaking of .Xdefaults
+" (with occasional other colors selected from 256 color palate)
+" .Xdefaults tweaking to make identical to def (256) provided,
+" along with an alternative possibility using colors beyond
+" 256 color palate
+:hi clear
+if exists("syntax_on")
+ syntax reset
+endif
+:set t_Co=256
+:set background=dark
+:let colors_name = "def-ruby"
+" -------
+" terminal def
+" -------
+:hi Normal ctermbg=0 ctermfg=7
+":hi Cursor ctermbg=5 ctermfg=0
+:hi lCursor cterm=reverse
+:hi StatusLine cterm=reverse
+:hi StatusLineNC cterm=reverse
+:hi Search cterm=none ctermbg=57 ctermfg=0
+:hi IncSearch cterm=none ctermbg=154 ctermfg=0
+:hi SpecialKey ctermfg=4
+:hi Visual cterm=reverse
+:hi VisualNOS cterm=bold,underline
+:hi MoreMsg ctermfg=2
+:hi ModeMsg cterm=bold
+:hi Question ctermfg=2
+:hi Title ctermfg=1
+:hi NonText cterm=bold ctermfg=4
+:hi LineNr cterm=bold ctermbg=0 ctermfg=0*
+:hi CursorLineNr cterm=bold ctermbg=166 ctermfg=0
+:hi Directory ctermfg=4
+:hi WildMenu ctermbg=3 ctermfg=0
+:hi VertSplit cterm=reverse
+:hi Folded cterm=none ctermbg=0 ctermfg=8
+:hi FoldColumn ctermbg=7 ctermfg=4
+:hi DiffAdd cterm=none ctermbg=2 ctermfg=0
+:hi DiffChange cterm=none ctermbg=7 ctermfg=0
+:hi DiffDelete cterm=none ctermbg=7 ctermfg=0
+:hi DiffText cterm=none ctermbg=6 ctermfg=0
+:hi String cterm=none ctermfg=3
+:hi Comment cterm=none ctermbg=0 ctermfg=4
+:hi Constant ctermfg=1
+:hi Special ctermfg=6
+:hi Identifier cterm=none ctermfg=6
+:hi Statement cterm=none ctermfg=2
+:hi Operator ctermfg=1
+:hi PreProc ctermfg=1
+:hi Type cterm=bold ctermfg=3
+:hi Delimiter cterm=none ctermfg=2
+:hi Ignore cterm=bold ctermfg=7
+:hi Todo ctermbg=3 ctermfg=0
+:hi Underlined cterm=underline
+:hi Include ctermfg=1
+:hi Define ctermfg=3
+:hi Function ctermfg=6
+:hi Structure ctermfg=2
+:hi MatchParen cterm=bold ctermbg=4 ctermfg=7
+:hi CursorLine cterm=bold
+:hi CursorColumn ctermbg=17
+:hi ColorColumn ctermbg=17
+:hi SpellBad cterm=underline ctermbg=0 ctermfg=5
+:hi SpellCap cterm=underline ctermbg=0 ctermfg=5
+:hi SpellLocal cterm=underline ctermbg=0 ctermfg=5
+:hi SpellRare cterm=underline ctermbg=0 ctermfg=5
+:hi TrailingWhitespace ctermbg=1
+:hi ExtraWhitespace ctermbg=1
+:hi WarningMsg ctermfg=1
+:hi ErrorMsg cterm=bold ctermbg=1 ctermfg=7
+:hi Error cterm=bold ctermbg=1 ctermfg=7
+" -------
+" gui def
+" -------
+:hi Normal guibg=#000000 guifg=#D3D3D3
+:hi Cursor guibg=#CC9966 guifg=#000000
+:hi lCursor gui=reverse
+:hi StatusLine gui=reverse
+:hi StatusLineNC gui=reverse
+:hi Search gui=none guibg=#5F00FF guifg=#000000
+:hi IncSearch gui=none guibg=#AFFF00 guifg=#000000
+:hi SpecialKey guifg=#5971AD
+:hi Visual gui=reverse
+:hi VisualNOS gui=bold,underline
+:hi MoreMsg guifg=#4E9A06
+:hi ModeMsg gui=bold
+:hi Question guifg=#4E9A06
+:hi Title guifg=#CC0000
+:hi NonText gui=bold guifg=#5971AD
+:hi LineNr gui=bold guibg=#000000 guifg=#808080
+:hi CursorLineNr gui=bold guibg=#D75F00 guifg=#000000
+:hi Directory guifg=#5971AD
+:hi WildMenu guibg=#C4A000 guifg=#000000
+:hi VertSplit gui=reverse
+:hi Folded gui=none guibg=#000000 guifg=#808080
+:hi FoldColumn guibg=#D3D3D3 guifg=#5971AD
+:hi DiffAdd gui=none guibg=#4E9A06 guifg=#000000
+:hi DiffChange gui=none guibg=#D3D3D3 guifg=#000000
+:hi DiffDelete gui=none guibg=#D3D3D3 guifg=#000000
+:hi DiffText gui=none guibg=#06989A guifg=#000000
+:hi String gui=none guifg=#C4A000
+:hi Comment gui=none guibg=#000000 guifg=#5971AD
+:hi Constant guifg=#CC0000
+:hi Special guifg=#06989A
+:hi Identifier gui=none guifg=#06989A
+:hi Statement gui=none guifg=#4E9A06
+:hi Operator guifg=#CC0000
+:hi PreProc guifg=#CC0000
+:hi Type gui=bold guifg=#C4A000
+:hi Delimiter gui=none guifg=#4E9A06
+:hi Ignore gui=bold guifg=#D3D3D3
+:hi Todo guibg=#C4A000 guifg=#000000
+:hi Underlined gui=underline
+:hi Include guifg=#CC0000
+:hi Define guifg=#C4A000
+:hi Function guifg=#06989A
+:hi Structure guifg=#4E9A06
+:hi MatchParen gui=bold guibg=#5971AD guifg=#D3D3D3
+:hi CursorLine gui=bold
+:hi CursorColumn guibg=#00005F
+:hi ColorColumn guibg=#00005F
+:hi SpellBad gui=underline guibg=#000000 guifg=#75507B
+:hi SpellCap gui=underline guibg=#000000 guifg=#75507B
+:hi SpellLocal gui=underline guibg=#000000 guifg=#75507B
+:hi SpellRare gui=underline guibg=#000000 guifg=#75507B
+:hi TrailingWhitespace guibg=#CC0000
+:hi ExtraWhitespace guibg=#CC0000
+:hi WarningMsg guifg=#CC0000
+:hi ErrorMsg gui=bold guibg=#CC0000 guifg=#D3D3D3
+:hi Error gui=bold guibg=#CC0000 guifg=#D3D3D3
+" -------
+"256 color .Xdefaults vim: cterm giu
+"<http://vim.wikia.com/wiki/Xterm256_color_names_for_console_Vim>
+"<http://guns.github.com/xterm-color-table.vim/images/xterm-color-table-with-visible-rgb.png>
+" -------
+" 256 color .Xdefaults vim: cterm giu def
+" -------
+" 16 color standard altered 256 altered beyond 256
+" black/dark grey
+" 0 [ 0:#000000] #000000
+" 8 [ 8:#808080] [59:#5F5F5F] #555555
+" red
+" 1 [ 1:#800000] 160:#DF0000 #CC0000
+" 9 [ 9:#FF0000] #EF2929
+" green
+" 2 [ 2:#008000] 112:#87DF00 #4E9A06
+" 10 [10:#00FF00] 154:#AFFF00 #8AE234
+" yellow/orange
+" 3 [ 3:#808000] 178:#DFAF00 #C4A000
+" 11 [11:#FFFF00] 184:#DFDF00 #FC9E4F
+" blue
+" 4 [ 4:#000080] 24:#005F87 #5971AD
+" 12 [12:#0000FF] 73:#5FAFAF #729FCF
+" magenta
+" 5 [ 5:#800080] 90:#870087 #75507B
+" 13 [13:#FF00FF] 126:#AF0087 #AD7FA8
+" cyan
+" 6 [ 6:#008080] 37:#00AFAF #06989A
+" 14 [14:#00FFFF] 87:#5FFFFF #34E2E2
+" white
+" 7 [ 7:#C0C0C0] #D3D3D3
+" 15 [15:#FFFFFF] #EEEEEE
+" --------
+" .Xdefaults (rxvt urxvt setting beyond 256 colors, vim colorscheme "def" gui settings)
+" (vim colorscheme "def" cterm matches "def" gui if .Xdefaults set thus)
+" --------
+" ! black
+" Rxvt.color0 : #000000
+" Rxvt.color8 : #555555
+" ! red
+" Rxvt.color1 : #CC0000
+" Rxvt.color9 : #EF2929
+" ! green
+" Rxvt.color2 : #4E9A06
+" Rxvt.color10 : #8AE234
+" ! yellow
+" Rxvt.color3 : #C4A000
+" Rxvt.color11 : #FCE94F
+" ! blue
+" Rxvt.color4 : #5971AD
+" Rxvt.color12 : #729FCF
+" ! magenta
+" Rxvt.color5 : #75507B
+" Rxvt.color13 : #AD7FA8
+" ! cyan
+" Rxvt.color6 : #06989A
+" Rxvt.color14 : #34E2E2
+" ! white
+" Rxvt.color7 : #D3D7CF
+" Rxvt.color15 : #EEEEEE
+" --------
+" .Xdefaults 256 (rxvt urxvt setting, vim colorscheme "def256" cterm & gui settings)
+" (vim colorscheme "def" cterm matches "def256" if .Xdefaults set thus)
+" --------
+" ! black
+" Rxvt.color0 : #000000
+" Rxvt.color8 : #808080
+" ! red
+" Rxvt.color1 : #DF0000
+" Rxvt.color9 : #FF0000
+" ! green
+" Rxvt.color2 : #87DF00
+" Rxvt.color10 : #AFFF00
+" ! yellow
+" Rxvt.color3 : #DFAF00
+" Rxvt.color11 : #FFFF00
+" ! blue
+" Rxvt.color4 : #5F87DF
+" Rxvt.color12 : #87DFFF
+" ! magenta
+" Rxvt.color5 : #8700DF
+" Rxvt.color13 : #87DFFF
+" ! cyan
+" Rxvt.color6 : #00DFDF
+" Rxvt.color14 : #5F5FDF
+" ! white
+" Rxvt.color7 : #C0C0C0
+" Rxvt.color15 : #FFFFFF
diff --git a/misc/editor-syntax-etc/vim/colors/def-sisu.vim b/misc/editor-syntax-etc/vim/colors/def-sisu.vim
new file mode 100644
index 0000000..a55f752
--- /dev/null
+++ b/misc/editor-syntax-etc/vim/colors/def-sisu.vim
@@ -0,0 +1,223 @@
+" Vim color file
+" Name: def-sisu
+" Maintainer: Ralph Amissah <ralph@amissah.com>
+" Last Change: 2013-02-14
+" URL: <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=data/sisu/conf/editor-syntax-etc/vim/colors/def-sisu.vim;hb=HEAD>
+" Note: primarily 16 color cterm improved by tweaking of .Xdefaults
+" (with occasional other colors selected from 256 color palate)
+" .Xdefaults tweaking to make identical to def (256) provided,
+" along with an alternative possibility using colors beyond
+" 256 color palate
+:hi clear
+if exists("syntax_on")
+ syntax reset
+endif
+:set t_Co=256
+:set background=dark
+:let colors_name = "def-sisu"
+" -------
+" terminal def
+" -------
+:hi Normal ctermbg=0 ctermfg=7
+":hi Cursor ctermbg=5 ctermfg=0
+:hi lCursor cterm=reverse
+:hi StatusLine cterm=bold,reverse
+:hi StatusLineNC cterm=reverse
+:hi Search cterm=none ctermbg=57 ctermfg=0
+:hi IncSearch cterm=none ctermbg=154 ctermfg=0
+:hi SpecialKey ctermfg=4
+:hi Visual cterm=reverse
+:hi VisualNOS cterm=bold,underline
+:hi MoreMsg ctermfg=2
+:hi ModeMsg cterm=bold
+:hi Question ctermfg=2
+:hi Title cterm=bold ctermfg=3
+:hi NonText cterm=bold ctermfg=4
+:hi LineNr cterm=bold ctermbg=0 ctermfg=0*
+:hi CursorLineNr cterm=bold ctermbg=166 ctermfg=0
+:hi Directory ctermfg=4
+:hi WildMenu ctermbg=3 ctermfg=0
+:hi VertSplit cterm=reverse
+:hi Folded cterm=none ctermbg=0 ctermfg=8
+:hi FoldColumn ctermbg=7 ctermfg=4
+:hi DiffAdd cterm=none ctermbg=2 ctermfg=0
+:hi DiffChange cterm=none ctermbg=7 ctermfg=0
+:hi DiffDelete cterm=none ctermbg=7 ctermfg=0
+:hi DiffText cterm=none ctermbg=6 ctermfg=0
+:hi String cterm=none ctermfg=3
+:hi Comment cterm=none ctermbg=0 ctermfg=4
+:hi Constant ctermfg=1
+:hi Special ctermfg=6
+:hi Identifier ctermfg=6
+:hi Statement ctermfg=6
+:hi Operator ctermfg=1
+:hi PreProc ctermbg=7 ctermfg=1
+:hi Type ctermfg=2
+:hi Delimiter cterm=none ctermfg=1
+:hi Ignore cterm=bold ctermfg=7
+:hi Todo ctermbg=3 ctermfg=0
+:hi Underlined cterm=underline
+:hi Include ctermfg=1
+:hi Define ctermfg=3
+:hi Function ctermfg=6
+:hi Structure ctermfg=2
+:hi MatchParen cterm=bold ctermbg=4 ctermfg=7
+:hi CursorLine cterm=bold
+:hi CursorColumn ctermbg=17
+:hi ColorColumn ctermbg=17
+:hi SpellBad cterm=underline ctermbg=0 ctermfg=5
+:hi SpellCap cterm=underline ctermbg=0 ctermfg=5
+:hi SpellLocal cterm=underline ctermbg=0 ctermfg=5
+:hi SpellRare cterm=underline ctermbg=0 ctermfg=5
+:hi TrailingWhitespace ctermbg=1
+:hi ExtraWhitespace ctermbg=1
+:hi WarningMsg ctermfg=1
+:hi ErrorMsg cterm=bold ctermbg=1 ctermfg=7
+:hi Error cterm=bold ctermbg=1 ctermfg=7
+" -------
+" gui def
+" -------
+:hi Normal guibg=#000000 guifg=#D3D3D3
+:hi Cursor guibg=#CC9966 guifg=#000000
+:hi lCursor gui=reverse
+:hi StatusLine gui=bold,reverse
+:hi StatusLineNC gui=reverse
+:hi Search gui=none guibg=#5F00FF guifg=#000000
+:hi IncSearch gui=none guibg=#AFFF00 guifg=#000000
+:hi SpecialKey guifg=#5971AD
+:hi Visual gui=reverse
+:hi VisualNOS gui=bold,underline
+:hi MoreMsg guifg=#4E9A06
+:hi ModeMsg gui=bold
+:hi Question guifg=#4E9A06
+:hi Title gui=bold guifg=#C4A000
+:hi NonText gui=bold guifg=#5971AD
+:hi LineNr gui=bold guibg=#000000 guifg=#808080
+:hi CursorLineNr gui=bold guibg=#D75F00 guifg=#000000
+:hi Directory guifg=#5971AD
+:hi WildMenu guibg=#C4A000 guifg=#000000
+:hi VertSplit gui=reverse
+:hi Folded gui=none guibg=#000000 guifg=#808080
+:hi FoldColumn guibg=#D3D3D3 guifg=#5971AD
+:hi DiffAdd gui=none guibg=#4E9A06 guifg=#000000
+:hi DiffChange gui=none guibg=#D3D3D3 guifg=#000000
+:hi DiffDelete gui=none guibg=#D3D3D3 guifg=#000000
+:hi DiffText gui=none guibg=#06989A guifg=#000000
+:hi String gui=none guifg=#C4A000
+:hi Comment gui=none guibg=#000000 guifg=#5971AD
+:hi Constant guifg=#CC0000
+:hi Special guifg=#06989A
+:hi Identifier guifg=#06989A
+:hi Statement guifg=#06989A
+:hi Operator guifg=#CC0000
+:hi PreProc guibg=#D3D3D3 guifg=#CC0000
+:hi Type guifg=#4E9A06
+:hi Delimiter gui=none guifg=#CC0000
+:hi Ignore gui=bold guifg=#D3D3D3
+:hi Todo guibg=#C4A000 guifg=#000000
+:hi Underlined gui=underline
+:hi Include guifg=#CC0000
+:hi Define guifg=#C4A000
+:hi Function guifg=#06989A
+:hi Structure guifg=#4E9A06
+:hi MatchParen gui=bold guibg=#5971AD guifg=#D3D3D3
+:hi CursorLine gui=bold
+:hi CursorColumn guibg=#00005F
+:hi ColorColumn guibg=#00005F
+:hi SpellBad gui=underline guibg=#000000 guifg=#75507B
+:hi SpellCap gui=underline guibg=#000000 guifg=#75507B
+:hi SpellLocal gui=underline guibg=#000000 guifg=#75507B
+:hi SpellRare gui=underline guibg=#000000 guifg=#75507B
+:hi TrailingWhitespace guibg=#080000
+:hi ExtraWhitespace guibg=#CC0000
+:hi WarningMsg guifg=#CC0000
+:hi ErrorMsg gui=bold guibg=#CC0000 guifg=#D3D3D3
+:hi Error gui=bold guibg=#CC0000 guifg=#D3D3D3
+" -------
+"256 color .Xdefaults vim: cterm giu
+"<http://vim.wikia.com/wiki/Xterm256_color_names_for_console_Vim>
+"<http://guns.github.com/xterm-color-table.vim/images/xterm-color-table-with-visible-rgb.png>
+" -------
+" 256 color .Xdefaults vim: cterm giu def
+" -------
+" 16 color standard altered 256 altered beyond 256
+" black/dark grey
+" 0 [ 0:#000000] #000000
+" 8 [ 8:#808080] [59:#5F5F5F] #555555
+" red
+" 1 [ 1:#800000] 160:#DF0000 #CC0000
+" 9 [ 9:#FF0000] #EF2929
+" green
+" 2 [ 2:#008000] 112:#87DF00 #4E9A06
+" 10 [10:#00FF00] 154:#AFFF00 #8AE234
+" yellow/orange
+" 3 [ 3:#808000] 178:#DFAF00 #C4A000
+" 11 [11:#FFFF00] 184:#DFDF00 #FC9E4F
+" blue
+" 4 [ 4:#000080] 24:#005F87 #5971AD
+" 12 [12:#0000FF] 73:#5FAFAF #729FCF
+" magenta
+" 5 [ 5:#800080] 90:#870087 #75507B
+" 13 [13:#FF00FF] 126:#AF0087 #AD7FA8
+" cyan
+" 6 [ 6:#008080] 37:#00AFAF #06989A
+" 14 [14:#00FFFF] 87:#5FFFFF #34E2E2
+" white
+" 7 [ 7:#C0C0C0] #D3D3D3
+" 15 [15:#FFFFFF] #EEEEEE
+" --------
+" .Xdefaults (rxvt urxvt setting beyond 256 colors, vim colorscheme "def" gui settings)
+" (vim colorscheme "def" cterm matches "def" gui if .Xdefaults set thus)
+" --------
+" ! black
+" Rxvt.color0 : #000000
+" Rxvt.color8 : #555555
+" ! red
+" Rxvt.color1 : #CC0000
+" Rxvt.color9 : #EF2929
+" ! green
+" Rxvt.color2 : #4E9A06
+" Rxvt.color10 : #8AE234
+" ! yellow
+" Rxvt.color3 : #C4A000
+" Rxvt.color11 : #FCE94F
+" ! blue
+" Rxvt.color4 : #5971AD
+" Rxvt.color12 : #729FCF
+" ! magenta
+" Rxvt.color5 : #75507B
+" Rxvt.color13 : #AD7FA8
+" ! cyan
+" Rxvt.color6 : #06989A
+" Rxvt.color14 : #34E2E2
+" ! white
+" Rxvt.color7 : #D3D7CF
+" Rxvt.color15 : #EEEEEE
+" --------
+" .Xdefaults 256 (rxvt urxvt setting, vim colorscheme "def256" cterm & gui settings)
+" (vim colorscheme "def" cterm matches "def256" if .Xdefaults set thus)
+" --------
+" ! black
+" Rxvt.color0 : #000000
+" Rxvt.color8 : #808080
+" ! red
+" Rxvt.color1 : #DF0000
+" Rxvt.color9 : #FF0000
+" ! green
+" Rxvt.color2 : #87DF00
+" Rxvt.color10 : #AFFF00
+" ! yellow
+" Rxvt.color3 : #DFAF00
+" Rxvt.color11 : #FFFF00
+" ! blue
+" Rxvt.color4 : #5F87DF
+" Rxvt.color12 : #87DFFF
+" ! magenta
+" Rxvt.color5 : #8700DF
+" Rxvt.color13 : #87DFFF
+" ! cyan
+" Rxvt.color6 : #00DFDF
+" Rxvt.color14 : #5F5FDF
+" ! white
+" Rxvt.color7 : #C0C0C0
+" Rxvt.color15 : #FFFFFF
diff --git a/misc/editor-syntax-etc/vim/colors/def.vim b/misc/editor-syntax-etc/vim/colors/def.vim
new file mode 100644
index 0000000..b0e599c
--- /dev/null
+++ b/misc/editor-syntax-etc/vim/colors/def.vim
@@ -0,0 +1,223 @@
+" Vim color file
+" Name: def
+" Maintainer: Ralph Amissah <ralph@amissah.com>
+" Last Change: 2013-02-14
+" URL: <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=data/sisu/conf/editor-syntax-etc/vim/colors/def.vim;hb=HEAD>
+" Note: primarily 16 color cterm improved by tweaking of .Xdefaults
+" (with occasional other colors selected from 256 color palate)
+" .Xdefaults tweaking to make identical to def (256) provided,
+" along with an alternative possibility using colors beyond
+" 256 color palate
+:hi clear
+if exists("syntax_on")
+ syntax reset
+endif
+:set t_Co=256
+:set background=dark
+:let colors_name = "def"
+" -------
+" terminal def
+" -------
+:hi Normal ctermbg=0 ctermfg=7
+":hi Cursor ctermbg=5 ctermfg=0
+:hi lCursor cterm=reverse
+:hi StatusLine cterm=bold,reverse
+:hi StatusLineNC cterm=reverse
+:hi Search cterm=none ctermbg=57 ctermfg=0
+:hi IncSearch cterm=none ctermbg=154 ctermfg=0
+:hi SpecialKey ctermfg=4
+:hi Visual cterm=reverse
+:hi VisualNOS cterm=bold,underline
+:hi MoreMsg ctermfg=2
+:hi ModeMsg cterm=bold
+:hi Question ctermfg=2
+:hi Title cterm=bold ctermfg=3
+:hi NonText cterm=bold ctermfg=4
+:hi LineNr cterm=bold ctermbg=0 ctermfg=0*
+:hi CursorLineNr cterm=bold ctermbg=166 ctermfg=0
+:hi Directory ctermfg=4
+:hi WildMenu ctermbg=3 ctermfg=0
+:hi VertSplit cterm=reverse
+:hi Folded cterm=none ctermbg=0 ctermfg=8
+:hi FoldColumn ctermbg=7 ctermfg=4
+:hi DiffAdd cterm=none ctermbg=2 ctermfg=0
+:hi DiffChange cterm=none ctermbg=7 ctermfg=0
+:hi DiffDelete cterm=none ctermbg=7 ctermfg=0
+:hi DiffText cterm=none ctermbg=6 ctermfg=0
+:hi String cterm=none ctermfg=3
+:hi Comment cterm=none ctermbg=0 ctermfg=4
+:hi Constant ctermfg=1
+:hi Special ctermfg=6
+:hi Identifier ctermfg=6
+:hi Statement ctermfg=2
+:hi Operator ctermfg=2
+:hi PreProc ctermfg=1
+:hi Type cterm=bold ctermfg=3
+:hi Delimiter cterm=none ctermfg=2
+:hi Ignore cterm=bold ctermfg=7
+:hi Todo ctermbg=3 ctermfg=0
+:hi Underlined cterm=underline
+:hi Include ctermfg=1
+:hi Define ctermfg=3
+:hi Function ctermfg=6
+:hi Structure ctermfg=2
+:hi MatchParen cterm=bold ctermbg=4 ctermfg=7
+:hi CursorLine cterm=bold
+:hi CursorColumn ctermbg=17
+:hi ColorColumn ctermbg=17
+:hi SpellBad cterm=underline ctermbg=0 ctermfg=5
+:hi SpellCap cterm=underline ctermbg=0 ctermfg=5
+:hi SpellLocal cterm=underline ctermbg=0 ctermfg=5
+:hi SpellRare cterm=underline ctermbg=0 ctermfg=5
+:hi TrailingWhitespace ctermbg=1
+:hi ExtraWhitespace ctermbg=1
+:hi WarningMsg ctermfg=1
+:hi ErrorMsg cterm=bold ctermbg=1 ctermfg=7
+:hi Error cterm=bold ctermbg=1 ctermfg=7
+" -------
+" gui def
+" -------
+:hi Normal guibg=#000000 guifg=#D3D3D3
+:hi Cursor guibg=#CC9966 guifg=#000000
+:hi lCursor gui=reverse
+:hi StatusLine gui=bold,reverse
+:hi StatusLineNC gui=reverse
+:hi Search gui=none guibg=#5F00FF guifg=#000000
+:hi IncSearch gui=none guibg=#AFFF00 guifg=#000000
+:hi SpecialKey guifg=#5971AD
+:hi Visual gui=reverse
+:hi VisualNOS gui=bold,underline
+:hi MoreMsg guifg=#4E9A06
+:hi ModeMsg gui=bold
+:hi Question guifg=#4E9A06
+:hi Title gui=bold guifg=#C4A000
+:hi NonText gui=bold guifg=#5971AD
+:hi LineNr gui=bold guibg=#000000 guifg=#808080
+:hi CursorLineNr gui=bold guibg=#D75F00 guifg=#000000
+:hi Directory guifg=#5971AD
+:hi WildMenu guibg=#C4A000 guifg=#000000
+:hi VertSplit gui=reverse
+:hi Folded gui=none guibg=#000000 guifg=#808080
+:hi FoldColumn guibg=#D3D3D3 guifg=#5971AD
+:hi DiffAdd gui=none guibg=#4E9A06 guifg=#000000
+:hi DiffChange gui=none guibg=#D3D3D3 guifg=#000000
+:hi DiffDelete gui=none guibg=#D3D3D3 guifg=#000000
+:hi DiffText gui=none guibg=#06989A guifg=#000000
+:hi String gui=none guifg=#C4A000
+:hi Comment gui=none guibg=#000000 guifg=#5971AD
+:hi Constant guifg=#CC0000
+:hi Special guifg=#06989A
+:hi Identifier guifg=#06989A
+:hi Statement guifg=#4E9A06
+:hi Operator guifg=#4E9A06
+:hi PreProc guifg=#CC0000
+:hi Type gui=bold guifg=#C4A000
+:hi Delimiter gui=none guifg=#4E9A06
+:hi Ignore gui=bold guifg=#D3D3D3
+:hi Todo guibg=#C4A000 guifg=#000000
+:hi Underlined gui=underline
+:hi Include guifg=#CC0000
+:hi Define guifg=#C4A000
+:hi Function guifg=#06989A
+:hi Structure guifg=#4E9A06
+:hi MatchParen gui=bold guibg=#5971AD guifg=#D3D3D3
+:hi CursorLine gui=bold
+:hi CursorColumn guibg=#00005F
+:hi ColorColumn guibg=#00005F
+:hi SpellBad gui=underline guibg=#000000 guifg=#75507B
+:hi SpellCap gui=underline guibg=#000000 guifg=#75507B
+:hi SpellLocal gui=underline guibg=#000000 guifg=#75507B
+:hi SpellRare gui=underline guibg=#000000 guifg=#75507B
+:hi TrailingWhitespace guibg=#080000
+:hi ExtraWhitespace guibg=#CC0000
+:hi WarningMsg guifg=#CC0000
+:hi ErrorMsg gui=bold guibg=#CC0000 guifg=#D3D3D3
+:hi Error gui=bold guibg=#CC0000 guifg=#D3D3D3
+" -------
+"256 color .Xdefaults vim: cterm giu
+"<http://vim.wikia.com/wiki/Xterm256_color_names_for_console_Vim>
+"<http://guns.github.com/xterm-color-table.vim/images/xterm-color-table-with-visible-rgb.png>
+" -------
+" 256 color .Xdefaults vim: cterm giu def
+" -------
+" 16 color standard altered 256 altered beyond 256
+" black/dark grey
+" 0 [ 0:#000000] #000000
+" 8 [ 8:#808080] [59:#5F5F5F] #555555
+" red
+" 1 [ 1:#800000] 160:#DF0000 #CC0000
+" 9 [ 9:#FF0000] #EF2929
+" green
+" 2 [ 2:#008000] 112:#87DF00 #4E9A06
+" 10 [10:#00FF00] 154:#AFFF00 #8AE234
+" yellow/orange
+" 3 [ 3:#808000] 178:#DFAF00 #C4A000
+" 11 [11:#FFFF00] 184:#DFDF00 #FC9E4F
+" blue
+" 4 [ 4:#000080] 24:#005F87 #5971AD
+" 12 [12:#0000FF] 73:#5FAFAF #729FCF
+" magenta
+" 5 [ 5:#800080] 90:#870087 #75507B
+" 13 [13:#FF00FF] 126:#AF0087 #AD7FA8
+" cyan
+" 6 [ 6:#008080] 37:#00AFAF #06989A
+" 14 [14:#00FFFF] 87:#5FFFFF #34E2E2
+" white
+" 7 [ 7:#C0C0C0] #D3D3D3
+" 15 [15:#FFFFFF] #EEEEEE
+" --------
+" .Xdefaults (rxvt urxvt setting beyond 256 colors, vim colorscheme "def" gui settings)
+" (vim colorscheme "def" cterm matches "def" gui if .Xdefaults set thus)
+" --------
+" ! black
+" Rxvt.color0 : #000000
+" Rxvt.color8 : #555555
+" ! red
+" Rxvt.color1 : #CC0000
+" Rxvt.color9 : #EF2929
+" ! green
+" Rxvt.color2 : #4E9A06
+" Rxvt.color10 : #8AE234
+" ! yellow
+" Rxvt.color3 : #C4A000
+" Rxvt.color11 : #FCE94F
+" ! blue
+" Rxvt.color4 : #5971AD
+" Rxvt.color12 : #729FCF
+" ! magenta
+" Rxvt.color5 : #75507B
+" Rxvt.color13 : #AD7FA8
+" ! cyan
+" Rxvt.color6 : #06989A
+" Rxvt.color14 : #34E2E2
+" ! white
+" Rxvt.color7 : #D3D7CF
+" Rxvt.color15 : #EEEEEE
+" --------
+" .Xdefaults 256 (rxvt urxvt setting, vim colorscheme "def256" cterm & gui settings)
+" (vim colorscheme "def" cterm matches "def256" if .Xdefaults set thus)
+" --------
+" ! black
+" Rxvt.color0 : #000000
+" Rxvt.color8 : #808080
+" ! red
+" Rxvt.color1 : #DF0000
+" Rxvt.color9 : #FF0000
+" ! green
+" Rxvt.color2 : #87DF00
+" Rxvt.color10 : #AFFF00
+" ! yellow
+" Rxvt.color3 : #DFAF00
+" Rxvt.color11 : #FFFF00
+" ! blue
+" Rxvt.color4 : #5F87DF
+" Rxvt.color12 : #87DFFF
+" ! magenta
+" Rxvt.color5 : #8700DF
+" Rxvt.color13 : #87DFFF
+" ! cyan
+" Rxvt.color6 : #00DFDF
+" Rxvt.color14 : #5F5FDF
+" ! white
+" Rxvt.color7 : #C0C0C0
+" Rxvt.color15 : #FFFFFF
diff --git a/misc/editor-syntax-etc/vim/colors/def256-ruby.vim b/misc/editor-syntax-etc/vim/colors/def256-ruby.vim
new file mode 100644
index 0000000..eb15db0
--- /dev/null
+++ b/misc/editor-syntax-etc/vim/colors/def256-ruby.vim
@@ -0,0 +1,195 @@
+" Vim color file
+" Name: def256-ruby
+" Maintainer: Ralph Amissah <ralph@amissah.com>
+" Last Change: 2013-02-14
+" URL: <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=data/sisu/conf/editor-syntax-etc/vim/colors/def256-ruby.vim;hb=HEAD>
+" Note: based on colorscheme defx, this scheme has 256 colors
+" selected primarily from 16 colors around the colors available
+" for 16 color cterm (with occasional other colors selected
+" from 256 color palate) .Xdefaults settings provided to make
+" term 16 colors match this, using 256 color palate.
+:hi clear
+if exists("syntax_on")
+ syntax reset
+endif
+:set t_Co=256
+:set background=dark
+:let colors_name = "def256-ruby"
+" -------
+" terminal def
+" -------
+:hi Normal ctermbg=0 ctermfg=7
+":hi Cursor ctermbg=5 ctermfg=0
+:hi lCursor cterm=reverse
+:hi StatusLine cterm=reverse
+:hi StatusLineNC cterm=reverse
+:hi Search cterm=none ctermbg=57 ctermfg=0
+:hi IncSearch cterm=none ctermbg=154 ctermfg=0
+:hi SpecialKey ctermfg=24
+:hi Visual cterm=reverse
+:hi VisualNOS cterm=bold,underline
+:hi MoreMsg ctermfg=112
+:hi ModeMsg cterm=bold
+:hi Question ctermfg=112
+:hi Title ctermfg=160
+:hi NonText cterm=bold ctermfg=24
+:hi LineNr cterm=bold ctermbg=0 ctermfg=8
+:hi CursorLineNr cterm=bold ctermbg=166 ctermfg=0
+:hi Directory ctermfg=24
+:hi WildMenu ctermbg=178 ctermfg=0
+:hi VertSplit cterm=reverse
+:hi Folded cterm=none ctermbg=0 ctermfg=59
+:hi FoldColumn ctermbg=7 ctermfg=24
+:hi DiffAdd cterm=none ctermbg=112 ctermfg=0
+:hi DiffChange cterm=none ctermbg=7 ctermfg=0
+:hi DiffDelete cterm=none ctermbg=7 ctermfg=0
+:hi DiffText cterm=none ctermbg=37 ctermfg=0
+:hi String cterm=none ctermfg=178
+:hi Comment cterm=none ctermbg=0 ctermfg=24
+:hi Constant ctermfg=160
+:hi Special ctermfg=37
+:hi Identifier cterm=none ctermfg=37
+:hi Statement cterm=none ctermfg=112
+:hi Operator ctermfg=160
+:hi PreProc ctermfg=160
+:hi Type cterm=bold ctermfg=178
+:hi Delimiter cterm=none ctermfg=112
+:hi Ignore cterm=bold ctermfg=7
+:hi Todo ctermbg=178 ctermfg=0
+:hi Underlined cterm=underline
+:hi Include ctermfg=160
+:hi Define ctermfg=178
+:hi Function ctermfg=37
+:hi Structure ctermfg=112
+:hi MatchParen cterm=bold ctermbg=24 ctermfg=7
+:hi CursorLine cterm=bold
+:hi CursorColumn ctermbg=17
+:hi ColorColumn ctermbg=17
+:hi SpellBad cterm=underline ctermbg=0 ctermfg=90
+:hi SpellCap cterm=underline ctermbg=0 ctermfg=90
+:hi SpellLocal cterm=underline ctermbg=0 ctermfg=90
+:hi SpellRare cterm=underline ctermbg=0 ctermfg=90
+:hi TrailingWhitespace ctermbg=160
+:hi ExtraWhitespace ctermbg=160
+:hi WarningMsg ctermfg=160
+:hi ErrorMsg cterm=bold ctermbg=160 ctermfg=7
+:hi Error cterm=bold ctermbg=160 ctermfg=7
+" -------
+" gui def
+" -------
+:hi Normal guibg=#000000 guifg=#C0C0C0
+:hi Cursor guibg=#CC9966 guifg=#000000
+:hi lCursor gui=reverse
+:hi StatusLine gui=reverse
+:hi StatusLineNC gui=reverse
+:hi Search gui=none guibg=#5F00FF guifg=#000000
+:hi IncSearch gui=none guibg=#AFFF00 guifg=#000000
+:hi SpecialKey guifg=#005F87
+:hi Visual gui=reverse
+:hi VisualNOS gui=bold,underline
+:hi MoreMsg guifg=#87DF00
+:hi ModeMsg gui=bold
+:hi Question guifg=#87DF00
+:hi Title guifg=#CC0000
+:hi NonText gui=bold guifg=#005F87
+:hi LineNr gui=bold guibg=#000000 guifg=#808080
+:hi CursorLineNr gui=bold guibg=#D75F00 guifg=#000000
+:hi Directory guifg=#005F87
+:hi WildMenu guibg=#DFAF00 guifg=#000000
+:hi VertSplit gui=reverse
+:hi Folded gui=none guibg=#000000 guifg=#808080
+:hi FoldColumn guibg=#C0C0C0 guifg=#005F87
+:hi DiffAdd gui=none guibg=#87DF00 guifg=#000000
+:hi DiffChange gui=none guibg=#C0C0C0 guifg=#000000
+:hi DiffDelete gui=none guibg=#C0C0C0 guifg=#000000
+:hi DiffText gui=none guibg=#00AFAF guifg=#000000
+:hi String gui=none guifg=#DFAF00
+:hi Comment gui=none guibg=#000000 guifg=#005F87
+:hi Constant guifg=#CC0000
+:hi Special guifg=#06989A
+:hi Identifier gui=none guifg=#06989A
+:hi Statement gui=none guifg=#87DF00
+:hi Operator guifg=#CC0000
+:hi PreProc guifg=#CC0000
+:hi Type gui=bold guifg=#DFAF00
+:hi Delimiter gui=none guifg=#87DF00
+:hi Ignore gui=bold guifg=#C0C0C0
+:hi Todo guibg=#DFAF00 guifg=#000000
+:hi Underlined gui=underline
+:hi Include guifg=#CC0000
+:hi Define guifg=#DFAF00
+:hi Function guifg=#00AFAF
+:hi Structure guifg=#87DF00
+:hi MatchParen gui=bold guibg=#005F87 guifg=#C0C0C0
+:hi CursorLine gui=bold
+:hi CursorColumn guibg=#00005F
+:hi ColorColumn guibg=#00005F
+:hi SpellBad gui=underline guibg=#000000 guifg=#870087
+:hi SpellCap gui=underline guibg=#000000 guifg=#870087
+:hi SpellLocal gui=underline guibg=#000000 guifg=#870087
+:hi SpellRare gui=underline guibg=#000000 guifg=#870087
+:hi TrailingWhitespace guibg=#CC0000
+:hi ExtraWhitespace guibg=#CC0000
+:hi WarningMsg guifg=#CC0000
+:hi ErrorMsg gui=bold guibg=#CC0000 guifg=#C0C0C0
+:hi Error gui=bold guibg=#CC0000 guifg=#C0C0C0
+" -------
+"256 color .Xdefaults vim: cterm giu
+"<http://vim.wikia.com/wiki/Xterm256_color_names_for_console_Vim>
+"<http://guns.github.com/xterm-color-table.vim/images/xterm-color-table-with-visible-rgb.png>
+" -------
+" 256 color .Xdefaults vim: cterm giu def
+" -------
+" 16 color standard altered 256 altered beyond 256
+" black/dark grey
+" 0 [ 0:#000000] #000000
+" 8 [ 8:#808080] [59:#5F5F5F] #555555
+" red
+" 1 [ 1:#800000] 160:#DF0000 #CC0000
+" 9 [ 9:#FF0000] #EF2929
+" green
+" 2 [ 2:#008000] 112:#87DF00 #4E9A06
+" 10 [10:#00FF00] 154:#AFFF00 #8AE234
+" yellow/orange
+" 3 [ 3:#808000] 178:#DFAF00 #C4A000
+" 11 [11:#FFFF00] 184:#DFDF00 #FC9E4F
+" blue
+" 4 [ 4:#000080] 24:#005F87 #5971AD
+" 12 [12:#0000FF] 73:#5FAFAF #729FCF
+" magenta
+" 5 [ 5:#800080] 90:#870087 #75507B
+" 13 [13:#FF00FF] 126:#AF0087 #AD7FA8
+" cyan
+" 6 [ 6:#008080] 37:#00AFAF #06989A
+" 14 [14:#00FFFF] 87:#5FFFFF #34E2E2
+" white
+" 7 [ 7:#C0C0C0] #D3D3D3
+" 15 [15:#FFFFFF] #EEEEEE
+" --------
+" .Xdefaults 256 (rxvt urxvt setting, vim colorscheme "def256" cterm & gui settings)
+" (vim colorscheme "def" cterm matches "def256" if .Xdefaults set thus)
+" --------
+" ! black
+" Rxvt.color0 : #000000
+" Rxvt.color8 : #5F5F5F
+" ! red
+" Rxvt.color1 : #DF0000
+" Rxvt.color9 : #FF0000
+" ! green
+" Rxvt.color2 : #87DF00
+" Rxvt.color10 : #AFFF00
+" ! yellow
+" Rxvt.color3 : #DFAF00
+" Rxvt.color11 : #FFFF00
+" ! blue
+" Rxvt.color4 : #5F87DF
+" Rxvt.color12 : #87DFFF
+" ! magenta
+" Rxvt.color5 : #8700DF
+" Rxvt.color13 : #87DFFF
+" ! cyan
+" Rxvt.color6 : #00DFDF
+" Rxvt.color14 : #5F5FDF
+" ! white
+" Rxvt.color7 : #C0C0C0
+" Rxvt.color15 : #FFFFFF
diff --git a/misc/editor-syntax-etc/vim/colors/def256-sisu.vim b/misc/editor-syntax-etc/vim/colors/def256-sisu.vim
new file mode 100644
index 0000000..a7c3def
--- /dev/null
+++ b/misc/editor-syntax-etc/vim/colors/def256-sisu.vim
@@ -0,0 +1,195 @@
+" Vim color file
+" Name: def256-sisu
+" Maintainer: Ralph Amissah <ralph@amissah.com>
+" Last Change: 2013-02-14
+" URL: <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=data/sisu/conf/editor-syntax-etc/vim/colors/def256-sisu.vim;hb=HEAD>
+" Note: based on colorscheme defx, this scheme has 256 colors
+" selected primarily from 16 colors around the colors available
+" for 16 color cterm (with occasional other colors selected
+" from 256 color palate) .Xdefaults settings provided to make
+" term 16 colors match this, using 256 color palate.
+:hi clear
+if exists("syntax_on")
+ syntax reset
+endif
+:set t_Co=256
+:set background=dark
+:let colors_name = "def256-sisu"
+" -------
+" terminal def
+" -------
+:hi Normal ctermbg=0 ctermfg=7
+":hi Cursor ctermbg=90 ctermfg=0
+:hi lCursor cterm=reverse
+:hi StatusLine cterm=bold,reverse
+:hi StatusLineNC cterm=reverse
+:hi Search cterm=none ctermbg=57 ctermfg=0
+:hi IncSearch cterm=none ctermbg=154 ctermfg=0
+:hi SpecialKey ctermfg=24
+:hi Visual cterm=reverse
+:hi VisualNOS cterm=bold,underline
+:hi MoreMsg ctermfg=112
+:hi ModeMsg cterm=bold
+:hi Question ctermfg=112
+:hi Title cterm=bold ctermfg=178
+:hi NonText cterm=bold ctermfg=24
+:hi LineNr cterm=bold ctermbg=0 ctermfg=8
+:hi CursorLineNr cterm=bold ctermbg=166 ctermfg=0
+:hi Directory ctermfg=24
+:hi WildMenu ctermbg=178 ctermfg=0
+:hi VertSplit cterm=reverse
+:hi Folded cterm=none ctermbg=0 ctermfg=8
+:hi FoldColumn ctermbg=7 ctermfg=24
+:hi DiffAdd cterm=none ctermbg=112 ctermfg=0
+:hi DiffChange cterm=none ctermbg=7 ctermfg=0
+:hi DiffDelete cterm=none ctermbg=7 ctermfg=0
+:hi DiffText cterm=none ctermbg=37 ctermfg=0
+:hi String cterm=none ctermfg=178
+:hi Comment cterm=none ctermbg=0 ctermfg=24
+:hi Constant ctermfg=160
+:hi Special ctermfg=37
+:hi Identifier ctermfg=37
+:hi Statement ctermfg=37
+:hi Operator ctermfg=160
+:hi PreProc ctermbg=7 ctermfg=160
+:hi Type ctermfg=112
+:hi Delimiter cterm=none ctermfg=160
+:hi Ignore cterm=bold ctermfg=7
+:hi Todo ctermbg=178 ctermfg=0
+:hi Underlined cterm=underline
+:hi Include ctermfg=160
+:hi Define ctermfg=178
+:hi Function ctermfg=37
+:hi Structure ctermfg=112
+:hi MatchParen cterm=bold ctermbg=24 ctermfg=7
+:hi CursorLine cterm=bold
+:hi CursorColumn ctermbg=17
+:hi ColorColumn ctermbg=17
+:hi SpellBad cterm=underline ctermbg=0 ctermfg=90
+:hi SpellCap cterm=underline ctermbg=0 ctermfg=90
+:hi SpellLocal cterm=underline ctermbg=0 ctermfg=90
+:hi SpellRare cterm=underline ctermbg=0 ctermfg=90
+:hi TrailingWhitespace ctermbg=160
+:hi ExtraWhitespace ctermbg=160
+:hi WarningMsg ctermfg=160
+:hi ErrorMsg cterm=bold ctermbg=160 ctermfg=7
+:hi Error cterm=bold ctermbg=160 ctermfg=7
+" -------
+" gui def
+" -------
+:hi Normal guibg=#000000 guifg=#C0C0C0
+:hi Cursor guibg=#CC9966 guifg=#000000
+:hi lCursor gui=reverse
+:hi StatusLine gui=bold,reverse
+:hi StatusLineNC gui=reverse
+:hi Search gui=none guibg=#5F00FF guifg=#000000
+:hi IncSearch gui=none guibg=#AFFF00 guifg=#000000
+:hi SpecialKey guifg=#005F87
+:hi Visual gui=reverse
+:hi VisualNOS gui=bold,underline
+:hi MoreMsg guifg=#87DF00
+:hi ModeMsg gui=bold
+:hi Question guifg=#87DF00
+:hi Title gui=bold guifg=#DFAF00
+:hi NonText gui=bold guifg=#005F87
+:hi LineNr gui=bold guibg=#000000 guifg=#808080
+:hi CursorLineNr gui=bold guibg=#D75F00 guifg=#000000
+:hi Directory guifg=#005F87
+:hi WildMenu guibg=#DFAF00 guifg=#000000
+:hi VertSplit gui=reverse
+:hi Folded gui=none guibg=#000000 guifg=#808080
+:hi FoldColumn guibg=#C0C0C0 guifg=#005F87
+:hi DiffAdd gui=none guibg=#87DF00 guifg=#000000
+:hi DiffChange gui=none guibg=#C0C0C0 guifg=#000000
+:hi DiffDelete gui=none guibg=#C0C0C0 guifg=#000000
+:hi DiffText gui=none guibg=#00AFAF guifg=#000000
+:hi String gui=none guifg=#DFAF00
+:hi Comment gui=none guibg=#000000 guifg=#005F87
+:hi Constant guifg=#CC0000
+:hi Special guifg=#00AFAF
+:hi Identifier guifg=#00AFAF
+:hi Statement guifg=#00AFAF
+:hi Operator guifg=#CC0000
+:hi PreProc guibg=#C0C0C0 guifg=#CC0000
+:hi Type guifg=#87DF00
+:hi Delimiter gui=none guifg=#CC0000
+:hi Ignore gui=bold guifg=#C0C0C0
+:hi Todo guibg=#DFAF00 guifg=#000000
+:hi Underlined gui=underline
+:hi Include guifg=#CC0000
+:hi Define guifg=#DFAF00
+:hi Function guifg=#00AFAF
+:hi Structure guifg=#87DF00
+:hi MatchParen gui=bold guibg=#005F87 guifg=#C0C0C0
+:hi CursorLine gui=bold
+:hi CursorColumn guibg=#00005F
+:hi ColorColumn guibg=#00005F
+:hi SpellBad gui=underline guibg=#000000 guifg=#870087
+:hi SpellCap gui=underline guibg=#000000 guifg=#870087
+:hi SpellLocal gui=underline guibg=#000000 guifg=#870087
+:hi SpellRare gui=underline guibg=#000000 guifg=#870087
+:hi TrailingWhitespace guibg=#CC0000
+:hi ExtraWhitespace guibg=#CC0000
+:hi WarningMsg guifg=#CC0000
+:hi ErrorMsg gui=bold guibg=#CC0000 guifg=#C0C0C0
+:hi Error gui=bold guibg=#CC0000 guifg=#C0C0C0
+" -------
+"256 color .Xdefaults vim: cterm giu
+"<http://vim.wikia.com/wiki/Xterm256_color_names_for_console_Vim>
+"<http://guns.github.com/xterm-color-table.vim/images/xterm-color-table-with-visible-rgb.png>
+" -------
+" 256 color .Xdefaults vim: cterm giu def
+" -------
+" 16 color standard altered 256 altered beyond 256
+" black/dark grey
+" 0 [ 0:#000000] #000000
+" 8 [ 8:#808080] [59:#5F5F5F] #555555
+" red
+" 1 [ 1:#800000] 160:#DF0000 #CC0000
+" 9 [ 9:#FF0000] #EF2929
+" green
+" 2 [ 2:#008000] 112:#87DF00 #4E9A06
+" 10 [10:#00FF00] 154:#AFFF00 #8AE234
+" yellow/orange
+" 3 [ 3:#808000] 178:#DFAF00 #C4A000
+" 11 [11:#FFFF00] 184:#DFDF00 #FC9E4F
+" blue
+" 4 [ 4:#000080] 24:#005F87 #5971AD
+" 12 [12:#0000FF] 73:#5FAFAF #729FCF
+" magenta
+" 5 [ 5:#800080] 90:#870087 #75507B
+" 13 [13:#FF00FF] 126:#AF0087 #AD7FA8
+" cyan
+" 6 [ 6:#008080] 37:#00AFAF #06989A
+" 14 [14:#00FFFF] 87:#5FFFFF #34E2E2
+" white
+" 7 [ 7:#C0C0C0] #D3D3D3
+" 15 [15:#FFFFFF] #EEEEEE
+" --------
+" .Xdefaults 256 (rxvt urxvt setting, vim colorscheme "def256" cterm & gui settings)
+" (vim colorscheme "def" cterm matches "def256" if .Xdefaults set thus)
+" --------
+" ! black
+" Rxvt.color0 : #000000
+" Rxvt.color8 : #5F5F5F
+" ! red
+" Rxvt.color1 : #DF0000
+" Rxvt.color9 : #FF0000
+" ! green
+" Rxvt.color2 : #87DF00
+" Rxvt.color10 : #AFFF00
+" ! yellow
+" Rxvt.color3 : #DFAF00
+" Rxvt.color11 : #FFFF00
+" ! blue
+" Rxvt.color4 : #5F87DF
+" Rxvt.color12 : #87DFFF
+" ! magenta
+" Rxvt.color5 : #8700DF
+" Rxvt.color13 : #87DFFF
+" ! cyan
+" Rxvt.color6 : #00DFDF
+" Rxvt.color14 : #5F5FDF
+" ! white
+" Rxvt.color7 : #C0C0C0
+" Rxvt.color15 : #FFFFFF
diff --git a/misc/editor-syntax-etc/vim/colors/def256.vim b/misc/editor-syntax-etc/vim/colors/def256.vim
new file mode 100644
index 0000000..06faefa
--- /dev/null
+++ b/misc/editor-syntax-etc/vim/colors/def256.vim
@@ -0,0 +1,195 @@
+" Vim color file
+" Name: def256
+" Maintainer: Ralph Amissah <ralph@amissah.com>
+" Last Change: 2013-02-14
+" URL: <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=data/sisu/conf/editor-syntax-etc/vim/colors/def256.vim;hb=HEAD>
+" Note: based on colorscheme defx, this scheme has 256 colors
+" selected primarily from 16 colors around the colors available
+" for 16 color cterm (with occasional other colors selected
+" from 256 color palate) .Xdefaults settings provided to make
+" term 16 colors match this, using 256 color palate.
+:hi clear
+if exists("syntax_on")
+ syntax reset
+endif
+:set t_Co=256
+:set background=dark
+:let colors_name = "def256"
+" -------
+" terminal def
+" -------
+:hi Normal ctermbg=0 ctermfg=7
+":hi Cursor ctermbg=90 ctermfg=0
+:hi lCursor cterm=reverse
+:hi StatusLine cterm=bold,reverse
+:hi StatusLineNC cterm=reverse
+:hi Search cterm=none ctermbg=57 ctermfg=0
+:hi IncSearch cterm=none ctermbg=154 ctermfg=0
+:hi SpecialKey ctermfg=24
+:hi Visual cterm=reverse
+:hi VisualNOS cterm=bold,underline
+:hi MoreMsg ctermfg=112
+:hi ModeMsg cterm=bold
+:hi Question ctermfg=112
+:hi Title cterm=bold ctermfg=178
+:hi NonText cterm=bold ctermfg=24
+:hi LineNr cterm=bold ctermbg=0 ctermfg=8
+:hi CursorLineNr cterm=bold ctermbg=166 ctermfg=0
+:hi Directory ctermfg=24
+:hi WildMenu ctermbg=178 ctermfg=0
+:hi VertSplit cterm=reverse
+:hi Folded cterm=none ctermbg=0 ctermfg=8
+:hi FoldColumn ctermbg=7 ctermfg=24
+:hi DiffAdd cterm=none ctermbg=112 ctermfg=0
+:hi DiffChange cterm=none ctermbg=7 ctermfg=0
+:hi DiffDelete cterm=none ctermbg=7 ctermfg=0
+:hi DiffText cterm=none ctermbg=37 ctermfg=0
+:hi String cterm=none ctermfg=178
+:hi Comment cterm=none ctermbg=0 ctermfg=24
+:hi Constant ctermfg=160
+:hi Special ctermfg=37
+:hi Identifier ctermfg=37
+:hi Statement ctermfg=112
+:hi Operator ctermfg=112
+:hi PreProc ctermfg=160
+:hi Type cterm=bold ctermfg=178
+:hi Delimiter cterm=none ctermfg=112
+:hi Ignore cterm=bold ctermfg=7
+:hi Todo ctermbg=178 ctermfg=0
+:hi Underlined cterm=underline
+:hi Include ctermfg=160
+:hi Define ctermfg=178
+:hi Function ctermfg=37
+:hi Structure ctermfg=112
+:hi MatchParen cterm=bold ctermbg=24 ctermfg=7
+:hi CursorLine cterm=bold
+:hi CursorColumn ctermbg=17
+:hi ColorColumn ctermbg=17
+:hi SpellBad cterm=underline ctermbg=0 ctermfg=90
+:hi SpellCap cterm=underline ctermbg=0 ctermfg=90
+:hi SpellLocal cterm=underline ctermbg=0 ctermfg=90
+:hi SpellRare cterm=underline ctermbg=0 ctermfg=90
+:hi TrailingWhitespace ctermbg=160
+:hi ExtraWhitespace ctermbg=160
+:hi WarningMsg ctermfg=160
+:hi ErrorMsg cterm=bold ctermbg=160 ctermfg=7
+:hi Error cterm=bold ctermbg=160 ctermfg=7
+" -------
+" gui def
+" -------
+:hi Normal guibg=#000000 guifg=#C0C0C0
+:hi Cursor guibg=#CC9966 guifg=#000000
+:hi lCursor gui=reverse
+:hi StatusLine gui=bold,reverse
+:hi StatusLineNC gui=reverse
+:hi Search gui=none guibg=#5F00FF guifg=#000000
+:hi IncSearch gui=none guibg=#AFFF00 guifg=#000000
+:hi SpecialKey guifg=#005F87
+:hi Visual gui=reverse
+:hi VisualNOS gui=bold,underline
+:hi MoreMsg guifg=#87DF00
+:hi ModeMsg gui=bold
+:hi Question guifg=#87DF00
+:hi Title gui=bold guifg=#DFAF00
+:hi NonText gui=bold guifg=#005F87
+:hi LineNr gui=bold guibg=#000000 guifg=#808080
+:hi CursorLineNr gui=bold guibg=#D75F00 guifg=#000000
+:hi Directory guifg=#005F87
+:hi WildMenu guibg=#DFAF00 guifg=#000000
+:hi VertSplit gui=reverse
+:hi Folded gui=none guibg=#000000 guifg=#808080
+:hi FoldColumn guibg=#C0C0C0 guifg=#005F87
+:hi DiffAdd gui=none guibg=#87DF00 guifg=#000000
+:hi DiffChange gui=none guibg=#C0C0C0 guifg=#000000
+:hi DiffDelete gui=none guibg=#C0C0C0 guifg=#000000
+:hi DiffText gui=none guibg=#00AFAF guifg=#000000
+:hi String gui=none guifg=#DFAF00
+:hi Comment gui=none guibg=#000000 guifg=#005F87
+:hi Constant guifg=#CC0000
+:hi Special guifg=#00AFAF
+:hi Identifier guifg=#00AFAF
+:hi Statement guifg=#87DF00
+:hi Operator guifg=#87DF00
+:hi PreProc guifg=#CC0000
+:hi Type gui=bold guifg=#DFAF00
+:hi Delimiter gui=none guifg=#87DF00
+:hi Ignore gui=bold guifg=#C0C0C0
+:hi Todo guibg=#DFAF00 guifg=#000000
+:hi Underlined gui=underline
+:hi Include guifg=#CC0000
+:hi Define guifg=#DFAF00
+:hi Function guifg=#00AFAF
+:hi Structure guifg=#87DF00
+:hi MatchParen gui=bold guibg=#005F87 guifg=#C0C0C0
+:hi CursorLine gui=bold
+:hi CursorColumn guibg=#00005F
+:hi ColorColumn guibg=#00005F
+:hi SpellBad gui=underline guibg=#000000 guifg=#870087
+:hi SpellCap gui=underline guibg=#000000 guifg=#870087
+:hi SpellLocal gui=underline guibg=#000000 guifg=#870087
+:hi SpellRare gui=underline guibg=#000000 guifg=#870087
+:hi TrailingWhitespace guibg=#CC0000
+:hi ExtraWhitespace guibg=#CC0000
+:hi WarningMsg guifg=#CC0000
+:hi ErrorMsg gui=bold guibg=#CC0000 guifg=#C0C0C0
+:hi Error gui=bold guibg=#CC0000 guifg=#C0C0C0
+" -------
+"256 color .Xdefaults vim: cterm giu
+"<http://vim.wikia.com/wiki/Xterm256_color_names_for_console_Vim>
+"<http://guns.github.com/xterm-color-table.vim/images/xterm-color-table-with-visible-rgb.png>
+" -------
+" 256 color .Xdefaults vim: cterm giu def
+" -------
+" 16 color standard altered 256 altered beyond 256
+" black/dark grey
+" 0 [ 0:#000000] #000000
+" 8 [ 8:#808080] [59:#5F5F5F] #555555
+" red
+" 1 [ 1:#800000] 160:#DF0000 #CC0000
+" 9 [ 9:#FF0000] #EF2929
+" green
+" 2 [ 2:#008000] 112:#87DF00 #4E9A06
+" 10 [10:#00FF00] 154:#AFFF00 #8AE234
+" yellow/orange
+" 3 [ 3:#808000] 178:#DFAF00 #C4A000
+" 11 [11:#FFFF00] 184:#DFDF00 #FC9E4F
+" blue
+" 4 [ 4:#000080] 24:#005F87 #5971AD
+" 12 [12:#0000FF] 73:#5FAFAF #729FCF
+" magenta
+" 5 [ 5:#800080] 90:#870087 #75507B
+" 13 [13:#FF00FF] 126:#AF0087 #AD7FA8
+" cyan
+" 6 [ 6:#008080] 37:#00AFAF #06989A
+" 14 [14:#00FFFF] 87:#5FFFFF #34E2E2
+" white
+" 7 [ 7:#C0C0C0] #D3D3D3
+" 15 [15:#FFFFFF] #EEEEEE
+" --------
+" .Xdefaults 256 (rxvt urxvt setting, vim colorscheme "def256" cterm & gui settings)
+" (vim colorscheme "def" cterm matches "def256" if .Xdefaults set thus)
+" --------
+" ! black
+" Rxvt.color0 : #000000
+" Rxvt.color8 : #5F5F5F
+" ! red
+" Rxvt.color1 : #DF0000
+" Rxvt.color9 : #FF0000
+" ! green
+" Rxvt.color2 : #87DF00
+" Rxvt.color10 : #AFFF00
+" ! yellow
+" Rxvt.color3 : #DFAF00
+" Rxvt.color11 : #FFFF00
+" ! blue
+" Rxvt.color4 : #5F87DF
+" Rxvt.color12 : #87DFFF
+" ! magenta
+" Rxvt.color5 : #8700DF
+" Rxvt.color13 : #87DFFF
+" ! cyan
+" Rxvt.color6 : #00DFDF
+" Rxvt.color14 : #5F5FDF
+" ! white
+" Rxvt.color7 : #C0C0C0
+" Rxvt.color15 : #FFFFFF
diff --git a/misc/editor-syntax-etc/vim/colors/frugal-cterm-ruby.vim b/misc/editor-syntax-etc/vim/colors/frugal-cterm-ruby.vim
new file mode 100644
index 0000000..46938cf
--- /dev/null
+++ b/misc/editor-syntax-etc/vim/colors/frugal-cterm-ruby.vim
@@ -0,0 +1,66 @@
+" Vim color file
+" Name: frugal-cterm-ruby
+" Maintainer: Ralph Amissah <ralph@amissah.com>
+" Last Change: 2013-02-09
+" URL: <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=data/sisu/conf/editor-syntax-etc/vim/colors/frugal-cterm-ruby.vim;hb=HEAD>
+" Note: 8 color cterm, related colorschemes 8 & sparse
+:set background=dark
+:hi clear
+if exists("syntax_on")
+ syntax reset
+endif
+:let colors_name = "frugal-cterm-ruby"
+" 0 = black, 1 = red, 2 = green, 3 = yellow/orange, 4 = blue, 5 = magenta, 6 = cyan, 7 = white
+:hi Normal ctermbg=0 ctermfg=7
+:hi Cursor cterm=reverse
+:hi lCursor cterm=reverse
+:hi StatusLine cterm=reverse
+:hi StatusLineNC cterm=reverse
+:hi Search cterm=none ctermbg=2 ctermfg=0
+:hi IncSearch cterm=bold ctermbg=2 ctermfg=7
+:hi SpecialKey ctermfg=4
+:hi Visual cterm=reverse
+:hi VisualNOS cterm=bold,underline
+:hi MoreMsg ctermfg=2
+:hi ModeMsg cterm=bold
+:hi Question ctermfg=2
+:hi Title ctermfg=1
+:hi NonText cterm=bold ctermfg=4
+:hi LineNr cterm=bold ctermbg=0 ctermfg=0*
+:hi Directory ctermfg=4
+:hi WildMenu ctermbg=3 ctermfg=0
+:hi VertSplit cterm=reverse
+:hi Folded cterm=none ctermbg=0 ctermfg=7
+:hi FoldColumn ctermbg=7 ctermfg=4
+:hi DiffChange cterm=none ctermbg=7 ctermfg=0
+:hi DiffText cterm=none ctermbg=6 ctermfg=0
+:hi DiffAdd cterm=none ctermbg=2 ctermfg=0
+:hi DiffDelete cterm=none ctermbg=7 ctermfg=0
+:hi String cterm=none ctermfg=3
+:hi Comment cterm=bold ctermbg=0 ctermfg=4
+:hi Constant ctermfg=1
+:hi Special ctermfg=6
+:hi Identifier cterm=none ctermfg=6
+:hi Statement cterm=none ctermfg=2
+":hi Operator ctermfg=1
+:hi PreProc ctermfg=1
+:hi Type cterm=bold ctermfg=3
+:hi Delimiter cterm=none ctermfg=2
+:hi Ignore cterm=bold ctermfg=7
+:hi Todo ctermbg=3 ctermfg=0
+:hi Underlined cterm=underline
+":hi Include ctermfg=1
+":hi Define ctermfg=3
+":hi Function ctermfg=6
+":hi Structure ctermfg=2
+:hi MatchParen cterm=bold ctermbg=4 ctermfg=7
+:hi CursorLine cterm=bold,underline
+:hi CursorColumn cterm=bold
+:hi ColorColumn ctermbg=8
+:hi SpellBad cterm=none ctermbg=7 ctermfg=0
+:hi SpellCap cterm=none ctermbg=7 ctermfg=0
+:hi SpellLocal cterm=none ctermbg=7 ctermfg=0
+:hi SpellRare cterm=none ctermbg=7 ctermfg=0
+:hi WarningMsg ctermfg=1
+:hi ErrorMsg cterm=bold ctermbg=1 ctermfg=7
+:hi Error cterm=bold ctermbg=1 ctermfg=7
diff --git a/misc/editor-syntax-etc/vim/colors/frugal-cterm-sisu.vim b/misc/editor-syntax-etc/vim/colors/frugal-cterm-sisu.vim
new file mode 100644
index 0000000..b2314a7
--- /dev/null
+++ b/misc/editor-syntax-etc/vim/colors/frugal-cterm-sisu.vim
@@ -0,0 +1,66 @@
+" Vim color file
+" Name: frugal-cterm-sisu
+" Maintainer: Ralph Amissah <ralph@amissah.com>
+" Last Change: 2013-02-09
+" URL: <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=data/sisu/conf/editor-syntax-etc/vim/colors/frugal-cterm-sisu.vim;hb=HEAD>
+" Note: 8 color cterm, related colorschemes 8 & sparse
+:set background=dark
+:hi clear
+if exists("syntax_on")
+ syntax reset
+endif
+:let colors_name = "frugal-cterm-sisu"
+" 0 = black, 1 = red, 2 = green, 3 = yellow/orange, 4 = blue, 5 = magenta, 6 = cyan, 7 = white
+:hi Normal ctermbg=0 ctermfg=7
+:hi Cursor cterm=reverse
+:hi lCursor cterm=reverse
+:hi StatusLine cterm=bold,reverse
+:hi StatusLineNC cterm=reverse
+:hi Search cterm=none ctermbg=2 ctermfg=0
+:hi IncSearch cterm=bold ctermbg=2 ctermfg=7
+:hi SpecialKey ctermfg=4
+:hi Visual cterm=reverse
+:hi VisualNOS cterm=bold,underline
+:hi MoreMsg ctermfg=2
+:hi ModeMsg cterm=bold
+:hi Question ctermfg=2
+:hi Title cterm=bold ctermfg=3
+:hi NonText cterm=bold ctermfg=4
+:hi LineNr cterm=bold ctermbg=0 ctermfg=0*
+:hi Directory ctermfg=4
+:hi WildMenu ctermbg=3 ctermfg=0
+:hi VertSplit cterm=reverse
+:hi Folded cterm=none ctermbg=0 ctermfg=7
+:hi FoldColumn ctermbg=7 ctermfg=4
+:hi DiffChange cterm=none ctermbg=7 ctermfg=0
+:hi DiffText cterm=none ctermbg=6 ctermfg=0
+:hi DiffAdd cterm=none ctermbg=2 ctermfg=0
+:hi DiffDelete cterm=none ctermbg=7 ctermfg=0
+:hi String cterm=none ctermfg=3
+:hi Comment cterm=none ctermbg=0 ctermfg=7
+:hi Constant ctermfg=1
+:hi Special ctermfg=6
+:hi Identifier ctermfg=6
+:hi Statement ctermfg=6
+:hi Operator ctermfg=1
+:hi PreProc ctermbg=7 ctermfg=1
+:hi Type ctermfg=2
+:hi Delimiter cterm=none ctermfg=1
+:hi Ignore cterm=bold ctermfg=7
+:hi Todo ctermbg=3 ctermfg=0
+:hi Underlined cterm=underline
+:hi Include ctermfg=1
+:hi Define ctermfg=3
+:hi Function ctermfg=6
+:hi Structure ctermfg=2
+:hi MatchParen cterm=bold ctermbg=4 ctermfg=7
+:hi CursorLine cterm=bold,underline
+:hi CursorColumn cterm=bold
+:hi ColorColumn ctermbg=8
+:hi SpellBad cterm=none ctermbg=7 ctermfg=0
+:hi SpellCap cterm=none ctermbg=7 ctermfg=0
+:hi SpellLocal cterm=none ctermbg=7 ctermfg=0
+:hi SpellRare cterm=none ctermbg=7 ctermfg=0
+:hi WarningMsg ctermfg=1
+:hi ErrorMsg cterm=bold ctermbg=1 ctermfg=7
+:hi Error cterm=bold ctermbg=1 ctermfg=7
diff --git a/misc/editor-syntax-etc/vim/colors/frugal-cterm.vim b/misc/editor-syntax-etc/vim/colors/frugal-cterm.vim
new file mode 100644
index 0000000..9751538
--- /dev/null
+++ b/misc/editor-syntax-etc/vim/colors/frugal-cterm.vim
@@ -0,0 +1,69 @@
+" Vim color file
+" Name: frugal-cterm
+" Maintainer: Ralph Amissah <ralph@amissah.com>
+" Last Change: 2013-02-09
+" URL: <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=data/sisu/conf/editor-syntax-etc/vim/colors/frugal-cterm.vim;hb=HEAD>
+" Note: 8 color cterm, related colorschemes 8 & sparse
+" http://vim.wikia.com/wiki/Xterm256_color_names_for_console_Vim
+" http://guns.github.com/xterm-color-table.vim/images/xterm-color-table-with-visible-rgb.png
+:set t_Co=256
+:set background=dark
+:hi clear
+if exists("syntax_on")
+ syntax reset
+endif
+:let colors_name = "frugal-cterm"
+" 0 = black, 1 = red, 2 = green, 3 = yellow/orange, 4 = blue, 5 = magenta, 6 = cyan, 7 = white
+:hi Normal ctermbg=0 ctermfg=7
+:hi Cursor cterm=reverse
+:hi lCursor cterm=reverse
+:hi StatusLine cterm=bold,reverse
+:hi StatusLineNC cterm=reverse
+:hi Search cterm=none ctermbg=2 ctermfg=0
+:hi IncSearch cterm=bold ctermbg=2 ctermfg=0
+:hi SpecialKey ctermfg=4
+:hi Visual cterm=reverse
+:hi VisualNOS cterm=bold,underline
+:hi MoreMsg ctermfg=2
+:hi ModeMsg cterm=bold
+:hi Question ctermfg=2
+:hi Title cterm=bold ctermfg=3
+:hi NonText cterm=bold ctermfg=4
+:hi LineNr cterm=bold ctermbg=0 ctermfg=0*
+:hi Directory ctermfg=4
+:hi WildMenu ctermbg=3 ctermfg=0
+:hi VertSplit cterm=reverse
+:hi Folded cterm=none ctermbg=0 ctermfg=7
+:hi FoldColumn ctermbg=7 ctermfg=4
+:hi DiffChange cterm=none ctermbg=7 ctermfg=0
+:hi DiffText cterm=none ctermbg=6 ctermfg=0
+:hi DiffAdd cterm=none ctermbg=2 ctermfg=0
+:hi DiffDelete cterm=none ctermbg=7 ctermfg=0
+:hi String cterm=none ctermfg=3
+:hi Comment cterm=none ctermbg=0 ctermfg=7
+:hi Constant ctermfg=1
+:hi Special ctermfg=6
+:hi Identifier ctermfg=6
+:hi Statement ctermfg=2
+:hi Operator ctermfg=2
+:hi PreProc ctermfg=1
+:hi Type cterm=bold ctermfg=3
+:hi Delimiter cterm=none ctermfg=2
+:hi Ignore cterm=bold ctermfg=7
+:hi Todo ctermbg=3 ctermfg=0
+:hi Underlined cterm=underline
+:hi Include ctermfg=1
+:hi Define ctermfg=3
+:hi Function ctermfg=6
+:hi Structure ctermfg=2
+:hi MatchParen cterm=bold ctermbg=4 ctermfg=7
+:hi CursorLine cterm=bold,underline
+:hi CursorColumn cterm=bold
+:hi ColorColumn ctermbg=8
+:hi SpellBad cterm=none ctermbg=7 ctermfg=0
+:hi SpellCap cterm=none ctermbg=7 ctermfg=0
+:hi SpellLocal cterm=none ctermbg=7 ctermfg=0
+:hi SpellRare cterm=none ctermbg=7 ctermfg=0
+:hi WarningMsg ctermfg=1
+:hi ErrorMsg cterm=bold ctermbg=1 ctermfg=7
+:hi Error cterm=bold ctermbg=1 ctermfg=7
diff --git a/misc/editor-syntax-etc/vim/colors/frugal.vim b/misc/editor-syntax-etc/vim/colors/frugal.vim
new file mode 100644
index 0000000..ee2f5ea
--- /dev/null
+++ b/misc/editor-syntax-etc/vim/colors/frugal.vim
@@ -0,0 +1,66 @@
+" Vim color file
+" Name: frugal
+" Maintainer: Ralph Amissah <ralph@amissah.com>
+" Last Change: 2013-02-09
+" URL: <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=data/sisu/conf/editor-syntax-etc/vim/colors/frugal.vim;hb=HEAD>
+" Note: 8 color cterm, related colorschemes 8 & sparse
+:set background=dark
+:hi clear
+if exists("syntax_on")
+ syntax reset
+endif
+:let colors_name = "frugal"
+" 0 = black, 1 = red, 2 = green, 3 = yellow/orange, 4 = blue, 5 = magenta, 6 = cyan, 7 = white
+:hi Normal ctermbg=0 ctermfg=7 guibg=black guifg=white
+:hi Cursor term=reverse cterm=reverse gui=bold guibg=white guifg=black
+:hi lCursor term=reverse cterm=reverse gui=bold guibg=white guifg=black
+:hi StatusLine term=bold,reverse cterm=bold,reverse gui=bold,reverse
+:hi StatusLineNC term=reverse cterm=reverse gui=reverse
+:hi Search term=reverse ctermbg=2 guifg=green
+:hi IncSearch term=reverse cterm=reverse gui=reverse
+:hi SpecialKey term=bold ctermfg=4 guifg=blue
+:hi Visual term=reverse cterm=reverse gui=reverse
+:hi VisualNOS term=bold,underline cterm=bold,underline gui=bold,underline
+:hi MoreMsg term=bold ctermfg=2 guifg=green
+:hi ModeMsg term=bold cterm=bold
+:hi Question term=standout ctermfg=2 guifg=green
+:hi Title term=bold ctermfg=1 guifg=red
+:hi NonText term=bold cterm=bold ctermfg=4 guifg=blue
+:hi LineNr term=underline cterm=bold ctermbg=0 ctermfg=0* gui=bold guibg=black guifg=grey
+:hi Directory term=bold ctermfg=4 guifg=blue
+:hi WildMenu term=standout ctermbg=3 ctermfg=0 guibg=yellow guifg=black
+:hi VertSplit term=reverse cterm=reverse gui=reverse
+:hi Folded term=standout cterm=none ctermbg=0 ctermfg=7 gui=none guibg=black guifg=white
+:hi FoldColumn term=standout ctermbg=7 ctermfg=4
+:hi DiffChange cterm=none ctermbg=7 ctermfg=0 gui=none guibg=white guifg=black
+:hi DiffText cterm=none ctermbg=6 ctermfg=0 gui=none guibg=magenta guifg=black
+:hi DiffAdd cterm=none ctermbg=2 ctermfg=0 gui=none guibg=green guifg=black
+:hi DiffDelete cterm=none ctermbg=7 ctermfg=0 gui=none guibg=white guifg=black
+:hi String cterm=none ctermfg=3 gui=none guifg=yellow
+:hi Comment cterm=none ctermbg=0 ctermfg=4 gui=bold guibg=black guifg=grey
+:hi Constant term=underline ctermfg=1 guifg=red
+:hi Special term=bold ctermfg=3 guifg=yellow
+:hi Identifier term=underline cterm=none ctermfg=6 gui=none guifg=magenta
+:hi Statement term=bold cterm=none ctermfg=2 gui=none guifg=green
+":hi Operator term=bold ctermfg=1 guifg=red
+:hi PreProc term=underline ctermfg=1 guifg=red
+:hi Type term=underline cterm=bold ctermfg=3 gui=bold guifg=yellow
+:hi Delimiter cterm=none ctermfg=2 gui=none guifg=green
+:hi Ignore cterm=bold ctermfg=7 gui=bold guifg=white
+:hi Todo term=standout ctermbg=3 ctermfg=0 guibg=yellow guifg=black
+:hi Underlined term=underline cterm=underline gui=underline
+":hi Include ctermfg=1 guifg=red
+":hi Define ctermfg=3 guifg=yellow
+":hi Function ctermfg=6 guifg=magenta
+":hi Structure ctermfg=2 guifg=green
+:hi MatchParen cterm=bold ctermbg=4 ctermfg=7
+:hi CursorLine cterm=bold,underline
+:hi CursorColumn cterm=bold
+:hi ColorColumn ctermbg=8
+:hi SpellBad term=underline,standout cterm=none ctermbg=7 ctermfg=0 guibg=white guifg=black
+:hi SpellCap term=underline,standout cterm=none ctermbg=7 ctermfg=0 guibg=white guifg=black
+:hi SpellLocal term=underline,standout cterm=none ctermbg=7 ctermfg=0 guibg=white guifg=black
+:hi SpellRare term=underline,standout cterm=none ctermbg=7 ctermfg=0 guibg=white guifg=black
+:hi WarningMsg term=standout ctermfg=1 guifg=red
+:hi ErrorMsg term=standout cterm=bold ctermbg=1 ctermfg=7 gui=bold guibg=red guifg=white
+:hi Error term=reverse cterm=bold ctermbg=1 ctermfg=7 gui=bold guibg=red guifg=white
diff --git a/misc/editor-syntax-etc/vim/colors/slate.vim b/misc/editor-syntax-etc/vim/colors/slate.vim
new file mode 100644
index 0000000..9b5807d
--- /dev/null
+++ b/misc/editor-syntax-etc/vim/colors/slate.vim
@@ -0,0 +1,75 @@
+"%% SiSU Vim color file
+" Name: Slate
+" Maintainer: Ralph Amissah <ralph@amissah.com>
+" Last Change: 2013-02-09
+" URL: <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=data/sisu/conf/editor-syntax-etc/vim/colors/slate.vim;hb=HEAD>
+" Notes: cterm now uses frugal-sisu 8 colors for term
+" (for gui originally looked at desert Hans Fugal <hans@fugal.net>
+" <http://hans.fugal.net/vim/colors/desert.vim> (April/May 2003))
+:set background=dark
+:hi clear
+if exists("syntax_on")
+ syntax reset
+endif
+:let colors_name = "slate"
+" 0 = black, 1 = red, 2 = green, 3 = yellow/orange, 4 = blue, 5 = magenta, 6 = cyan, 7 = white
+:hi Normal ctermbg=0 ctermfg=7 guibg=grey15 guifg=white
+:hi Cursor term=reverse cterm=reverse guibg=khaki guifg=slategrey
+:hi lCursor term=reverse cterm=reverse
+:hi StatusLine term=reverse cterm=bold,reverse gui=none guibg=#c2bfa5 guifg=black
+:hi StatusLineNC term=reverse cterm=reverse gui=none guibg=#c2bfa5 guifg=grey40
+:hi Search term=reverse cterm=none ctermbg=2 ctermfg=0 guibg=peru guifg=wheat
+:hi IncSearch term=reverse cterm=bold ctermbg=2 ctermfg=7 guibg=black guifg=green
+:hi SpecialKey term=bold ctermfg=4 guifg=yellowgreen
+:hi Visual term=reverse cterm=reverse gui=none guibg=olivedrab guifg=khaki
+:hi VisualNOS term=bold,underline cterm=bold,underline
+:hi MoreMsg term=bold ctermfg=2 guifg=SeaGreen
+:hi ModeMsg term=bold cterm=bold guifg=goldenrod
+:hi Question term=standout ctermfg=2 guifg=springgreen
+:hi Title term=bold cterm=bold ctermfg=3 gui=bold guifg=gold
+:hi NonText term=bold cterm=bold ctermfg=4 guibg=grey15 guifg=RoyalBlue
+:hi LineNr term=underline cterm=bold ctermbg=0 ctermfg=0* guifg=grey50
+:hi Directory term=bold ctermfg=4
+:hi WildMenu term=standout ctermbg=3 ctermfg=0 guibg=darkyellow guifg=black
+:hi VertSplit term=reverse cterm=reverse gui=none guibg=#c2bfa5 guifg=grey40
+:hi Folded term=standout cterm=none ctermbg=0 ctermfg=7 guibg=black guifg=grey40
+:hi FoldColumn term=standout ctermbg=7 ctermfg=4 guibg=black guifg=grey20
+:hi DiffChange cterm=none ctermbg=7 ctermfg=0 guibg=darkgrey guifg=white
+:hi DiffText cterm=none ctermbg=6 ctermfg=0 guibg=darkcyan guifg=white
+:hi DiffAdd cterm=none ctermbg=2 ctermfg=0 guibg=darkgreen guifg=white
+:hi DiffDelete cterm=none ctermbg=7 ctermfg=0 guibg=darkgrey guifg=black
+:hi String cterm=none ctermfg=3 guifg=SkyBlue
+:hi Comment term=bold cterm=none ctermbg=0 ctermfg=7 guifg=grey40
+:hi Constant term=underline ctermfg=1 guifg=#ffa0a0
+:hi Special term=bold ctermfg=6 guifg=darkkhaki
+:hi Identifier term=underline ctermfg=6 guifg=salmon
+:hi Statement term=bold ctermfg=6 guifg=CornflowerBlue
+:hi Operator term=bold ctermfg=1 guifg=red
+:hi PreProc term=underline ctermbg=7 ctermfg=1 guibg=white guifg=red
+:hi Type term=underline ctermfg=2 guifg=CornflowerBlue
+:hi Delimiter term=none cterm=none ctermfg=1
+:hi Ignore cterm=bold ctermfg=7 guifg=grey40
+:hi Todo term=standout ctermbg=3 ctermfg=0 guibg=yellow2 guifg=orangered
+:hi Underlined term=underline cterm=underline
+:hi Include ctermfg=1 guifg=red
+:hi Define ctermfg=3 gui=bold guifg=gold
+:hi Function ctermfg=6 guifg=navajowhite
+:hi Structure ctermfg=2 guifg=green
+:hi MatchParen cterm=bold ctermbg=4 ctermfg=7
+:hi CursorLine cterm=bold,underline guibg=black
+:hi CursorColumn cterm=bold guibg=black
+:hi SpellBad term=underline,standout cterm=none ctermbg=7 ctermfg=0 guibg=darkmagenta guifg=white
+:hi SpellCap term=underline,standout cterm=none ctermbg=7 ctermfg=0
+:hi SpellLocal term=underline,standout cterm=none ctermbg=7 ctermfg=0 guibg=darkmagenta guifg=white
+:hi SpellRare term=underline,standout cterm=none ctermbg=7 ctermfg=0
+:hi WarningMsg term=standout ctermfg=1 guibg=darkmagenta guifg=salmon
+:hi ErrorMsg term=standout cterm=bold ctermbg=1 ctermfg=7 guibg=darkmagenta guifg=white
+:hi Error term=reverse cterm=bold ctermbg=1 ctermfg=7 guibg=darkmagenta guifg=white
+:hi Black ctermbg=grey ctermfg=black guibg=grey guifg=black
+:hi Red ctermbg=black ctermfg=red guibg=black guifg=red
+:hi Magenta ctermbg=black ctermfg=magenta guibg=black guifg=magenta
+:hi Blue ctermbg=black ctermfg=blue guibg=black guifg=blue
+:hi Cyan ctermbg=black ctermfg=cyan guibg=black guifg=cyan
+:hi Green ctermbg=black ctermfg=green guibg=black guifg=green
+:hi Yellow ctermbg=black ctermfg=yellow guibg=black guifg=yellow
+:hi White ctermbg=black ctermfg=white guibg=black guifg=white
diff --git a/misc/editor-syntax-etc/vim/colors/sparse-cterm-ruby.vim b/misc/editor-syntax-etc/vim/colors/sparse-cterm-ruby.vim
new file mode 100644
index 0000000..53619b5
--- /dev/null
+++ b/misc/editor-syntax-etc/vim/colors/sparse-cterm-ruby.vim
@@ -0,0 +1,66 @@
+" Vim color file
+" Name: sparse-cterm-ruby
+" Maintainer: Ralph Amissah <ralph@amissah.com>
+" Last Change: 2013-02-09
+" URL: <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=data/sisu/conf/editor-syntax-etc/vim/colors/sparse-cterm-ruby.vim;hb=HEAD>
+" Note: 8 color cterm, related colorschemes 8 & frugal
+:set background=dark
+:hi clear
+if exists("syntax_on")
+ syntax reset
+endif
+:let colors_name = "frugal-cterm-ruby"
+" 0 = black, 1 = red, 2 = green, 3 = yellow/orange, 4 = blue, 5 = magenta, 6 = cyan, 7 = white
+:hi Normal ctermbg=0 ctermfg=7
+:hi Cursor cterm=reverse
+:hi lCursor cterm=reverse
+:hi StatusLine cterm=reverse
+:hi StatusLineNC cterm=reverse
+:hi Search cterm=none ctermbg=2 ctermfg=0
+:hi IncSearch cterm=bold ctermbg=2 ctermfg=7
+:hi SpecialKey ctermfg=4
+:hi Visual cterm=reverse
+:hi VisualNOS cterm=bold,underline
+:hi MoreMsg ctermfg=2
+:hi ModeMsg cterm=bold
+:hi Question ctermfg=2
+:hi Title ctermfg=1
+:hi NonText cterm=bold ctermfg=4
+:hi LineNr cterm=bold ctermbg=0 ctermfg=0*
+:hi Directory ctermfg=4
+:hi WildMenu ctermbg=3 ctermfg=0
+:hi VertSplit cterm=reverse
+:hi Folded cterm=bold ctermbg=0 ctermfg=0*
+:hi FoldColumn ctermbg=7 ctermfg=4
+:hi DiffChange cterm=none ctermbg=7 ctermfg=0
+:hi DiffText cterm=none ctermbg=6 ctermfg=0
+:hi DiffAdd cterm=none ctermbg=2 ctermfg=0
+:hi DiffDelete cterm=bold ctermbg=0 ctermfg=0*
+:hi String cterm=none ctermfg=3
+:hi Comment cterm=bold ctermbg=0 ctermfg=0*
+:hi Constant ctermfg=1
+:hi Special ctermfg=6
+:hi Identifier cterm=none ctermfg=6
+:hi Statement cterm=none ctermfg=2
+":hi Operator ctermfg=1
+:hi PreProc ctermfg=1
+:hi Type cterm=bold ctermfg=3
+:hi Delimiter cterm=none ctermfg=2
+:hi Ignore cterm=bold ctermfg=7
+:hi Todo ctermbg=3 ctermfg=0
+:hi Underlined cterm=underline
+":hi Include ctermfg=1
+":hi Define ctermfg=3
+":hi Function ctermfg=6
+":hi Structure ctermfg=2
+:hi MatchParen cterm=bold ctermbg=4 ctermfg=7
+:hi CursorLine cterm=bold,underline
+:hi CursorColumn cterm=bold
+:hi ColorColumn ctermbg=8
+:hi SpellBad cterm=none ctermbg=7 ctermfg=0
+:hi SpellCap cterm=none ctermbg=7 ctermfg=0
+:hi SpellLocal cterm=none ctermbg=7 ctermfg=0
+:hi SpellRare cterm=none ctermbg=7 ctermfg=0
+:hi WarningMsg ctermfg=1
+:hi ErrorMsg cterm=bold ctermbg=1 ctermfg=7
+:hi Error cterm=bold ctermbg=1 ctermfg=7
diff --git a/misc/editor-syntax-etc/vim/colors/sparse-cterm-sisu.vim b/misc/editor-syntax-etc/vim/colors/sparse-cterm-sisu.vim
new file mode 100644
index 0000000..1410a69
--- /dev/null
+++ b/misc/editor-syntax-etc/vim/colors/sparse-cterm-sisu.vim
@@ -0,0 +1,66 @@
+" Vim color file
+" Name: sparse-cterm-sisu
+" Maintainer: Ralph Amissah <ralph@amissah.com>
+" Last Change: 2013-02-09
+" URL: <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=data/sisu/conf/editor-syntax-etc/vim/colors/sparse-cterm-sisu.vim;hb=HEAD>
+" Note: 8 color cterm, related colorschemes 8 & frugal
+:set background=dark
+:hi clear
+if exists("syntax_on")
+ syntax reset
+endif
+:let colors_name = "sparse-cterm-sisu"
+" 0 = black, 1 = red, 2 = green, 3 = yellow/orange, 4 = blue, 5 = magenta, 6 = cyan, 7 = white
+:hi Normal ctermbg=0 ctermfg=7
+:hi Cursor cterm=reverse
+:hi lCursor cterm=reverse
+:hi StatusLine cterm=bold,reverse
+:hi StatusLineNC cterm=reverse
+:hi Search cterm=none ctermbg=2 ctermfg=0
+:hi IncSearch cterm=bold ctermbg=2 ctermfg=7
+:hi SpecialKey ctermfg=4
+:hi Visual cterm=reverse
+:hi VisualNOS cterm=bold,underline
+:hi MoreMsg ctermfg=2
+:hi ModeMsg cterm=bold
+:hi Question ctermfg=2
+:hi Title cterm=bold ctermfg=3
+:hi NonText cterm=bold ctermfg=4
+:hi LineNr cterm=bold ctermbg=0 ctermfg=0*
+:hi Directory ctermfg=4
+:hi WildMenu ctermbg=3 ctermfg=0
+:hi VertSplit cterm=reverse
+:hi Folded cterm=bold ctermbg=0 ctermfg=0*
+:hi FoldColumn ctermbg=7 ctermfg=4
+:hi DiffChange cterm=none ctermbg=7 ctermfg=0
+:hi DiffText cterm=none ctermbg=6 ctermfg=0
+:hi DiffAdd cterm=none ctermbg=2 ctermfg=0
+:hi DiffDelete cterm=bold ctermbg=0 ctermfg=0*
+:hi String cterm=none ctermfg=3
+:hi Comment cterm=bold ctermbg=0 ctermfg=0*
+:hi Constant ctermfg=1
+:hi Special ctermfg=6
+:hi Identifier ctermfg=6
+:hi Statement ctermfg=6
+:hi Operator ctermfg=1
+:hi PreProc ctermbg=7 ctermfg=1
+:hi Type ctermfg=2
+:hi Delimiter cterm=none ctermfg=1
+:hi Ignore cterm=bold ctermfg=7
+:hi Todo ctermbg=3 ctermfg=0
+:hi Underlined cterm=underline
+:hi Include ctermfg=1
+:hi Define ctermfg=3
+:hi Function ctermfg=6
+:hi Structure ctermfg=2
+:hi MatchParen cterm=bold ctermbg=4 ctermfg=7
+:hi CursorLine cterm=bold,underline
+:hi CursorColumn cterm=bold
+:hi ColorColumn ctermbg=8
+:hi SpellBad cterm=none ctermbg=7 ctermfg=0
+:hi SpellCap cterm=none ctermbg=7 ctermfg=0
+:hi SpellLocal cterm=none ctermbg=7 ctermfg=0
+:hi SpellRare cterm=none ctermbg=7 ctermfg=0
+:hi WarningMsg ctermfg=1
+:hi ErrorMsg cterm=bold ctermbg=1 ctermfg=7
+:hi Error cterm=bold ctermbg=1 ctermfg=7
diff --git a/misc/editor-syntax-etc/vim/filetype.vim b/misc/editor-syntax-etc/vim/filetype.vim
new file mode 100644
index 0000000..917c3e0
--- /dev/null
+++ b/misc/editor-syntax-etc/vim/filetype.vim
@@ -0,0 +1,8 @@
+" SiSU filetype file
+if exists("did_load_filetypes")
+ finish
+endif
+augroup filetypedetect
+ au! BufNewFile,BufRead *.sst,*.ssm,*.ssi,*.-sst setf sisu
+ au! BufNewFile,BufRead *._sst,*.sst.meta,*.-sst.meta,*._sst.meta setf sisu
+augroup END
diff --git a/misc/editor-syntax-etc/vim/ftplugin/sisu.vim b/misc/editor-syntax-etc/vim/ftplugin/sisu.vim
new file mode 100644
index 0000000..43c7e53
--- /dev/null
+++ b/misc/editor-syntax-etc/vim/ftplugin/sisu.vim
@@ -0,0 +1,224 @@
+"%% SiSU Vim ftplugin
+" SiSU Maintainer: Ralph Amissah <ralph@amissah.com>
+" SiSU Markup: SiSU (sisu-3.3) 2012-08-18
+" an ftplugin setting defaults for editing sisu markup files
+:syntax on
+:filetype off
+":filetype on
+:filetype indent on
+:autocmd FileType sisu :set nonumber
+:set encoding=utf-8 fileencodings=
+:set ff=unix
+:set autowrite " Automatically save before commands like :next and :make
+:set nocompatible
+:set tabstop=2
+:set expandtab
+:set shiftwidth=2
+:set autoindent
+:set showcmd " Show (partial) command in status line.
+:set showmatch " Show matching brackets.
+:set ignorecase " Do case insensitive matching
+:set smartcase
+:set incsearch
+:set hlsearch
+:set gdefault
+:set guioptions=agr " add 'm' for menu
+:map <silent> <C-m> :if &guioptions =~# 'm' <Bar>
+ \set guioptions-=m <Bar>
+ \set guioptions-=T <Bar>
+ \else <Bar>
+ \set guioptions+=m <Bar>
+ \set guioptions-=T <Bar>
+ \endif<CR>
+:set paste
+""% statusline
+"set statusline= "
+"set fillchars=stl:―,stlnc:—,vert:│,fold:۰,diff:·
+"" [ buffer number ]
+"set statusline +=%#Normal#[ "
+"set statusline +=%#Identifier#%n " buffer number
+"set statusline +=%#PreProc#%M " modified flag
+"set statusline +=%#Normal#] "
+"" [ file name (& modified?) ]
+"set statusline +=%#Normal#\ [ "
+"set statusline +=%#Statement#%<%F%* " full path
+""set statusline +=%#Statement#%<%t " full path
+"set statusline +=%#PreProc#%M " modified flag
+"set statusline +=%#Normal#] "
+"" [ column : line number / number of lines in file, percentage of file ] [%v:%l/%L\ %p%%]
+"set statusline +=%#Normal#\ [ "
+"set statusline +=%#Identifier#%v " column & line
+"set statusline +=%#Normal#: "
+"set statusline +=%#Identifier#%l " column & line
+"set statusline +=%#SpecialKey#/%L\ " total lines
+"set statusline +=%#Identifier#%p " percentage of file
+"set statusline +=%#SpecialKey#%% "
+"set statusline +=%#Normal#] " "
+"" [ file format : file type ]
+"set statusline +=%#Normal#\ [ "
+"set statusline +=%#SpecialKey#%{&fenc} " file format
+"set statusline +=%#Normal#: "
+"set statusline +=%#SpecialKey#%{&ff} " file format
+"set statusline +=%#Normal#: "
+"set statusline +=%#SpecialKey#%y " file type
+"set statusline +=%#Normal#] "
+"" [ character under cursor ]
+"set statusline +=%#Normal#\ [ "
+"set statusline +=%#String#0x%04B " character under cursor
+"set statusline +=%#Normal#]\ "
+"" [ syntastic ]
+"set statusline +=%#warningmsg#
+"set statusline +=%{SyntasticStatuslineFlag()}\ "
+""set statusline+=%*
+"" Status line background
+"set statusline +=%#Folded#\ "
+"" misc
+"set laststatus=2 " status line always on
+"% textwrap
+:set whichwrap=<,>,h,l,[,]
+:set nolinebreak " only affects display not buffer
+:set wrap
+:set wrapmargin=0
+"% map
+":let mapleader = "," " consider
+:map <leader>paste :set invpaste<cr>
+"% wrap/formatting paragraph according to the current 'textwidth' with ^\ (control-\):
+:imap <C-\> <C-O>gqap
+:nmap <C-\> gqap
+:vmap <C-\> gq
+"% save file, go to next file in buffer
+:map <leader>nf :w <enter> :n <enter>
+"% vimdiff q exits
+:if &diff
+: cmap q qa
+:endif
+"% directory files, placed in vertical split window
+:map <leader>ls :vs<cr> :Explore<cr>
+:map <leader>dir :vs<cr> :Explore<cr>
+"% remapping lines make cursor jump a line at a time within wrapped text
+:nnoremap j gj
+:nnoremap k gk
+:vnoremap j gj
+:vnoremap k gk
+:nnoremap <Down> gj
+:nnoremap <Up> gk
+:vnoremap <Down> gj
+:vnoremap <Up> gk
+:inoremap <Down> <C-o>gj
+:inoremap <Up> <C-o>gk
+"% search and replace
+:map <leader>rd :.,$s///c "search and replace down
+:map <leader>rg :%s///c "search and replace whole file
+:map <leader>rr :rubyd gsub!(//,"")
+"% pwd t64 working directory set to that of the file you're editing
+"changes pwd to directory of file in current buffer
+:function! CHANGE_CURR_DIR()
+: let _dir = expand("%:p:h")
+: exec "cd " . _dir
+: unlet _dir
+:endfunction
+"% Change to the directory the file in your current buffer is in
+:if has("autocmd")
+ autocmd BufEnter * :lcd %:p:h
+:endif
+"% autocompletefilenames To search for files in the current directory
+:set path=,,
+"auto-completion for file to edit in current dir, used in normal mode
+:map <leader>e :e <c-r>=expand("%:p:h") . "/" <cr>
+:map <leader>pwd :exe 'cd ' . expand ("%:p:h")<cr>
+"% searchhighlight t93: Toggle search highlight <C-n>
+:function! ToggleHLSearched()
+: if &hls
+: set nohls
+: else
+: set hls
+: endif
+:endfun
+:nmap <silent> <C-n> :silent call ToggleHLSearched()<cr>
+"%% SiSU vim folds
+"% foldsearchx FoldSearch (opens result of search all else closed) t77
+:map <leader>fs :set foldmethod=expr foldcolumn=2 foldlevel=0 <cr>
+:map <leader>ff :F<cr>
+:map <leader>fe :F<cr> zE
+"% foldtoggle Fold Toggle mapped to <space>
+:fun! ToggleFold()
+: if foldlevel('.') == 0
+: normal! l
+: else
+: if foldclosed('.') < 0
+: foldclose
+: else
+: foldopen
+: endif
+: endif
+" Clear status line
+: echo
+:endfun
+" Map this function to Space key.
+:noremap <space> :call ToggleFold()<cr>
+"% foldtype Fold? set foldtext
+:set foldtext=v:folddashes.substitute(getline(v:foldstart),'\\=','','g',)
+:set foldexpr=getline(v:lnum-1)!~@/&&getline(v:lnum)!~@/&&getline(v:lnum+1)!~@/
+"% foldsearch t77: Fold on search result
+:function! FoldMake(search)
+: set fdm=manual
+: normal zE
+: normal G$
+: let folded = 0 "flag to set when a fold is found
+: let flags = "w" "allow wrapping in the search
+: let line1 = 0 "set marker for beginning of fold
+: while search(a:search, flags) > 0
+: let line2 = line(".")
+: if (line2 -1 > line1)
+: "echo line1 . ":" . (line2-1)
+: "echo "a fold goes here."
+: execute ":" . line1 . "," . (line2-1) . "fold"
+: let folded = 1 "at least one fold has been found
+: endif
+: let line1 = line2 "update marker
+: let flags = "W" "turn off wrapping
+: endwhile
+" create the last fold which goes to the end of the file.
+: normal $G
+: let line2 = line(".")
+: if (line2 > line1 && folded == 1)
+: execute ":". line1 . "," . line2 . "fold"
+: endif
+: normal 1G
+:endfunction
+"% folds Fold Patterns
+:command! -nargs=+ -complete=command FMake call FoldMake(<q-args>)
+: if ( &filetype == "ruby" )
+: command! F FMake ^# ==\?\|^\s*\(\(def\|class\|module\)\s\|\(public\|protected\|private\|__END__\)\s*$\)\|\(^\s*\|\s\+\)#%\s
+: command! Fa FMake \(^# ==\?\|^\s*\(\(\(def\|class\|module\)\s\)\|\(\(public\|protected\|private\|__END__\)\(\s*$\)\)\)\)\|^[0-9]\~\|\([#%]\|^["]\)\{1,4\}\s*%\|{\({\|!!\)
+: command! FD FMake \(^# ==\?\|^\s*\(\(def\|class\|module\)\s\)\)\|^\s*\([#%"0-9]\{0,4\}\~\(%\+\s\|!!\)\|#\s\+=\+\s\+\)
+: else
+"% folds :F Fold Patterns SiSU Markup :F
+: command! F FMake ^\([1-8]\|:\?[A-C]\)\~\|\(^%\|\(^\|\s\+\)[#"]\)%\{1,2\}\(\s\|$\)\|^<<\s*|
+: command! Fa FMake ^\([1-8]\|:\?[A-C]\)\~\|\(^%\|\(^\|\s\+\)[#"]\)%\{1,2\}\(\s\|$\)\|^<<\s*|\|^\(Book\|Part\|Chapter\|Section\|Article\|BOOK\|PART\|CHAPTER\|SECTION\|ARTICLE\)\s
+: command! F0 FMake ^\(\s*0\~\|@\S\+:[+-]\?\s\+\)
+: command! FA FMake ^:\?A\~
+: command! FB FMake ^:\?[AB]\~
+: command! FC FMake ^:\?[A-C]\~
+: command! F1 FMake ^\(:\?[A-C]\|1\)\~
+: command! F2 FMake ^\(:\?[A-C]\|[12]\)\~
+: command! F3 FMake ^\(:\?[A-C]\|[1-3]\)\~
+: command! F4 FMake ^[1-4]\~
+: command! F5 FMake ^[4-5]\~
+: command! F6 FMake ^[4-6]\~
+: command! Fc FMake ^[%]\+\s\+
+: endif
+"% folds Fold Patterns misc
+":command! Fp FMake ^\s*[A-Za-z0-9#]
+:command! Fp FMake ^\s*\S
+:command! Fo FMake ^[%\"]\s*[{>]
+"% linenumbering, on, relative, off
+:map <Leader>nn :set <c-r>={'00':'','01':'r','10':'nor'}[&rnu.&nu]<CR>nu<CR>
+"% cursorline
+:map <leader>cu :if &cursorcolumn <Bar>
+ \set nocursorline nocursorcolumn <Bar>
+ \else <Bar>
+ \set cursorline cursorcolumn <Bar>
+ \endif<cr>
+:map <leader>cu- :set nocursorline nocursorcolumn<cr>
+:map <leader>cu+ :set cursorline cursorcolumn<cr>
diff --git a/misc/editor-syntax-etc/vim/ftplugin/sisurb.vim b/misc/editor-syntax-etc/vim/ftplugin/sisurb.vim
new file mode 100644
index 0000000..b959626
--- /dev/null
+++ b/misc/editor-syntax-etc/vim/ftplugin/sisurb.vim
@@ -0,0 +1,7 @@
+:set number
+:set relativenumber
+:autocmd FileType ruby :set relativenumber
+:autocmd FocusLost *.rb :set norelativenumber
+:autocmd FocusGained *.rb :set relativenumber
+:autocmd InsertEnter *.rb :set norelativenumber
+:autocmd InsertLeave *.rb :set relativenumber
diff --git a/misc/editor-syntax-etc/vim/rc/vimrc_statusline b/misc/editor-syntax-etc/vim/rc/vimrc_statusline
new file mode 100644
index 0000000..e0ba493
--- /dev/null
+++ b/misc/editor-syntax-etc/vim/rc/vimrc_statusline
@@ -0,0 +1,110 @@
+set statusline= "
+set fillchars=stl:―,stlnc:—,vert:│,fold:۰,diff:·
+"% [ buffer number ]
+set statusline +=%#Normal#[ "
+set statusline +=%#Identifier#%n " buffer number
+set statusline +=%#PreProc#%M " modified flag
+set statusline +=%#Normal#] "
+"% [ file name (& modified?) ]
+set statusline +=%#Normal#\ [ "
+set statusline +=%#Statement#%<%F%* " full path
+"set statusline +=%#Statement#%<%t " full path
+set statusline +=%#PreProc#%M " modified flag
+set statusline +=%#Normal#] "
+"% [ column : line number / number of lines in file, percentage of file ] [%v:%l/%L\ %p%%]
+set statusline +=%#Normal#\ [ "
+set statusline +=%#Identifier#%v " column & line
+set statusline +=%#Normal#: "
+set statusline +=%#Identifier#%l " column & line
+set statusline +=%#SpecialKey#/%L\ " total lines
+set statusline +=%#Identifier#%p " percentage of file
+set statusline +=%#SpecialKey#%% "
+set statusline +=%#Normal#] " "
+"% [ file format : file type ]
+set statusline +=%#Normal#\ [ "
+set statusline +=%#SpecialKey#%{&fenc} " file format
+set statusline +=%#Normal#: "
+set statusline +=%#SpecialKey#%{&ff} " file format
+set statusline +=%#Normal#: "
+set statusline +=%#SpecialKey#%y " file type
+set statusline +=%#Normal#] "
+"% [ character under cursor ]
+set statusline +=%#Normal#\ [ "
+set statusline +=%#String#0x%04B " character under cursor
+set statusline +=%#Normal#]\ "
+"% [ syntastic ]
+set statusline +=%#warningmsg#
+set statusline +=%{SyntasticStatuslineFlag()}\ "
+"set statusline+=%*
+"% Status line background
+set statusline +=%#Folded#\ "
+"set statusline +=%#Normal#\ "
+"set statusline +=%#MatchParen#\ "
+"set statusline +=%#ColorColumn#\ "
+"set statusline +=%#DiffDelete#\ "
+"set statusline +=%#VertSplit#\ "
+"% misc
+set laststatus=2 " status line always on
+"set statusline=%F%m%r%h%w\
+"set statusline=%f%m%r%h%w\ [type=%Y]\ [format=%{&ff}]\ [%v:%l/%L\ %p%%]
+"<http://www.reddit.com/r/vim/comments/1e6ph1/need_help_with_vim_statusline_customization/>
+"<http://stackoverflow.com/questions/5375240/a-more-useful-statusline-in-vim>
+"<http://got-ravings.blogspot.it/2008/08/vim-pr0n-making-statuslines-that-own.html>
+"! black
+hi User0 guifg=#000000 guibg=#222222
+"! red
+hi User1 guifg=#CC0000 guibg=#222222
+"! green
+hi User2 guifg=#4E9A06 guibg=#222222
+"! yellow
+hi User3 guifg=#C4A000 guibg=#222222
+"! blue
+hi User4 guifg=#5971AD guibg=#222222
+"! magenta
+hi User5 guifg=#75507B guibg=#222222
+"! cyan
+hi User6 guifg=#06989A guibg=#222222
+"! white
+hi User7 guifg=#D3D7CF guibg=#222222
+hi User8 guifg=#ffffff guibg=#222222
+hi User9 guifg=#ffffff guibg=#222222
+"! black
+"Rxvt.color0 : #000000
+"Rxvt.color8 : #555555
+"! red
+"Rxvt.color1 : #CC0000
+"Rxvt.color9 : #EF2929
+"! green
+"Rxvt.color2 : #4E9A06
+"Rxvt.color10 : #8AE234
+"! yellow
+"Rxvt.color3 : #C4A000
+"Rxvt.color11 : #FCE94F
+"! blue
+"Rxvt.color4 : #5971AD
+"Rxvt.color12 : #729FCF
+"! magenta
+"Rxvt.color5 : #75507B
+"Rxvt.color13 : #AD7FA8
+"! cyan
+"Rxvt.color6 : #06989A
+"Rxvt.color14 : #34E2E2
+"! white
+"Rxvt.color7 : #D3D7CF
+"Rxvt.color15 : #EEEEEE
+
+"hi User1 guifg=#eea040 guibg=#222222
+"hi User2 guifg=#dd3333 guibg=#222222
+"hi User3 guifg=#ff66ff guibg=#222222
+"hi User4 guifg=#a0ee40 guibg=#222222
+"hi User5 guifg=#eeee40 guibg=#222222
+"
+"hi User0 guifg=#ffffff guibg=#094afe
+"hi User1 guifg=#ffdad8 guibg=#880c0e
+"hi User2 guifg=#000000 guibg=#F4905C
+"hi User3 guifg=#292b00 guibg=#f4f597
+"hi User4 guifg=#112605 guibg=#aefe7B
+"hi User5 guifg=#051d00 guibg=#7dcc7d
+"hi User7 guifg=#ffffff guibg=#880c0e gui=bold
+"hi User8 guifg=#ffffff guibg=#5b7fbb
+"hi User9 guifg=#ffffff guibg=#810085
diff --git a/misc/editor-syntax-etc/vim/syntax/sisu.vim b/misc/editor-syntax-etc/vim/syntax/sisu.vim
new file mode 100644
index 0000000..effa9df
--- /dev/null
+++ b/misc/editor-syntax-etc/vim/syntax/sisu.vim
@@ -0,0 +1,277 @@
+" SiSU Vim syntax file
+" SiSU Maintainer: Ralph Amissah <ralph.amissah@gmail.com>
+" SiSU Markup: SiSU (sisu-5.6.7)
+" Last Change: 2017-06-22
+" URL: <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=data/sisu/conf/editor-syntax-etc/vim/syntax/sisu.vim;hb=HEAD>
+" <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob_plain;f=data/sisu/conf/editor-syntax-etc/vim/syntax/sisu.vim;hb=HEAD>
+"(originally looked at Ruby Vim by Mirko Nasato)
+
+if version < 600
+ syntax clear
+elseif exists("b:current_syntax")
+ finish
+else
+endif
+let s:cpo_save = &cpo
+set cpo&vim
+
+"% "Errors:
+syn match sisu_error contains=sisu_link,sisu_error_wspace "<![^ei]\S\+!>"
+
+"% "Markers Identifiers:
+if !exists("sisu_no_identifiers")
+ syn match sisu_mark_endnote "\~^"
+ syn match sisu_break contains=@NoSpell " \\\\\( \|$\)\|<br>\|<br />"
+ syn match sisu_control contains=@NoSpell "^\(-\\\\-\|=\\\\=\|-\.\.-\|<:p[bn]>\)\s*$"
+ syn match sisu_control contains=@NoSpell "^<:\(bo\|---\)>\s*$"
+ syn match sisu_marktail contains=@NoSpell "^--[+~-]#\s*$"
+ syn match sisu_marktail "[~-]#"
+ syn match sisu_control "\""
+ syn match sisu_underline "\(^\| \)_[a-zA-Z0-9]\+_\([ .,]\|$\)"
+ syn match sisu_number contains=@NoSpell "[0-9a-f]\{32\}\|[0-9a-f]\{64\}"
+ syn match sisu_link contains=@NoSpell "\(_\?https\?://\|\.\.\/\)\S\+"
+ syn match sisu_link " \*\~\S\+"
+ syn match sisu_require contains=@NoSpell "^<<\s*[a-zA-Z0-9^./_-]\+\.ss[it]$"
+ syn match sisu_structure "^:A\~$"
+
+"% "Document Sub Headers:
+ syn match sisu_sub_header_title "^\s\+:\(subtitle\|short\|edition\|language\|lang_char\|note\):\s" "group=sisu_header_content
+ syn match sisu_sub_header_creator "^\s\+:\(author\|editor\|contributor\|illustrator\|photographer\|translator\|digitized_by\|prepared_by\|audio\|video\):\s" " &hon &institution
+ syn match sisu_sub_header_rights "^\s\+:\(copyright\|text\|translation\|illustrations\|photographs\|preparation\|digitization\|audio\|video\|license\|all\):\s" " access_rights license
+ syn match sisu_sub_header_classify "^\s\+:\(topic_register\|keywords\|subject\|dewey\|loc\):\s"
+ syn match sisu_sub_header_identifier "^\s\+:\(oclc\|isbn\):\s"
+ syn match sisu_sub_header_date "^\s\+:\(added_to_site\|available\|created\|issued\|modified\|published\|valid\|translated\|original_publication\):\s"
+ syn match sisu_sub_header_original "^\s\+:\(publisher\|date\|language\|lang_char\|institution\|nationality\|source\):\s"
+ syn match sisu_sub_header_make "^\s\+:\(headings\|num_top\|breaks\|language\|italics\|bold\|emphasis\|substitute\|omit\|plaintext_wrap\|texpdf_font_mono\|texpdf_font\|stamp\|promo\|ad\|manpage\|home_button_text\|home_button_image\|cover_image\|footer\):\s"
+ syn match sisu_sub_header_notes "^\s\+:\(description\|abstract\|comment\|coverage\|relation\|source\|history\|type\|format\|prefix\|prefix_[ab]\|suffix\):\s"
+ syn match sisu_within_index_ignore "\S\+[:;]\(\s\+\|$\)"
+ syn match sisu_within_index "[:|;]\|+\d\+"
+
+"% "semantic markers: (ignore)
+ syn match sisu_sem_marker ";{\|};[a-z._]*[a-z]"
+ syn match sisu_sem_marker_block "\([a-z][a-z._]*\|\):{\|}:[a-z._]*[a-z]"
+ syn match sisu_sem_ex_marker ";\[\|\];[a-z._]*[a-z]"
+ syn match sisu_sem_ex_marker_block "\([a-z][a-z._]*\|\):\[\|\]:[a-z._]*[a-z]"
+ syn match sisu_sem_block contains=sisu_error,sisu_error_wspace,sisu_content_alt,sisu_link,sisu_linked,sisu_break,sisu_sem_block,sisu_sem_content,sisu_sem_marker_block,sisu_sem_marker,sisu_sem_ex_marker_block,sisu_sem_ex_marker,sisu_mark_endnote,sisu_content_endnote "\([a-z]*\):{[^}].\{-}}:\1"
+ syn match sisu_sem_content contains=sisu_error,sisu_error_wspace,sisu_content_alt,sisu_link,sisu_linked,sisu_break,sisu_sem_marker_block,sisu_sem_marker,sisu_sem_ex_marker_block,sisu_sem_ex_marker ";{[^}].\{-}};[a-z]\+"
+ syn match sisu_sem_ex_block contains=sisu_error,sisu_error_wspace,sisu_content_alt,sisu_link,sisu_linked,sisu_break,sisu_sem_block,sisu_sem_content,sisu_sem_marker_block,sisu_sem_marker,sisu_sem_ex_marker_block,sisu_sem_ex_marker,sisu_mark_endnote,sisu_content_endnote "\([a-z]*\):\[[^}].\{-}\]:\1"
+ syn match sisu_sem_ex_content contains=sisu_error,sisu_error_wspace,sisu_content_alt,sisu_link,sisu_linked,sisu_break,sisu_sem_marker_block,sisu_sem_marker,sisu_sem_ex_marker_block,sisu_sem_ex_marker ";\[[^}].\{-}\];[a-z]\+"
+endif
+
+"% "URLs Numbers And ASCII Codes:
+syn match sisu_number "\<\(0x\x\+\|0b[01]\+\|0\o\+\|0\.\d\+\|0\|[1-9][\.0-9_]*\)\>"
+syn match sisu_number "?\(\\M-\\C-\|\\c\|\\C-\|\\M-\)\=\(\\\o\{3}\|\\x\x\{2}\|\\\=\w\)"
+
+"% "Tuned Error: (is error if not already matched)
+syn match sisu_error contains=sisu_error "[\~/\*!_]{\|}[\~/\*!_]"
+syn match sisu_error contains=sisu_error "<a href\|</a>]"
+
+"% "Simple Paired Enclosed Markup:
+"url/link
+syn region sisu_link contains=sisu_error,sisu_error_wspace matchgroup=sisu_action start="^<<\s*|[a-zA-Z0-9^._-]\+|@|[a-zA-Z0-9^._-]\+|"rs=s+2 end="$"
+
+"% "Document Header:
+" title
+syn region sisu_header_content contains=sisu_error,sisu_comment,sisu_break,sisu_link,sisu_sub_header_title matchgroup=sisu_header start="^[@]title:[+-]\?\(\s\|\n\)"rs=e-1 end="\n$"
+" creator
+syn region sisu_header_content contains=sisu_error,sisu_comment,sisu_break,sisu_link,sisu_sub_header_creator matchgroup=sisu_header start="^[@]creator:[+-]\?\(\s\|\n\)"rs=e-1 end="\n$"
+" dates
+syn region sisu_header_content contains=sisu_error,sisu_comment,sisu_break,sisu_link,sisu_sub_header_date matchgroup=sisu_header start="^[@]date:[+-]\?\(\s\|\n\)"rs=e-1 end="\n$"
+" publisher
+syn region sisu_header_content contains=sisu_error,sisu_comment,sisu_break,sisu_link,sisu_sub_header_publisher matchgroup=sisu_header start="^[@]publisher:[+-]\?\(\s\|\n\)"rs=e-1 end="\n$"
+" rights
+syn region sisu_header_content contains=sisu_error,sisu_comment,sisu_break,sisu_link,sisu_sub_header_rights matchgroup=sisu_header start="^[@]rights:[+-]\?\(\s\|\n\)"rs=e-1 end="\n$"
+" classify document
+syn region sisu_header_content contains=sisu_error,sisu_comment,sisu_break,sisu_link,sisu_sub_header_classify matchgroup=sisu_header start="^[@]classify:[+-]\?\(\s\|\n\)"rs=e-1 end="\n$"
+" identifier document
+syn region sisu_header_content contains=sisu_error,sisu_comment,sisu_break,sisu_link,sisu_sub_header_identifier matchgroup=sisu_header start="^[@]identifier:[+-]\?\(\s\|\n\)"rs=e-1 end="\n$"
+" original language (depreciated)
+syn region sisu_header_content contains=sisu_error,sisu_comment,sisu_break,sisu_link,sisu_sub_header_original matchgroup=sisu_header start="^[@]original:[+-]\?\(\s\|\n\)"rs=e-1 end="\n$"
+" notes
+syn region sisu_header_content contains=sisu_error,sisu_comment,sisu_break,sisu_link,sisu_sub_header_notes matchgroup=sisu_header start="^[@]notes:[+-]\?\(\s\|\n\)"rs=e-1 end="\n$"
+" links of interest
+syn region sisu_header_content contains=sisu_error,sisu_comment,sisu_break,sisu_linked,sisu_sub_header_links matchgroup=sisu_header start="^[@]links:[+-]\?\(\s\|\n\)"rs=e-1 end="\n$"
+" make, processing instructions
+syn region sisu_header_content contains=sisu_error,sisu_comment,sisu_break,sisu_link,sisu_sub_header_make matchgroup=sisu_header start="^[@]make:[+-]\?\(\s\|\n\)"rs=e-1 end="\n$"
+
+"% "Headings:
+syn region sisu_heading contains=sisu_mark_endnote,sisu_content_endnote,sisu_marktail,sisu_strikeout,sisu_number,sisu_bold,sisu_control,sisu_identifier,sisu_ocn,sisu_error,sisu_error_wspace matchgroup=sisu_structure start="^\([1-4]\|:\?[A-D]\)\~\(\S\+\|[^-]\)" end="$"
+
+"% "Block Group Text:
+" table
+syn region sisu_content_alt contains=sisu_strikeout,sisu_number,sisu_bold,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_contain start="^table{.\+" end="}table"
+" table
+syn region sisu_content_alt contains=sisu_strikeout,sisu_number,sisu_bold,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_contain start="^```\s\+table" end="^```\(\s\|$\)"
+syn region sisu_content_alt contains=sisu_strikeout,sisu_number,sisu_bold,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_contain start="^{\(t\|table\)\(\~h\)\?\(\sc[0-9]\+;\)\?[0-9; ]*}" end="\n$"
+" block, group, poem, alt
+syn region sisu_content_alt contains=sisu_mark_endnote,sisu_content_endnote,sisu_link,sisu_mark,sisu_strikeout,sisu_number,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_contain start="^\z(block\|group\|poem\|alt\){" end="^}\z1"
+syn region sisu_content_alt contains=sisu_mark_endnote,sisu_content_endnote,sisu_link,sisu_mark,sisu_strikeout,sisu_number,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_contain start="^```\s\+\(block\|group\|poem\|alt\)" end="^```\(\s\|$\)"
+" box
+syn region sisu_content_alt contains=sisu_mark_endnote,sisu_content_endnote,sisu_link,sisu_mark,sisu_strikeout,sisu_number,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_contain start="^box\(\.[a-z]\+\)\?{" end="^}box"
+syn region sisu_content_alt contains=sisu_mark_endnote,sisu_content_endnote,sisu_link,sisu_mark,sisu_strikeout,sisu_number,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_contain start="^```\s\+\box\(\.[a-z]\+\)\?" end="^```\(\s\|$\)"
+" code
+syn region sisu_content_alt contains=sisu_error,@NoSpell matchgroup=sisu_contain start="^code\(\.[a-z][0-9a-z_]\+\)\?{" end="^}code"
+syn region sisu_content_alt contains=sisu_error,@NoSpell matchgroup=sisu_contain start="^```\s\+code\(\.[a-z][0-9a-z_]\+\)\?" end="^```\(\s\|$\)"
+" quote
+syn region sisu_normal contains=sisu_fontface,sisu_bold,sisu_control,sisu_identifier,sisu_content_endnote,sisu_mark_endnote,sisu_link,sisu_sem_block,sisu_sem_content,sisu_sem_marker_block,sisu_sem_marker,sisu_sem_ex_marker_block,sisu_sem_ex_marker,sisu_linked,sisu_error,sisu_error_wspace matchgroup=sisu_contain start="^```\s\+quote" end="^```\(\s\|$\)"
+
+"% "Endnotes:
+" regular endnote or asterisk or plus sign endnote
+syn region sisu_content_endnote contains=sisu_link,sisu_strikeout,sisu_underline,sisu_number,sisu_bold,sisu_control,sisu_identifier,sisu_error,sisu_error_wspace,sisu_mark,sisu_break,sisu_sem_block,sisu_sem_content,sisu_sem_marker_block,sisu_sem_marker,sisu_sem_ex_marker_block,sisu_sem_ex_marker matchgroup=sisu_mark_endnote start="\~{[*+]*" end="}\~" skip="\n"
+" numbered asterisk or plus sign endnote
+syn region sisu_content_endnote contains=sisu_link,sisu_strikeout,sisu_underline,sisu_number,sisu_bold,sisu_control,sisu_identifier,sisu_error,sisu_error_wspace,sisu_mark,sisu_break,sisu_sem_block,sisu_sem_content,sisu_sem_marker matchgroup=sisu_mark_endnote start="\~\[[*+]*" end="\]\~" skip="\n"
+" endnote content marker (for binary content marking)
+syn region sisu_content_endnote contains=sisu_strikeout,sisu_number,sisu_bold,sisu_control,sisu_link,sisu_identifier,sisu_error,sisu_error_wspace,sisu_mark,sisu_break matchgroup=sisu_mark_endnote start="\^\~" end="\n$"
+
+"% "Links And Images:
+" image with url link (and possibly footnote of url)
+syn region sisu_linked contains=sisu_fontface,sisu_strikeout,sisu_number,sisu_bold,sisu_control,sisu_identifier,sisu_sem_block,sisu_sem_content,sisu_sem_marker_block,sisu_sem_marker,sisu_sem_ex_marker_block,sisu_sem_ex_marker,sisu_sem_block,sisu_error matchgroup=sisu_link start="{\(\~^\s\)\?" end="}\(https\?:/\/\|:\|\.\.\/\|#\)\S\+" oneline
+" sisu outputs, short notation
+syn region sisu_linked contains=sisu_fontface,sisu_strikeout,sisu_number,sisu_bold,sisu_control,sisu_identifier,sisu_sem_block,sisu_sem_content,sisu_sem_marker_block,sisu_sem_marker,sisu_sem_ex_marker_block,sisu_sem_ex_marker,sisu_sem_block,sisu_error matchgroup=sisu_link start="{\(\~^\s\)\?" end="\[[1-5][sS]*\]}\S\+\.ss[tm]" oneline
+" image
+syn region sisu_linked contains=sisu_fontface,sisu_strikeout,sisu_number,sisu_bold,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_link start="{" end="}image" oneline
+
+"% "Some Line Operations:
+" bold line
+syn region sisu_bold contains=sisu_strikeout,sisu_identifier,sisu_content_endnote,sisu_mark_endnote,sisu_error,sisu_error_wspace matchgroup=sisu_markpara start="^!_ " end=" \\\\\|$"
+" indent and bullet paragraph
+syn region sisu_normal contains=sisu_fontface,sisu_bold,sisu_control,sisu_identifier,sisu_content_endnote,sisu_mark_endnote,sisu_link,sisu_sem_block,sisu_sem_content,sisu_sem_marker_block,sisu_sem_marker,sisu_sem_ex_marker_block,sisu_sem_ex_marker,sisu_linked,sisu_error,sisu_error_wspace matchgroup=sisu_markpara start="^_\([1-9*]\|[1-9]\*\) " end="$"
+" indent and bullet (bold start) paragraph
+syn region sisu_bold contains=sisu_fontface,sisu_bold,sisu_control,sisu_identifier,sisu_content_endnote,sisu_mark_endnote,sisu_link,sisu_sem_block,sisu_sem_content,sisu_sem_marker_block,sisu_sem_marker,sisu_sem_ex_marker_block,sisu_sem_ex_marker,sisu_linked,sisu_error,sisu_error_wspace matchgroup=sisu_markpara start="^_\([1-9*]\|[1-9]\*\)!_\? " end=" \\\\\|$"
+" hanging indent paragraph [proposed]
+syn region sisu_normal contains=sisu_fontface,sisu_bold,sisu_control,sisu_identifier,sisu_content_endnote,sisu_mark_endnote,sisu_link,sisu_sem_block,sisu_sem_content,sisu_sem_marker_block,sisu_sem_marker,sisu_sem_ex_marker_block,sisu_sem_ex_marker,sisu_linked,sisu_error,sisu_error_wspace matchgroup=sisu_markpara start="^_[0-9]\?_[0-9] " end="$"
+" hanging indent (bold start/ definition) paragraph [proposed]
+syn region sisu_bold contains=sisu_fontface,sisu_bold,sisu_control,sisu_identifier,sisu_content_endnote,sisu_mark_endnote,sisu_link,sisu_sem_block,sisu_sem_content,sisu_sem_marker_block,sisu_sem_marker,sisu_sem_ex_marker_block,sisu_sem_ex_marker,sisu_linked,sisu_error,sisu_error_wspace matchgroup=sisu_markpara start="^_[0-9]\?_[0-9]!_\? " end=" \\\\\|$"
+" list numbering
+syn region sisu_normal contains=sisu_strikeout,sisu_identifier,sisu_content_endnote,sisu_mark_endnote,sisu_link,sisu_linked,sisu_error,sisu_error_wspace matchgroup=sisu_markpara start="^\(#[ 1]\|_# \)" end="$"
+
+"% "Font Face Curly Brackets:
+"syn region sisu_identifier contains=sisu_strikeout,sisu_number,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_sem start="\S\+:{" end="}:[^<>,.!?:; ]\+" oneline
+" book index:
+syn region sisu_index contains=sisu_within_index_ignore,sisu_within_index matchgroup=sisu_index_block start="^={" end="}"
+" emphasis:
+syn region sisu_bold contains=sisu_strikeout,sisu_number,sisu_bold,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_fontface start="\*{" end="}\*"
+" bold:
+syn region sisu_bold contains=sisu_strikeout,sisu_number,sisu_bold,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_fontface start="!{" end="}!"
+" underscore:
+syn region sisu_underline contains=sisu_strikeout,sisu_number,sisu_bold,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_fontface start="_{" end="}_"
+" italics:
+syn region sisu_identifier contains=sisu_strikeout,sisu_number,sisu_bold,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_fontface start="/{" end="}/"
+" added:
+syn region sisu_underline contains=sisu_strikeout,sisu_number,sisu_bold,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_fontface start="+{" end="}+"
+" superscript:
+syn region sisu_identifier contains=sisu_strikeout,sisu_number,sisu_bold,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_fontface start="\^{" end="}\^"
+" subscript:
+syn region sisu_identifier contains=sisu_strikeout,sisu_number,sisu_bold,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_fontface start=",{" end="},"
+" monospace:
+syn region sisu_identifier contains=sisu_strikeout,sisu_number,sisu_bold,sisu_control,sisu_identifier,sisu_error matchgroup=sisu_fontface start="#{" end="}#"
+" strikethrough:
+syn region sisu_strikeout contains=sisu_error matchgroup=sisu_fontface start="-{" end="}-"
+
+"% "Single Words Bold Italicise Etc: (depreciated)
+syn region sisu_bold contains=sisu_error matchgroup=sisu_bold start="\([ (]\|^\)\*[^\|{\n\~\\]"hs=e-1 end="\*"he=e-0 skip="[a-zA-Z0-9']" oneline
+syn region sisu_identifier contains=sisu_error matchgroup=sisu_content_alt start="\([ ]\|^\)/[^{ \|\n\\]"hs=e-1 end="/\[ \.\]" skip="[a-zA-Z0-9']" oneline
+"misc
+syn region sisu_identifier contains=sisu_error matchgroup=sisu_fontface start="\^[^ {\|\n\\]"rs=s+1 end="\^[ ,.;:'})\\\n]" skip="[a-zA-Z0-9']" oneline
+
+"% "Expensive Mode:
+if !exists("sisu_no_expensive")
+else " not Expensive
+ syn region sisu_content_alt matchgroup=sisu_control start="^\s*def\s" matchgroup=NONE end="[?!]\|\>" skip="\.\|\(::\)" oneline
+endif " Expensive?
+
+"% "Headers And Headings: (Document Instructions)
+syn match sisu_control contains=sisu_error,sisu_error_wspace "4\~! \S\+"
+syn region sisu_markpara contains=sisu_error,sisu_error_wspace start="^=begin" end="^=end.*$"
+
+"% "Errors:
+syn match sisu_error_wspace contains=sisu_error_wspace "^\s\+[^:]"
+syn match sisu_error_wspace contains=sisu_error_wspace "\s\s\+"
+syn match sisu_error_wspace contains=sisu_error_wspace "\s\+$"
+syn match sisu_error contains=sisu_error_wspace "\t\+"
+syn match sisu_error contains=sisu_error,sisu_error_wspace "\([^ (][_\\]\||[^ (}]\)https\?:\S\+"
+syn match sisu_error contains=sisu_error "_\?https\?:\S\+[}><]"
+syn match sisu_error contains=sisu_error "\([!*/_\+,^]\){\([^(\}\1)]\)\{-}\n$"
+syn match sisu_error contains=sisu_error "^[\~]{[^{]\{-}\n$"
+syn match sisu_error contains=sisu_error "\s\+.{{"
+syn match sisu_error contains=sisu_error "^\~\s*$"
+syn match sisu_error contains=sisu_error "^0\~.*"
+syn match sisu_error contains=sisu_error "^[1-9]\~\s*$"
+syn match sisu_error contains=sisu_error "^[1-9]\~\S\+\s*$"
+syn match sisu_error contains=sisu_error "[^{]\~\^[^ \)]"
+syn match sisu_error contains=sisu_error "\~\^\s\+\.\s*"
+syn match sisu_error contains=sisu_error "{\~^\S\+"
+syn match sisu_error contains=sisu_error "[_/\*!^]{[ .,:;?><]*}[_/\*!^]"
+syn match sisu_error contains=sisu_error "[^ (\"'(\[][_/\*!]{\|}[_/\*!][a-zA-Z0-9)\]\"']"
+syn match sisu_error contains=sisu_error "<dir>"
+"errors for filetype sisu, though not error in 'metaverse':
+syn match sisu_error contains=sisu_error,sisu_match,sisu_strikeout,sisu_contain,sisu_content_alt,sisu_mark,sisu_break,sisu_number "<[a-zA-Z\/]\+>"
+syn match sisu_error "/\?<\([biu]\)>[^(</\1>)]\{-}\n$"
+
+"% "Error Exceptions:
+syn match sisu_control "\n$" "contains=ALL
+"syn match sisu_control " //"
+syn match sisu_error "%{"
+syn match sisu_error "<br>_\?https\?:\S\+\|_\?https\?:\S\+<br>"
+syn match sisu_error "[><]_\?https\?:\S\+\|_\?https\?:\S\+[><]"
+syn match sisu_comment "^%\{1,2\}.\+"
+
+"% "Definitions Default Highlighting:
+hi def link sisu_normal Normal
+hi def link sisu_bold Statement
+hi def link sisu_header PreProc
+hi def link sisu_header_content Normal
+hi def link sisu_sub_header_title Statement
+hi def link sisu_sub_header_creator Statement
+hi def link sisu_sub_header_date Statement
+hi def link sisu_sub_header_publisher Statement
+hi def link sisu_sub_header_rights Statement
+hi def link sisu_sub_header_classify Statement
+hi def link sisu_sub_header_identifier Statement
+hi def link sisu_sub_header_original Statement
+hi def link sisu_sub_header_links Statement
+hi def link sisu_sub_header_notes Statement
+hi def link sisu_sub_header_make Statement
+hi def link sisu_heading Title
+hi def link sisu_structure Operator
+hi def link sisu_contain Include
+hi def link sisu_mark_endnote Delimiter
+hi def link sisu_require NonText
+hi def link sisu_link NonText
+hi def link sisu_linked String
+hi def link sisu_fontface Delimiter
+hi def link sisu_strikeout DiffDelete
+hi def link sisu_content_alt Special
+hi def link sisu_sem_content SpecialKey
+hi def link sisu_sem_block Special
+hi def link sisu_sem_marker Visual
+"hi def link sisu_sem_marker Structure
+hi def link sisu_sem_marker_block MatchParen
+hi def link sisu_sem_ex_marker FoldColumn
+hi def link sisu_sem_ex_marker_block Folded
+hi def link sisu_sem_ex_content Comment
+"hi def link sisu_sem_ex_content SpecialKey
+hi def link sisu_sem_ex_block Comment
+hi def link sisu_index SpecialKey
+hi def link sisu_index_block Visual
+hi def link sisu_content_endnote Special
+hi def link sisu_control Delimiter
+hi def link sisu_within_index Delimiter
+hi def link sisu_within_index_ignore SpecialKey
+hi def link sisu_ocn Include
+hi def link sisu_number Number
+hi def link sisu_identifier Function
+hi def link sisu_underline Underlined
+hi def link sisu_markpara Include
+hi def link sisu_marktail Include
+hi def link sisu_mark Identifier
+hi def link sisu_break Structure
+hi def link sisu_html Type
+hi def link sisu_action Identifier
+hi def link sisu_comment Comment
+hi def link sisu_error_sem_marker Error
+hi def link sisu_error_wspace Error
+hi def link sisu_error Error
+let b:current_syntax = "sisu"
+let &cpo = s:cpo_save
+unlet s:cpo_save
diff --git a/misc/editor-syntax-etc/vim/templates/ssi.tpl b/misc/editor-syntax-etc/vim/templates/ssi.tpl
new file mode 100644
index 0000000..28e8101
--- /dev/null
+++ b/misc/editor-syntax-etc/vim/templates/ssi.tpl
@@ -0,0 +1,30 @@
+# SiSU 8.0 insert
+
+title:
+ main: "#___#"
+ sub: "#___#"
+ language: "#___#"
+
+creator:
+ author: "#___#"
+
+date:
+ :published: "YYYY-MM-DD"
+
+rights:
+ copyright: "#___#"
+ license: "#___#"
+
+classify:
+ topic_register: "#___#"
+
+make:
+ breaks: "new=:B; break=1"
+# home_button_text: "#___#"
+# footer: "#___#"
+
+#% -- body ---
+
+:A~ @title @author
+
+1~ #___#
diff --git a/misc/editor-syntax-etc/vim/templates/ssm.tpl b/misc/editor-syntax-etc/vim/templates/ssm.tpl
new file mode 100644
index 0000000..579375f
--- /dev/null
+++ b/misc/editor-syntax-etc/vim/templates/ssm.tpl
@@ -0,0 +1,30 @@
+# SiSU 8.0 master
+
+title:
+ main: "#___#"
+ sub: "#___#"
+ language: "#___#"
+
+creator:
+ author: "#___#"
+
+date:
+ :published: "YYYY-MM-DD"
+
+rights:
+ copyright: "#___#"
+ license: "#___#"
+
+classify:
+ topic_register: "#___#"
+
+make:
+ breaks: "new=:B; break=1"
+# home_button_text: "#___#"
+# footer: "#___#"
+
+#% -- body ---
+
+:A~ @title @author
+
+1~ #___#
diff --git a/misc/editor-syntax-etc/vim/templates/sst.tpl b/misc/editor-syntax-etc/vim/templates/sst.tpl
new file mode 100644
index 0000000..069d498
--- /dev/null
+++ b/misc/editor-syntax-etc/vim/templates/sst.tpl
@@ -0,0 +1,30 @@
+# SiSU 8.0
+
+title:
+ main: "#___#"
+ sub: "#___#"
+ language: "#___#"
+
+creator:
+ author: "#___#"
+
+date:
+ :published: "YYYY-MM-DD"
+
+rights:
+ copyright: "#___#"
+ license: "#___#"
+
+classify:
+ topic_register: "#___#"
+
+make:
+ breaks: "new=:B; break=1"
+# home_button_text: "#___#"
+# footer: "#___#"
+
+#% -- body ---
+
+:A~ @title @author
+
+1~ #___#
diff --git a/misc/editor-syntax-etc/vim/vim-sisu.yaml b/misc/editor-syntax-etc/vim/vim-sisu.yaml
new file mode 100644
index 0000000..ca665bc
--- /dev/null
+++ b/misc/editor-syntax-etc/vim/vim-sisu.yaml
@@ -0,0 +1,7 @@
+#vim-addons: debian vim-addon-manager
+addon: sisu
+description: SiSU documents - structuring, publishing in multiple formats and search
+basedir: /usr/share/vim-scripts/
+files:
+ - ftplugin/sisu.vim
+ - syntax/sisu.vim
diff --git a/org/spine_build_scaffold.org b/org/spine_build_scaffold.org
index 94d5cf9..144a82c 100644
--- a/org/spine_build_scaffold.org
+++ b/org/spine_build_scaffold.org
@@ -371,7 +371,13 @@ skel:
mkdir -p build; \
mkdir -p views; \
mkdir -p data; \
- mkdir -p util; \
+ mkdir -p misc/util; \
+ mkdir -p misc/editor-syntax-etc/emacs; \
+ mkdir -p misc/editor-syntax-etc/vim/syntax; \
+ mkdir -p misc/editor-syntax-etc/vim/colors; \
+ mkdir -p misc/editor-syntax-etc/vim/ftplugin; \
+ mkdir -p misc/editor-syntax-etc/vim/rc; \
+ mkdir -p misc/editor-syntax-etc/vim/templates; \
mkdir -p $(PRG_SRCDIR)/$(PRG_NAME_DIR)/conf; \
mkdir -p $(PRG_SRCDIR)/$(PRG_NAME_DIR)/io_in; \
mkdir -p $(PRG_SRCDIR)/$(PRG_NAME_DIR)/io_out; \
@@ -399,7 +405,13 @@ expunge:
distclean: expunge
distclean_and_init: expunge
mkdir -p views; \
- mkdir -p util; \
+ mkdir -p misc/util; \
+ mkdir -p misc/editor-syntax-etc/emacs; \
+ mkdir -p misc/editor-syntax-etc/vim/syntax; \
+ mkdir -p misc/editor-syntax-etc/vim/colors; \
+ mkdir -p misc/editor-syntax-etc/vim/ftplugin; \
+ mkdir -p misc/editor-syntax-etc/vim/rc; \
+ mkdir -p misc/editor-syntax-etc/vim/templates; \
mkdir -p $(PRG_SRCDIR)/$(PRG_NAME_DIR); \
mkdir -p $(PRG_BINDIR);
#+END_SRC
diff --git a/org/spine_syntax_highlighting_emacs.org b/org/spine_syntax_highlighting_emacs.org
new file mode 100644
index 0000000..0007e48
--- /dev/null
+++ b/org/spine_syntax_highlighting_emacs.org
@@ -0,0 +1,539 @@
+-*- mode: org -*-
+#+TITLE: spine (doc_reform) information files
+#+DESCRIPTION: documents - structuring, various output representations & search
+#+FILETAGS: :spine:info:
+#+AUTHOR: Ralph Amissah
+#+EMAIL: [[mailto:ralph.amissah@gmail.com][ralph.amissah@gmail.com]]
+#+COPYRIGHT: Copyright (C) 2015 - 2020 Ralph Amissah
+#+LANGUAGE: en
+#+STARTUP: content hideblocks hidestars noindent entitiespretty
+#+PROPERTY: header-args :exports code
+#+PROPERTY: header-args+ :noweb yes
+#+PROPERTY: header-args+ :eval no
+#+PROPERTY: header-args+ :results no
+#+PROPERTY: header-args+ :cache no
+#+PROPERTY: header-args+ :padline no
+
+* Emacs Syntax highlighting
+
+** README
+
+#+BEGIN_SRC elisp :tangle "../misc/editor-syntax-etc/emacs/README"
+; put this into your .emacs file, then use the mode file:
+
+(load-file "~/emacs/el/sisu-spine-mode.el")
+(add-to-list 'auto-mode-alist '("\\.sst$" . sisu-spine-mode))
+#+END_SRC
+
+** autoload sisuspine-mode-autoloads.el
+
+#+BEGIN_SRC elisp :tangle "../misc/editor-syntax-etc/emacs/sisu-spine-mode-autoloads.el"
+(add-to-list 'load-path (or (file-name-directory #$) (car load-path)))
+(autoload 'sisu-spine-mode "sisu-spine-mode" "\
+Major mode for editing SiSU (spine) markup files.
+SiSU (http://www.sisudoc.org/) document structuring, publishing
+and search.
+
+\(fn)" t nil)
+(add-to-list 'auto-mode-alist '("\\.sst\\'" . sisu-spine-mode))
+(add-to-list 'auto-mode-alist '("\\.ssm\\'" . sisu-spine-mode))
+(add-to-list 'auto-mode-alist '("\\.ssi\\'" . sisu-spine-mode))
+#+END_SRC
+
+** mode sisu-spine-mode.el
+
+#+BEGIN_SRC elisp :tangle "../misc/editor-syntax-etc/emacs/sisu-spine-mode.el"
+;;; sisu-spine-mode.el --- Major mode for SiSU (spine parser) markup text
+
+;; Copyright (C) 2011, 2020 Free Software Foundation, Inc.
+
+;; Author: Ralph Amissah & Ambrose Kofi Laing
+;; Maintainer: Ralph Amissah <ralph.amissah@gmail.com>
+;; Keywords: text, syntax, processes, tools
+;; Version: 8.0.0
+;; URL: http://www.sisudoc.org/
+;; originally looked at (based on) doc-mode, with kind permission of the author
+;; Author: SUN, Tong <suntong001@users.sf.net>, (c)2001-6, all right reserved
+;; Version: $Date: 2006/01/19 03:13:41 $ $Revision: 1.14 $
+;; Home URL: http://xpt.sourceforge.net/
+;; with contributions from Kevin Ryde and Stefan Monnier
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation; either version 3, or (at your option)
+;; any later version.
+;;
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+;;
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+;; Viva Software Libre!
+;; Support the free software movement!
+;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+;;; Commentary:
+
+;; SiSU (http://www.sisudoc.org/) is a document structuring and
+;; publishing framework. This package provides an Emacs major mode
+;; for SiSU markup, as used by the spine parser (in D) which has a different
+;; header (based on yaml) from the original sisu parser (in Ruby) which has
+;; bespoke headers.
+
+;; When this package is installed, files ending in ".sst" are automatically
+;; associated with sisu-spine-mode. If a file doesn't have a
+;; .sst extension, add a first line:
+;; # -*- sisuSpine -*-
+
+;; The documentation for the "Structure Of The Hierarchy Text" can be
+;; found in the sisustring for the sisu-spine-mode function.
+
+;;; Code:
+
+;; Variables:
+
+(defgroup sisu-faces nil
+ "AsciiSisu highlighting"
+ :group 'sisus)
+
+;; == Colors
+; color n is more prominent than color n+1
+
+(defface sisu-title-1-face
+ `((((class color)
+ (background dark))
+ (:foreground "brown3" :bold t :height 1.2 :inherit variable-pitch))
+ (((class color)
+ (background light))
+ (:foreground "brown3" :bold t :height 1.2 :inherit variable-pitch))
+ (t (:weight bold :inherit variable-pitch)))
+ "Face for AsciiSisu titles at level 1."
+ :group 'sisu-faces)
+
+(defface sisu-title-2-face
+ `((((class color)
+ (background dark))
+ (:foreground "yellow4" :bold t :height 1.1 :inherit variable-pitch))
+ (((class color)
+ (background light))
+ (:foreground "yellow4" :bold t :height 1.1 :inherit variable-pitch))
+ (t (:weight bold :inherit variable-pitch)))
+ "Face for AsciiSisu titles at level 2."
+ :group 'sisu-faces)
+
+(defface sisu-title-3-face
+ `((((class color)
+ (background dark))
+ (:foreground "sienna3" :bold t))
+ (((class color)
+ (background light))
+ (:foreground "sienna3" :bold t))
+ (t (:weight bold)))
+ "Face for AsciiSisu titles at level 3."
+ :group 'sisu-faces)
+
+(defface sisu-title-4-face
+ `((((class color)
+ (background dark))
+ (:foreground "burlywood3"))
+ (((class color)
+ (background light))
+ (:foreground "burlywood3"))
+ (t ()))
+ "Face for AsciiSisu titles at level 4."
+ :group 'sisu-faces)
+
+(defface info-node
+ '((((class color) (background light)) (:foreground "brown" :bold t :italic t))
+ (((class color) (background dark)) (:foreground "white" :bold t :italic t))
+ (t (:bold t :italic t)))
+ "Face for Info node names."
+ :group 'sisu-faces)
+
+(defvar sisu-title-1 'sisu-title-1-face)
+(defvar sisu-title-2 'sisu-title-2-face)
+(defvar sisu-title-3 'sisu-title-3-face)
+(defvar sisu-title-4 'sisu-title-4-face)
+
+(defvar sisu-general-font-lock-red1 font-lock-warning-face)
+(defvar sisu-general-font-lock-red2 font-lock-comment-face)
+(defvar sisu-general-font-lock-red3 font-lock-string-face)
+
+(defvar sisu-general-font-lock-green1 font-lock-type-face)
+(defvar sisu-general-font-lock-green2 font-lock-constant-face)
+
+(defvar sisu-general-font-lock-blue1 font-lock-keyword-face)
+(defvar sisu-general-font-lock-blue2 font-lock-function-name-face)
+(defvar sisu-general-font-lock-blue3 font-lock-builtin-face)
+
+(defvar sisu-general-font-lock-yellow1 font-lock-variable-name-face)
+(defvar sisu-general-font-lock-yellow2 font-lock-comment-face)
+
+;; == sisu-spine-mode settings
+
+(defvar sisu-spine-mode-hook nil
+ "Normal hook run when entering Sisu Text mode.")
+
+(defvar sisu-spine-mode-abbrev-table nil
+ "Abbrev table in use in Sisu-spine-mode buffers.")
+(define-abbrev-table 'sisu-spine-mode-abbrev-table ())
+
+(defconst sisu-font-lock-keywords
+ (eval-when-compile
+ (list
+ ;;grouped text ---------
+ ;(cons "^```[ ]code\\(.\\|\n\\)+?\n```\n" 'sisu-general-font-lock-red2)
+ (cons "^```[ ]+code.*?$\\|^```$" 'sisu-general-font-lock-red2)
+ (cons "^```[ ]+table.*?$\\|^```$" 'sisu-general-font-lock-red2)
+ (cons "^```[ ]+group$\\|^```$" 'sisu-general-font-lock-red2)
+ (cons "^```[ ]+block$\\|^```$" 'sisu-general-font-lock-red2)
+ (cons "^```[ ]+poem$\\|^```$" 'sisu-general-font-lock-red2)
+ (cons "^```[ ]+alt$\\|^```$" 'sisu-general-font-lock-red2)
+ ;;grouped text ---------
+ (cons "^group{\\|^}group" 'sisu-general-font-lock-red2)
+ (cons "^block{\\|^}block" 'sisu-general-font-lock-red2)
+ (cons "^code{\\|^}code" 'sisu-general-font-lock-red2)
+ (cons "^poem{\\|^}poem" 'sisu-general-font-lock-red2)
+ (cons "^alt{\\|^}alt" 'sisu-general-font-lock-red2)
+ (cons "^table{.+\\|^}table" 'sisu-general-font-lock-red2)
+ (cons "^{table[^}]+}" 'sisu-general-font-lock-red2)
+
+ (list
+ (concat
+ "^\`\\{3\\}[ ]+code.*?$"
+ "\\(.\\|\n\\)+?"
+ "\`\\{3\\}$"
+ )
+ '(1 sisu-general-font-lock-red2 t)
+ '(2 nil t)
+ '(3 sisu-general-font-lock-red2 t)
+ )
+ (list
+ (concat
+ "^\`\\{3\\}[ ]+table.*?$"
+ "\\(.\\|\n\\)+?"
+ "\`\\{3\\}$"
+ )
+ '(1 sisu-general-font-lock-red2 t)
+ '(2 nil t)
+ '(3 sisu-general-font-lock-red2 t)
+ )
+ (list
+ (concat
+ "^\`\\{3\\}[ ]+\\(group\\|block\\|alt\\|poem\\)$"
+ "\\(.\\|\n\\)+?"
+ "^\`\\{3\\}$"
+ )
+ '(1 sisu-general-font-lock-red2 t)
+ '(2 nil t)
+ '(3 sisu-general-font-lock-red2 t)
+ )
+
+ ;; footnote/endnote ----
+ ;(cons "\~{.+?}\~" 'sisu-general-font-lock-green1)
+ (cons "\~{\\*\\*\\|\~{\\*\\|\~{\\|}\~" 'sisu-general-font-lock-red2)
+ (cons "\~\\[\\+\\|\~\\[\\*\\|\~\\[\\|\\]\~" 'sisu-general-font-lock-red2)
+ (cons "\~\\^ \\|^\\^\~ " 'sisu-general-font-lock-red2)
+ (list
+ (concat
+ "\\(\*\~\\)"
+ "\\([^ \r\t\n]+\\)"
+ )
+ '(1 sisu-general-font-lock-red1 t)
+ '(2 sisu-general-font-lock-blue2 t)
+ )
+
+ ;; emphasis (can be program configured to be bold italics or underscore)
+ (list
+ (concat
+ "\\([*]{\\)"
+ "\\([^}]+\\)"
+ "\\(}[*]\\)"
+ )
+ '(1 sisu-general-font-lock-red1 t)
+ '(2 sisu-general-font-lock-red1 t)
+ '(3 sisu-general-font-lock-red1 t)
+ )
+
+ ;; bold ----------------
+ (list
+ (concat
+ "\\([!]{\\)"
+ "\\([^}]+\\)"
+ "\\(}[!]\\)"
+ )
+ '(1 sisu-general-font-lock-red1 t)
+ '(2 sisu-general-font-lock-red1 t)
+ '(3 sisu-general-font-lock-red1 t)
+ )
+ (cons "\\*[^ ]+\\*" 'sisu-general-font-lock-red1)
+ (cons "^!_ .+" 'sisu-general-font-lock-red1)
+
+ ;; italics -------------
+ (list
+ (concat
+ "\\([/]{\\)"
+ "\\([^}]+\\)"
+ "\\(}[/]\\)"
+ )
+ '(1 sisu-general-font-lock-red1 t)
+ '(2 sisu-general-font-lock-blue1 t)
+ '(3 sisu-general-font-lock-red1 t)
+ )
+
+ ;; underscore ----------
+ (list
+ (concat
+ "\\([_]{\\)"
+ "\\([^}]+\\)"
+ "\\(\}[_]\\)"
+ )
+ '(1 sisu-general-font-lock-red1 t)
+ '(2 sisu-general-font-lock-red1 t)
+ '(3 sisu-general-font-lock-red1 t)
+ )
+
+ ;; monospace -----------
+ (list
+ (concat
+ "\\([#]{\\)"
+ "\\([^}]+\\)"
+ "\\(}[#]\\)"
+ )
+ '(1 sisu-general-font-lock-red1 t)
+ '(2 sisu-general-font-lock-red1 t)
+ '(3 sisu-general-font-lock-red1 t)
+ )
+
+ ;; citation ------------
+ (list
+ (concat
+ "\\([\"]{\\)"
+ "\\([^}]+\\)"
+ "\\(}[\"]\\)"
+ )
+ '(1 sisu-general-font-lock-red1 t)
+ '(2 sisu-general-font-lock-red1 t)
+ '(3 sisu-general-font-lock-red1 t)
+ )
+
+ ;; inserted text -------
+ (list
+ (concat
+ "\\([\+]{\\)"
+ "\\([^}]+\\)"
+ "\\(}[\+]\\)"
+ )
+ '(1 sisu-general-font-lock-red1 t)
+ '(2 sisu-general-font-lock-red1 t)
+ '(3 sisu-general-font-lock-red1 t)
+ )
+
+ ;; strike through ------
+ (list
+ (concat
+ "\\(\\-{\\)"
+ "\\([^}]+\\)"
+ "\\(}\\-\\)"
+ )
+ '(1 sisu-general-font-lock-red1 t)
+ '(2 sisu-general-font-lock-red1 t)
+ '(3 sisu-general-font-lock-red1 t)
+ )
+
+ ;; superscript ---------
+ (list
+ (concat
+ "\\(\\^{\\)"
+ "\\([^}]+\\)"
+ "\\(}\\^\\)"
+ )
+ '(1 sisu-general-font-lock-red1 t)
+ '(2 sisu-general-font-lock-red1 t)
+ '(3 sisu-general-font-lock-red1 t)
+ )
+
+ ;; subscript -----------
+ (list
+ (concat
+ "\\([,]{\\)"
+ "\\([^}]+\\)"
+ "\\(}[,]\\)"
+ )
+ '(1 sisu-general-font-lock-red1 t)
+ '(2 sisu-general-font-lock-red1 t)
+ '(3 sisu-general-font-lock-red1 t)
+ )
+
+ ;; numbered list
+ (cons "^# \\|^_# " 'sisu-general-font-lock-red1)
+
+ ;; bullet text
+ (cons "^_\\*[1-9] \\|^_\\* " 'sisu-general-font-lock-red1)
+
+ ;; indented text
+ (cons "^_[1-9] " 'sisu-general-font-lock-red1)
+ (cons "^_[1-9]! " 'sisu-general-font-lock-red1)
+
+ ;; hanging indented text [proposed enable when implemented]
+ (cons "^__[1-9] " 'sisu-general-font-lock-red1)
+ (cons "^_[0-9]_[0-9] " 'sisu-general-font-lock-red1)
+ (cons "^__[1-9]! " 'sisu-general-font-lock-red1)
+ (cons "^_[0-9]_[0-9]! " 'sisu-general-font-lock-red1)
+
+ ;; url
+ (cons "\\(^\\|[ ]\\)https?:[/][/][^ \t\n\r<]+" 'sisu-general-font-lock-blue2)
+
+ ;; Comment Lines
+ (cons "^% .*" 'sisu-general-font-lock-blue1)
+
+ ;; page break
+ (cons "^\\(-\\\\\\\\-\\|=\\\\\\\\=\\|-\\.\\.-\\)" 'sisu-general-font-lock-red2)
+
+ ;; line break
+ (cons " \\\\\\\\ " 'sisu-general-font-lock-red1)
+
+ ;; line break (depreciated)
+ (cons "<br>" 'sisu-general-font-lock-red1)
+
+ ;; Section titles
+ (list "^\\(\\([1-4]\\|:?[A-D]\\)\\~\\)\\(.*\\)"
+ '(1 sisu-title-1 t)
+ '(3 sisu-title-2 t)
+ )
+
+ ;; hyper-links
+ (list
+ (concat
+ "\\({~^\\|{\\)"
+ "\\([^}{]+\\)"
+ "\\(}https?:[/][/][^ \r\n\t<]+\\)"
+ )
+ '(1 sisu-general-font-lock-blue2 t)
+ '(2 sisu-general-font-lock-red1 t)
+ '(3 sisu-general-font-lock-blue2 t)
+ )
+
+ ;; book index
+ (list
+ (concat
+ "^\\(\={\\)"
+ "\\([^}{]+\\)"
+ "\\(}\\)$"
+ )
+ '(1 sisu-general-font-lock-green1 t)
+ '(2 nil t)
+ '(3 sisu-general-font-lock-green1 t)
+ )
+
+ ;(cons "^\={.+}" 'sisu-general-font-lock-green1)
+
+ ;; numbers
+ (cons "\\<[.0-9]+\\>" 'sisu-general-font-lock-green2)
+
+ ;; bullets sisu_normal (nearly copied regexp)
+ (cons "^_\\([1-9*]\\|[1-9]\\*\\) " 'sisu-general-font-lock-blue2)
+
+ ;; image links
+ (list
+ (concat
+ "\\({\\)"
+ "\\([^}{]+\\)"
+ "\\(}image\\)"
+ )
+ '(1 sisu-general-font-lock-blue2 t)
+ '(2 sisu-general-font-lock-red1 t)
+ '(3 sisu-general-font-lock-blue2 t)
+ )
+
+ ;; insert file links
+ (list
+ (concat
+ "\\(<< \\)"
+ "\\([^ \r\t\n]+\\.ss\\)"
+ "\\(i\\|t\\)"
+ )
+ '(1 sisu-general-font-lock-blue2 t)
+ '(2 sisu-general-font-lock-blue2 t)
+ '(3 sisu-general-font-lock-blue2 t)
+ )
+
+ ;; raw keywords
+ (list
+ (concat
+ "^\\(\\("
+ "creator\\|"
+ "title\\|"
+ "date\\|"
+ "rights\\|"
+ "publisher\\|"
+ "classify\\|"
+ "identifier\\|"
+ "original\\|"
+ "notes\\|"
+ "links\\|"
+ "make\\|"
+ "\\):\\)\\(.*\\)"
+ )
+ '(1 sisu-title-2 keep)
+ '(3 sisu-title-3 keep)
+ )
+ )
+ )
+ "Default expressions to highlight in AsciiSisu mode."
+)
+
+;; outline mode evil "folding" if available
+;; (define-key evil-normal-state-map ",0" 'show-all)
+;; (define-key evil-normal-state-map ",-" 'hide-body)
+;; (define-key evil-normal-state-map ",+" 'show-subtree)
+;; (define-key evil-normal-state-map ",=" 'show-subtree)
+
+;;
+
+;; Sisu & Autoload:
+
+;;;###autoload
+(define-derived-mode sisu-spine-mode text-mode "SiSU"
+ "Major mode for editing SiSU files.
+SiSU document structuring, publishing in multiple formats and search.
+URL `http://www.sisudoc.org/'"
+ (modify-syntax-entry ?\' ".")
+ ;;(flyspell-mode nil)
+
+ (make-local-variable 'paragraph-start)
+ (setq paragraph-start (concat "$\\|>" page-delimiter))
+ (make-local-variable 'paragraph-separate)
+ (setq paragraph-separate paragraph-start)
+ (make-local-variable 'paragraph-ignore-fill-prefix)
+ (setq paragraph-ignore-fill-prefix t)
+
+ (set (make-local-variable 'outline-regexp)
+ "^\\(\\([1-4]\\|:?[A-D]\\)\\~\\|\\@[a-z]+:\\( \\|$\\)\\)")
+
+ (make-local-variable 'require-final-newline)
+ (setq require-final-newline t)
+
+ (make-local-variable 'font-lock-defaults)
+ (setq font-lock-defaults
+ '(sisu-font-lock-keywords
+ nil ; KEYWORDS-ONLY: no
+ nil ; CASE-FOLD: no
+ ((?_ . "w")) ; SYNTAX-ALIST
+ ))
+ ;; Enable outlining.
+ ;; TODO with outlining make sure linum (line numbering) is off,
+ ;; else performance penalty, sucks bigtime
+ (outline-minor-mode 1))
+
+;;;###autoload (add-to-list 'auto-mode-alist '("\\.ss[imt]\\'" . sisu-spine-mode))
+
+(provide 'sisu-spine-mode)
+
+;;
+
+;;; sisu-spine-mode.el ends here
+#+END_SRC
diff --git a/org/spine_syntax_highlighting_vim.org b/org/spine_syntax_highlighting_vim.org
new file mode 100644
index 0000000..137d734
--- /dev/null
+++ b/org/spine_syntax_highlighting_vim.org
@@ -0,0 +1,984 @@
+-*- mode: org -*-
+#+TITLE: spine (doc_reform) information files
+#+DESCRIPTION: documents - structuring, various output representations & search
+#+FILETAGS: :spine:info:
+#+AUTHOR: Ralph Amissah
+#+EMAIL: [[mailto:ralph.amissah@gmail.com][ralph.amissah@gmail.com]]
+#+COPYRIGHT: Copyright (C) 2015 - 2020 Ralph Amissah
+#+LANGUAGE: en
+#+STARTUP: content hideblocks hidestars noindent entitiespretty
+#+PROPERTY: header-args :exports code
+#+PROPERTY: header-args+ :noweb yes
+#+PROPERTY: header-args+ :eval no
+#+PROPERTY: header-args+ :results no
+#+PROPERTY: header-args+ :cache no
+#+PROPERTY: header-args+ :padline no
+
+* Vim Syntax highlighting
+** filetype
+
+#+BEGIN_SRC text :tangle "../misc/editor-syntax-etc/vim/filetype.vim"
+" SiSU filetype file
+if exists("did_load_filetypes")
+ finish
+endif
+augroup filetypedetect
+ au! BufNewFile,BufRead *.sst,*.ssm,*.ssi,*.-sst setf sisu
+ au! BufNewFile,BufRead *._sst,*.sst.meta,*.-sst.meta,*._sst.meta setf sisu
+augroup END
+#+END_SRC
+
+** debian vim addon manager
+
+#+BEGIN_SRC text :tangle "../misc/editor-syntax-etc/vim/vim-sisu.yaml"
+#vim-addons: debian vim-addon-manager
+addon: sisu
+description: SiSU documents - structuring, publishing in multiple formats and search
+basedir: /usr/share/vim-scripts/
+files:
+ - ftplugin/sisu.vim
+ - syntax/sisu.vim
+#+END_SRC
+
+** color files
+*** def.vim
+
+#+BEGIN_SRC text :tangle "../misc/editor-syntax-etc/vim/colors/def.vim"
+" Vim color file
+" Name: def
+" Maintainer: Ralph Amissah <ralph@amissah.com>
+" Last Change: 2013-02-14
+" URL: <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=data/sisu/conf/editor-syntax-etc/vim/colors/def.vim;hb=HEAD>
+" Note: primarily 16 color cterm improved by tweaking of .Xdefaults
+" (with occasional other colors selected from 256 color palate)
+" .Xdefaults tweaking to make identical to def (256) provided,
+" along with an alternative possibility using colors beyond
+" 256 color palate
+:hi clear
+if exists("syntax_on")
+ syntax reset
+endif
+:set t_Co=256
+:set background=dark
+:let colors_name = "def"
+" -------
+" terminal def
+" -------
+:hi Normal ctermbg=0 ctermfg=7
+":hi Cursor ctermbg=5 ctermfg=0
+:hi lCursor cterm=reverse
+:hi StatusLine cterm=bold,reverse
+:hi StatusLineNC cterm=reverse
+:hi Search cterm=none ctermbg=57 ctermfg=0
+:hi IncSearch cterm=none ctermbg=154 ctermfg=0
+:hi SpecialKey ctermfg=4
+:hi Visual cterm=reverse
+:hi VisualNOS cterm=bold,underline
+:hi MoreMsg ctermfg=2
+:hi ModeMsg cterm=bold
+:hi Question ctermfg=2
+:hi Title cterm=bold ctermfg=3
+:hi NonText cterm=bold ctermfg=4
+:hi LineNr cterm=bold ctermbg=0 ctermfg=0*
+:hi CursorLineNr cterm=bold ctermbg=166 ctermfg=0
+:hi Directory ctermfg=4
+:hi WildMenu ctermbg=3 ctermfg=0
+:hi VertSplit cterm=reverse
+:hi Folded cterm=none ctermbg=0 ctermfg=8
+:hi FoldColumn ctermbg=7 ctermfg=4
+:hi DiffAdd cterm=none ctermbg=2 ctermfg=0
+:hi DiffChange cterm=none ctermbg=7 ctermfg=0
+:hi DiffDelete cterm=none ctermbg=7 ctermfg=0
+:hi DiffText cterm=none ctermbg=6 ctermfg=0
+:hi String cterm=none ctermfg=3
+:hi Comment cterm=none ctermbg=0 ctermfg=4
+:hi Constant ctermfg=1
+:hi Special ctermfg=6
+:hi Identifier ctermfg=6
+:hi Statement ctermfg=2
+:hi Operator ctermfg=2
+:hi PreProc ctermfg=1
+:hi Type cterm=bold ctermfg=3
+:hi Delimiter cterm=none ctermfg=2
+:hi Ignore cterm=bold ctermfg=7
+:hi Todo ctermbg=3 ctermfg=0
+:hi Underlined cterm=underline
+:hi Include ctermfg=1
+:hi Define ctermfg=3
+:hi Function ctermfg=6
+:hi Structure ctermfg=2
+:hi MatchParen cterm=bold ctermbg=4 ctermfg=7
+:hi CursorLine cterm=bold
+:hi CursorColumn ctermbg=17
+:hi ColorColumn ctermbg=17
+:hi SpellBad cterm=underline ctermbg=0 ctermfg=5
+:hi SpellCap cterm=underline ctermbg=0 ctermfg=5
+:hi SpellLocal cterm=underline ctermbg=0 ctermfg=5
+:hi SpellRare cterm=underline ctermbg=0 ctermfg=5
+:hi TrailingWhitespace ctermbg=1
+:hi ExtraWhitespace ctermbg=1
+:hi WarningMsg ctermfg=1
+:hi ErrorMsg cterm=bold ctermbg=1 ctermfg=7
+:hi Error cterm=bold ctermbg=1 ctermfg=7
+" -------
+" gui def
+" -------
+:hi Normal guibg=#000000 guifg=#D3D3D3
+:hi Cursor guibg=#CC9966 guifg=#000000
+:hi lCursor gui=reverse
+:hi StatusLine gui=bold,reverse
+:hi StatusLineNC gui=reverse
+:hi Search gui=none guibg=#5F00FF guifg=#000000
+:hi IncSearch gui=none guibg=#AFFF00 guifg=#000000
+:hi SpecialKey guifg=#5971AD
+:hi Visual gui=reverse
+:hi VisualNOS gui=bold,underline
+:hi MoreMsg guifg=#4E9A06
+:hi ModeMsg gui=bold
+:hi Question guifg=#4E9A06
+:hi Title gui=bold guifg=#C4A000
+:hi NonText gui=bold guifg=#5971AD
+:hi LineNr gui=bold guibg=#000000 guifg=#808080
+:hi CursorLineNr gui=bold guibg=#D75F00 guifg=#000000
+:hi Directory guifg=#5971AD
+:hi WildMenu guibg=#C4A000 guifg=#000000
+:hi VertSplit gui=reverse
+:hi Folded gui=none guibg=#000000 guifg=#808080
+:hi FoldColumn guibg=#D3D3D3 guifg=#5971AD
+:hi DiffAdd gui=none guibg=#4E9A06 guifg=#000000
+:hi DiffChange gui=none guibg=#D3D3D3 guifg=#000000
+:hi DiffDelete gui=none guibg=#D3D3D3 guifg=#000000
+:hi DiffText gui=none guibg=#06989A guifg=#000000
+:hi String gui=none guifg=#C4A000
+:hi Comment gui=none guibg=#000000 guifg=#5971AD
+:hi Constant guifg=#CC0000
+:hi Special guifg=#06989A
+:hi Identifier guifg=#06989A
+:hi Statement guifg=#4E9A06
+:hi Operator guifg=#4E9A06
+:hi PreProc guifg=#CC0000
+:hi Type gui=bold guifg=#C4A000
+:hi Delimiter gui=none guifg=#4E9A06
+:hi Ignore gui=bold guifg=#D3D3D3
+:hi Todo guibg=#C4A000 guifg=#000000
+:hi Underlined gui=underline
+:hi Include guifg=#CC0000
+:hi Define guifg=#C4A000
+:hi Function guifg=#06989A
+:hi Structure guifg=#4E9A06
+:hi MatchParen gui=bold guibg=#5971AD guifg=#D3D3D3
+:hi CursorLine gui=bold
+:hi CursorColumn guibg=#00005F
+:hi ColorColumn guibg=#00005F
+:hi SpellBad gui=underline guibg=#000000 guifg=#75507B
+:hi SpellCap gui=underline guibg=#000000 guifg=#75507B
+:hi SpellLocal gui=underline guibg=#000000 guifg=#75507B
+:hi SpellRare gui=underline guibg=#000000 guifg=#75507B
+:hi TrailingWhitespace guibg=#080000
+:hi ExtraWhitespace guibg=#CC0000
+:hi WarningMsg guifg=#CC0000
+:hi ErrorMsg gui=bold guibg=#CC0000 guifg=#D3D3D3
+:hi Error gui=bold guibg=#CC0000 guifg=#D3D3D3
+" -------
+"256 color .Xdefaults vim: cterm giu
+"<http://vim.wikia.com/wiki/Xterm256_color_names_for_console_Vim>
+"<http://guns.github.com/xterm-color-table.vim/images/xterm-color-table-with-visible-rgb.png>
+" -------
+" 256 color .Xdefaults vim: cterm giu def
+" -------
+" 16 color standard altered 256 altered beyond 256
+" black/dark grey
+" 0 [ 0:#000000] #000000
+" 8 [ 8:#808080] [59:#5F5F5F] #555555
+" red
+" 1 [ 1:#800000] 160:#DF0000 #CC0000
+" 9 [ 9:#FF0000] #EF2929
+" green
+" 2 [ 2:#008000] 112:#87DF00 #4E9A06
+" 10 [10:#00FF00] 154:#AFFF00 #8AE234
+" yellow/orange
+" 3 [ 3:#808000] 178:#DFAF00 #C4A000
+" 11 [11:#FFFF00] 184:#DFDF00 #FC9E4F
+" blue
+" 4 [ 4:#000080] 24:#005F87 #5971AD
+" 12 [12:#0000FF] 73:#5FAFAF #729FCF
+" magenta
+" 5 [ 5:#800080] 90:#870087 #75507B
+" 13 [13:#FF00FF] 126:#AF0087 #AD7FA8
+" cyan
+" 6 [ 6:#008080] 37:#00AFAF #06989A
+" 14 [14:#00FFFF] 87:#5FFFFF #34E2E2
+" white
+" 7 [ 7:#C0C0C0] #D3D3D3
+" 15 [15:#FFFFFF] #EEEEEE
+" --------
+" .Xdefaults (rxvt urxvt setting beyond 256 colors, vim colorscheme "def" gui settings)
+" (vim colorscheme "def" cterm matches "def" gui if .Xdefaults set thus)
+" --------
+" ! black
+" Rxvt.color0 : #000000
+" Rxvt.color8 : #555555
+" ! red
+" Rxvt.color1 : #CC0000
+" Rxvt.color9 : #EF2929
+" ! green
+" Rxvt.color2 : #4E9A06
+" Rxvt.color10 : #8AE234
+" ! yellow
+" Rxvt.color3 : #C4A000
+" Rxvt.color11 : #FCE94F
+" ! blue
+" Rxvt.color4 : #5971AD
+" Rxvt.color12 : #729FCF
+" ! magenta
+" Rxvt.color5 : #75507B
+" Rxvt.color13 : #AD7FA8
+" ! cyan
+" Rxvt.color6 : #06989A
+" Rxvt.color14 : #34E2E2
+" ! white
+" Rxvt.color7 : #D3D7CF
+" Rxvt.color15 : #EEEEEE
+" --------
+" .Xdefaults 256 (rxvt urxvt setting, vim colorscheme "def256" cterm & gui settings)
+" (vim colorscheme "def" cterm matches "def256" if .Xdefaults set thus)
+" --------
+" ! black
+" Rxvt.color0 : #000000
+" Rxvt.color8 : #808080
+" ! red
+" Rxvt.color1 : #DF0000
+" Rxvt.color9 : #FF0000
+" ! green
+" Rxvt.color2 : #87DF00
+" Rxvt.color10 : #AFFF00
+" ! yellow
+" Rxvt.color3 : #DFAF00
+" Rxvt.color11 : #FFFF00
+" ! blue
+" Rxvt.color4 : #5F87DF
+" Rxvt.color12 : #87DFFF
+" ! magenta
+" Rxvt.color5 : #8700DF
+" Rxvt.color13 : #87DFFF
+" ! cyan
+" Rxvt.color6 : #00DFDF
+" Rxvt.color14 : #5F5FDF
+" ! white
+" Rxvt.color7 : #C0C0C0
+" Rxvt.color15 : #FFFFFF
+#+END_SRC
+
+*** slate.vim
+
+#+BEGIN_SRC text :tangle "../misc/editor-syntax-etc/vim/colors/slate.vim"
+"%% SiSU Vim color file
+" Name: Slate
+" Maintainer: Ralph Amissah <ralph@amissah.com>
+" Last Change: 2013-02-09
+" URL: <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=data/sisu/conf/editor-syntax-etc/vim/colors/slate.vim;hb=HEAD>
+" Notes: cterm now uses frugal-sisu 8 colors for term
+" (for gui originally looked at desert Hans Fugal <hans@fugal.net>
+" <http://hans.fugal.net/vim/colors/desert.vim> (April/May 2003))
+:set background=dark
+:hi clear
+if exists("syntax_on")
+ syntax reset
+endif
+:let colors_name = "slate"
+" 0 = black, 1 = red, 2 = green, 3 = yellow/orange, 4 = blue, 5 = magenta, 6 = cyan, 7 = white
+:hi Normal ctermbg=0 ctermfg=7 guibg=grey15 guifg=white
+:hi Cursor term=reverse cterm=reverse guibg=khaki guifg=slategrey
+:hi lCursor term=reverse cterm=reverse
+:hi StatusLine term=reverse cterm=bold,reverse gui=none guibg=#c2bfa5 guifg=black
+:hi StatusLineNC term=reverse cterm=reverse gui=none guibg=#c2bfa5 guifg=grey40
+:hi Search term=reverse cterm=none ctermbg=2 ctermfg=0 guibg=peru guifg=wheat
+:hi IncSearch term=reverse cterm=bold ctermbg=2 ctermfg=7 guibg=black guifg=green
+:hi SpecialKey term=bold ctermfg=4 guifg=yellowgreen
+:hi Visual term=reverse cterm=reverse gui=none guibg=olivedrab guifg=khaki
+:hi VisualNOS term=bold,underline cterm=bold,underline
+:hi MoreMsg term=bold ctermfg=2 guifg=SeaGreen
+:hi ModeMsg term=bold cterm=bold guifg=goldenrod
+:hi Question term=standout ctermfg=2 guifg=springgreen
+:hi Title term=bold cterm=bold ctermfg=3 gui=bold guifg=gold
+:hi NonText term=bold cterm=bold ctermfg=4 guibg=grey15 guifg=RoyalBlue
+:hi LineNr term=underline cterm=bold ctermbg=0 ctermfg=0* guifg=grey50
+:hi Directory term=bold ctermfg=4
+:hi WildMenu term=standout ctermbg=3 ctermfg=0 guibg=darkyellow guifg=black
+:hi VertSplit term=reverse cterm=reverse gui=none guibg=#c2bfa5 guifg=grey40
+:hi Folded term=standout cterm=none ctermbg=0 ctermfg=7 guibg=black guifg=grey40
+:hi FoldColumn term=standout ctermbg=7 ctermfg=4 guibg=black guifg=grey20
+:hi DiffChange cterm=none ctermbg=7 ctermfg=0 guibg=darkgrey guifg=white
+:hi DiffText cterm=none ctermbg=6 ctermfg=0 guibg=darkcyan guifg=white
+:hi DiffAdd cterm=none ctermbg=2 ctermfg=0 guibg=darkgreen guifg=white
+:hi DiffDelete cterm=none ctermbg=7 ctermfg=0 guibg=darkgrey guifg=black
+:hi String cterm=none ctermfg=3 guifg=SkyBlue
+:hi Comment term=bold cterm=none ctermbg=0 ctermfg=7 guifg=grey40
+:hi Constant term=underline ctermfg=1 guifg=#ffa0a0
+:hi Special term=bold ctermfg=6 guifg=darkkhaki
+:hi Identifier term=underline ctermfg=6 guifg=salmon
+:hi Statement term=bold ctermfg=6 guifg=CornflowerBlue
+:hi Operator term=bold ctermfg=1 guifg=red
+:hi PreProc term=underline ctermbg=7 ctermfg=1 guibg=white guifg=red
+:hi Type term=underline ctermfg=2 guifg=CornflowerBlue
+:hi Delimiter term=none cterm=none ctermfg=1
+:hi Ignore cterm=bold ctermfg=7 guifg=grey40
+:hi Todo term=standout ctermbg=3 ctermfg=0 guibg=yellow2 guifg=orangered
+:hi Underlined term=underline cterm=underline
+:hi Include ctermfg=1 guifg=red
+:hi Define ctermfg=3 gui=bold guifg=gold
+:hi Function ctermfg=6 guifg=navajowhite
+:hi Structure ctermfg=2 guifg=green
+:hi MatchParen cterm=bold ctermbg=4 ctermfg=7
+:hi CursorLine cterm=bold,underline guibg=black
+:hi CursorColumn cterm=bold guibg=black
+:hi SpellBad term=underline,standout cterm=none ctermbg=7 ctermfg=0 guibg=darkmagenta guifg=white
+:hi SpellCap term=underline,standout cterm=none ctermbg=7 ctermfg=0
+:hi SpellLocal term=underline,standout cterm=none ctermbg=7 ctermfg=0 guibg=darkmagenta guifg=white
+:hi SpellRare term=underline,standout cterm=none ctermbg=7 ctermfg=0
+:hi WarningMsg term=standout ctermfg=1 guibg=darkmagenta guifg=salmon
+:hi ErrorMsg term=standout cterm=bold ctermbg=1 ctermfg=7 guibg=darkmagenta guifg=white
+:hi Error term=reverse cterm=bold ctermbg=1 ctermfg=7 guibg=darkmagenta guifg=white
+:hi Black ctermbg=grey ctermfg=black guibg=grey guifg=black
+:hi Red ctermbg=black ctermfg=red guibg=black guifg=red
+:hi Magenta ctermbg=black ctermfg=magenta guibg=black guifg=magenta
+:hi Blue ctermbg=black ctermfg=blue guibg=black guifg=blue
+:hi Cyan ctermbg=black ctermfg=cyan guibg=black guifg=cyan
+:hi Green ctermbg=black ctermfg=green guibg=black guifg=green
+:hi Yellow ctermbg=black ctermfg=yellow guibg=black guifg=yellow
+:hi White ctermbg=black ctermfg=white guibg=black guifg=white
+#+END_SRC
+
+*** def-sisu.vim
+
+#+BEGIN_SRC text :tangle "../misc/editor-syntax-etc/vim/colors/def-sisu.vim"
+" Vim color file
+" Name: def-sisu
+" Maintainer: Ralph Amissah <ralph@amissah.com>
+" Last Change: 2013-02-14
+" URL: <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=data/sisu/conf/editor-syntax-etc/vim/colors/def-sisu.vim;hb=HEAD>
+" Note: primarily 16 color cterm improved by tweaking of .Xdefaults
+" (with occasional other colors selected from 256 color palate)
+" .Xdefaults tweaking to make identical to def (256) provided,
+" along with an alternative possibility using colors beyond
+" 256 color palate
+:hi clear
+if exists("syntax_on")
+ syntax reset
+endif
+:set t_Co=256
+:set background=dark
+:let colors_name = "def-sisu"
+" -------
+" terminal def
+" -------
+:hi Normal ctermbg=0 ctermfg=7
+":hi Cursor ctermbg=5 ctermfg=0
+:hi lCursor cterm=reverse
+:hi StatusLine cterm=bold,reverse
+:hi StatusLineNC cterm=reverse
+:hi Search cterm=none ctermbg=57 ctermfg=0
+:hi IncSearch cterm=none ctermbg=154 ctermfg=0
+:hi SpecialKey ctermfg=4
+:hi Visual cterm=reverse
+:hi VisualNOS cterm=bold,underline
+:hi MoreMsg ctermfg=2
+:hi ModeMsg cterm=bold
+:hi Question ctermfg=2
+:hi Title cterm=bold ctermfg=3
+:hi NonText cterm=bold ctermfg=4
+:hi LineNr cterm=bold ctermbg=0 ctermfg=0*
+:hi CursorLineNr cterm=bold ctermbg=166 ctermfg=0
+:hi Directory ctermfg=4
+:hi WildMenu ctermbg=3 ctermfg=0
+:hi VertSplit cterm=reverse
+:hi Folded cterm=none ctermbg=0 ctermfg=8
+:hi FoldColumn ctermbg=7 ctermfg=4
+:hi DiffAdd cterm=none ctermbg=2 ctermfg=0
+:hi DiffChange cterm=none ctermbg=7 ctermfg=0
+:hi DiffDelete cterm=none ctermbg=7 ctermfg=0
+:hi DiffText cterm=none ctermbg=6 ctermfg=0
+:hi String cterm=none ctermfg=3
+:hi Comment cterm=none ctermbg=0 ctermfg=4
+:hi Constant ctermfg=1
+:hi Special ctermfg=6
+:hi Identifier ctermfg=6
+:hi Statement ctermfg=6
+:hi Operator ctermfg=1
+:hi PreProc ctermbg=7 ctermfg=1
+:hi Type ctermfg=2
+:hi Delimiter cterm=none ctermfg=1
+:hi Ignore cterm=bold ctermfg=7
+:hi Todo ctermbg=3 ctermfg=0
+:hi Underlined cterm=underline
+:hi Include ctermfg=1
+:hi Define ctermfg=3
+:hi Function ctermfg=6
+:hi Structure ctermfg=2
+:hi MatchParen cterm=bold ctermbg=4 ctermfg=7
+:hi CursorLine cterm=bold
+:hi CursorColumn ctermbg=17
+:hi ColorColumn ctermbg=17
+:hi SpellBad cterm=underline ctermbg=0 ctermfg=5
+:hi SpellCap cterm=underline ctermbg=0 ctermfg=5
+:hi SpellLocal cterm=underline ctermbg=0 ctermfg=5
+:hi SpellRare cterm=underline ctermbg=0 ctermfg=5
+:hi TrailingWhitespace ctermbg=1
+:hi ExtraWhitespace ctermbg=1
+:hi WarningMsg ctermfg=1
+:hi ErrorMsg cterm=bold ctermbg=1 ctermfg=7
+:hi Error cterm=bold ctermbg=1 ctermfg=7
+" -------
+" gui def
+" -------
+:hi Normal guibg=#000000 guifg=#D3D3D3
+:hi Cursor guibg=#CC9966 guifg=#000000
+:hi lCursor gui=reverse
+:hi StatusLine gui=bold,reverse
+:hi StatusLineNC gui=reverse
+:hi Search gui=none guibg=#5F00FF guifg=#000000
+:hi IncSearch gui=none guibg=#AFFF00 guifg=#000000
+:hi SpecialKey guifg=#5971AD
+:hi Visual gui=reverse
+:hi VisualNOS gui=bold,underline
+:hi MoreMsg guifg=#4E9A06
+:hi ModeMsg gui=bold
+:hi Question guifg=#4E9A06
+:hi Title gui=bold guifg=#C4A000
+:hi NonText gui=bold guifg=#5971AD
+:hi LineNr gui=bold guibg=#000000 guifg=#808080
+:hi CursorLineNr gui=bold guibg=#D75F00 guifg=#000000
+:hi Directory guifg=#5971AD
+:hi WildMenu guibg=#C4A000 guifg=#000000
+:hi VertSplit gui=reverse
+:hi Folded gui=none guibg=#000000 guifg=#808080
+:hi FoldColumn guibg=#D3D3D3 guifg=#5971AD
+:hi DiffAdd gui=none guibg=#4E9A06 guifg=#000000
+:hi DiffChange gui=none guibg=#D3D3D3 guifg=#000000
+:hi DiffDelete gui=none guibg=#D3D3D3 guifg=#000000
+:hi DiffText gui=none guibg=#06989A guifg=#000000
+:hi String gui=none guifg=#C4A000
+:hi Comment gui=none guibg=#000000 guifg=#5971AD
+:hi Constant guifg=#CC0000
+:hi Special guifg=#06989A
+:hi Identifier guifg=#06989A
+:hi Statement guifg=#06989A
+:hi Operator guifg=#CC0000
+:hi PreProc guibg=#D3D3D3 guifg=#CC0000
+:hi Type guifg=#4E9A06
+:hi Delimiter gui=none guifg=#CC0000
+:hi Ignore gui=bold guifg=#D3D3D3
+:hi Todo guibg=#C4A000 guifg=#000000
+:hi Underlined gui=underline
+:hi Include guifg=#CC0000
+:hi Define guifg=#C4A000
+:hi Function guifg=#06989A
+:hi Structure guifg=#4E9A06
+:hi MatchParen gui=bold guibg=#5971AD guifg=#D3D3D3
+:hi CursorLine gui=bold
+:hi CursorColumn guibg=#00005F
+:hi ColorColumn guibg=#00005F
+:hi SpellBad gui=underline guibg=#000000 guifg=#75507B
+:hi SpellCap gui=underline guibg=#000000 guifg=#75507B
+:hi SpellLocal gui=underline guibg=#000000 guifg=#75507B
+:hi SpellRare gui=underline guibg=#000000 guifg=#75507B
+:hi TrailingWhitespace guibg=#080000
+:hi ExtraWhitespace guibg=#CC0000
+:hi WarningMsg guifg=#CC0000
+:hi ErrorMsg gui=bold guibg=#CC0000 guifg=#D3D3D3
+:hi Error gui=bold guibg=#CC0000 guifg=#D3D3D3
+" -------
+"256 color .Xdefaults vim: cterm giu
+"<http://vim.wikia.com/wiki/Xterm256_color_names_for_console_Vim>
+"<http://guns.github.com/xterm-color-table.vim/images/xterm-color-table-with-visible-rgb.png>
+" -------
+" 256 color .Xdefaults vim: cterm giu def
+" -------
+" 16 color standard altered 256 altered beyond 256
+" black/dark grey
+" 0 [ 0:#000000] #000000
+" 8 [ 8:#808080] [59:#5F5F5F] #555555
+" red
+" 1 [ 1:#800000] 160:#DF0000 #CC0000
+" 9 [ 9:#FF0000] #EF2929
+" green
+" 2 [ 2:#008000] 112:#87DF00 #4E9A06
+" 10 [10:#00FF00] 154:#AFFF00 #8AE234
+" yellow/orange
+" 3 [ 3:#808000] 178:#DFAF00 #C4A000
+" 11 [11:#FFFF00] 184:#DFDF00 #FC9E4F
+" blue
+" 4 [ 4:#000080] 24:#005F87 #5971AD
+" 12 [12:#0000FF] 73:#5FAFAF #729FCF
+" magenta
+" 5 [ 5:#800080] 90:#870087 #75507B
+" 13 [13:#FF00FF] 126:#AF0087 #AD7FA8
+" cyan
+" 6 [ 6:#008080] 37:#00AFAF #06989A
+" 14 [14:#00FFFF] 87:#5FFFFF #34E2E2
+" white
+" 7 [ 7:#C0C0C0] #D3D3D3
+" 15 [15:#FFFFFF] #EEEEEE
+" --------
+" .Xdefaults (rxvt urxvt setting beyond 256 colors, vim colorscheme "def" gui settings)
+" (vim colorscheme "def" cterm matches "def" gui if .Xdefaults set thus)
+" --------
+" ! black
+" Rxvt.color0 : #000000
+" Rxvt.color8 : #555555
+" ! red
+" Rxvt.color1 : #CC0000
+" Rxvt.color9 : #EF2929
+" ! green
+" Rxvt.color2 : #4E9A06
+" Rxvt.color10 : #8AE234
+" ! yellow
+" Rxvt.color3 : #C4A000
+" Rxvt.color11 : #FCE94F
+" ! blue
+" Rxvt.color4 : #5971AD
+" Rxvt.color12 : #729FCF
+" ! magenta
+" Rxvt.color5 : #75507B
+" Rxvt.color13 : #AD7FA8
+" ! cyan
+" Rxvt.color6 : #06989A
+" Rxvt.color14 : #34E2E2
+" ! white
+" Rxvt.color7 : #D3D7CF
+" Rxvt.color15 : #EEEEEE
+" --------
+" .Xdefaults 256 (rxvt urxvt setting, vim colorscheme "def256" cterm & gui settings)
+" (vim colorscheme "def" cterm matches "def256" if .Xdefaults set thus)
+" --------
+" ! black
+" Rxvt.color0 : #000000
+" Rxvt.color8 : #808080
+" ! red
+" Rxvt.color1 : #DF0000
+" Rxvt.color9 : #FF0000
+" ! green
+" Rxvt.color2 : #87DF00
+" Rxvt.color10 : #AFFF00
+" ! yellow
+" Rxvt.color3 : #DFAF00
+" Rxvt.color11 : #FFFF00
+" ! blue
+" Rxvt.color4 : #5F87DF
+" Rxvt.color12 : #87DFFF
+" ! magenta
+" Rxvt.color5 : #8700DF
+" Rxvt.color13 : #87DFFF
+" ! cyan
+" Rxvt.color6 : #00DFDF
+" Rxvt.color14 : #5F5FDF
+" ! white
+" Rxvt.color7 : #C0C0C0
+" Rxvt.color15 : #FFFFFF
+#+END_SRC
+
+*** frugal-cterm.vim
+
+#+BEGIN_SRC text :tangle "../misc/editor-syntax-etc/vim/colors/frugal-cterm-sisu.vim"
+" Vim color file
+" Name: frugal-cterm-sisu
+" Maintainer: Ralph Amissah <ralph@amissah.com>
+" Last Change: 2013-02-09
+" URL: <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=data/sisu/conf/editor-syntax-etc/vim/colors/frugal-cterm-sisu.vim;hb=HEAD>
+" Note: 8 color cterm, related colorschemes 8 & sparse
+:set background=dark
+:hi clear
+if exists("syntax_on")
+ syntax reset
+endif
+:let colors_name = "frugal-cterm-sisu"
+" 0 = black, 1 = red, 2 = green, 3 = yellow/orange, 4 = blue, 5 = magenta, 6 = cyan, 7 = white
+:hi Normal ctermbg=0 ctermfg=7
+:hi Cursor cterm=reverse
+:hi lCursor cterm=reverse
+:hi StatusLine cterm=bold,reverse
+:hi StatusLineNC cterm=reverse
+:hi Search cterm=none ctermbg=2 ctermfg=0
+:hi IncSearch cterm=bold ctermbg=2 ctermfg=7
+:hi SpecialKey ctermfg=4
+:hi Visual cterm=reverse
+:hi VisualNOS cterm=bold,underline
+:hi MoreMsg ctermfg=2
+:hi ModeMsg cterm=bold
+:hi Question ctermfg=2
+:hi Title cterm=bold ctermfg=3
+:hi NonText cterm=bold ctermfg=4
+:hi LineNr cterm=bold ctermbg=0 ctermfg=0*
+:hi Directory ctermfg=4
+:hi WildMenu ctermbg=3 ctermfg=0
+:hi VertSplit cterm=reverse
+:hi Folded cterm=none ctermbg=0 ctermfg=7
+:hi FoldColumn ctermbg=7 ctermfg=4
+:hi DiffChange cterm=none ctermbg=7 ctermfg=0
+:hi DiffText cterm=none ctermbg=6 ctermfg=0
+:hi DiffAdd cterm=none ctermbg=2 ctermfg=0
+:hi DiffDelete cterm=none ctermbg=7 ctermfg=0
+:hi String cterm=none ctermfg=3
+:hi Comment cterm=none ctermbg=0 ctermfg=7
+:hi Constant ctermfg=1
+:hi Special ctermfg=6
+:hi Identifier ctermfg=6
+:hi Statement ctermfg=6
+:hi Operator ctermfg=1
+:hi PreProc ctermbg=7 ctermfg=1
+:hi Type ctermfg=2
+:hi Delimiter cterm=none ctermfg=1
+:hi Ignore cterm=bold ctermfg=7
+:hi Todo ctermbg=3 ctermfg=0
+:hi Underlined cterm=underline
+:hi Include ctermfg=1
+:hi Define ctermfg=3
+:hi Function ctermfg=6
+:hi Structure ctermfg=2
+:hi MatchParen cterm=bold ctermbg=4 ctermfg=7
+:hi CursorLine cterm=bold,underline
+:hi CursorColumn cterm=bold
+:hi ColorColumn ctermbg=8
+:hi SpellBad cterm=none ctermbg=7 ctermfg=0
+:hi SpellCap cterm=none ctermbg=7 ctermfg=0
+:hi SpellLocal cterm=none ctermbg=7 ctermfg=0
+:hi SpellRare cterm=none ctermbg=7 ctermfg=0
+:hi WarningMsg ctermfg=1
+:hi ErrorMsg cterm=bold ctermbg=1 ctermfg=7
+:hi Error cterm=bold ctermbg=1 ctermfg=7
+#+END_SRC
+
+** ftplugin sisu.vim
+
+#+BEGIN_SRC text :tangle "../misc/editor-syntax-etc/vim/ftplugin/sisu.vim"
+"%% SiSU Vim ftplugin
+" SiSU Maintainer: Ralph Amissah <ralph@amissah.com>
+" SiSU Markup: SiSU (sisu-3.3) 2012-08-18
+" an ftplugin setting defaults for editing sisu markup files
+:syntax on
+:filetype off
+":filetype on
+:filetype indent on
+:autocmd FileType sisu :set nonumber
+:set encoding=utf-8 fileencodings=
+:set ff=unix
+:set autowrite " Automatically save before commands like :next and :make
+:set nocompatible
+:set tabstop=2
+:set expandtab
+:set shiftwidth=2
+:set autoindent
+:set showcmd " Show (partial) command in status line.
+:set showmatch " Show matching brackets.
+:set ignorecase " Do case insensitive matching
+:set smartcase
+:set incsearch
+:set hlsearch
+:set gdefault
+:set guioptions=agr " add 'm' for menu
+:map <silent> <C-m> :if &guioptions =~# 'm' <Bar>
+ \set guioptions-=m <Bar>
+ \set guioptions-=T <Bar>
+ \else <Bar>
+ \set guioptions+=m <Bar>
+ \set guioptions-=T <Bar>
+ \endif<CR>
+:set paste
+""% statusline
+"set statusline= "
+"set fillchars=stl:―,stlnc:—,vert:│,fold:۰,diff:·
+"" [ buffer number ]
+"set statusline +=%#Normal#[ "
+"set statusline +=%#Identifier#%n " buffer number
+"set statusline +=%#PreProc#%M " modified flag
+"set statusline +=%#Normal#] "
+"" [ file name (& modified?) ]
+"set statusline +=%#Normal#\ [ "
+"set statusline +=%#Statement#%<%F%* " full path
+""set statusline +=%#Statement#%<%t " full path
+"set statusline +=%#PreProc#%M " modified flag
+"set statusline +=%#Normal#] "
+"" [ column : line number / number of lines in file, percentage of file ] [%v:%l/%L\ %p%%]
+"set statusline +=%#Normal#\ [ "
+"set statusline +=%#Identifier#%v " column & line
+"set statusline +=%#Normal#: "
+"set statusline +=%#Identifier#%l " column & line
+"set statusline +=%#SpecialKey#/%L\ " total lines
+"set statusline +=%#Identifier#%p " percentage of file
+"set statusline +=%#SpecialKey#%% "
+"set statusline +=%#Normal#] " "
+"" [ file format : file type ]
+"set statusline +=%#Normal#\ [ "
+"set statusline +=%#SpecialKey#%{&fenc} " file format
+"set statusline +=%#Normal#: "
+"set statusline +=%#SpecialKey#%{&ff} " file format
+"set statusline +=%#Normal#: "
+"set statusline +=%#SpecialKey#%y " file type
+"set statusline +=%#Normal#] "
+"" [ character under cursor ]
+"set statusline +=%#Normal#\ [ "
+"set statusline +=%#String#0x%04B " character under cursor
+"set statusline +=%#Normal#]\ "
+"" [ syntastic ]
+"set statusline +=%#warningmsg#
+"set statusline +=%{SyntasticStatuslineFlag()}\ "
+""set statusline+=%*
+"" Status line background
+"set statusline +=%#Folded#\ "
+"" misc
+"set laststatus=2 " status line always on
+"% textwrap
+:set whichwrap=<,>,h,l,[,]
+:set nolinebreak " only affects display not buffer
+:set wrap
+:set wrapmargin=0
+"% map
+":let mapleader = "," " consider
+:map <leader>paste :set invpaste<cr>
+"% wrap/formatting paragraph according to the current 'textwidth' with ^\ (control-\):
+:imap <C-\> <C-O>gqap
+:nmap <C-\> gqap
+:vmap <C-\> gq
+"% save file, go to next file in buffer
+:map <leader>nf :w <enter> :n <enter>
+"% vimdiff q exits
+:if &diff
+: cmap q qa
+:endif
+"% directory files, placed in vertical split window
+:map <leader>ls :vs<cr> :Explore<cr>
+:map <leader>dir :vs<cr> :Explore<cr>
+"% remapping lines make cursor jump a line at a time within wrapped text
+:nnoremap j gj
+:nnoremap k gk
+:vnoremap j gj
+:vnoremap k gk
+:nnoremap <Down> gj
+:nnoremap <Up> gk
+:vnoremap <Down> gj
+:vnoremap <Up> gk
+:inoremap <Down> <C-o>gj
+:inoremap <Up> <C-o>gk
+"% search and replace
+:map <leader>rd :.,$s///c "search and replace down
+:map <leader>rg :%s///c "search and replace whole file
+:map <leader>rr :rubyd gsub!(//,"")
+"% pwd t64 working directory set to that of the file you're editing
+"changes pwd to directory of file in current buffer
+:function! CHANGE_CURR_DIR()
+: let _dir = expand("%:p:h")
+: exec "cd " . _dir
+: unlet _dir
+:endfunction
+"% Change to the directory the file in your current buffer is in
+:if has("autocmd")
+ autocmd BufEnter * :lcd %:p:h
+:endif
+"% autocompletefilenames To search for files in the current directory
+:set path=,,
+"auto-completion for file to edit in current dir, used in normal mode
+:map <leader>e :e <c-r>=expand("%:p:h") . "/" <cr>
+:map <leader>pwd :exe 'cd ' . expand ("%:p:h")<cr>
+"% searchhighlight t93: Toggle search highlight <C-n>
+:function! ToggleHLSearched()
+: if &hls
+: set nohls
+: else
+: set hls
+: endif
+:endfun
+:nmap <silent> <C-n> :silent call ToggleHLSearched()<cr>
+"%% SiSU vim folds
+"% foldsearchx FoldSearch (opens result of search all else closed) t77
+:map <leader>fs :set foldmethod=expr foldcolumn=2 foldlevel=0 <cr>
+:map <leader>ff :F<cr>
+:map <leader>fe :F<cr> zE
+"% foldtoggle Fold Toggle mapped to <space>
+:fun! ToggleFold()
+: if foldlevel('.') == 0
+: normal! l
+: else
+: if foldclosed('.') < 0
+: foldclose
+: else
+: foldopen
+: endif
+: endif
+" Clear status line
+: echo
+:endfun
+" Map this function to Space key.
+:noremap <space> :call ToggleFold()<cr>
+"% foldtype Fold? set foldtext
+:set foldtext=v:folddashes.substitute(getline(v:foldstart),'\\=','','g',)
+:set foldexpr=getline(v:lnum-1)!~@/&&getline(v:lnum)!~@/&&getline(v:lnum+1)!~@/
+"% foldsearch t77: Fold on search result
+:function! FoldMake(search)
+: set fdm=manual
+: normal zE
+: normal G$
+: let folded = 0 "flag to set when a fold is found
+: let flags = "w" "allow wrapping in the search
+: let line1 = 0 "set marker for beginning of fold
+: while search(a:search, flags) > 0
+: let line2 = line(".")
+: if (line2 -1 > line1)
+: "echo line1 . ":" . (line2-1)
+: "echo "a fold goes here."
+: execute ":" . line1 . "," . (line2-1) . "fold"
+: let folded = 1 "at least one fold has been found
+: endif
+: let line1 = line2 "update marker
+: let flags = "W" "turn off wrapping
+: endwhile
+" create the last fold which goes to the end of the file.
+: normal $G
+: let line2 = line(".")
+: if (line2 > line1 && folded == 1)
+: execute ":". line1 . "," . line2 . "fold"
+: endif
+: normal 1G
+:endfunction
+"% folds Fold Patterns
+:command! -nargs=+ -complete=command FMake call FoldMake(<q-args>)
+: if ( &filetype == "ruby" )
+: command! F FMake ^# ==\?\|^\s*\(\(def\|class\|module\)\s\|\(public\|protected\|private\|__END__\)\s*$\)\|\(^\s*\|\s\+\)#%\s
+: command! Fa FMake \(^# ==\?\|^\s*\(\(\(def\|class\|module\)\s\)\|\(\(public\|protected\|private\|__END__\)\(\s*$\)\)\)\)\|^[0-9]\~\|\([#%]\|^["]\)\{1,4\}\s*%\|{\({\|!!\)
+: command! FD FMake \(^# ==\?\|^\s*\(\(def\|class\|module\)\s\)\)\|^\s*\([#%"0-9]\{0,4\}\~\(%\+\s\|!!\)\|#\s\+=\+\s\+\)
+: else
+"% folds :F Fold Patterns SiSU Markup :F
+: command! F FMake ^\([1-8]\|:\?[A-C]\)\~\|\(^%\|\(^\|\s\+\)[#"]\)%\{1,2\}\(\s\|$\)\|^<<\s*|
+: command! Fa FMake ^\([1-8]\|:\?[A-C]\)\~\|\(^%\|\(^\|\s\+\)[#"]\)%\{1,2\}\(\s\|$\)\|^<<\s*|\|^\(Book\|Part\|Chapter\|Section\|Article\|BOOK\|PART\|CHAPTER\|SECTION\|ARTICLE\)\s
+: command! F0 FMake ^\(\s*0\~\|@\S\+:[+-]\?\s\+\)
+: command! FA FMake ^:\?A\~
+: command! FB FMake ^:\?[AB]\~
+: command! FC FMake ^:\?[A-C]\~
+: command! F1 FMake ^\(:\?[A-C]\|1\)\~
+: command! F2 FMake ^\(:\?[A-C]\|[12]\)\~
+: command! F3 FMake ^\(:\?[A-C]\|[1-3]\)\~
+: command! F4 FMake ^[1-4]\~
+: command! F5 FMake ^[4-5]\~
+: command! F6 FMake ^[4-6]\~
+: command! Fc FMake ^[%]\+\s\+
+: endif
+"% folds Fold Patterns misc
+":command! Fp FMake ^\s*[A-Za-z0-9#]
+:command! Fp FMake ^\s*\S
+:command! Fo FMake ^[%\"]\s*[{>]
+"% linenumbering, on, relative, off
+:map <Leader>nn :set <c-r>={'00':'','01':'r','10':'nor'}[&rnu.&nu]<CR>nu<CR>
+"% cursorline
+:map <leader>cu :if &cursorcolumn <Bar>
+ \set nocursorline nocursorcolumn <Bar>
+ \else <Bar>
+ \set cursorline cursorcolumn <Bar>
+ \endif<cr>
+:map <leader>cu- :set nocursorline nocursorcolumn<cr>
+:map <leader>cu+ :set cursorline cursorcolumn<cr>
+#+END_SRC
+
+** templates
+*** sst.tpl
+
+#+BEGIN_SRC text :tangle "../misc/editor-syntax-etc/vim/templates/sst.tpl"
+# SiSU 8.0
+
+title:
+ main: "#___#"
+ sub: "#___#"
+ language: "#___#"
+
+creator:
+ author: "#___#"
+
+date:
+ :published: "YYYY-MM-DD"
+
+rights:
+ copyright: "#___#"
+ license: "#___#"
+
+classify:
+ topic_register: "#___#"
+
+make:
+ breaks: "new=:B; break=1"
+# home_button_text: "#___#"
+# footer: "#___#"
+
+#% -- body ---
+
+:A~ @title @author
+
+1~ #___#
+#+END_SRC
+
+*** ssm.tpl
+
+#+BEGIN_SRC text :tangle "../misc/editor-syntax-etc/vim/templates/ssm.tpl"
+# SiSU 8.0 master
+
+title:
+ main: "#___#"
+ sub: "#___#"
+ language: "#___#"
+
+creator:
+ author: "#___#"
+
+date:
+ :published: "YYYY-MM-DD"
+
+rights:
+ copyright: "#___#"
+ license: "#___#"
+
+classify:
+ topic_register: "#___#"
+
+make:
+ breaks: "new=:B; break=1"
+# home_button_text: "#___#"
+# footer: "#___#"
+
+#% -- body ---
+
+:A~ @title @author
+
+1~ #___#
+#+END_SRC
+
+*** ssm.tpl
+
+#+BEGIN_SRC text :tangle "../misc/editor-syntax-etc/vim/templates/ssi.tpl"
+# SiSU 8.0 insert
+
+title:
+ main: "#___#"
+ sub: "#___#"
+ language: "#___#"
+
+creator:
+ author: "#___#"
+
+date:
+ :published: "YYYY-MM-DD"
+
+rights:
+ copyright: "#___#"
+ license: "#___#"
+
+classify:
+ topic_register: "#___#"
+
+make:
+ breaks: "new=:B; break=1"
+# home_button_text: "#___#"
+# footer: "#___#"
+
+#% -- body ---
+
+:A~ @title @author
+
+1~ #___#
+#+END_SRC