mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-29 06:12:35 +09:00
Add SaveAs action and command
Fixes #340 You can bind the action `SaveAs` and if you provide an argument to the `save` command it will save as. For example `> save test.txt`.
This commit is contained in:
@@ -5,7 +5,8 @@ Here are the possible commands that you can use.
|
||||
|
||||
* `quit`: Quits micro.
|
||||
|
||||
* `save`: Saves the current buffer.
|
||||
* `save filename?`: Saves the current buffer. If the filename is provided it will
|
||||
'save as' the filename.
|
||||
|
||||
* `replace "search" "value" flags`: This will replace `search` with `value`.
|
||||
The `flags` are optional.
|
||||
|
||||
@@ -143,6 +143,7 @@ Delete
|
||||
Center
|
||||
InsertTab
|
||||
Save
|
||||
SaveAs
|
||||
Find
|
||||
FindNext
|
||||
FindPrevious
|
||||
|
||||
Reference in New Issue
Block a user