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?

More than 5 years have passed since last update.

【メモ】viモード(set -o vi)でコマンドライン入力

Last updated at Posted at 2019-11-27

最近になって知ったので備忘録としてメモ。

ターミナルログイン時に以下を実行

set -o vi

コマンドライン入力時にESCキーを押すと、viが使えるになる。
/+keywordでヒストリーからコマンド検索が使えたりして便利に。

また、直接profileにset -o viを追記して、毎回ログインした際にコマンド打たなくても使えるようになります。

参考文献

viモード(set -o vi)で楽ちんコマンド入力

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?