Move vim templates into vimrc

This commit is contained in:
2021-03-05 14:58:51 -05:00
parent 6f266e9f1c
commit 111b504e25
6 changed files with 115 additions and 116 deletions

View File

@@ -1,31 +0,0 @@
/*==================================================================================================
File:
Creation Date:
Creator: Michael Campagnaro
Notice: (C) Copyright $year by Jelly Pixel, Inc. All Rights Reserved.
================================================================================================*/
////////////////////////////////////////////////////////////////////////////////////////////////////
// # Defines
////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////
// # Globals
////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////
// # Structs
////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////
// # Macros
////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////
// # Private API
////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////
// # Public API
////////////////////////////////////////////////////////////////////////////////////////////////////

View File

@@ -1,14 +0,0 @@
---------------------------------------------------------
Michael Campagnaro's plan for <month> <day>, 2020
---------------------------------------------------------
##############
DO
##############
+ <task>
##############
EXTRA
##############

View File

@@ -1,49 +0,0 @@
#!/usr/bin/env bash
if which tput >/dev/null 2>&1; then
ncolors=$(tput colors)
fi
if [ -t 1 ] && [ -n "$ncolors" ] && [ "$ncolors" -ge 8 ]; then
RED="$(tput setaf 1)"
GREEN="$(tput setaf 2)"
YELLOW="$(tput setaf 3)"
BLUE="$(tput setaf 4)"
MAGENTA="$(tput setaf 5)"
CYAN="$(tput setaf 6)"
BOLD="$(tput bold)"
DIM="\e[2m"
NORMAL="$(tput sgr0)"
else
RED=""
GREEN=""
YELLOW=""
BLUE=""
MAGENTA=""
CYAN=""
BOLD=""
NORMAL=""
fi
error() {
printf "${BOLD}${RED}$1${NORMAL}\n"
}
abort() {
error "\nAborting..."
exit 1
}
set -e
cwd=$PWD
uname_s="$(uname -s)"
case "${uname_s}" in
Linux*) machine=Linux;;
Darwin*) machine=MacOS;;
CYGWIN*) machine=Cygwin;;
MINGW*) machine=MinGw;;
*) machine="UNKNOWN:${uname_s}"
esac
printf "${YELLOW}Platform: $machine${NORMAL}\n"