Change ex command to C-x when using terminal
This commit is contained in:
parent
10a3d9d209
commit
c4c8648cc7
|
@ -266,8 +266,8 @@ func init() {
|
||||||
keyNames["c-u"] = KeyStroke{tcell.KeyCtrlU, 0}
|
keyNames["c-u"] = KeyStroke{tcell.KeyCtrlU, 0}
|
||||||
keyNames["c-v"] = KeyStroke{tcell.KeyCtrlV, 0}
|
keyNames["c-v"] = KeyStroke{tcell.KeyCtrlV, 0}
|
||||||
keyNames["c-w"] = KeyStroke{tcell.KeyCtrlW, 0}
|
keyNames["c-w"] = KeyStroke{tcell.KeyCtrlW, 0}
|
||||||
keyNames["c-x"] = KeyStroke{tcell.KeyCtrlX, 0}
|
keyNames["c-x"] = KeyStroke{tcell.KeyCtrlX, rune(tcell.KeyCAN)}
|
||||||
keyNames["c-y"] = KeyStroke{tcell.KeyCtrlY, 0}
|
keyNames["c-y"] = KeyStroke{tcell.KeyCtrlY, 0} // TODO: runes for the rest
|
||||||
keyNames["c-z"] = KeyStroke{tcell.KeyCtrlZ, 0}
|
keyNames["c-z"] = KeyStroke{tcell.KeyCtrlZ, 0}
|
||||||
keyNames["c-]"] = KeyStroke{tcell.KeyCtrlLeftSq, 0}
|
keyNames["c-]"] = KeyStroke{tcell.KeyCtrlLeftSq, 0}
|
||||||
keyNames["c-\\"] = KeyStroke{tcell.KeyCtrlBackslash, 0}
|
keyNames["c-\\"] = KeyStroke{tcell.KeyCtrlBackslash, 0}
|
||||||
|
|
|
@ -88,6 +88,9 @@ email, adding a blank line between the email's headers and body.
|
||||||
The message review screen is shown next. You have a chance now to revise the
|
The message review screen is shown next. You have a chance now to revise the
|
||||||
email before it's sent. Press *y* to send the email if it looks good.
|
email before it's sent. Press *y* to send the email if it looks good.
|
||||||
|
|
||||||
|
*Note*: when using the terminal in the message view, you can summon aerc's ex
|
||||||
|
command line by using *<C-x>*. ':' is sent to the editor.
|
||||||
|
|
||||||
# USING THE TERMINAL
|
# USING THE TERMINAL
|
||||||
|
|
||||||
aerc comes with an embedded terminal, which you've already used to view and edit
|
aerc comes with an embedded terminal, which you've already used to view and edit
|
||||||
|
|
Loading…
Reference in New Issue