nelsam / vidar

vidar is a highly experimental Go editor, written in Go, using gxui
The Unlicense
50 stars 7 forks source link

Save as #126

Open Kvaz1r opened 6 years ago

Kvaz1r commented 6 years ago

Description

Menu option for saving changes as separate file with (or without) reloading current file.

Expected behavior

Save as is in the menu

Actual behavior

Save as is not in the menu

Kvaz1r commented 6 years ago

I think, it can be implement by anology with open file command but without "aggresive" hints.

nelsam commented 6 years ago

Note that save should become an op that is shared between save-current-file and save-all-open-files so that save-all-open-files will still trigger any hooks bound to save-current-file.