dot

packages and services management
Log | Files | Refs | README

commit 83565bc916a969efb85f3f376cea2289023e52ea
parent 945066514d8e06bda8d82db9ef9497584d1cb655
Author: josuah <mail@josuah.net>
Date:   Fri,  2 Sep 2016 00:01:04 +0200

Added vi back

Diffstat:
Aex-vi/.exrc | 30++++++++++++++++++++++++++++++
Mex-vi/build.sh | 9++++++++-
2 files changed, 38 insertions(+), 1 deletion(-)

diff --git a/ex-vi/.exrc b/ex-vi/.exrc @@ -0,0 +1,30 @@ +" ___ __ __ _____ ____ +" .'__ \ \ \' // ____\/ ___\ +" / ____/ ,' ,'/ / / /__ +" \___\ /_,\_\ \/ \____\ +"=============================================================================== +" +" +" OPTIONS +"------------------------------------------------------------------------------- +" +set shiftwidth=8 tabstop=8 hardtabs=8 +set autoindent autoprint +set beautify +set modelines +set showmode showmatch number +set errorbells flash +" +" +" KEYBINDINGS +"------------------------------------------------------------------------------- +" +map g 1G +" +" +" ABBREVIATIONS +"------------------------------------------------------------------------------- +" +abbreviate -_ 80a-A +" + diff --git a/ex-vi/build.sh b/ex-vi/build.sh @@ -1,3 +1,10 @@ -# Fixed implementation of the original ex and vi +# Modern implementation of Traditionnal Ex and Vi tar=http://prdownloads.sourceforge.net/ex-vi/ex-050325.tar.bz2 + +build() +{ + sed -ri 's/^(#define *TUBECOLS *) [0-9]+/\1 400/' config.h + make + cp ex ../bin/ex-vi +}