Skip to content
/ viless Public

Tiny vi text editor clone with enough features to be truly useful

License

Notifications You must be signed in to change notification settings

brentr/viless

Folders and files

NameName
Last commit message
Last commit date

Latest commit

77ee856 · May 19, 2020

History

2 Commits
May 19, 2020
May 19, 2020
May 19, 2020

Repository files navigation

viless 30Kbyte vi text editor clone

Copyright (C) 2000, 2001 Sterling Huxley [email protected] Revised: 5/18/20 by Brent Roman [email protected]

Licensed under the GPL v2 or later

Lifted from BusyBox 1.21 Modified to build stand-alone, fix bugs, improve status line display 30Kb executable size on ARM with all features enabled Lacks support for regular expressions Implements only the most commonly used : commands

These features are available: Pattern searches with / and ? Last command repeat with '.' Line marking with 'x Named buffers with "x Readonly with -R command line arg Some colon mode commands with ':' Settable options with ":set" Signal catching- ^C Job suspend and resume with ^Z Adapt to window re-sizes

Things To Do: EXINIT $HOME/.exrc and ./.exrc add magic to search /foo.*bar add :help command :map macros if mark[] values were line numbers rather than pointers it would be easier to change the mark when add/delete lines More intelligence in refresh() ":r !cmd" and "!cmd" to filter text through an external command A true "undo" facility An "ex" line oriented mode- maybe using "cmdedit"

About

Tiny vi text editor clone with enough features to be truly useful

Resources

License

Stars

Watchers

Forks

Packages

No packages published