From dc85f502d4ec9f870e5e43cec5bb1ac5d2f3d3a2 Mon Sep 17 00:00:00 2001 From: Neko Box Coder Date: Wed, 8 Jul 2026 00:57:03 +0100 Subject: [PATCH] Using file complete for the save command 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 --- internal/action/command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/action/command.go b/internal/action/command.go index e60d60ad6c..cd97c5222d 100644 --- a/internal/action/command.go +++ b/internal/action/command.go @@ -45,7 +45,7 @@ func InitCommands() { "quit": {(*BufPane).QuitCmd, nil}, "goto": {(*BufPane).GotoCmd, nil}, "jump": {(*BufPane).JumpCmd, nil}, - "save": {(*BufPane).SaveCmd, nil}, + "save": {(*BufPane).SaveCmd, buffer.FileComplete}, "replace": {(*BufPane).ReplaceCmd, nil}, "replaceall": {(*BufPane).ReplaceAllCmd, nil}, "vsplit": {(*BufPane).VSplitCmd, buffer.FileComplete},