吸わずに簡単な端末でタブサイズを変更するには?

吸わずに簡単な端末でタブサイズを変更するには?

stバージョンでタブサイズを4つの幅に変更する方法を見つけようとしています(まだタブを使用しています)。次のようにしましたが、うまくいきません。

tabspaces変数を8から4に変更し、値it#8を次に変更しました。聖なるメッセージit#4ファイルのコードに示すように、次のようになりますconfig.def.h

/*
 * spaces per tab
 *
 * When you are changing this value, don't forget to adapt the »it« value in
 * the st.info and appropriately install the st.info in the environment where
 * you use this st version.
 *
 *  it#$tabspaces,
 *
 * Secondly make sure your kernel is not expanding tabs. When running `stty
 * -a` »tab0« should appear. You can tell the terminal to not expand tabs by
 *  running following command:
 *
 *  stty tabs
 */
unsigned int tabspaces = 4;

それから削除しました。構成ファイルファイルを作成してからmake clean install

ただし、タブの幅は変更されません。どんなアイデアがありますか?

ベストアンサー1

おすすめ記事