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?

[vim script] ¥tでタブをechoしようとしても、そのまま「¥t」と出力されてしまう

Posted at

はじめに

最近、vim scriptを勉強してみようと手を出してみたんですが、いきなり詰まったのでここに備忘録を残しておきます。

解決

結論としては、ダブルクオートを使おうということです。

" 誤
echo 'hello¥tworld'
" -> hello¥tworld

" 正
echo "hello¥tworld"
" -> hello  world
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?