LoginSignup
5
6

More than 5 years have passed since last update.

vimで編集中のテキストファイルにシェルの実行結果を貼り付けるには

Last updated at Posted at 2016-02-05

実現したいこと

Vimで編集中のテキストファイルにシェルの実行結果をマウスを使わず貼り付けたい

実現方法および解決方法

  • まずvim で ノーマルモードに入リます。
  • 次に :read ! シェルで実行したいコマンド を入力します。

実行コマンド

  • まずvim で ノーマルモードに入リます。
  • 次に :read ! シェルで実行したいコマンド を入力します。

:read ! /bin/date

または、

:read ! date

output01.gif

情報源

なし

補足

なし

5
6
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
5
6