0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

fishで入力中のコマンドをエディタで編集する設定

Posted at

AWSの APIをCLIで叩く時とか、かなりオプションが多かったりして、エディタで修正したいシーンがあると思います。

そういった場合にこの設定があるとかなり便利に使えると思います。

bindで特定のキーに対して、「edit_command_buffer」をセットすれば良いだけのはずですが、私の場合は「fish_vi_key_bindings」を設定していたので素直にセット出来ませんでした。

config.fi.sh
bind -M insert ctrl-e 'edit_command_buffer'

-Mで(viの)insertモードのパラメーターが必要でした。

参考Url: fishshell bind

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?