$ EDITORでコマンドを開くために必要なbash機能はどこに文書化されていますか?

$ EDITORでコマンドを開くために必要なbash機能はどこに文書化されていますか?

Ctrl私は最近++X Ctrlを押すと、Ebashがエディタで現在のコマンドを開き($VISUALまたはに設定$EDITOR)、エディタが閉じたときに実行することがわかりました。

ところで、ページに記録がないようですman。記録はありますか?それではどこで?

ベストアンサー1

今発見しました。この質問をする前にもう少し注意深く読んでください。

ページmanの内容は次のとおりです。

edit-and-execute-command (C-xC-e)
          Invoke  an  editor  on the current command line, and execute the
          result as shell commands.   Bash  attempts  to  invoke  $VISUAL,
          $EDITOR, and emacs as the editor, in that order.

おすすめ記事