Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
テキスト ファイル全体 (.c ファイルや .java ファイルなど) を自動インテント化するためのショートカットは何ですか。これは emacs の と同等であるはずtabですが、これをオンラインで行う正しい方法が見つかりませんでした。
tab
@FDinoff の提案に加えて、ユーザー定義のファイルタイプのインデント設定に autocmd/au を使用することもできます。そのようです-
au FileType c setl sw=8 ts=8 noet (C の場合);
au FileType python setl sw=4 ts=4 et (pythonの場合)
等々..