mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-16 05:47:06 +09:00
Add bind and unbind commands
This commit is contained in:
@@ -558,6 +558,9 @@ func (h *BufHandler) InsertTab() bool {
|
||||
|
||||
// SaveAll saves all open buffers
|
||||
func (h *BufHandler) SaveAll() bool {
|
||||
for _, b := range buffer.OpenBuffers {
|
||||
b.Save()
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
@@ -672,7 +675,6 @@ func (h *BufHandler) Undo() bool {
|
||||
|
||||
// Redo redoes the last action
|
||||
func (h *BufHandler) Redo() bool {
|
||||
// TODO: clear cursors and message
|
||||
h.Buf.Redo()
|
||||
InfoBar.Message("Redid action")
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user