diff --git a/doc.go b/doc.go index 24ee6034..a15b59f2 100644 --- a/doc.go +++ b/doc.go @@ -80,7 +80,7 @@ The following command line commands are provided by lf: cmd-home (default '' and '') cmd-end (default '' and '') cmd-delete (default '' and '') - cmd-delete-back (default '' and '') + cmd-delete-back (default '' and '') cmd-delete-home (default '') cmd-delete-end (default '') cmd-delete-unix-word (default '') @@ -426,7 +426,7 @@ Move the cursor to the left/right. Move the cursor to the beginning/end of line. cmd-delete (default '' and '') - cmd-delete-back (default '' and '') + cmd-delete-back (default '' and '') Delete the next character in forward/backward direction. diff --git a/docstring.go b/docstring.go index 8d1ce401..87392fdd 100644 --- a/docstring.go +++ b/docstring.go @@ -83,7 +83,7 @@ The following command line commands are provided by lf: cmd-home (default '' and '') cmd-end (default '' and '') cmd-delete (default '' and '') - cmd-delete-back (default '' and '') + cmd-delete-back (default '' and '') cmd-delete-home (default '') cmd-delete-end (default '') cmd-delete-unix-word (default '') @@ -448,7 +448,7 @@ Move the cursor to the left/right. Move the cursor to the beginning/end of line. cmd-delete (default '' and '') - cmd-delete-back (default '' and '') + cmd-delete-back (default '' and '') Delete the next character in forward/backward direction. diff --git a/lf.1 b/lf.1 index ff50caad..62554f55 100644 --- a/lf.1 +++ b/lf.1 @@ -92,7 +92,7 @@ The following command line commands are provided by lf: cmd-home (default '' and '') cmd-end (default '' and '') cmd-delete (default '' and '') - cmd-delete-back (default '' and '') + cmd-delete-back (default '' and '') cmd-delete-home (default '') cmd-delete-end (default '') cmd-delete-unix-word (default '') @@ -526,7 +526,7 @@ Move the cursor to the beginning/end of line. .PP .EX cmd-delete (default '' and '') - cmd-delete-back (default '' and '') + cmd-delete-back (default '' and '') .EE .PP Delete the next character in forward/backward direction. diff --git a/opts.go b/opts.go index e3fd6849..6e24f28e 100644 --- a/opts.go +++ b/opts.go @@ -174,8 +174,8 @@ func init() { gOpts.cmdkeys[""] = &callExpr{"cmd-history-prev", nil, 1} gOpts.cmdkeys[""] = &callExpr{"cmd-delete", nil, 1} gOpts.cmdkeys[""] = &callExpr{"cmd-delete", nil, 1} - gOpts.cmdkeys[""] = &callExpr{"cmd-delete-back", nil, 1} - gOpts.cmdkeys[""] = &callExpr{"cmd-delete-back", nil, 1} + gOpts.cmdkeys[""] = &callExpr{"cmd-delete-back", nil, 1} + gOpts.cmdkeys[""] = &callExpr{"cmd-delete-back", nil, 1} gOpts.cmdkeys[""] = &callExpr{"cmd-left", nil, 1} gOpts.cmdkeys[""] = &callExpr{"cmd-left", nil, 1} gOpts.cmdkeys[""] = &callExpr{"cmd-right", nil, 1} diff --git a/ui.go b/ui.go index dfd14657..94232a9b 100644 --- a/ui.go +++ b/ui.go @@ -23,11 +23,11 @@ const gEscapeCode = 27 var gKeyVal = map[tcell.Key]string{ tcell.KeyEnter: "", - tcell.KeyBackspace: "", + tcell.KeyBackspace: "", tcell.KeyTab: "", tcell.KeyBacktab: "", tcell.KeyEsc: "", - tcell.KeyBackspace2: "", + tcell.KeyBackspace2: "", tcell.KeyDelete: "", tcell.KeyInsert: "", tcell.KeyUp: "",