diff --git a/README.md b/README.md index f42fdec..87405cf 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # kg Emacs -The small functional Emacs in Go +A small functional Emacs in Go kg Emacs is inspired by Atto Emacs (by Hugh Barney), MicroEmacs, Nano, Pico and his earlier project known as Perfect Emacs [1]. @@ -134,12 +134,16 @@ Generally, the procedure for copying or moving text is: ESC will escape from the search prompt and return to the point of the match C-G abort the search and return to point before the search started -## Building on Linux +## Building on Linux/MacOS When building on Ubuntu you will need to install Go v1.11 or greater. -You will also need the `guthub.com/nsf/termbox-go` +You will also need the `github.com/nsf/termbox-go` + + $ go get github.com/kristofer/kg + $ go get github.com/nsf/termbox-go + + cd to the kg source directory... - $ go get `this repo` $ ## Future Enhancements diff --git a/cmd/cmd b/cmd/cmd deleted file mode 100755 index 0e4fb02..0000000 Binary files a/cmd/cmd and /dev/null differ diff --git a/replace.go b/replace.go index 2ffe4d1..37bbaf3 100644 --- a/replace.go +++ b/replace.go @@ -62,7 +62,7 @@ outer: break inner //case 0x1B: /* esc */ - //flushinp() /* discard any escape sequence without writing in buffer */ + //flushinp() /* discard any escape sequence without writing in buffer */ case 'q': /* controlled exit */ break outer diff --git a/window.go b/window.go index 1c3accd..0c9d42e 100644 --- a/window.go +++ b/window.go @@ -2,7 +2,6 @@ package kg import ( "fmt" - "log" termbox "github.com/nsf/termbox-go" //termbox "github.com/gdamore/tcell/termbox"