From a1864d2511525a2bf7e5702bbf2677a7abc6dfa8 Mon Sep 17 00:00:00 2001 From: Dante Swift Date: Sat, 14 May 2016 14:51:04 -0600 Subject: [PATCH 1/2] fix default keybindings in help.md the up and down arrow were switched --- runtime/help/help.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/help/help.md b/runtime/help/help.md index c89c8e68..06a751d2 100644 --- a/runtime/help/help.md +++ b/runtime/help/help.md @@ -73,8 +73,8 @@ Here are the defaults: ```json { - "Up": "CursorDown", - "Down": "CursorUp", + "Up": "CursorUp", + "Down": "CursorDown", "Right": "CursorRight", "Left": "CursorLeft", "ShiftUp": "SelectUp", From a03cacf1e73f72335552e5ffd681ccdf27c78336 Mon Sep 17 00:00:00 2001 From: Dante Swift Date: Sun, 15 May 2016 00:26:36 -0600 Subject: [PATCH 2/2] saving now resets buffer IsModified to false --- cmd/micro/buffer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/micro/buffer.go b/cmd/micro/buffer.go index 5d4f9b74..238e1887 100644 --- a/cmd/micro/buffer.go +++ b/cmd/micro/buffer.go @@ -79,7 +79,7 @@ func (b *Buffer) SaveAs(filename string) error { data := []byte(b.String()) err := ioutil.WriteFile(filename, data, 0644) if err == nil { - b.IsModified = true + b.IsModified = false } return err }