This commit is contained in:
Zachary Yedidia 2016-05-15 13:44:30 -04:00
commit 3d1fb69c15
2 changed files with 3 additions and 3 deletions

View file

@ -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
}

View file

@ -73,8 +73,8 @@ Here are the defaults:
```json
{
"Up": "CursorDown",
"Down": "CursorUp",
"Up": "CursorUp",
"Down": "CursorDown",
"Right": "CursorRight",
"Left": "CursorLeft",
"ShiftUp": "SelectUp",