Skip to content

Commit 6904aa7

Browse files
Using file complete for the save commnad
Using file complete for the save command. This is useful when trying to save as a different file or simply auto complete the directories you want to save to
1 parent e4a92a1 commit 6904aa7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/action/command.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func InitCommands() {
4545
"quit": {(*BufPane).QuitCmd, nil},
4646
"goto": {(*BufPane).GotoCmd, nil},
4747
"jump": {(*BufPane).JumpCmd, nil},
48-
"save": {(*BufPane).SaveCmd, nil},
48+
"save": {(*BufPane).SaveCmd, buffer.FileComplete},
4949
"replace": {(*BufPane).ReplaceCmd, nil},
5050
"replaceall": {(*BufPane).ReplaceAllCmd, nil},
5151
"vsplit": {(*BufPane).VSplitCmd, buffer.FileComplete},

0 commit comments

Comments
 (0)