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.
Gvim で、編集中のファイルの名前拡張子に従ってタブ長を設定することは可能ですか?
set tabstop=8 // For *.cpp set tabstop=3 // For *.svh set tabstop=8 // For *.pl
以下を vimrc に追加します。
autocmd FileType cpp set tabstop=8 autocmd FileType svh set tabstop=3 autocmd FileType pl set tabstop=8
ハビ